Stem-and-Leaf Plots: Reading, Creating & Finding the Five Number Summary
What Is a Stem-and-Leaf Plot?
A stem-and-leaf plot (or stemplot) displays quantitative data while preserving every individual value. Each number is split into a stem (leading digits) and a leaf (final digit). The result looks like a sideways histogram but retains the actual data — making it possible to extract the five number summary directly.
John Tukey introduced the stem-and-leaf plot in 1977 as part of his exploratory data analysis (EDA) toolkit, alongside the box plot.
Creating a Stem-and-Leaf Plot
Consider these 20 test scores: 43, 45, 51, 54, 56, 58, 62, 63, 65, 67, 68, 71, 72, 74, 78, 81, 83, 85, 91, 95.
Stem | Leaf 4 | 3 5 5 | 1 4 6 8 6 | 2 3 5 7 8 7 | 1 2 4 8 8 | 1 3 5 9 | 1 5 Key: 5|4 = 54Steps to create the plot:
- Sort the data in ascending order
- Determine the stem (tens digit) and leaf (ones digit) for each value
- List stems vertically in ascending order
- Write each leaf in order next to its stem
- Include a key explaining how to read the display
Always Include a Key
Without a key, readers cannot determine whether 5|4 means 54, 5.4, or 540. The key removes ambiguity and is required on AP Statistics, GCSE, and IB exams.
Reading the Distribution Shape
The stemplot above shows the data shape at a glance. The leaves form a profile similar to a histogram turned on its side:
- The longest row (stem 6, with 5 leaves) indicates the modal class
- The distribution is roughly symmetric, with a slight tendency toward higher values
- No gaps appear, suggesting a continuous distribution without clusters
Finding the Five Number Summary from a Stemplot
Because every data value is preserved, the five number summary can be read directly:
n = 20 values Min = 43 (first leaf on first stem) Max = 95 (last leaf on last stem) Median position = (20 + 1) / 2 = 10.5th value 10th value = 67, 11th value = 68 Median = (67 + 68) / 2 = 67.5 Q1 position = median of lower 10 values → 5.5th value 5th value = 56, 6th value = 58 Q1 = (56 + 58) / 2 = 57 Q3 position = median of upper 10 values → 15.5th value 15th value = 78, 16th value = 81 Q3 = (78 + 81) / 2 = 79.5 Five number summary: (43, 57, 67.5, 79.5, 95)Back-to-Back Stem-and-Leaf Plots
Comparing two groups is done with a back-to-back stemplot, where one group's leaves extend left and the other extends right:
Class A | Stem | Class B 5 3 | 4 | 2 7 8 6 1 | 5 | 3 5 9 7 5 2 | 6 | 1 4 6 8 4 1 | 7 | 2 5 7 9 3 | 8 | 0 4 6 | 9 | 2 Key: 3|4 = 43 (Class A) 4|2 = 42 (Class B)Class B's leaves extend further into the higher stems, indicating generally higher scores. The shape comparison is immediate — no calculations needed to see that Class B skews higher.
Split Stems for Larger Datasets
When too many leaves crowd onto one stem, split each stem into two rows:
- First row: leaves 0–4
- Second row: leaves 5–9
Stem | Leaf 6* | 1 2 3 4 6. | 5 7 8 9 7* | 0 1 2 3 4 7. | 5 6 8 9Splitting provides finer resolution for seeing the distribution shape, similar to using narrower bins in a histogram.
Stemplot vs. Other Displays
| Feature | Stemplot | Histogram | Box Plot |
|---|---|---|---|
| Shows individual values | Yes | No | No |
| Shows distribution shape | Yes | Yes | Partially |
| Good for large datasets | No (≤50) | Yes | Yes |
| Easy group comparison | Back-to-back | Side-by-side | Side-by-side |
| Can extract exact statistics | Yes | No | Five-number only |
When to Use a Stemplot
Stemplots work best for small to moderate datasets (roughly 15–50 values) where preserving individual values matters. For larger datasets, switch to histograms or box plots. For AP Statistics free-response questions, stemplots are an accepted way to display data and justify shape descriptions.
Common Mistakes
- Forgetting the key: Without it, the plot is ambiguous. Always include "Key: 5|4 = 54."
- Unsorted leaves: Leaves must be in ascending order (left to right) for the plot to show shape correctly.
- Skipping empty stems: If no values fall in a stem range (e.g., no scores in the 50s), include the stem with no leaves to preserve the shape.
- Choosing the wrong split: Use the tens digit as stem for 2-digit numbers, hundreds digit for 3-digit numbers. Adjust the key accordingly.
Verify Your Calculations
Use the free five number summary calculator to check your work.
Open CalculatorWritten by Oge Nwaozuzu
Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.