Home Exam Structure Topics Past Papers Resources Homework About Contact
Home Exam Structure Topics Past Papers Resources Homework About Contact

Home / Analysis of Data / Box Plots

3.1c · Analysis of Data · Sub-skill

Box Plots

The five-number summary and how to build, read and compare box-and-whisker plots.

Build it up, step by step

Understanding box plots

Click each step below to reveal it — work through them in order the first time round.

Step 1 · The five-number summary

1 of 4

A box plot is built from five values: the minimum, lower quartile ($Q_1$), median, upper quartile ($Q_3$), and maximum. Together these five numbers summarise the whole distribution of a data set in one compact picture.

Step 2 · Finding the quartiles

2 of 4

For a list of $n$ ordered values, the median splits the data in half; $Q_1$ is the median of the lower half, and $Q_3$ is the median of the upper half. For grouped data (from a cumulative frequency graph), read off the value at $\frac{n}{4}$ for $Q_1$, $\frac{n}{2}$ for the median, and $\frac{3n}{4}$ for $Q_3$ on the horizontal axis.

Step 3 · Drawing and reading a box plot

3 of 4

The ‘box’ runs from $Q_1$ to $Q_3$ (this is the interquartile range, IQR), with a line inside at the median. ‘Whiskers’ extend out to the minimum and maximum — unless a value is flagged as an outlier (more than $1.5\times IQR$ beyond $Q_1$ or $Q_3$), in which case the whisker stops at the last non-outlier value and the outlier is marked separately with a cross or dot.

Step 4 · Comparing two box plots

4 of 4

When comparing box plots, always compare both position (medians — which data set is typically higher/lower) and spread (IQR/box width, and overall range — which is more consistent). Also comment on skew: if the median is off-centre in the box, or one whisker is much longer than the other, the data is skewed in that direction. Always write your comparison in context.

Worked example

Two box plots show the times (minutes) for Route A and Route B to complete a fun run. Route A: min 18, Q1 22, median 25, Q3 29, max 40. Route B: min 20, Q1 24, median 26, Q3 28, max 33. Compare the two routes.

Route A has a slightly lower median (25 vs 26), so runners were typically a little faster on Route A. However, Route A has a much larger IQR (29−22=7 vs 28−24=4) and a wider overall range (40−18=22 vs 33−20=13), so times on Route A were far more variable/inconsistent than on Route B, which had a more consistent spread of times.

Test yourself

Past-paper style question

A gym records the resting heart rate (bpm) of members before and after a 6-week fitness programme, shown as box plots.

Before: min 58, Q1 68, median 74, Q3 82, max 96.
After: min 54, Q1 62, median 66, Q3 70, max 80.

Using the box plots, compare the heart rates before and after the programme. [4 marks]

Show the answer

The median heart rate is lower after the programme (66 bpm) than before (74 bpm), suggesting the programme has, on average, reduced members' resting heart rate.

The IQR is also smaller after the programme (70−62 = 8) than before (82−68 = 14), so heart rates became more consistent across members after the programme, as well as generally lower.

Practice

Box Plots worksheet

Five short questions on box plots. Work through them, then reveal the mark scheme to check.

  1. A data set has $Q_1=12$, median $=18$, $Q_3=25$. Calculate the IQR.
  2. A box plot has $Q_1=30$, $Q_3=50$. Using the $1.5\times IQR$ rule, calculate the upper boundary above which a value would be considered an outlier.
  3. Nine ordered values: 3,5,6,8,9,11,13,15,20. Find the median, $Q_1$ and $Q_3$.
  4. Describe (in words) what a box plot looks like for a data set that is strongly skewed to the right (positively skewed) — describe the position of the median in the box and the relative whisker lengths.
  5. Two box plots for exam marks: Class A median 60, IQR 10. Class B median 60, IQR 25. A student says ‘the two classes performed identically since the medians are equal.’ Explain why this is not a complete comparison.

Mark scheme

  1. IQR = $Q_3-Q_1$ = 25−12 = 13.
  2. Upper boundary = $Q_3 + 1.5\times IQR$ = 50 + 1.5×(50−30) = 50+30 = 80.
  3. n=9. Median = 5th value = 9. Lower half (3,5,6,8) → $Q_1$ = (5+6)÷2 = 5.5. Upper half (11,13,15,20) → $Q_3$ = (13+15)÷2 = 14.
  4. For a right-skewed data set, the median sits closer to $Q_1$ (nearer the left of the box), and the right-hand whisker (towards $Q_3$ and the maximum) is noticeably longer than the left-hand whisker, showing a ‘tail’ of higher values.
  5. The medians being equal only tells you the typical mark was the same in both classes; it says nothing about spread. Class B's much larger IQR (25 vs 10) means marks in Class B were far more variable — some students did much better or worse than the median — so the two classes' overall performance was not identical, just their typical (median) mark.
← Back to Analysis of Data