Box plots: how to draw, read and compare them
TutorAura guide · Updated
A box plot (or box and whisker diagram) summarises a set of data with five values: the minimum, lower quartile, median, upper quartile and maximum. It shows at a glance where the middle of the data is and how spread out it is, which makes box plots ideal for comparing two groups.
Key takeaways
- Five values: minimum, lower quartile, median, upper quartile, maximum.
- The box covers the middle 50% of the data.
- IQR = upper quartile − lower quartile.
- Compare a median and a spread, in context.
The five values
| Value | What it is |
|---|---|
| Minimum | The smallest value (the end of the left whisker) |
| Lower quartile (LQ) | A quarter of the way through the ordered data |
| Median | The middle value (the line inside the box) |
| Upper quartile (UQ) | Three quarters of the way through |
| Maximum | The largest value (the end of the right whisker) |
Worked example: from a list
Data (already in order): 3, 5, 7, 8, 9, 11, 12, 14, 15, 18, 20. There are 11 values.
- Median: the th value, 11.
- Lower quartile: the median of the lower half (3, 5, 7, 8, 9), which is 7.
- Upper quartile: the median of the upper half (12, 14, 15, 18, 20), which is 15.
- Minimum 3, maximum 20.
So the IQR is and the range is . Check the median with our mean, median and mode calculator.
Drawing the box plot
- Draw a scale that covers the minimum and maximum.
- Draw a box from the lower quartile (7) to the upper quartile (15).
- Draw a vertical line inside the box at the median (11).
- Draw whiskers from the box out to the minimum (3) and maximum (20).
Use a ruler and keep the scale even: a box plot is a scale drawing.
From a cumulative frequency graph
For grouped data, read the median and quartiles from a cumulative frequency graph, and take the minimum and maximum from the question or the ends of the data. Box plots are often drawn directly underneath the graph using the same scale.
Outliers
An outlier is a value far from the rest. A common rule: a value is an outlier if it's more than below the lower quartile or above the upper quartile.
In the example, , so the limits are and . Every value lies between them, so there are no outliers. Outliers are sometimes plotted as crosses beyond the whiskers. Check which rule your exam board uses.
Comparing two box plots
Make two comparisons, each in context:
- Average: compare the medians. "The median score for class A (62) was higher than class B (55), so class A did better on average."
- Spread: compare the IQRs (or ranges). "Class A's IQR (12) was smaller than class B's (20), so class A's scores were more consistent."
Don't just say "higher" or "bigger": explain what it means for the situation.
Common mistakes
- Forgetting to put the data in order first.
- Reading the median as the middle of the box (it can be anywhere inside it).
- Comparing only the maximums, or only one measure.
- Including the median in the halves when finding quartiles from an odd-sized list (methods vary; follow your teacher's).
Practice questions
- Data: 2, 4, 4, 6, 7, 9, 10. Find the median, LQ and UQ.
- A box plot has LQ 24 and UQ 38. Find the IQR.
- Using question 2, would a value of 62 be an outlier?
Answers: 1. Median 6, LQ 4, UQ 9. 2. 14. 3. , and 62 > 59, so yes.
More practice in our box plot questions.
Frequently asked questions
What does a box plot show?
A box plot shows the minimum, lower quartile, median, upper quartile and maximum of a data set, so you can see its average and spread.
How do you find the interquartile range from a box plot?
Subtract the lower quartile (left edge of the box) from the upper quartile (right edge of the box).
How do you compare two box plots?
Compare the medians to say which is higher on average, and the interquartile ranges to say which is more consistent, both in the context of the question.
Sources
- GCSE mathematics: subject content and assessment objectives. Department for Education.
- Cambridge IGCSE Mathematics 0580 syllabus. Cambridge International.
Keep reading
Box plots questions and answers
8 GCSE and IGCSE questions with worked answers, checked as you type.
Cumulative frequency: tables, graphs, median and quartiles
Running totals, plotting at the upper bound, and reading the median, quartiles and IQR.
Mean, median, mode and range calculator
Mean, median, mode and range for any list of numbers, with the working explained.
Mean, median, mode and range explained (with examples)
How to find each measure, which average to use, and how to compare data sets in exam answers.