All guides

Box Plots Explained: Five Numbers in One Picture

Five numbers, one picture

A box plot, or box and whisker plot, draws the five-number summary of a data set. The box runs from the first quartile to the third, containing the middle half of the values, with a line inside at the median. Whiskers extend to the most extreme values still inside the fences, Q1 minus 1.5 times the IQR and Q3 plus 1.5 times the IQR, and anything beyond the fences is plotted as an individual dot, flagged as an outlier. Invented by Tukey in the 1970s, it remains the densest honest picture in statistics: centre, spread, skew and oddities in a few square centimetres, with no distributional assumptions smuggled in.

Reading the picture

Skew announces itself in the geometry: if the median line sits low in the box and the upper whisker stretches long, the data leans right. A short box means the middle half is tightly packed, whatever the whiskers do; long whiskers with a short box mean a consistent core with a few wanderers. Comparing groups is where the plot earns its keep: examinations boards, clinicians and engineers place boxes side by side and read off, in seconds, which group runs higher, which is more consistent, and whether an apparent difference is a shift of the whole distribution or merely a couple of extreme values doing theatrical work. Overlapping boxes do not automatically mean no difference, but clean separation is strong visual evidence.

Strengths and blind spots

The box plot's virtue is robustness: medians and quartiles cannot be dragged around by outliers, so the picture stays honest for skewed data where a mean and standard deviation would mislead. Its blind spot is shape inside the box: a bimodal distribution, two humps with a valley at the median, draws the same box as a single-humped one, and small samples make quartiles jumpy estimates. Modern practice pairs the box with the raw points, a strip of dots along the axis, or a violin outline when audiences need the interior shape. Used with that company, the box plot is the fastest group comparison ever devised, and the first picture to demand of anyone summarising data for you. Box plots also expose a quiet limitation: they cannot show shape within the box. A bimodal distribution, two humps with a valley between, draws exactly the same box as a uniform one if the five numbers match, because the plot keeps only five summaries and discards the rest. Density plots and violin plots were invented to restore that missing shape, wrapping the box in an outline of the distribution itself. The lesson generalises across this whole site: every summary hides something, and the professional habit is to know what your chosen summary hides before someone else points it out, ideally someone on your own side of the argument.

Try it with your own numbers

The free calculators that go with this guide:

Calculate quartiles for a box plot