Box Plot Calculator
Enter a list of data to find the five-number summary — minimum, lower quartile, median, upper quartile and maximum — plus the interquartile range and any outliers. The box and whisker plot is drawn for you, with step-by-step working.
Five-number summary
Minimum
3
Lower quartile
6
Median
9
Upper quartile
14
Maximum
40
IQR
8
Outliers (marked ×): 40
How it works
Put the data in order
3, 5, 7, 8, 9, 11, 13, 15, 40 (n = 9).
Result:Min 3, max 40Find the median
The median is the 5th value: 9.
Result:Median = 9Find the quartiles
The lower quartile is between the 2nd and 3rd values: 6. The upper quartile is between the 7th and 8th values: 14.
Result:LQ = 6, UQ = 14Interquartile range
The IQR is the width of the box — the spread of the middle half of the data.
Result:IQR = 8Check for outliers
40 is an outlier (outside -6 to 26). Mark it with a cross and stop the whisker at the last value inside.
Quartiles and outliers
Example substitution
Upper fence = 14 + 1.5 × 8 = 26, so 40 is an outlier.
Worked examples
Find the quartiles and outliers for 3, 5, 7, 8, 9, 11, 13, 15, 40.
- 1n = 9, median at 5th value: 9
- 2LQ at 2.5th value: between 5 and 7 = 6
- 3UQ at 7.5th value: between 13 and 15 = 14
- 4IQR and upper fence: 14 − 6 = 8; 14 + 1.5 × 8 = 26
Find the quartiles for 2, 4, 4, 5, 7, 8, 9, 12.
- 1n = 8, LQ at 2.25th value: 4
- 2Median at 4.5th value: between 5 and 7 = 6
- 3UQ at 6.75th value: 8 + 0.75 × (9 − 8) = 8.75
Frequently asked questions
What does a box plot show?+
The five-number summary: minimum, lower quartile, median, upper quartile and maximum. The box covers the middle half of the data and the whiskers show the full spread.
How do you find the quartiles?+
Put the data in order. With n values, the lower quartile is the (n + 1)/4th value, the median is the (n + 1)/2th value and the upper quartile is the 3(n + 1)/4th value. If a position is between two values, go halfway between them.
What is the interquartile range?+
IQR = upper quartile − lower quartile. It is the width of the box and measures the spread of the middle 50% of the data, ignoring extreme values.
How do you find outliers?+
A value is an outlier if it is more than 1.5 × IQR below the lower quartile or above the upper quartile. Outliers are marked with a cross and the whisker stops at the last value that is not an outlier.
How do you compare two box plots?+
Compare the medians (which is higher on average) and the IQRs (which is more consistent). Always write your comparison in the context of the question.