Quartile Calculator
Calculate Q1, median, Q3, interquartile range, and the five-number summary for any numeric data set.
About quartiles and the interquartile range
Quartile calculator examples
| Data set | Quartiles and IQR | Explanation |
|---|---|---|
| 1, 3, 5, 7, 9 | Q1 = 2, Q2 = 5, Q3 = 8, IQR = 6 | The median is excluded before taking the medians of the two halves. |
| 2, 4, 6, 8, 10, 12 | Q1 = 4, Q2 = 7, Q3 = 10, IQR = 6 | Each half contains three observations. |
| 5, 5, 6, 7, 8, 9, 20 | Q1 = 5, Q2 = 7, Q3 = 9, IQR = 4 | The high value changes the maximum but not the middle-half spread. |
How to calculate quartiles
- Enter the complete data set using commas, spaces, or semicolons.
- Select Calculate Quartiles to sort the values and split the distribution.
- Read Q1, the median, Q3, and IQR in the five-number summary.
- Check the displayed sorted data before interpreting spread or outliers.
Quartile calculator FAQ
How are Q1 and Q3 calculated?
The data are sorted and divided around the overall median. Q1 is the median of the lower half, and Q3 is the median of the upper half.
What is the interquartile range?
The IQR is Q3 minus Q1 and describes the spread of the middle half of a data set. It is less sensitive to extreme observations than the full range.
Why do calculators sometimes give different quartiles?
Several accepted percentile conventions interpolate positions differently, especially in small samples. This calculator uses the median-of-halves method and excludes an odd central median.
Can quartiles identify outliers?
A common rule flags values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. A flagged observation should be investigated rather than automatically deleted.
Do repeated values count?
Yes, every occurrence remains in the ordered data set. Repetition represents frequency and can legitimately affect the median and quartiles.