IB Psychology HLTopic 5 — Data AnalysisPaper 3 & IAHL only~10 min read
Box Plots and What They Show
A box plot squeezes five numbers into one small picture, and once you can read it you can size up a data set in about two seconds. It shows you the middle, the spread, the skew and the odd values all at once — which is exactly what a single average can never do.
📚 What you need to know
A box plot shows five values: lowest, lower quartile, median, upper quartile, highest.
The box covers the middle 50% of the data. Its width is the interquartile range.
The line inside the box is the median, and it does not have to sit in the middle.
The whiskers reach out to the lowest and highest values, once outliers are set aside.
Each whisker represents roughly 25% of the data.
An outlier is plotted as a separate point, usually beyond 1.5 times the IQR from the box.
Comparing two box plots on the same scale is the fastest way to compare two groups.
The five numbers
Sort the data first — nothing works until you do. The median is the middle value. The lower quartile is the middle of the bottom half, and the upper quartile is the middle of the top half. Add the lowest and highest values and you have all five.
Interquartile range
IQR = upper quartile − lower quartile
The IQR matters because it describes the spread of the middle of the data. The full range can be wrecked by a single freak value; the IQR cannot, because it ignores the top and bottom quarters entirely. That makes it the spread measure of choice whenever outliers are around.
Reading one box plot
Below is a box plot of twelve test scores: 12, 14, 15, 16, 18, 18, 19, 20, 21, 22, 23 and 38. The quartiles work out at 15.5 and 21.5, giving a median of 18.5 and an IQR of 6. Because 1.5 × 6 = 9, anything above 21.5 + 9 = 30.5 counts as an outlier, so the 38 is plotted separately and the whisker stops at 23.
Notice the median line is nearer the left edge of the box. That asymmetry is information: scores bunch up at the lower end and trail away upwards.
The median being off-centre confuses students constantly. It is not an error. If the median sat exactly in the middle every time, the box plot would have nothing to tell you about shape.
Comparing two groups
This is where box plots earn their place in the exam. Draw two on the same scale and you can compare the middle, the spread and the skew of two groups in one glance — something two separate means could never do.
Group B’s box is wider, so its middle 50% is more spread out. A higher average with more variation is a genuinely different result from a higher average with tight consistency.
The comparison sentence examiners want has three parts: which group has the higher median, which has the greater spread, and whether either is skewed. Write all three and the marks are usually there.
🧩 Building a box plot from raw data
Sort the data from lowest to highest. Everything after this depends on it.
Find the median: the middle value, or the mean of the two middle values.
Split the data in half at the median and find the median of each half. Those are Q1 and Q3.
Calculate the IQR as Q3 minus Q1.
Check for outliers: anything more than 1.5 times the IQR beyond Q1 or Q3.
Draw the box from Q1 to Q3 with the median inside, then whiskers to the most extreme non-outlier values, and plot any outliers as separate points.
Worked examples
WORKED EXAMPLE
Find the five values
Twelve four-year-olds are tested on how many items they can recall. The scores are 0, 1, 1, 2, 3, 3, 3, 4, 4, 4, 5, 5. Find the five values needed for a box plot and the interquartile range.
Step 1: Check the data are sorted
They already are, and there are 12 values.
Step 2: Median
With 12 values, average the 6th and 7th: (3 + 3) / 2 = 3.
Step 3: Lower quartile
Bottom half is 0, 1, 1, 2, 3, 3. Middle two are 1 and 2, so Q1 = 1.5.
Step 4: Upper quartile
Top half is 3, 4, 4, 4, 5, 5. Middle two are 4 and 4, so Q3 = 4.
Step 5: IQR4 − 1.5 = 2.5Min 0, Q1 1.5, median 3, Q3 4, max 5; IQR = 2.5with an even count, quartiles are averages of two values — decimals are normal
WORKED EXAMPLE
Compare two box plots
Group A has a median of 18.5, a box running from 15.5 to 21.5 and whiskers from 12 to 23. Group B has a median of 25, a box from 21 to 28 and whiskers from 18 to 32. Write a full comparison.
Step 1: Compare the medians
Group B’s median of 25 is 6.5 points higher, so B typically scores better.
Step 2: Compare the spreads
A’s IQR is 21.5 − 15.5 = 6; B’s is 28 − 21 = 7. B’s middle 50% is slightly more spread out.
Step 3: Compare the ranges
A ranges over 11 points, B over 14, so B is more variable overall.
Step 4: Comment on shape
In A the median sits left of centre, suggesting a slight positive skew; in B it sits near the middle, so B is more symmetrical.
B higher and more varied; A slightly positively skewedmedians, spread, then shape — three sentences, three marks
💡 Exam tip
Sort the data before doing anything. Almost every wrong quartile comes from skipping this.
Say the box is the middle 50% and each whisker is roughly 25%. That phrasing is credited.
Comment on the median’s position inside the box. It is free information about skew.
Use the IQR, not the range, when outliers are present, and say why.
When comparing, always mention spread as well as the median.
Plot outliers as separate points and stop the whisker at the last ordinary value.
⚠ Common mix-up
Expecting the median to be centred in the box. It usually is not, and that tells you about skew.
Reading box width as sample size. The width is spread, not how many people took part.
Thinking the box holds most of the data. It holds exactly half.
Extending the whisker to the outlier. The whisker stops at the last non-outlier value.
Confusing range and IQR. Range uses the extremes; IQR deliberately ignores them.
Comparing medians only. Two groups with identical medians can have completely different spreads.
Up next: Frequency Tables and Grouped Data — and one calculation that a lot of textbooks get wrong.
Want this explained one-to-one?
Book a free session with an experienced IB Psychology tutor and get your trickiest topics made simple.