How to use the box plot maker
- Paste your numbers. For more than one group, start each line with the group's name and a colon, or paste spreadsheet columns with a header row.
- Add a title and an axis label, and choose a horizontal or vertical layout.
- Pick the quartile method your course or software uses. If you're not sure, keep the default.
- Click Make box plot. Outliers appear as separate dots and the mean as a small ×.
- Check the five-number summary table and the working, then download the chart as a PNG.
Box plot formulas
A box plot is built from the five-number summary, plus two fences that decide which values count as outliers:
Interquartile range: IQR = Q3 − Q1
Lower fence: Q1 − 1.5 × IQR Upper fence: Q3 + 1.5 × IQR
- Min, max
- The smallest and largest values
- Q1
- The first quartile: a quarter of the data are below it. With the exclusive method, it is the median of the lower half
- Median
- The middle value once the data are sorted (the second quartile)
- Q3
- The third quartile: three quarters of the data are below it. With the exclusive method, it is the median of the upper half
- IQR
- The interquartile range: the width of the box, covering the middle 50% of the data
- Fences
- Values beyond the fences are outliers. The whiskers end at the most extreme values inside the fences
Worked example
Nine customers wait 3, 5, 7, 8, 9, 11, 13, 15 and 30 minutes. Find the five-number summary and any outliers.
-
The data are already sorted; n = 9 is odd, so the median is the 5th value
Median = 9
-
Q1 is the median of the lower half (3, 5, 7, 8); Q3 of the upper half (11, 13, 15, 30)
Q1 = 5 + 72 = 6, Q3 = 13 + 152 = 14
-
Interquartile range and fences
IQR = 14 − 6 = 8, fences = 6 − 12 = −6 and 14 + 12 = 26
-
30 is above 26, so it is an outlier; the upper whisker stops at 15
Five-number summary: 3, 6, 9, 14, 30
What it means: the typical wait is 9 minutes, and the middle half of customers wait between 6 and 14 minutes. The 30-minute wait is unusually long compared with the rest and is plotted as a separate dot, so it doesn't stretch the whisker and hide the shape of the other values.
How to read a box plot
- The line in the box is the median: half the values are below it and half above.
- The box spans Q1 to Q3, the middle 50% of the data. A longer box means more spread.
- The whiskers show the range of the rest of the data, excluding outliers.
- Dots beyond the whiskers are outliers. Check them: they can be errors or genuinely unusual cases.
- Shape: a median off-center in the box, or one whisker much longer than the other, means the data are skewed in that direction.
Box plots are especially useful side by side, because they make it easy to compare the center and spread of several groups at a glance. For the full shape of a single group, pair the box plot with a histogram.