Overview
Quartiles split sorted data into four equal parts. This gives Q1, the median (Q2), Q3 and the interquartile range.
Enter your values in any order.
Worked examples
| Inputs | Result |
|---|---|
| Your numbers12, 16, 14, 21, 19 | Q1: 14Median: 16Q3: 19IQR: 5 |
Show 2 more examples
| Your numbers5, 7, 8, 12, 30 | Q1: 7Median: 8Q3: 12IQR: 5 |
| Your numbers1, 2, 3, 4, 5 | Q1: 2Median: 3Q3: 4IQR: 2 |
How it works
Sort the values. Q1 is the 25th percentile, the median the 50th and Q3 the 75th. The IQR is Q3 − Q1. Quartiles use linear interpolation, the method in Excel's QUARTILE.INC, so other tools may give slightly different values for small data sets.
Practical tips
- 12, 14, 16, 19 and 21 give Q1 = 14, median 16 and Q3 = 19.
- About a quarter of the data falls in each section between the quartiles.
- For box plots, the box runs from Q1 to Q3.
Frequently asked questions
What is Q2?
The median.
Why do textbooks give different quartiles?
There are several standard methods. Check which one your course uses.
Do quartiles have to be data values?
No, they can fall between values when interpolated.