Stem and Leaf Plots
Learn to build and read stem-and-leaf plots, find the median, mode and range from them, and compare two groups with a back-to-back plot.
Definition
- The stem is every digit except the last one (for two-digit numbers, the tens digit)
- The leaf is the last digit (the ones digit)
Worked Examples
Choose the stems
Write each ones digit as a leaf next to its stem
Put the leaves of every row in order
Add a key and check the count
Answer: The plot has stems 5 to 9 with ordered leaves 2 8 / 1 3 7 7 / 0 4 5 8 / 1 4 6 / 0 5 and the key .
Common Mistakes
Writing the leaves in the order the data was given (for example 6 | 7 1 7 3)
Why it's wrong: The plot still shows the shape, but counting to the median or spotting repeated values only works when each row is in order.
Correct: Always rewrite each row with the leaves from smallest to largest: 6 | 1 3 7 7.
Leaving out the key or ignoring it
Why it's wrong: The same entry can mean 47, 4.7 or 470. Without the key the reader has to guess.
Correct: Always write a key such as seconds and read every value with it.
Skipping a stem that has no leaves
Why it's wrong: If no value is between 30 and 39 and the row for stem 3 is left out, the gap in the data disappears and the shape looks wrong.
Correct: Write every stem from the smallest to the largest, even when a row stays empty.
Reading the left side of a back-to-back plot in the wrong direction (reading as 37)
Why it's wrong: On the left side the leaf stands before the stem, but the stem is still the tens digit.
Correct: Read left leaves outward from the stem: leaf 3 next to stem 7 is 73. The key of a back-to-back plot shows this.
Interactive Visual
Quiz scores of 15 students: sort the leaves
| Stem | Leaf |
|---|---|
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 |
Key: 7 | 4 = 74
Tap a leaf to see its value.
- Values
- 15
- Median
- 74
- Mode
- 67
- Range
- 95 − 52 = 43
Back-to-back plot: Class A and Class B
| Class A | Stem | Class B |
|---|---|---|
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 |
Key: 7 | 2 = 72Left side: 3 | 7 = 73
Tap a leaf to see its value.
Class A
- Values
- 10
- Median
- 63
- Mode
- 64
- Range
- 80 − 48 = 32
Class B
- Values
- 10
- Median
- 75
- Mode
- none
- Range
- 91 − 57 = 34
Commute times of 14 workers (minutes) with split stems
| Stem | Leaf |
|---|---|
| 2 | |
| 2* | |
| 3 | |
| 3* |
Key: 2 | 1 = 21Split stems: the first row of a stem holds leaves 0 to 4, the row with * holds 5 to 9.
Tap a leaf to see its value.
- Values
- 14
- Median
- 28.5
- Mode
- 27
- Range
- 38 − 21 = 17
Histogram
Same quiz scores grouped by stem (the plot turned on its side)
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhy It Matters
- No data is lost: unlike a histogram or a box plot, every original value can be read back from the plot
- Shape at a glance: the length of each row shows where the data is crowded and where it is thin
- Ordering for free: once the leaves are in order, the data is sorted, so the median, the mode and the range are easy to find
- Comparing groups: a back-to-back plot puts two data sets on the same stems, for example the test scores of two classes or the temperatures of two towns
Real World Applications
Points per Game in Basketball
Coaches and sports reporters use stem-and-leaf plots to show a player's scoring over a season without losing any game.
Example:
A player's points in 12 games:
Use the plot of the player's 12 games above.
What is the median number of points per game?
Step 1: Write the mathematical expression
Write the calculation for the median:
Comparing Temperatures of Two Towns
Weather services compare towns with back-to-back plots: the same stems in the middle, one town on each side.
Example:
Daily high temperatures in °C:
Use the back-to-back plot of the two towns above.
By how many degrees is the median of Town B higher than the median of Town A?
Step 1: Write the mathematical expression
Write median B minus median A:
Resting Pulse Rates
School nurses and doctors record pulse rates in stem-and-leaf plots to see at once which values are typical and which are unusual.
Example:
Resting pulse rates of 12 students in beats per minute:
Use the pulse rate plot above.
What is the range of the pulse rates?
Step 1: Write the mathematical expression
Write the calculation for the range:
Key Takeaways
- 1A stem-and-leaf plot splits each value into a stem (all digits but the last) and a leaf (the last digit)
- 2Stems go in a column from smallest to largest, leaves in each row are written in order, and every plot needs a key such as
- 3Each leaf is one data value, so the number of leaves is the number of values and every value can be read back
- 4Because the data is in order, the median is found by counting leaves, the mode is a repeated leaf in one row and the range is last value minus first value
- 5A back-to-back plot shares the stems between two groups: leaves on the left are read outward from the stem
- 6Split stems (leaves 0-4 and 5-9 in separate rows) show the shape better when the data uses only a few stems
Frequently Asked Questions
Glossary
- Stem-and-leaf plot
- A display that splits each value into a stem and a leaf so that every value is shown and the shape of the data is visible
- Stem
- All digits of a value except the last one, written once in the left column (in 74 the stem is 7)
- Leaf
- The last digit of a value, written in the row of its stem (in 74 the leaf is 4)
- Key
- A note that shows how to read an entry, for example or
- Back-to-back plot
- Two stem-and-leaf plots that share one column of stems, with one group's leaves on the left and the other's on the right
- Split stems
- Each stem is used for two rows, the first with leaves 0 to 4 and the second with leaves 5 to 9
Formula Card
Reading an entry (key stem | leaf)
For two-digit data the value is stem times 10 plus leaf. Always check the key: with $7 \mid 4 = 7.4$ the leaf is the tenths digit.
Position of the median
Count leaves from the top until you reach this position. If it ends in .5, take the mean of the two values on either side.
Range
The largest value is the last leaf of the last stem and the smallest is the first leaf of the first stem.