Stem-and-Leaf Plot
Variant: Standard
Made-up data, for demonstration only
Variants
4 types · click one to see it in the frame above- Difference from standard
- The recommended type; use it as a starting point
- Use when
- See the shape of the distribution of a small data set while still seeing every actual number
Stem-and-Leaf Plot is a table that splits each number into a "stem" (the leading digits) and a "leaf" (the last digit), then lines up the leaves after their stem. The result looks like a histogram but keeps the real values. Use it to see the shape of a small dataset, such as the exam scores of 30 students.
How to read a Stem-and-Leaf Plot
- The left column is the stem. In this example it is the tens digit, 5 to 9.
- The right column is the leaves. Each digit is the units digit for one student, in order from smallest to largest.
- Read them together. "7 | 2" is a score of 72. Several leaves in one row mean several students with scores in that range. If scores repeat, leaves repeat, for example "2 2" in row 7 means two students scored 72.
- The longest row is the range with the most people. The 70–79 row has 10 of the 30 students.
- You can count values directly. Row 5 has 2 students (52, 58), row 6 has 5, row 8 has 8 and row 9 has 5.
- You can read the middle. The median is about 77.5, the lowest score is 52 and the highest is 98. 13 of the 30 students scored 80 or more.
Unlike a histogram, you can read back every student's score.
When to use it
- The dataset is not large. It suits moderately sized data, roughly 15 to 150 values.
- You want to see both the shape and the real values. A stem-and-leaf plot keeps the original data to at least two digits and puts it in order, which a histogram does not.
- You are exploring data by hand or on paper. It is quick to make, unlike other charts that need software to draw.
- Readers are comfortable with tables. Wessa notes that it is easy to interpret and familiar to many readers.
When not to use it
- There is very little data. Use a Line Plot or a Strip Plot instead.
- There are hundreds of values. Writing every digit gets cluttered. Use a Histogram.
- There are values far out on their own. Wessa says it may not be very informative, and the outliers may need trimming first.
- You want a picture for general readers. A table of digits is not friendly. Use a Histogram or a Box Plot.
Common mistakes
1. Choosing stems badly
Wessa warns that a poor split into stems and leaves can hide features of the distribution, such as two peaks. If there are too few rows, try splitting each stem in half (0–4 and 5–9). See the "Split stems into 2 rows" variant.
2. Forgetting the key
You must say "7 | 2 = 72", or readers will not know the units of the stem and the leaf. This example writes the key under the table.
3. Skipping a stem that has no leaves
Write every stem once and do not skip any, even if some stems have no leaves, so the shape stays correct.
4. Leaves not sorted, or repeated values left out
Leaves must run from smallest to largest, and repeated values must be written as many times as they occur, as this example writes 72 twice. See the "Unsorted leaves" variant.
5. A font that does not line the leaves up
Leaves must be evenly spaced. Use a fixed-width (monospace) font so the length of a row reflects the number of leaves.
Compared with similar charts
| Chart | How it differs | Choose it when |
|---|---|---|
| Stem-and-Leaf | The real numbers lined up in rows | 15–150 values, and you want to see the real values |
| Histogram | Bars count values per range | A lot of data, easy to communicate |
| Line Plot | Dots stacked in columns by value | Little data, whole-number values in a narrow range |
| Strip Plot | Dots on a single line | Little data |
| Frequency Table | A table of counts per range | You want the numbers directly |
Frequently asked questions
Why is it called stem and leaf?
The leading digits are like a stem, with many leaves branching off to the side.
How is it different from a histogram?
A histogram counts data per range and draws bars. A stem-and-leaf plot uses the numbers themselves as the bars, so it keeps the real values.
Can I use it with decimals?
Yes. Round the values to the digit you chose for the leaf first, for example to units or to one decimal place.
How many rows are right?
There is no fixed number. The rule is that the shape of the distribution can still be seen. This example uses 5 rows for 30 values.
References
- Stem-and-leaf display · Wikipedia · en.wikipedia.orgUsed to confirm: the definition and basic facts about the stem-and-leaf display
- Statistical Analysis for Small and Big Data: Stem-and-Leaf Plot · Patrick Wessa · quarto.wessa.netUsed to confirm: how to build and read a stem-and-leaf plot
Last updated 28 Nov 2026