Skip to content
ENExplore Calculators

Stem And Leaf Plot Calculator

Work out stem and leaf plot instantly with clear inputs, formula shown and shareable results.

About Stem And Leaf Plot Calculator

A stem-and-leaf plot splits each value into a leading stem and a trailing leaf, keeping every original value visible while showing the shape of the distribution — something a histogram cannot do.

Formula

Split rule

stem = ⌊value / unit⌋, leaf = value mod unit

Worked example

With the default values below, Stem And Leaf Plot Calculator returns Stem and leaf plot of 2 | 3 5 8 3 | 1 4 4 7 4 | 2 5 5 | 1. Change any input above and every figure here is recalculated in your browser.

Inputs used

Data values
23, 25, 28, 31, 34, 34, 37, 42, 45, 51
Stem unit (divide by this)minimum 1
10

Results

Stem and leaf plot
2 | 3 5 8 3 | 1 4 4 7 4 | 2 5 5 | 1
Number of stems
4
Stem with the most leaves
3
Median of the data
34.000000

Step by step

  1. 1Values used
  2. 2Split rule
  3. 3Stem and leaf plot= 2 | 3 5 8 3 | 1 4 4 7 4 | 2 5 5 | 1
  4. 4Number of stems= 4
  5. 5Stem with the most leaves= 3
  6. 6Median of the data= 34.000000

Assumptions and limits

  • The result is derived only from the 2 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 6 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

For the sample data with stem unit 10?

The stems 2, 3, 4 and 5 hold leaves 3 5 8 | 1 4 4 7 | 2 5 | 1, with the median 34.

Why prefer it to a histogram?

It preserves the raw data, so you can still read off the median and any repeated values exactly.

Stem And Leaf Plot Calculator – Calculate Stem and leaf plot