IB Maths AI HL Statistics Toolkit Paper 1 & 2 ~7 min read

Box & Whisker Diagrams

A box plot (or box and whisker diagram) is a compact picture of a dataset built from just five numbers: the minimum, lower quartile, median, upper quartile, and maximum — the five-number summary. The box covers the middle 50% of the data, the whiskers stretch out to the extremes, and any outliers are marked separately with a cross. Box plots aren’t about precision; they’re about shape and comparison. Drawn side by side, two box plots let you compare medians and spreads at a glance — which is exactly what the IB asks you to do.

📘 What you need to know

The anatomy of a box plot

Every box plot is built from the same five points. Get these and the diagram draws itself.

The five-number summary minimum  •  Q1  •  median (Q2)  •  Q3  •  maximum read all five straight off your GDC
the parts of a box and whisker diagram
middle 50% data value → minimum Q₁ Q₂ (median) Q₃ maximum IQR (box width) range (min to max)
The box spans Q1 to Q3 (the IQR), the median line splits it, and the whiskers reach the extremes. The full width from min to max is the range.
What a box plot does NOT show: individual data values, the mean, the mode, or the exact frequencies. It only displays the five-number summary (plus outliers).

Drawing a box plot (with outliers)

🧭 Recipe — drawing a box and whisker diagram

  1. Find the five-number summary: min, Q1, Q2, Q3, max (use your GDC).
  2. Check for outliers using the 1.5 × IQR rule (lower fence Q1 − 1.5×IQR, upper fence Q3 + 1.5×IQR).
  3. Draw an even, labelled axis that comfortably covers your data range.
  4. Draw the box from Q1 to Q3 with the median line inside.
  5. Add whiskers to the smallest and largest values that are not outliers.
  6. Mark any outliers with a cross (×) at their exact value.

🤔 Why does the whisker stop before the outlier?

If a whisker stretched all the way out to an outlier, the plot would look as though the data spreads evenly out to that extreme value — which is misleading. By stopping the whisker at the last “normal” value and marking the outlier separately with a cross, the diagram makes it obvious that the extreme point stands apart from the bulk of the data. So: whisker → most extreme non-outlier; cross → the outlier itself.

Reading shape from a box plot

The position of the median inside the box (and the relative whisker lengths) tells you about skew.

symmetric vs skewed distributions
Symmetric median centred Positive skew median left, tail right Negative skew median right, tail left
If the median sits in the middle with equal whiskers, the data is roughly symmetric (possibly normal). A longer right side = positive skew; a longer left side = negative skew.
Symmetric
balanced
Median centred, whiskers similar lengths. Data could be normally distributed.
Skewed
lop-sided
Median off-centre or one whisker much longer. The long tail shows the direction of skew.

Comparing two box plots

This is the most common exam task. Two box plots are drawn on the same axis, and you compare them in context. The IB wants two comparisons: one of central tendency (medians) and one of spread (IQR or range).

🧠 Memory aid — “centre, then spread, in context”

Always make exactly two points: (1) compare the medians — “On average, A is higher/lower than B” — and (2) compare the IQRs — “A is more/less spread out (more/less consistent) than B”. Then tie each back to what it means for the real situation. Quote the actual values to back up each statement.

Worked examples

WE 1

Find the five-number summary & check for outliers

The distances (m) travelled by 15 snails in one minute are:
0.5, 0.7, 1.0, 1.1, 1.2, 1.2, 1.2, 1.3, 1.4, 1.4, 1.4, 1.4, 1.5, 1.5, 1.6
(a) Find Q1, Q2, Q3. (b) Find the IQR. (c) Identify any outliers.

(a) using GDC Q₁ = 1.1, Q₂ = 1.3, Q₃ = 1.4 (b) IQR IQR = Q₃ − Q₁ = 1.4 − 1.1 = 0.3 IQR = 0.3 m (c) fences lower = 1.1 − 1.5×0.3 = 0.65 upper = 1.4 + 1.5×0.3 = 1.85 0.5 < 0.65 → outlier; nothing above 1.85 0.5 m is an outlier these five numbers (plus the outlier) are everything you need to draw the plot.
WE 2

Draw the box plot

Using the snail data from WE 1, draw a box and whisker diagram.

plot the five-number summary, treating 0.5 as an outlier box: Q₁ = 1.1 to Q₃ = 1.4, median line at 1.3. left whisker stops at the next smallest value after the outlier = 0.7. right whisker reaches the max = 1.6. Mark 0.5 with a cross (×).
0.4 0.6 0.8 1.0 1.2 1.4 1.6 Distance (m) outlier 0.5
The outlier 0.5 m is a cross; the left whisker begins at 0.7 m (the next value in), not at the outlier.
WE 3

Read values off a box plot

A box plot of test scores has its left whisker at 18, box from 30 to 52 with the median line at 40, and right whisker at 70. Write down (a) the median, (b) the range, (c) the IQR.

(a) median = the line in the box median = 40 (b) range = max − min = 70 − 18 = 52 range = 52 (c) IQR = Q₃ − Q₁ = box width = 52 − 30 = 22 IQR = 22 box ends are the quartiles; whisker ends are the min and max.
WE 4

Comment on the shape

For the test-score box plot in WE 3 (whisker 18, box 30–52, median 40, whisker 70), describe the skew of the distribution.

compare median position & whisker lengths median 40 is left of box centre (41); left whisker 12 wide, right whisker 18 wide the longer tail is on the right (higher values). positively skewed a longer right side / median nearer the left = positive (right) skew.
WE 5

Compare two distributions in context

Two surgeries’ waiting times (minutes) are shown as box plots. HealthHut: median 24, IQR 19. FitFirst: median 20, IQR 13. Compare the two distributions in context.

1. compare centres (medians) FitFirst’s median (20) is lower than HealthHut’s (24), so on average patients are seen quicker at FitFirst. 2. compare spreads (IQR) FitFirst’s IQR (13) is smaller than HealthHut’s (19), so FitFirst’s waiting times are more consistent (less variable). FitFirst: lower & more consistent waits two comparisons, both with values, both linked to the real context.

💡 Top tips

⚠ Common mistakes

Next up — Cumulative Frequency Graphs. You’ve drawn box plots from raw data; but what about grouped data, where you don’t have the individual values? A cumulative frequency curve lets you estimate the median, quartiles and percentiles — and from those you can build a box plot for grouped data too.

Need help with Statistics?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →