Stem and Leaf Plot Generator

Turn a list of numbers into a stem-and-leaf plot, drawn on canvas and as text, with count, range and median.

100% FreeNo sign-upPrivate — runs in your browser
—

Plot summary

Count
—
Range (min to max)
—
Median
—
Stem-and-leaf plot (text)
—

Copied to clipboard

How to use this tool

1
Enter your numbers

Type whole numbers separated by commas.

2
Read the plot

Each row is one stem with its leaves.

3
Check the summary

Count, range and median sit above the plot.

4
Use the canvas version

The same plot is drawn on canvas for saving or printing.

Formula & worked example

Stem = floor(value ÷ 10), leaf = value mod 10; leaves sorted within each stem.

12, 15, 17, 23, 25, 31 plots as 1 | 2 5 7, 2 | 3 5, 3 | 1.

Limitations — read this before you rely on it

Whole numbers only. Very large data sets make long leaf rows; for hundreds of values a histogram summarises better.

Frequently asked questions

The stem is the tens digit and each leaf is a ones digit: 2 | 3 5 means 23 and 25.

Unlike a histogram, it shows the shape of the data without hiding any individual value.

They get stem 0: 5 appears as 0 | 5.

Yes, leaves within each stem are sorted smallest to largest.

This generator takes whole numbers; round or scale decimals first (for example, multiply by 10).