Stem-and-Leaf Diagrams
Draw an ordered stem-and-leaf diagram with a key, read the median, mode and range from it, and read a back-to-back diagram.
- 8 steps
- 9 min
- 1 syllabus
Try a real exam question on this
0580/11 · May/Jun 2026 · Q12 · 5 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
Using a stem-and-leaf diagram of 32 plank lengths in cm, find the range, mode, median, and the fraction of planks shorter than 236 cm.
(a) 1 mark
Find the range of the plank lengths.
- Understand the question. The stem-and-leaf diagram gives the lengths of 32 wooden planks in centimetres, and we must find the range of these lengths.
- Use the range formula. The range is the largest value minus the smallest value, and the stem-and-leaf diagram gives the largest and smallest lengths.
- Find the extreme values. The largest stem is 26 with leaf 4, so 264. The smallest stem is 23 with leaf 3, so 233. Watch out. The key means a stem of 23 and a leaf of 3 gives 233, not 23.3.
- Largest = 264, smallest = 233
- Subtract the smallest from the largest. 264 minus 233 is 31, so the range is 31 cm.
- Range = 264 − 233 = 31 cm
Answer 31
(b) 1 mark
Find the mode of the plank lengths.
- 241 appears 4 times, more than any other
- Mode = 241 cm
Answer 241
(c) 1 mark
Find the median plank length.
- 32 values, so the median is halfway between the 16th and 17th
- 16th = 246, 17th = 248
- Median = 247 cm
Answer 247
(d) 2 marks
Find, as a simplified fraction, the proportion of planks under 236 cm.
- Less than 236: 233, 234, 234, 235 = 4 planks
- Fraction = 4/32 = 1/8
Answer 1/8
The lesson, step by step
Step 1 of 8
What a Stem-and-Leaf Diagram Is
A stem-and-leaf diagram shows every value, in order. Each number is split into two parts.
| Part | For 23 |
| Stem: the tens digit | 2 |
| Leaf: the units digit | 3 |
Rule
Always give a key, like means 23. Without it, the reader cannot tell 23 from 2.3.
Read the key first. Exams change it, and then the stem and leaf mean something new.
Worked example
- 1
— Here the stem is the units and the leaf is the tenths. So the key is for decimals.
- 2
— Same key, another row. Stem 2 and leaf 4 make 2.4, not 24.
- 3
— A stem can have two digits. Here 15 is the hundreds and tens, and the leaf is still the units.
- 4
— With a key like 1 | 2 = 12, a one-digit value such as 8 goes on stem 0. It has no tens, so its tens digit is 0.
Key idea
The leaves in each row go in order, smallest first. So the whole diagram is a sorted list.
Step 2 of 8
Drawing One From a List
The 2 or 3-mark question: “Draw an ordered stem-and-leaf diagram.” These are 15 test scores.
23, 41, 17, 35, 28, 32, 19, 44, 26, 35, 31, 22, 38, 35, 29
Worked example
- 1
— The smallest score is 17 and the largest is 44. So the tens digits run from 1 to 4. Write each stem once, down the left.
- 2
— Stem 1 takes 17 and 19. Their units digits, 7 and 9, are the leaves, smallest first.
- 3
— Stem 2 takes 23, 28, 26, 22 and 29. Write their units digits, then sort them so the row is in order.
- 4
— 35 is in the list three times, so leaf 5 goes in three times. Every value needs its own leaf.
- 5
— Stem 4 takes 41 and 44. Every score now has a place.
- 6
— Add a key so the reader knows a leaf is a units digit. Some questions give a mark just for the key.
- 7
— Count the leaves in each row and add. 15 leaves for 15 scores, so nothing is missing or written twice.
Key idea
Marks: a full, ordered diagram scores 2. A diagram with the leaves out of order, or with one leaf missing, scores only 1. Tick each value off the list as you place it, then sort each row.
Common mistake
Leaving out the key, leaving the leaves unordered, or writing a repeated value only once. Count the leaves at the end.
Step 3 of 8
Median, Mode and Range From the Diagram
The 1 or 2-mark question: “Find the median” or “Work out the range”. The diagram is already in order, so you just count along the leaves.
Formula
is the number of values, which is the number of leaves. The answer tells you which value to count to. It is a position, not the median itself.
Worked example
- 1
— Count the leaves in the diagram you just drew: 2 + 5 + 6 + 2 = 15 values.
- 2
— Put n = 15 into the formula. The median is the 8th value in order.
- 3
— Count along the leaves from the top row, putting the stem back on each one. The 8th value is 31, so the median is 31.
- 4
— The mode is the value that appears most often. Leaf 5 appears three times on stem 3, and no other value repeats that often.
- 5
— Range = largest − smallest. The largest is the last leaf of the last row, 44. The smallest is the first leaf, 17.
Common mistake
Reading a leaf on its own. The last leaf, 4, means 44, and the first means 17. Put the stem back on before you work anything out.
Key idea
If no value repeats, there is no mode. If two values tie for most often, both are modes.
Step 4 of 8
Median of an Even Number of Values
Many exam diagrams have an even number of values, like 12, 16 or 20. Then there is no single middle leaf. Here is what to do.
12 values. Key: 1 | 4 means 14
| Stem | Leaves |
| 1 | 4 6 9 |
| 2 | 0 3 5 7 8 |
| 3 | 2 2 6 |
| 4 | 1 |
Worked example
- 1
— Count the leaves in each row and add. There are 12 values, so n = 12.
- 2
— 6.5 is not a whole position. It means halfway between the 6th and 7th values.
- 3
— Count along the leaves to the 6th and 7th values. They are 25 and 27.
- 4
— Add the two middle values and halve. The median is 26, even though 26 is not in the diagram.
Common mistake
Giving 6.5 as the median. 6.5 is the position. The median is the value found there, 26.
Step 5 of 8
More Than, Fractions and Percentages
Exams also ask “How many are more than …?”, then for a fraction or a percentage. The diagram is in order, so the values you want sit together.
Formula
count is how many leaves fit the condition. total is the number of leaves in the whole diagram.
Use the 12 values from the last card. What percentage are more than 30?
Worked example
- 1
— More than 30 means 31 and above. A value of exactly 30 would not count.
- 2
— Find the first leaf past 30 and count every leaf after it. That is 4 values.
- 3
— Fraction = count over the total of 12 leaves.
- 4
— Divide top and bottom by 4. If the question asks for a fraction, give it in its simplest form.
- 5
— For a percentage, multiply the fraction by 100. 33.333… rounds to 33.3% to 3 significant figures.
Common mistake
Counting the boundary value. “More than 30” and “less than 30” leave out 30. “At least 30” keeps it in.
Key idea
Write the fraction before the percentage. It earns a mark for working even if the last step slips.
Step 6 of 8
Back-to-Back Diagrams
The 2-mark question compares two groups with one diagram. The stems are in the middle. One group's leaves go right, the other group's go left.
Worked example
- 1
— One row of a back-to-back diagram. The stem 3 is in the middle, one group on each side.
- 2
— Left leaves grow outwards from the stem, so read them from the stem: 5, then 8. Stem first gives 35 and 38.
- 3
— Right leaves read left to right, as in a normal diagram. Stem first gives 31 and 36.
Common mistake
Reading the left side as 53 and 83. The stem always comes first: 5 next to stem 3 is 35.
Key idea
To compare the two sides, find each median and range, then write two comparisons. See Comparing Two Sets of Data.
Step 7 of 8
Finding Missing Leaves
A harder question hides some leaves as letters and gives you the range, median and mean. Use one fact at a time to find each letter.
10 values, in order. Key: 1 | 2 means 12. Range 25, median 17, mean 17.1
| Stem | Leaves |
| 0 | 4 A |
| 1 | 2 5 B 8 |
| 2 | 1 3 6 C |
Worked example
- 1
— Range = largest − smallest. The smallest is the first leaf, 4. The largest is the last leaf, which is 20 + C.
- 2
— Add 4 to both sides, so the largest value is alone.
- 3
— Take 20 from both sides. The largest value is 29.
- 4
— 10 values, so the median is halfway between the 5th and 6th. Count along: the 5th is 10 + B and the 6th is 18.
- 5
— Multiply both sides by 2, and add 10 + 18 = 28.
- 6
— Take 28 from both sides. The 5th value is 16.
- 7
— Mean = total ÷ number of values, so total = mean × number of values.
- 8
— Write every value as a sum, using B = 6 and C = 9.
- 9
— Add the numbers you know: they make 164.
- 10
— Take 164 from both sides. Check: 7 comes after 4 in row 0, so the leaves are still in order.
Key idea
Write each equation down. Each letter is worth marks on its own, and the working earns marks even if one answer is wrong.
Step 8 of 8
Which Method? Read the Question
Remember: the diagram is a sorted list.
| You see | You do |
| Draw an ordered diagram | stems, leaves in order, a key |
| Median | count to the middle leaf |
| Median, even number of values | mean of the two middle values |
| Mode | the leaf that repeats most, with its stem |
| Range | last value take away first |
| More than / less than, fraction, % | count the leaves, then over the total |
| Letters for missing leaves | use the range, median and mean in turn |
| Leaves on both sides | left side reads outwards from the stem |
| Mean of a list | Mean, Median, Mode and Range |
| Quartiles and IQR (Extended) | Finding the Median and Quartiles |
| Compare two groups | Comparing Two Sets of Data |
Key idea
Before you answer, check the number of leaves matches the number of values.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0580/12Feb/Mar 2026 · Q142 marksPlace the twelve late-student counts into a stem-and-leaf diagram with stems 0, 1 and 2, using the key 1 | 7 = 17 students.Solve it →
- 0580/12May/Jun 2026 · Q93 marksUsing a stem-and-leaf display of lunch-eating times for 20 students, work out counts, a percentage and a time difference from the data.Solve it →
- 0580/32Feb/Mar 2025 · Q106 marksUsing a stem-and-leaf table with three unknown digits, plus given range, median and mean for ten values, determine A, B and C, then explain why no mode exists.Solve it →
- 0580/23May/Jun 2025 · Q63 marksComplete a stem-and-leaf diagram for 15 giraffe heights using a table of facts about one height, minimum, range, repeats and mode, plus a partial diagram of 9 heights.Solve it →
- 0580/11Oct/Nov 2025 · Q144 marksUse the 12 given ages in months to complete a stem-and-leaf diagram, count children older than 2 years, and show the median equals 12.5.Solve it →
- 0580/12Oct/Nov 2025 · Q116 marksUse a stem-and-leaf diagram of customers over 20 days to find range, mode, a percentage above 55, and median, then decide how adding 48 affects the median.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.