IQR and box plots
The interquartile range, or IQR, measures the width of the middle 50% of the data. Because it ignores the lowest and highest quarters, it is less affected by extreme values than the range.
Find quartiles from ordered data
The middle 50% is the half of the ordered data between the lower and upper quartiles.
- Put the values in order. Quartile positions are meaningless until the data are ordered.
- Find the median. This is , the centre of the whole list.
- Find the centres of the two halves. If the list has an odd number of values, leave the overall median out before finding and .
- Subtract. Calculate and include the unit.
Worked example
Eleven ordered values
48, 52, 54, 56, 59, 60, 62, 64, 65, 67, 70
The median is the 6th value, 60. Leave it out. The lower half has median 54 and the upper half has median 65.
With an even number of values, split the ordered list into two equal halves immediately. For eight values, is the median of the first four and is the median of the last four.
Common mistake
A box plot displays five numbers
Five numbers become one box plot
min
48
Q₁
54
median
60
Q₃
65
max
70
IQR = 65 − 54 = 11
- Whisker ends show the minimum and maximum; box ends show and .
- The line inside the box is the median.
- Every position must be plotted against the same numerical scale.
Examiner note
Compare centre and spread separately
A complete comparison usually needs one statement about location and one about variation. Quote the evidence and keep the context.
- Centre — use the median: “Linnets usually scored more because their median was higher.”
- Middle spread — use the IQR: “Linnets were less variable because their IQR was smaller.”
- Full spread — use the range: “Puffins covered a wider overall range.”
Worked example
Two five-number summaries
Linnets: 48, 54, 60, 65, 70. Puffins: 45, 51, 58, 64, 74.
Linnets have the higher median, 60 compared with 58. Their IQR is 11 compared with 13, so the central half of Linnet scores is less spread out. (9709/53/O/N/25 Q6)
Common mistake
The median position can suggest skewness
A box plot is roughly symmetric when the two halves of the box have similar widths. If one half is noticeably longer, the data have a longer tail on that side. This is evidence of skewness, not a proof that every part of the distribution has that shape.
Read the two halves of the box
negative skew
Q₂ − Q₁ is longer
The lower side is more spread out.
roughly symmetric
The two widths are similar
positive skew
Q₃ − Q₂ is longer
The upper side is more spread out.
- If , the upper half of the box is longer, which suggests positive skew.
- If , the lower half is longer, which suggests negative skew.
- If the two widths are similar, the central half is roughly symmetric.
Set A has five-number summary 12, 18, 24, 29, 35. Set B has summary 9, 17, 22, 31, 38. Find both IQRs, then compare centre and spread.
Show worked answer
and .
A has the higher median, 24 compared with 22, and the smaller IQR, 11 compared with 14. Its central values are therefore less spread out.
