Stem-and-Leaf Plot Maker

A garden scientist organizes 12, 15, 21 and 24 in a stem-and-leaf plot.

A stem and leaf plot maker sorts your numbers, splits each one into a stem (the leading digits) and a leaf (the last digit), and lays them out in rows with a key. This one works with whole numbers or one-decimal data, can build a back-to-back plot for two data sets, and also finds the mean, median, mode and range with the steps shown.

How to use the Stem-and-Leaf Plot Maker

  1. Type or paste your data, separated by commas, spaces or line breaks. The order does not matter.
  2. Leave the stem unit on Automatic, or choose tens/ones for whole numbers or whole number/tenths for data like 4.6.
  3. To compare two groups, tick Back-to-back plot and enter the second data set and the names of both sets.
  4. Press Make plot or the Enter key, then read the plot, the key and the statistics.

How to make a stem-and-leaf plot by hand

The method is the same for any data: order the values, split each one into a stem and a leaf, list every stem from smallest to largest, write the leaves in order, and add a key.

Example 1: whole numbers

Data: 23, 41, 35, 28, 47, 35, 52, 31, 44, 35, 26, 49

  1. Order the data: 23, 26, 28, 31, 35, 35, 35, 41, 44, 47, 49, 52. There are 12 values.
  2. The stem is the tens digit and the leaf is the ones digit, so 23 becomes 2 | 3.
  3. The stems run from 2 to 5. Write the leaves in order on each row:

    2 | 3 6 8

    3 | 1 5 5 5

    4 | 1 4 7 9

    5 | 2

    Key: 2 | 3 = 23
  4. Mean: the sum is 446, so the mean is 446 ÷ 12 ≈ 37.17.
  5. Median: with 12 values, average the 6th and 7th values. Both are 35, so the median is 35.
  6. Mode: the leaf 5 appears three times on stem 3, so the mode is 35.
  7. Range: 52 − 23 = 29.

Example 2: data with one decimal place

Data (plant heights in cm): 4.6, 5.2, 3.8, 4.1, 5.0, 4.6, 3.5, 4.9, 6.1

  1. Order: 3.5, 3.8, 4.1, 4.6, 4.6, 4.9, 5.0, 5.2, 6.1. There are 9 values.
  2. The stem is the whole-number part and the leaf is the tenths digit, so 3.5 becomes 3 | 5.
  3. The plot:

    3 | 5 8

    4 | 1 6 6 9

    5 | 0 2

    6 | 1

    Key: 3 | 5 = 3.5
  4. Mean: the sum is 41.8, so the mean is 41.8 ÷ 9 ≈ 4.64.
  5. Median: with 9 values, the median is the 5th value, 4.6.
  6. Mode: 4.6 appears twice, so the mode is 4.6.
  7. Range: 6.1 − 3.5 = 2.6.

Back-to-back stem-and-leaf plots

To compare two groups, share one column of stems. Team A scored 12, 15, 21, 24 and 28 points; Team B scored 18, 22, 23, 31 and 35. Team A’s leaves go on the left and read outward from the stem, so the row for stem 2 shows 8 4 1 on Team A’s side.

Team A leaf Stem Team B leaf
5 2 1 8
8 4 1 2 2 3
3 1 5

Key: 2 | 1 | means 12 for Team A, and | 1 | 8 means 18 for Team B. Team B’s leaves sit lower in the plot, so Team B tended to score more: its median is 23, while Team A’s is 21.

Quick reference and common mistakes

Data type Stem Leaf Example key
Two-digit whole numbers Tens digit Ones digit 3 | 7 = 37
Three-digit whole numbers Hundreds and tens Ones digit 12 | 4 = 124
One decimal place Whole-number part Tenths digit 3 | 7 = 3.7
  • Leaves with two digits. Each leaf is a single digit. 124 is 12 | 4, not 1 | 24.
  • Leaves out of order. Sort them on every row, or the median and mode are hard to read.
  • Dropping repeated values. If 35 appears three times, write the leaf 5 three times. Repeats are how you spot the mode.
  • Skipping empty stems. A stem with no leaves still gets its own row.
  • Uneven spacing. Line the leaves up in columns so the row lengths compare fairly, like bars in a sideways bar graph.
  • Forgetting the key. Without it, 3 | 7 could mean 37, 3.7 or 370.

When stem-and-leaf plots are used

Stem-and-leaf plots usually appear in grades 4 to 7 alongside dot plots, frequency tables and histograms, and again in introductory statistics. They suit small to medium data sets, roughly 10 to 50 values. Unlike a histogram, a stem-and-leaf plot keeps every original value, so you can still read off the median, mode and range. Turned on its side, it also shows the shape of the data: where values cluster, where the gaps are, and whether the data is skewed.

For more practice with the statistics, try these mean, median, mode and range problems. To measure spread in other ways, use the standard deviation calculator or the percentile calculator.

Check your answer

Count the leaves in your finished plot. The count must equal the number of values in the original list. Then read the plot back into a list using the key and compare it with your sorted data. If a value is missing or a leaf is out of order, the median and mode will be off as well.

Stem-and-leaf plots practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. Use the plot below. How many values does it show?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

2. Use the plot below. What is the smallest value?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

3. Use the plot below. What is the mode?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

4. Use the plot below. What is the median?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

5. Use the plot below. What is the range?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

6. Use the plot below. What is the mean?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

7. Use the plot below. How many values are greater than 35?2 | 3 5 8
3 | 0 2 2 7
4 | 1 6
5 | 4
Key: 2 | 3 = 23

Found a mistake? Let us know!

8. A plot has the key 6 | 2 = 6.2. How is 7.1 shown?

Found a mistake? Let us know!

9. Data range from 105 to 132 and the key is 10 | 5 = 105. Which stems are needed?

Found a mistake? Let us know!

10. Why must a stem-and-leaf plot include a key?

Found a mistake? Let us know!

Frequently asked questions

What is the key in a stem-and-leaf plot?

The key is one sample entry that shows what the stem and leaf stand for, such as 3 | 7 = 37 or 3 | 7 = 3.7. The same picture can mean very different numbers, so a plot without a key cannot be read with certainty. Always include one.

How do you find the median from a stem-and-leaf plot?

Count the leaves to get the number of values, n. The leaves are already in order, so count from the first leaf to position (n + 1) ÷ 2. If n is even, average the two middle values. For example, with 12 values, average the 6th and 7th values.

How do you make a stem-and-leaf plot with decimals?

For data with one decimal place, use the whole-number part as the stem and the tenths digit as the leaf, so 4.6 becomes 4 | 6. Add a key such as 4 | 6 = 4.6. If the data has two decimal places, round to tenths first or use a stem that includes the tenths digit.

What do you do if a stem has no leaves?

Keep the stem in the list and leave its leaf side blank. Skipping it would squeeze the plot together and hide the gap in the data, which is one of the things a stem-and-leaf plot is good at showing.

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

It compares two data sets that share one column of stems. One set's leaves go to the right of the stems and the other set's leaves go to the left, written so that they increase as they move away from the stem. It makes it easy to see which group has higher values or more spread.


Related to This Article

What people say about "Stem and Leaf Plot Maker (Back-to-Back, Decimals)"?

No one replied yet.

Leave a Reply