Build a stem-and-leaf plot that shows the shape of your data while keeping every value readable, with split stems and a back-to-back option for comparing two groups.
74 → stem 7 | leaf 4
A stem-and-leaf plot splits each number into a stem (its leading digits) and a leaf (its last digit), then lists the leaves in a row beside their stem. 74 becomes stem 7, leaf 4.
Turned on its side, the rows of leaves form a histogram, but unlike a histogram every original value can still be read back. That makes it easy to find the median, the mode and the range straight from the plot.
John Tukey popularised it in the 1970s as a quick pencil-and-paper tool. A back-to-back version, with a second data set's leaves running leftwards from the same stems, compares two groups compactly.
As described in Tukey, Exploratory Data Analysis (1977), and OpenStax Introductory Statistics, section 2.1. See Sources.
Digits beyond the leaf are dropped (truncated), not rounded: with leaf unit 1, 74.8 is shown as 7 | 4.
The unsplit plot peaks at stem 7 and tapers both ways. The split version shows the 70s are spread evenly across both halves, and that 94 sits alone at the top.
| Data like | Leaf unit | Example value | Shown as |
|---|---|---|---|
| Times to 0.1 s | 0.1 | 12.7 | 12 | 7 |
| Test scores out of 100 | 1 | 74 | 7 | 4 |
| House prices in £k | 10 | 285 | 2 | 8 |
| Salaries in £ | 100 | 31,450 | 31 | 4 |
The leaf is the last digit at the chosen unit; the stem is everything before it. With leaf unit 1, 128 is stem 12, leaf 8.
The largest power-of-ten leaf unit that still gives at least 4 stems, which suits most data.
When most values crowd into two or three stems. Splitting doubles the rows and shows more shape.
The shared stems are in the middle. The second set’s leaves read right to left, so 3 | 7 on the left with stem 6 means 67.
Each leaf is one digit. Extra digits beyond the leaf unit are dropped, not rounded, which is the standard convention.
Not on this page. Add a constant to shift them above zero, or use a dot plot.
Look for the leaf digit that repeats most within one stem row; 7 | 1 1 means 71 appears twice.
Any number, but beyond about 100 values the rows get long; a histogram summarises better.
Related Tools