How it works
Quartiles split sorted data into four equal parts. Q1 is the median of the lower half, Q2 (the median) splits the whole list, and Q3 is the median of the upper half. The difference Q3 − Q1 is the interquartile range, the standard measure of spread that ignores outliers.
Method used here: sort the values, take the median, then split the remaining values into a lower and an upper half (the median itself is excluded when the count is odd) and take each half's median. All averages are computed with exact fraction arithmetic.
Worked example
Try it with these numbers
The result card above already shows this example — change any field and hit Calculate.
FAQ
Quick answers
How do you find Q1 and Q3?
Sort the data and find the median. Split the values below the median into a lower half and those above into an upper half. Q1 is the median of the lower half, Q3 is the median of the upper half. This calculator shows both halves explicitly.
What is the IQR?
The interquartile range is Q3 minus Q1 — the width of the middle 50% of the data. It is robust to outliers in a way the full range is not, which is why box plots are built from it.
Why do different tools give different quartiles?
There are several interpolation conventions for what to do with the median and how to average. The median-of-halves method used here is the most common school-level convention; professional statistics packages may interpolate slightly differently.
Related calculators
Keep going
Every calculator on one page: all mathplum calculators.