MYP 2 Mathematics · Data and Probability

Mean, median, mode and range from stem-and-leaf

Get started

What Is a Stem-and-Leaf Plot?

Before we dive into calculating mean, median, mode and range, let's make sure we're comfortable with stem-and-leaf plots (sometimes called stem-and-leaf diagrams).

A stem-and-leaf plot is a way to organise numerical data so that you can see every individual value and the overall shape of the data at the same time. In MYP Sciences, you'll often use these to display data from real investigations — for example, recording the heights of seedlings, the reaction times of volunteers, or daily temperature readings.

Stem-and-leaf plot

A data display where each value is split into a stem (usually the tens digit) and a leaf (usually the units digit), arranged in order.

For example, the value 37 would have a stem of 3 and a leaf of 7.

Analogy

Think of a tree: the stem is the thick trunk on the left, and the leaves branch out to the right. Each leaf is a small piece of data hanging off its stem.

Here's a small example. Suppose we have these plant heights (in cm) measured in a biology experiment:

12, 15, 21, 24, 24, 28, 31, 35, 42

The stem-and-leaf plot looks like this:

StemLeaf
12 5
21 4 4 8
31 5
42

Key: 3 | 5 = 35 cm

Warning

Always include a key with your stem-and-leaf plot. Without it, the reader doesn't know whether 3|5 means 35, 3.5, or 305!

When are stem-and-leaf plots useful?

Stem-and-leaf plots work best when:

  • You have a moderate amount of data (roughly 5–50 values)
  • Your data values are whole numbers (or can be rounded sensibly)
  • You want to see every individual value as well as the overall pattern

They become impractical with very large data sets (hundreds of values) or with data that has many decimal places — in those cases, a histogram or box plot might serve you better.

Reading Values from a Stem-and-Leaf Plot

To use a stem-and-leaf plot for statistics, you first need to read every data value correctly.

Step 1: Look at the key (e.g., 2 | 3 = 23).

Step 2: For each row, combine the stem with each leaf to get the full numbers.

Step 3: The leaves should already be in ascending order (smallest to largest) from left to right. If they aren't, reorder them before calculating anything.

Example

Reading a stem-and-leaf plot

A scientist recorded the resting heart rates (beats per minute) of 10 volunteers:

StemLeaf
40 3 7
51 1 6 8
62 5
74

Key: 5 | 6 = 56 bpm

The full data set is: 40, 43, 47, 51, 51, 56, 58, 62, 65, 74

There are 10 data values in total.

Exam Tip

Count the total number of leaves to find how many data values you have — this is essential for finding the median!

Free preview

12 more sections in this topic

Pick this up in your Library: it holds the whole topic, notes, cheatsheet and questions.