What it shows
A box plot (box-and-whisker plot) draws the five-number summary of a list on one axis:
- the smallest value,
- the lower quartile Q₁,
- the median,
- the upper quartile Q₃,
- the largest value.
The box runs from Q₁ to Q₃ with a line across it at the median. The whiskers run out from the box to the smallest and the largest value. There is no formula; the numbers come from the quartiles page.
Swedish books call it a lådagram and name the five numbers minsta värde, nedre kvartil, median, övre kvartil and största värde.
Worked example
Eight values. 2, 4, 4, 4, 5, 5, 7, 9. The five numbers are 2, 4, 4.5, 6, 9. Draw an axis from 0 to 10, a box from 4 to 6, a line at 4.5, a whisker left to 2 and a whisker right to 9.
How to read it — length is not count
Each of the four pieces — left whisker, left half of the box, right half, right whisker — holds about a quarter of the values, whatever its length. In the example the right whisker, 6 to 9, is the longest piece, but it does not hold more values than the others. It holds a quarter that is spread out.
So a long piece means spread out, and a short piece means packed close together. The width of the box is the interquartile range, here 2.
A second example: comparing two groups
Box plots are often drawn side by side to compare groups. Two classes’ test results:
| Min | Q₁ | Median | Q₃ | Max | |
|---|---|---|---|---|---|
| Class A | 12 | 18 | 22 | 25 | 30 |
| Class B | 15 | 20 | 21 | 23 | 40 |
Class B has the larger range, 25 against 18, because of one result of 40. But its box is narrower: an IQR of 3 against 7. The middle half of class B is much more even than class A’s, and the range alone would have said the opposite.
Common mistakes
- Reading a long whisker as many values. Every piece holds about a quarter.
- Drawing the box from min to max. The box is Q₁ to Q₃.
- Putting the mean where the median goes. The line in the box is the median.
- Quartiles from a different method. A spreadsheet’s quartiles move the box slightly.
Common questions
What are the dots beyond the whiskers in some box plots?
Outliers, by the 1.5 × IQR rule: values more than 1.5 · IQR outside the box are drawn as points, and
the whisker stops at the last value inside. School courses often draw the whiskers all the way to the
extremes instead. Both are in use; say which you draw.
Can a box plot show the mean?
Some software adds it as a cross or a dot. It is not one of the five numbers, and a box plot without
it is complete.

