3.2 Box Plots
A-level Maths Statistics and Mechanics Year 1 (AS) · Edexcel 9MA0 · Chapter 3: Representations of Data
A free A-level Maths Stats and Mechanics Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: drawing and reading box plots, including outliers. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Draw a box plot from a five-number summary or from raw data
- Show outliers on a box plot, with the whiskers ending at the most extreme values that are not outliers
- Read the quartiles, median, range and IQR from a box plot and estimate numbers of values
- Make simple comparisons between two box plots on the same scale
Key words
- Box plot: A diagram showing the median, the quartiles and the extreme values of a data set on a scale.
- Five-number summary: Lowest value, Q₁, median, Q₃ and highest value.
- Whisker: A line from the box out to the lowest or highest value that is not an outlier.
- Outlier: Marked with a cross (×). The question gives the rule, usually more than 1.5 × IQR beyond the quartiles.
- Quarter: Each section of a box plot (whisker, half-box, half-box, whisker) holds about 25% of the data.
Drawing a box plot
A box plot is drawn against a labelled scale. The box runs from the lower quartile to the upper quartile with a line at the median. Whiskers run out to the lowest and highest values.
Worked example: from a five-number summary
Scores in a reaction test: lowest 12, lower quartile 18, median 23, upper quartile 27, highest 34. Check for outliers with the 1.5 × IQR rule.
IQR = 27 − 18 = 9. Fences: 18 − 13.5 = 4.5 and 27 + 13.5 = 40.5
12 and 34 lie inside the fences, so there are no outliers.
Answer: whiskers go to 12 and 34
Exam tip: Always draw the box plot on a scale with a label and units. A box plot is a summary: it does not show how many values there are.
Box plots with outliers
Find the fences first. Mark each outlier with a cross, then end each whisker at the most extreme value that is not an outlier (not at the fence).
Worked example: the data from section 3.1
Data in order: 3, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 38
Q₁ = 15.5, median = (18 + 19)/2 = 18.5, Q₃ = 21.5, fences 6.5 and 30.5
Outliers 3 and 38. The smallest value that is not an outlier is 14; the largest is 24.
Answer: whiskers from 14 to 24, crosses at 3 and 38
Note: Some questions say "the whisker ends at the fence", or give a different rule. Follow the question; otherwise end the whisker at the largest or smallest data value that is not an outlier.
Reading a box plot
Each of the four sections of a box plot contains about a quarter of the data. A long section means those values are spread out, not that there are more of them.
Worked example: reading values
Median = 14 min. Q₁ = 11, Q₃ = 18, so IQR = 7 min. Range = 30 − 6 = 24 min.
Students taking more than 18 minutes: about a quarter of 80.
Students taking between 11 and 14 minutes: about a quarter of 80.
Answer: about 20 students in each case
The cross at 30 agrees with the 1.5 × IQR rule: 18 + 1.5 × 7 = 28.5 and 30 > 28.5. The upper whisker stops at 26, the longest time that is not an outlier.
Comparing two box plots
Two box plots drawn on the same scale make comparisons easy. Compare a measure of location (the median) and a measure of spread (the IQR or range), and say what each means in context.
Worked example: comparing
Medians: Ayr 17 °C, Bude 20 °C. IQRs: Ayr 19 − 14 = 5 °C, Bude 25 − 16 = 9 °C.
Bude had a higher median, so it was generally warmer.
Bude had a larger IQR, so its daily maximum temperatures were more variable.
Answer: Bude was warmer on average and less consistent
Exam tip: Every comparison needs a statistic and a statement in context: "the median temperature at Bude is higher (20 °C against 17 °C), so Bude was generally warmer".
Common mistakes
- Drawing the whisker to the fence or to an outlier instead of the most extreme non-outlier value.
- Forgetting the scale, the units or the label on a box plot.
- Thinking a longer section contains more data: each section holds about 25% of the values.
- Comparing only the highest values instead of the medians and the IQRs.
- Measuring outlier fences from the median instead of from the quartiles.
Revision questions
Try these, then check your answers below each one.
Question 1. What percentage of the data in a box plot lies above the upper quartile?
Answer: 25 %
Working: About a quarter of the data, 25%, lies above the upper quartile.
Question 2. A data set has one outlier above the upper fence. On the box plot, where should the upper whisker end? (Choose from: At the largest value that is not an outlier; At the outlier; At the upper fence; At the upper quartile.)
Answer: At the largest value that is not an outlier
Working: The whisker ends at the largest value that is not an outlier, and the outlier is shown with a cross.
Question 3. Amira says: "Box plot B has a longer box than box plot A, so data set B must contain more values." Is Amira correct?
Answer: No
Working: No. The length of the box is the IQR, which measures spread. A box plot does not show how many values there are.
Related lessons
- Previous lesson: 3.1 Outliers
- Next lesson: 3.3 Cumulative Frequency
- In this chapter: 3.4 Histograms
- In this chapter: 3.5 Comparing Data
Continue in the full course
This lesson is section 3.2 of our free A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 1 (AS) course.