The parts of a box plot
Here is a box plot of how long nine customers waited, in minutes: 3, 5, 7, 8, 9, 11, 13, 15 and 30.
- The box runs from the first quartile (Q1 = 6) to the third quartile (Q3 = 14). The middle half of the customers waited between 6 and 14 minutes.
- The line inside the box is the median (9 minutes): half waited less, half waited more.
- The whiskers reach out to the smallest and largest values that aren't outliers: 3 and 15 minutes.
- The dot is an outlier: a value unusually far from the rest. Here, the 30-minute wait.
Read it in four steps
- Center: find the median line. That's the typical value.
- Spread: measure the box. Its length is the interquartile range (IQR = Q3 − Q1 = 8 minutes). A long box means the middle values vary a lot.
- Shape: compare the two halves of the box and the two whiskers. Equal halves mean a roughly symmetric distribution; a longer right side means right skew.
- Outliers: look for dots beyond the whiskers and ask whether each is an error or a genuine unusual case.
How outliers are decided
Most box plots use the 1.5 × IQR rule. Anything more than 1.5 IQRs beyond the box counts as an outlier:
-
Interquartile range
IQR = 14 − 6 = 8
-
Fences: 1.5 × 8 = 12 beyond each end of the box
6 − 12 = −6 and 14 + 12 = 26
-
30 is above 26, so it's an outlier; the whisker stops at the next value, 15
Outliers: 30
The fences themselves aren't drawn; they only decide where the whiskers end.
Spotting skew
- Symmetric: the median sits near the middle of the box and the whiskers are about the same length.
- Skewed right: the median is closer to the left of the box and the right whisker is longer. Large values stretch out the top. Common for incomes, house prices and waiting times.
- Skewed left: the mirror image: a longer left whisker, with the median toward the right of the box. Common for scores on an easy test.
In the example, the left half of the box (6 to 9) is shorter than the right half (9 to 14), and there's a high outlier, so waiting times are skewed to the right. A histogram of the same data would show a long tail on the right.
Comparing groups
Box plots are at their best side by side. When you compare two or more:
- Compare the medians to see which group is typically higher.
- Compare the box lengths to see which group is more consistent.
- Check the overlap. If one group's box sits entirely above the other's, the difference is clear. If the boxes overlap a lot, the difference may be due to chance; a t-test can check that formally.
To make your own, paste your groups into the box plot maker. It draws the plot, lists the five-number summary for every group and shows the working for the quartiles.
Why quartiles sometimes differ between tools
There are several accepted ways to calculate quartiles, so Q1 and Q3 can differ slightly between a textbook, a TI-84, Excel and other software, especially with small data sets. The most common classroom method, also used by TI-83/84 calculators, takes the median of the lower and upper halves of the data. Excel's QUARTILE.INC interpolates between values and QUARTILE.EXC uses yet another formula. None is wrong; just use the method your course or software expects. The box plot maker lets you choose.