Interquartile Range (IQR)

Also known as IQR

IQR=Q3−Q1IQR = Q_3 - Q_1

Worked example: Q1 48, Q3 72 → IQR 24 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

Reading the data →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 2 more lessons on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Interquartile Range (IQR) explained

IQRQ1Q3

The interquartile range throws away the top and bottom quarters of the data and measures what is left: Q₃ − Q₁, the width of the middle half. If a class's quartile scores are 48 and 72, the IQR is 24 points. Because it depends only on the ranks of the middle observations, it is immune to outliers in a way the range and standard deviation are not — you could replace the single highest value with a million and the IQR would not move at all. That robustness is why it is the spread reported for skewed data like incomes, house prices and reaction times.

The trap is comparing quartiles computed by different software. There are at least nine defensible definitions of a quartile, and Excel, R and most textbooks do not all agree on where Q₁ falls in a small data set — differences that vanish in large samples but can be embarrassing in a homework answer. John Tukey put the IQR at the centre of exploratory data analysis in 1977, using it both for the box in his box plot and for the fences that flag outliers at 1.5 IQR beyond each quartile.

Interquartile Range (IQR) formula

IQR=Q3−Q1IQR = Q_3 - Q_1
Where
  • IQRIQR= Interquartile range
  • Q3Q_3= Third quartile
  • Q1Q_1= First quartile

Missing one of these? Work it out first, then come back