Find Q1, the median and Q3 of your data using the method your textbook, calculator or spreadsheet uses, and see exactly which values fall in each quarter.
Q1 = 25th percentile · Q2 = median · Q3 = 75th percentile
Separate with commas, spaces or new lines.
Most textbooks and TI-83/84 calculators: Q1 and Q3 are the medians of the lower and upper halves, leaving out the middle value when n is odd.
Quartiles are the three values that split sorted data into four parts with about the same number of values in each. A quarter of the data lies below Q1, half below Q2 (the median) and three quarters below Q3.
With the minimum and maximum, they make up the five-number summary that a box plot draws, and Q3 − Q1 is the interquartile range. They describe the shape of the data without being thrown off by a few extreme values.
The awkward part is that there's no single agreed way to calculate Q1 and Q3 for a small dataset. Textbooks, calculators and spreadsheets follow different conventions, which is why this calculator lets you choose.
Methods as catalogued by Hyndman and Fan (1996). See Sources.
When n is odd, the middle value is left out of both halves.
A position such as 3.5 means halfway between the 3rd and 4th values. All three methods give the same median, and they converge as the dataset grows.
That changes the IQR from 28 to 17. Neither is wrong, but you should say which method you used.
The classic eleven-value set, worked out all three ways. Enter your own data above to see it here.
| Method | Q1 | Q3 | IQR |
|---|---|---|---|
| Median of halves | 15 | 43 | 28 |
| Inclusive (Excel QUARTILE.INC) | 25.5 | 42.5 | 17 |
| Exclusive (Excel QUARTILE.EXC) | 15 | 43 | 28 |
All three are accepted conventions. Use the one your course, exam board or software expects, and state it in any report.
The 1-Var Stats command on TI-83 and TI-84 calculators uses the median of halves, leaving out the median when n is odd.
Q1, Q2 and Q3 are the 25th, 50th and 75th percentiles. The percentile calculator handles any other percentage.
Sometimes used for the minimum and maximum, so that the five-number summary reads Q0 to Q4.
The differences come from how each method treats the few values next to the cut points. With hundreds of values those neighbours are almost the same, so the methods converge.
=QUARTILE.INC(range,1) and =QUARTILE.INC(range,3), or QUARTILE.EXC for the exclusive method. There’s no built-in median-of-halves function.
Yes, whenever it falls between two values. 25.5 in the worked example is halfway between 15 and 36.
Keep every repeat. Quartiles are positions in the full sorted list, so duplicates count just like any other value.
Related Tools