Professor Turing

Study guides

How to read a box plot

Last updated: 2026-11-26

To read a box plot, find the line inside the box for the median, the two ends of the box for the first and third quartiles, then the whiskers and any points plotted on their own. The box spans about the middle half of the data. Its length shows how spread out that half is, not how many values it holds.

Start learning No account needed

1. The parts, in reading order

  1. Axis. Read the units, and whether the boxes run across or up.
  2. Median. The line inside the box splits the ordered data in half.
  3. Box ends. The first quartile (Q1) and third quartile (Q3). The distance between them is the interquartile range, or IQR.
  4. Whiskers. Lines from the box toward the extremes. Check the caption, because they can be drawn to the minimum and maximum or cut off by a rule.
  5. Separate points. Values beyond the cutoff. A common cutoff is 1.5 times the IQR past either end of the box.

2. A worked example: 12 commute times

The times, in minutes and in order, are 12, 18, 21, 23, 24, 26, 27, 30, 34, 41, 44 and 70. The median is halfway between 26 and 27, so 26.5. Here we take Q1 as the median of the lower 6 values, 22, and Q3 as the median of the upper 6, 37.5. The IQR is 37.5 − 22 = 15.5.

The cutoffs, called fences, are 22 − 23.25 = −1.25 and 37.5 + 23.25 = 60.75. The whiskers end at the lowest and highest values inside the fences, 12 and 44. The time of 70 is plotted on its own. A whisker ends at an observed value, so the upper one stops at 44 and not at 60.75.

The script draws a rough text version, with the box between the parentheses:

times (minutes): 12, 18, 21, 23, 24, 26, 27, 30, 34, 41, 44, 70  n = 12
min 12, Q1 22, median 26.5, Q3 37.5, max 70
IQR = 37.5 - 22 = 15.5
1.5 x IQR = 23.25; fences -1.25 and 60.75
whiskers end at 12 and 44; plotted alone: 70
Q1 to median: width 4.5, holds 3 values 23, 24, 26
median to Q3: width 11, holds 3 values 27, 30, 34
inside the box: 6 of 12
sketch, one character per minute, rounded:
  ----------(===|===========)------                         o
statistics.quantiles exclusive: Q1 21.5, Q3 39.25
statistics.quantiles inclusive: Q1 22.5, Q3 35.75

The sketch and the figures come from a short script, scripts/how-to-read-a-box-plot-worked-example.py.

3. A common mistake: a longer section means more data

The part of the box from Q1 to the median is 4.5 minutes wide, and the part from the median to Q3 is 11 minutes wide. Each holds 3 of the 12 values. The wider part holds 27, 30 and 34, which sit farther apart than 23, 24 and 26. Quartiles are cut points that divide the ordered data into roughly equal counts, so a long section means those values are spread thinly. Ties and small samples can make the counts uneven.

4. Why your software may disagree

There is more than one rule for computing quartiles. On these same times, the two methods in Python's statistics.quantiles give Q1 and Q3 of 21.5 and 39.25 (exclusive) or 22.5 and 35.75 (inclusive), while our by-hand rule gives 22 and 37.5. Use the rule your course names.

A point past a fence is flagged for a closer look. The flag alone does not say the value is wrong or should be removed. A basic box plot also leaves you unable to tell whether the data have more than one peak, and unless the caption or box width says so, how many observations there are.

5. Test yourself

Close this page. Change the 70 to 55 and decide, by hand, which of these move: the median, the box ends, the upper whisker and the separate point. Then explain why a short whisker does not by itself mean few values.

For another measure of spread, see what is standard deviation. For the general method, see how to test yourself.

What the sources found, and their limits

NIST/SEMATECH e-Handbook of Statistical Methods (NIST Handbook 151), sections 1.3.3.7 and 7.1.6. NIST, the U.S. National Institute of Standards and Technology. It describes the median, the box between the quartiles holding the middle half of the data, whiskers, fences at 1.5 and 3 times the interquartile range, and outliers. Sources: 1.3.3.7, Box Plot and 7.1.6, What are outliers in the data?, read on 2026-11-25.

Wikipedia, Box plot. It describes the five-number summary, defines the quartiles as medians of the halves, and says whiskers end at observed values and can be defined in several ways. Source: Box plot, read in part on 2026-11-25. Limits: the commute times are invented.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.

Bring a box plot you are trying to interpret. Its first reply asks what you already know before it teaches anything. If you answer with a bare guess, it asks how you got there instead of saying right or wrong, and when you stay stuck it changes its approach and makes the next step smaller, so you work it out yourself. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.

FAQ

Does a longer box section hold more data? Not for that reason. A longer section means its values are more spread out. Quartiles aim to split the data into roughly equal counts.

Where is the mean on a box plot? The line inside the box is the median. Some plots add a separate mark for the mean, so check the caption.

Start with what you're working on

Tell the tutor which box plot you are reading and let it ask you the questions.

Start learning No account needed

See also: median and mean · all study guides