Interquartile Range (IQR)
Also known as IQR
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.
Where Interquartile Range (IQR) fits
See also
Median and Quartile Position: Where Q₁ and Q₃ come from in the first place: which observation in the sorted list each one is.Outlier Lower Fence: Both use interquartile range and first quartile.Outlier Upper Fence: Both use interquartile range and third quartile.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.
Interquartile Range (IQR) explained
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
- = Interquartile range
- = Third quartile
- = First quartile
Cite this page
formula.expert. (2026, October 31). Interquartile Range (IQR) Formula & Calculator. https://formula.expert/solvers/interquartile-range