All guides
stem and leaf plothow tostatistics

How to Make a Stem and Leaf Plot (Free Online Tool)

Step-by-step guide to creating stem and leaf plots. Understand stems, leaves, split plots, back-to-back displays, and when to use them.

By ChartsMakers Editorial Team·5 min read·Published 2026-05-05·Reviewed 2026-09-23

A stem and leaf plot is a unique hybrid: it shows the distribution of data and preserves every original value. It's a staple of K–12 statistics and a useful tool for small datasets.

How to make a stem and leaf plot

1

Paste your data

Open the stem and leaf plot maker and enter whole numbers — one per line. Negative values are supported.

2

Choose the leaf unit

Select Ones for whole numbers (127 → stem 12, leaf 7), or Tens for multiples of 10 (120 → stem 1, leaf 2). The key shows the selected scale.

3

Download your chart

Save the chart as PNG or PDF. Works on any device.

How to read a stem and leaf plot

Each data point is split into two parts:

  • Stem — the leading digit(s), shown in the left column
  • Leaf — the trailing digit, shown in the right column

Example: the dataset 62, 65, 68, 71, 73, 75, 78, 81, 85, 87

6 | 2 5 8
7 | 1 3 5 8
8 | 1 5 7

Reading it back: 6 | 2 = 62, 6 | 5 = 65, 7 | 1 = 71, and so on. Every original value is preserved.

Leaf unit: ones vs tens

  • Ones (default) — Each leaf represents 1. For 72, stem = 7, leaf = 2; for 127, stem = 12, leaf = 7.
  • Tens — Each leaf represents 10. For 120, stem = 1, leaf = 2. Use this only when all values are multiples of 10; the tool does not round away the ones digit.

The stem can have multiple digits: with Ones, 1234 becomes 123 | 4. For negative values, the minus sign applies to the whole number: -1 | 2 means −12 with Ones, and -0 | 5 means −5. Negative rows are ordered from most negative to least negative.

What a stem and leaf plot reveals

The shape of the plot (when viewed sideways) shows the same information as a histogram:

  • Where leaves are densest → the mode / most common range
  • Spread of leaves per stem → variability within each decade
  • Isolated stems with few leaves → sparse regions or outliers
  • Symmetric vs lopsided shape → distribution skewness

Unlike a histogram, you can recover the original values by reading the plot — critical for small datasets where the exact numbers matter.

Back-to-back stem and leaf plots

A useful use is comparing two datasets back-to-back, with leaves for one group on the left and the other on the right, sharing the stems in the middle:

Class A  |  Stem  |  Class B
   8 5 2 |   6    |  1 4 6
 9 7 5 1 |   7    |  2 3 5 8
   8 4 2 |   8    |  0 5 9
       5 |   9    |  2 4

This makes comparing medians, spread, and shape quick.

When to use a stem and leaf plot

When to use
  • Dataset has 10–50 values
  • You need to see the original values, not just counts per bin
  • You're doing classroom statistics or homework
  • You're comparing two small groups (back-to-back plot)
When not to use
  • More than ~50 values → gets crowded, use a histogram instead
  • Values have more than 3 significant digits → stems become unwieldy
  • You need a polished chart for a presentation → use a histogram or box plot

Stem and leaf plot vs histogram

Stem & LeafHistogram
Preserves original valuesYesNo
Good for n < 50YesNot ideal
Good for n > 100NoYes
Supports back-to-back comparisonYesNo
Common in K–12YesYes
Used in researchRarelyFrequently

How to find median and quartiles

A stem and leaf plot naturally sorts data — leaves within each stem are arranged in order.

1

Count total values (n)

Count every leaf in the entire plot to get n.

2

Find the median position

Position = (n+1)/2 when n is odd. When n is even, average the two middle values at positions n/2 and n/2+1.

3

Count through the leaves

Read left-to-right, top-to-bottom until you reach the median position.

Example: for n=10, median = average of 5th and 6th values = average of 73 and 75 = 74.

FAQ

Q

Can I include decimal values?

Stem and leaf plots can represent decimals with a suitable unit, such as 0.1. This maker currently offers only Ones and Tens, so it rejects decimal inputs rather than silently rounding them. Use another tool with a decimal leaf unit if you need to preserve that precision.

Q

What if many values share the same stem?

That's fine — a long row of leaves just means many values in that range. If rows get very long (more than 10 leaves), consider a 5-split stem and leaf plot, which divides each stem into two rows.

Q

Is this the same as a leaf plot or stem plot?

Yes — "leaf plot," "stem plot," and "stem and leaf plot" all refer to the same chart type.

How this guide is reviewed

This guide is maintained by the ChartsMakers Editorial Team and reviewed for statistical accuracy, product behavior, and clarity. When a guide relies on software behavior or statistical definitions, we check it against official documentation or established references. See our editorial policy.

Want to try it with your data?

Paste your data into the Stem & Leaf Plot Maker.