Box Plot & Quartile Calculator
A box plot, or box-and-whisker plot, summarises data with five numbers: the minimum, lower quartile, median, upper quartile and maximum. This calculator sorts the data, finds the quartiles, works out the interquartile range, flags outliers with the 1.5 × IQR rule and draws the box plot.
How to use the box plot & quartile calculator
- Type or paste at least four data values.
- Press Calculate.
- Read the five-number summary, the IQR, any outliers and the box plot.
Formula
Worked example: 11 values with an outlier
- Data values: 7, 15, 36, 39, 40, 41, 42, 43, 47, 49, 95
✓ Answer checked
- Interquartile range (IQR)
- Outlier fences
- Outliers
- 7, 15, 95
- Range
Step-by-step working (4 steps)
Sort the data
Order the 11 values.
Median
The middle value splits the data into two halves.
Quartiles Quartiles (Tukey method)
Q1 is the median of the lower half and Q3 of the upper half (the overall median is left out of both halves).
IQR and outliers 1.5 × IQR rule
Values more than 1.5 × IQR beyond the quartiles are outliers.
Formulas used
How this was checked
- ✓ In order: min ≤ Q1 ≤ median ≤ Q3 ≤ max, with 27.3% of values at or below Q1 and 27.3% at or above Q3.
Quartiles use the median-of-halves method; some calculators interpolate and give slightly different values.
Frequently asked questions
What is the interquartile range?
Q3 − Q1, the spread of the middle half of the data. Unlike the range, outliers do not affect it.
How are outliers identified?
Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are outliers and are drawn as separate dots.
Why do different calculators give different quartiles?
There are several conventions. This one uses the median of each half, leaving out the overall median when there is an odd number of values.
Related calculators
Mean, Median & Mode Calculator
Find the mean, median, mode and range of a data set.
Standard Deviation Calculator
Calculate the standard deviation and variance of a data set, for a sample or a population, with the deviations table and every step shown.
Linear Regression Calculator
Find the least-squares line of best fit y = mx + c, the correlation coefficient r and r², with a scatter plot showing the residuals.
