Not sure which lesson to do first? Find your level and get a plan →

Statistics · Grade 6-8

Stem-and-Leaf Plot

A stem-and-leaf plot displays numerical data by splitting each value into a stem and a leaf.


Quick Answer

A stem-and-leaf plot displays numerical data by splitting each value into a stem and a leaf. Use it for a small set of numbers, up to about 50, when you want to see where the values bunch up and still read every exact value. The stem is the leading digit or digits, the leaf is the last digit, and a key such as 7 | 3 = 73 tells the reader the units. Because each row's leaves are sorted, the plot is also an ordered list, so the median, mode and range can be read straight off it.

Why This Matters

A stem-and-leaf plot turns a jumbled list of test scores, ages or times into a picture in a minute, by hand, without losing a single value. You see clusters and gaps as you would on a histogram, yet you can still find the exact median, spot a repeated value, or notice one score of 41 in a class of 70s and 80s. Leave the leaves unsorted or drop the key, and the same plot gives a wrong median or misread units.

Intuitive Explanation

Suppose 15 students scored 58, 63, 67, 67, 71, 72, 74, 75, 75, 78, 81, 83, 86, 90 and 94 on a test. Write the tens digits 5 to 9 down the left side as stems. Then write each score's ones digit, its leaf, to the right of its stem: 5 | 8, 6 | 3 7 7, 7 | 1 2 4 5 5 8, 8 | 1 3 6, 9 | 0 4. Turn the page a quarter-turn and the rows become bars: the 70s row is the longest, so most of the class scored in the 70s, and only two students reached the 90s.

Two rules keep the plot honest. Every stem between the smallest and largest value gets a row, even an empty one, so a gap in the data shows up as a gap in the plot: if nobody had scored in the 60s, the row 6 | would stay blank. And every plot needs a key, such as 7 | 4 = 74, because the same digits could mean 7.4 seconds or 740 people. Since the leaves are sorted, you can count to the middle: the 8th of the 15 scores is the median, 75.

A grouped frequency table of the same scores (50s: 1, 60s: 3, 70s: 6, 80s: 3, 90s: 2) uses the same groups, and so does a histogram drawn from it. But both keep only the counts. From them you cannot tell whether the six scores in the 70s were all 71 or all 78, so you cannot find the exact median. Ask whether every original value can be read back off the display: on a stem-and-leaf plot it can.

Think of it like this. A stem-and-leaf plot is like a set of labelled shelves: each stem is a shelf for one tens digit, and each leaf is a book standing on it with only its last digit showing. The longest shelf shows where most values sit, and you can still pick out any single book. With hundreds of books the shelves overflow, and a histogram's counted bars work better.

Core idea. Splitting each number into a leading part and a last digit sorts the data into rows whose lengths show the shape of the data, while every original value can still be read back from the plot.


When to Use

Reach for a stem-and-leaf plot when you have a small set of numbers, roughly 10 to 50 values, and want their shape while keeping the exact values, for example to find the median or mode by hand. Two-digit test scores, ages and times work well. For hundreds of values, use a Histogram. For categories such as favorite sport, use a bar graph. To compare the center and spread of two large groups, box plots are cleaner.

Tip. Ask: Do you need a display that groups the values by their leading digits while keeping every exact value readable?

How to Recognize It

A stem-and-leaf plot works for a modest list of numbers, so check the size of the data and what you must read from it.

  1. Are the data numbers with at least two digits, like test scores or heights in centimeters?

    Values with two or more digits split naturally into a stem and a leaf. Category data, like eye color, cannot be split and needs a Bar Graph.

  2. Is the list short enough, about 50 values or fewer, to write every leaf by hand?

    Yes fits a stem-and-leaf plot. Hundreds of values make rows too long to read, and a Histogram is better.

  3. Will you need exact values back, for example to find the median or the range?

    A stem-and-leaf plot keeps them, so you can count in to the median. A Histogram shows only how many values fall in each bin.

  4. Are the values spread across many tens, rather than repeating over a few whole numbers?

    Spread-out values suit a stem-and-leaf plot. If they repeat over a short range, like 0 to 6 goals, a Dot Plot shows them more simply.

Stem-and-Leaf Plot vs Histogram vs Dot Plot vs Frequency Table

A stem-and-leaf plot looks like a histogram turned on its side and holds the same counts as a frequency table, which is why it gets confused. Ask whether the exact values are still there to read.

Stem-and-Leaf Plot

Meaning
A stem-and-leaf plot lists each value as a stem (its leading digits) and a leaf (its last digit), with the leaves sorted in each row.
Key test
Rows group values by tens, yet every exact value can be read.
Example
Key 6 | 4 = 64, so the row 7 | 0 3 3 8 means 70, 73, 73, and 78.

Histogram

Meaning
A histogram shows how many values fall in each equal-width range, using touching bars.
Key test
Bar heights give counts per range, and exact values are lost.
Example
Quiz scores: 60-69 has 4 values, 70-79 has 7, and 80-89 has 4.

Dot Plot

Meaning
A dot plot puts one dot for each value above a number line, stacking any repeats.
Key test
One dot per value on a scale; best when values repeat over a short range.
Example
Goals by 25 players: dots stacked above 0, 1, 2, 3, 4, and 5.

Frequency Table

Meaning
A frequency table lists each value or range with a written count of how many values it holds.
Key test
Gives counts only, with no picture and no individual values inside a range.
Example
Scores 70-79: 7 students. Scores 80-89: 4 students.

Worked Examples

Example 1 — Build the plot, then read the median

Easy

The minutes 13 students spent on homework last night were 32, 45, 28, 41, 36, 52, 29, 38, 44, 31, 47, 36, 25. Make a stem-and-leaf plot and use it to find the median and the range.
Show the steps and the answer
  1. Choose the stems from the tens digits. The values run from 25 to 52, so the stems are 2, 3, 4 and 5.

    Every value has two digits, so the tens digit is the stem and the ones digit is the single-digit leaf.

  2. Write each leaf on its stem, then sort every row: 2 | 5 8 9, 3 | 1 2 6 6 8, 4 | 1 4 5 7, 5 | 2. Add the key 3 | 6 = 36 minutes.

    Sorted rows turn the plot into an ordered list, and the key tells a reader that 3 | 6 means 36 minutes, not 3.6.

  3. Count the leaves: 3 + 5 + 4 + 1 = 13.

    The count must match the 13 students, or a value was lost while copying. With 13 values the median is the 7th.

  4. Count along the leaves to the 7th value: 25, 28, 29, 31, 32, 36, 36. The median is 36 minutes.

    With an odd count the median has the same number of values on each side: 6 below and 6 above.

  5. Find the range: 52−25=27 minutes.

    The first leaf on the top stem is the smallest value and the last leaf on the bottom stem is the largest.

Answer: Median 36 minutes, range 27 minutes. The 3 | row is the longest, so most students spent 30 to 39 minutes.

Takeaway: Sort the leaves and add a key. Then the median is found by counting leaves, and the longest row shows where the data cluster.

Example 2 — Too many values for a stem-and-leaf plot

Standard

A weather station has the daily high temperature for every day of one year: 365 values, from 18°F to 97°F. Mia wants to show the shape of the year with a stem-and-leaf plot. Is that a good choice? If not, what should she use?
Show the steps and the answer
  1. List the stems she would need: tens digits 1 through 9, so 9 stems.

    The lowest value, 18, has stem 1 and the highest, 97, has stem 9.

  2. Estimate the row lengths: 365÷9≈41 leaves per row on average, and the busiest rows would hold many more.

    A row of 60 digits no longer reads as a bar. You would have to count digits to compare rows, which defeats the purpose of the picture.

  3. Ask what the question needs: the shape of the whole year, not any single day's exact temperature.

    Keeping every value readable is the plot's main advantage, and here nobody needs it.

  4. Choose a histogram with 10-degree bins, 10-19, 20-29, up to 90-99, with each bar as tall as the number of days in its bin.

    A histogram uses the same groups as the stems but draws each count as one bar height, which stays readable for 365 values or 36,500.

Answer: No. With 365 values the rows would average about 41 leaves each, too long to read. A histogram with 10°F bins shows the shape of the year clearly.

Takeaway: Stem-and-leaf plots suit small data sets where exact values matter. When rows would run to dozens of leaves, switch to a histogram.

Example 3 — Find the mistake: unsorted leaves

Application

The ages of 9 climbers at a gym, in the order they arrived, are 23, 41, 35, 28, 19, 37, 44, 31, 26. Alex draws 1 | 9, 2 | 3 8 6, 3 | 5 7 1, 4 | 1 4 and writes: "The 5th leaf is 5, so the median age is 35." Find the mistake and correct it.
Show the steps and the answer
  1. Look at the rows 2 | 3 8 6 and 3 | 5 7 1: the leaves are in arrival order, not in order of size.

    The plot only works as an ordered list if each row's leaves run from smallest to largest.

  2. Sort each row: 1 | 9, 2 | 3 6 8, 3 | 1 5 7, 4 | 1 4, with the key 3 | 1 = 31 years.

    Every leaf stays on its stem, so the row lengths and the shape do not change; only the positions within rows do.

  3. Count to the 5th of the 9 leaves: 19, 23, 26, 28, 31.

    With 9 values the median has 4 values on each side of it.

  4. Check: 4 ages are below 31 (19, 23, 26, 28) and 4 are above (35, 37, 41, 44).

    Alex's 35 has 5 ages below it and only 3 above, so it cannot be the middle value.

Answer: The median age is 31, not 35. Alex counted along rows whose leaves were not sorted.

Takeaway: Sort every row's leaves before reading a median or any position. Row lengths survive unsorted leaves; positions do not.

Where You'll See It

  • Test scores 60-99

    Tens digit (6,7,8,9) is the stem and the ones digit is the leaf, so 87 sits as leaf 7 on stem 8. You see the shape of the class AND can still read every exact score.

  • Heights of players in cm

    Stem 14 with leaf 2 means 142 cm; the plot keeps every real height while clustering tall and short players into visible groups.

  • Pages read this month

    Splitting page counts into stems (tens) and leaves (ones) shows whether most kids read in the 20s or 30s, without rounding away the exact totals.

Common Mistakes

  1. The slip: The leaves can be written in any order on each stem.

    Why it's tempting: Once the values are recorded, order seems like a cosmetic detail.

    Instead: Leaves must be sorted (smallest to largest) on each stem so the plot reads like an ordered list and the median is easy to find.

  2. The slip: A stem-and-leaf plot doesn't need a key.

    Why it's tempting: The numbers look self-explanatory once you've built it.

    Instead: Always include a key (e.g. 8 | 7 = 87) because the same digits could mean 87, 8.7, or 870 depending on the units.

  3. The slip: Each leaf can be a full two-digit number.

    Why it's tempting: Students cram the whole value onto the stem to be safe.

    Instead: A leaf is a single digit; the stem holds the leading digit(s) and the leaf holds exactly the last digit of each value.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Make a stem-and-leaf plot of these test scores: 72, 85, 68, 91, 77, 85, 64, 79.

    Hint: Use the tens digit as the stem, and write the leaves in order.

  2. A plot shows 1 | 2 5 7, 2 | 0 3 3 8, 3 | 1 4, with the key 2 | 3 = 23. Find the median and the range.

    Hint: Count the leaves to find how many values there are.

  3. Waiting times are shown as 0 | 5 8, 1 | 0 2 2 6, 2 | 4 9, with the key 1 | 2 = 12 minutes. Find the mean and the mode.

    Hint: Write out each value from its stem and leaf before adding.

  4. The key says 3 | 4 = 3.4 seconds. The plot is 3 | 4 7 9, 4 | 1 1 5, 5 | 0. List the times and count how many are under 4.2 seconds.

    Hint: Use the key to see where the decimal point goes.

  5. You have 18 test scores. You want to show the shape of the data and still be able to read every exact score. Should you use a stem-and-leaf plot or a histogram?

    Hint: Which display keeps the actual values visible?

  6. Raj's plot is 5 | 8 2 6 and 6 | 1 3, with the key 5 | 8 = 58. He reads the leaves left to right and says, "The middle value is the third one, so the median is 56." Correct him.

    Hint: Check that the leaves in each row are in order.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

How do I handle decimals or three-digit numbers in a stem-and-leaf plot?

Keep the leaf as one digit and let the stem hold everything in front of it. For 215, the stem is 21 and the leaf is 5. For 3.7 seconds, the stem is 3 and the leaf is 7, with the key 3 | 7 = 3.7 seconds. If the values have more digits than you need, round them first, so 3.74 seconds becomes 3.7 before you plot it.

What is a back-to-back stem-and-leaf plot?

It compares two groups that share one column of stems. One group's leaves go to the right of the stems and the other group's leaves go to the left, each read outward from the stem. For example, Class A's scores might spread to the right and Class B's to the left. You can then see at a glance which class has more leaves on the high stems and which is more spread out.

What if one stem has no leaves at all?

Write the stem anyway and leave its row empty. If quiz scores have stems 5, 6, 7, 8, and 9 but nobody scored in the 60s, the empty 6 row shows a real gap in the data. Skipping that stem would make the scores look closer together than they are, the way a ruler with a missing inch would make everything look shorter.

Why does a stem-and-leaf plot look like a histogram on its side?

Turn the plot a quarter turn and each row of leaves becomes a bar, with the longest row as the tallest bar. That only works because every leaf takes the same amount of space, so write the digits the same size and evenly spaced in neat columns. Then the length of each row honestly shows how many values have that stem, just as a histogram's bars would.

Learning Path

Stem-and-Leaf Plot

You are here

You need Frequency Table (counting how often values occur) and Dot Plot (one mark per value along a scale) first. A stem-and-leaf plot adds grouping by leading digit while keeping every value readable. Next, Histogram groups larger data sets into equal-width bars, and Distribution Shape gives names, such as symmetric, skewed and clustered, to the patterns these displays reveal.

See Also