KS Maths
Year 8 · Unit 7 Averages and spread · Lesson 5 of 5

Box plots and comparing data

Five numbers, one picture

A box plot draws the five-number summary on a number line. Build one step by step, then use two box plots on the same scale to say what is the same and what is different about two groups.

Statistics and ProbabilityNo calculator

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

plot
Mark points on a graph.Plot the point (2, 5).
box plot
A diagram showing the smallest value, quartiles, median and largest value.A box plot shows the middle half of the data.
compare
Say how things are the same and how they are different.Compare the two sets of data.
data
Facts and numbers that we collect.The data are the test scores.
median
The middle value when data is in order.The median of 2, 5, 9 is 5.
interquartile range
The distance between the upper quartile and lower quartile. It shows the spread of the middle half.IQR = upper quartile minus lower quartile.
half
One of two equal parts. Divide by 2.Half of 10 is 5.
range
The difference between the biggest and smallest value. Also, all the output values of a function.Data from 2 to 9 has range 7.
axis
A number line that a graph is drawn on. The x-axis goes across and the y-axis goes up.The y-axis is vertical.
mean
The total of all values divided by how many values there are.The mean of 2, 4, 6 is 4.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. (Lesson 4) Find the IQR when Q1 = 14.5 and Q3 = 22.
    Answer7.5. Q3 − Q1 = 22 − 14.5.
  2. (Lesson 2) Find the mean of 6, 8, 11 and 15.
    Answer10. The total is 40 and 40 ÷ 4 = 10.
  3. (Year 7, Unit 6, lesson 7) A bar chart's vertical axis starts at 50 instead of 0. What does that do to how the bars look?
    AnswerIt makes small differences look large, because the bars are cut off at the bottom.
Words used in this lesson
box plot
a picture of the five-number summary on a number line. For example: box from Q1 to Q3, line at the median.
whisker
the line from the box out to the smallest or largest value. For example: the line from Q3 to the maximum.
five-number summary
smallest, Q1, median, Q3, largest. For example: 2, 5, 8, 15, 20 for 2, 5, 7, 8, 12, 15, 20.
consistent
close together, with little spread. For example: a bus that is always 2 or 3 minutes late is consistent.
compare
say what is the same and what is different. For example: say what two groups share and where they differ.
scale
the numbers marked along an axis. For example: 0, 10, 20, … minutes.

Five numbers, one picture

A list of 9 waiting times is hard to hold in your head, and five numbers can say most of it: the smallest, the lower quartile, the median, the upper quartile and the largest. A box plot draws those five numbers on a number line. Predict first: out of nine values, about how many will end up inside the box once it is drawn? Then build it, one step at a time.

048121620242832Waiting time (minutes)
not yetrange
not yetmedian
not yetIQR

The data: the waiting times of nine patients, in minutes, as nine dots on a number line.

Show me the steps
  1. Step 0, the data: nine waiting times, 14, 22, 9, 18, 25, 11, 30, 16 and 20 minutes, as dots on a number line, not yet in order.
  2. Step 1, the ends: put them in order, 9, 11, 14, 16, 18, 20, 22, 25, 30. The smallest is 9 and the largest 30, so the range is 21.
  3. Step 2, the median: nine values, so the median is the 5th, 18. It goes in neither half.
  4. Step 3, the quartiles: the lower half 9, 11, 14, 16 has Q1 = (11 + 14) ÷ 2 = 12.5 and the upper half 20, 22, 25, 30 has Q3 = (22 + 25) ÷ 2 = 23.5. The IQR is 11.
  5. Step 4, the box plot: a box from 12.5 to 23.5, a line across it at 18, and whiskers from the box out to 9 and to 30.

A box plot (box-and-whisker plot) shows the five-number summary. The box runs from Q1 to Q3 with a line at the median, and the whiskers run out to the smallest and largest values. The box holds the middle half of the data, and each whisker holds a quarter.

To compare two groups, draw both on the same scale and compare the middles (the medians) and the spreads (the IQRs and the ranges), then say what the numbers mean in the context.

Why the same scale: a box that looks longer on a different scale may be shorter in numbers. Only a shared axis makes the picture an honest comparison.

Read what Keith says

A box plot shows the five-number summary. The box runs from Q one to Q three with a line at the median, and the whiskers run out to the smallest and largest values. The box holds the middle half of the data. To compare two groups, draw both on the same scale and compare the medians and the spreads. Then say what the numbers mean in context. Check that both plots share one axis.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Comparing two villages
  • Worked examples
  • Check before you go on
  • Your turn

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 8 revision pack, $19BuyPlan $59