Stem-and-Leaf Plot Generator

A stem-and-leaf plot shows every number in a small data set at once, sorted, so you can see where most of them fall. Paste your numbers and the plot appears with its key, plus the median and range read off it.

Median
73 31 numbers

31 numbers on 8 stems, from 33 to 100. The median (middle number) is 73.

StemLeaf
33
42 9 9
53 5 5
61 3 7 8 8 9 9
72 3 4 8
80 3 8 8 8
90 2 4 4 4 4 6
100
Range 67
Smallest – largest 33 – 100
Key 3 | 3 = 33

What is a stem-and-leaf plot?

A stem-and-leaf plot (or stemplot) is a quick graph for a small set of numbers. The leaf is each number’s last digit and the stem is everything before it: 23 has stem 2 and leaf 3, 432 has stem 43 and leaf 2, and 9.3 has stem 9 and leaf 3. It gives an exact picture of the data: every value is still there, so you can read off the smallest, the largest and the median.

Look for the overall pattern, and for any number that doesn’t fit it (an outlier): in OpenStax’s distances example, 12.3 km sits five empty stems away from the rest.

Source OpenStax Introductory Statistics 2e · 2.1 Stem-and-leaf graphs (stemplots) ↗

How to make a stem-and-leaf plot

Leaf = the last digit · Stem = every digit before it

Here it is with your numbers:

  1. Split each number: 33 has stem 3 and leaf 3.
  2. List the stems from 3 to 10 in a column, empty ones included, and draw a line after them.
  3. Write each leaf beside its stem, smallest first.
  4. Count to the middle: the median is the 16th number, 73.

It means you can read the shape of the 31 numbers at a glance: the longest rows of leaves are where most of them sit.

For big data sets, OpenStax’s rule of thumb is to use a histogram once you have 100 values or more: it groups them into bars instead of listing every one.

Source OpenStax Introductory Statistics 2e · 2.2 Histograms, frequency polygons, and time series graphs ↗

FAQs

What is a stem-and-leaf plot?

A graph that splits each number into a stem (all but the last digit) and a leaf (the last digit), with the stems in a column and each stem’s leaves in a row beside it. It suits small data sets and shows every value, so you can spot the overall pattern and any outliers.

Source OpenStax Introductory Statistics 2e · 2.1 Stem-and-leaf graphs (stemplots) ↗

How to make a key for a stem-and-leaf plot?

Write one stem and leaf from your plot with the number they stand for, like 3 | 3 = 33. For decimals, the key shows where the decimal point goes: 1 | 1 = 1.1. This page writes the key from your smallest number.

Can you give me some examples of stem and leaf plots?

OpenStax plots 31 exam scores from 33 to 100 on stems 3 to 10; the row for 6 reads “1 3 7 8 8 9 9”, so seven scores were in the 60s. Its second example plots distances like 1.1 and 12.3 km with the decimal part as the leaf, and keeps the empty stems 7 to 11 so the gap before 12.3 shows.

Sources

Related calculators