Box Plots and Quartiles: Five-Number Summary and Outliers
On this page
A box plot summarises data with five numbers: minimum, lower quartile (Q1), median, upper quartile (Q3) and maximum. The box covers the middle half of the data, and the interquartile range IQR = Q3 − Q1 measures its spread. Values more than 1.5 × IQR beyond the box are outliers.
Finding the quartiles
- Sort the data.
- Find the median (Q2).
- Q1 is the median of the lower half; Q3 is the median of the upper half. With an odd count, leave the overall median out of both halves.
Worked example
Data: (11 values, already sorted).
- Median: the 6th value, .
- Lower half: , so .
- Upper half: , so .
- .
Outliers
Fences are and .
So , and are outliers. In the box plot, the whiskers stop at the most extreme values inside the fences (36 and 49), and outliers are drawn as dots.
Why use the IQR?
The range () is dragged around by a single extreme value. The IQR depends only on the middle half of the data, so it is much more stable.
Common mistakes
- Forgetting to sort first.
- Including the median in both halves for an odd count (this calculator's method leaves it out; some textbooks differ).
- Drawing whiskers all the way to outliers.
Practice questions
For :
- Find the median.
- Find Q1 and Q3.
- Find the IQR.
Answers: 1) 8 2) Q1 = 4, Q3 = 10.5 3) 6.5
The box plot calculator finds the five-number summary and draws the plot with outliers. For averages see the mean, median and mode calculator, and for spread read standard deviation explained.
Frequently asked questions
What does the box show?
The middle 50% of the data, from Q1 to Q3, with a line at the median.
Why do calculators give different quartiles?
There are several conventions for splitting the data or interpolating. Results usually differ only slightly.
Is an outlier a mistake?
Not necessarily. It is a value that is unusually far from the rest and worth checking.
#statistics#data#quartiles
