Math · Every step shown

Quartiles & IQR Calculator

Find Q1, the median, Q3, and the interquartile range (IQR) of a data set.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Statistics
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Sort the data, find the median (Q2), then find the median of the lower half (Q1) and the median of the upper half (Q3). IQR = Q3 − Q1.

Example: 1 through 10 gives Q1 = 3, Q2 = 5.5, Q3 = 8, and an IQR of 5.

What are quartiles?
Three values (Q1, Q2, Q3) that split a sorted data set into four equal-sized groups — Q2 is the median.

What is the IQR?
The interquartile range (Q3 − Q1) covers the middle 50% of the data, and is a common way to measure spread that ignores extreme outliers.

What method does this calculator use?
The exclusive median method: Q1 is the median of the lower half of the data and Q3 is the median of the upper half, leaving out the overall median if the count is odd.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.