Interquartile Range: Definition, Method and Examples
The interquartile range (IQR), sometimes called the quartile range or the middle fifty percent range, is a statistical measure that describes the spread of the middle percent of an ordered data set. It is found by subtracting the lower quartile () from the upper quartile (). This value helps you understand how concentrated the central data points are.
What is the interquartile range?
To understand the interquartile range, you must first understand quartiles. Quartiles divide an ordered list of data into four equal parts.
The first mark is the lower quartile (), representing the th percentile. The second mark is the median, representing the th percentile. The third mark is the upper quartile (), representing the th percentile.
The interquartile range focuses exclusively on the central half of the values.

A small interquartile range means the central data values are grouped tightly together. A large interquartile range means the middle values are widely spread out.
Find Q1 and Q3
Before you can find the interquartile range, you must identify the quartiles.
- Order the data from smallest to largest.
- Find the median to split the data into a lower half and an upper half. If the number of values is odd, do not include the median in either half.
- Find by locating the median of the lower half.
- Find by locating the median of the upper half.

Use the IQR formula
Once the quartiles are identified, subtract the lower quartile from the upper quartile.
The standard formula is:
You will always subtract the smaller quartile from the larger quartile. Because the upper quartile is always greater than or equal to the lower quartile, the interquartile range can never be negative.
Compare IQR and range
The standard range in statistics is the difference between the absolute highest and lowest values in a complete data set.
While the full range is easy to calculate, it is easily distorted by outliers. An outlier is a single extreme value that is much higher or lower than the rest of the data.
Because the interquartile range ignores the lowest percent and the highest percent of the data, it completely ignores extreme outliers. This makes it a more reliable measure of spread for data sets that contain unusual extreme values.
Read IQR from a box plot or graph
Statistical graphs often display quartiles visually, allowing you to calculate the interquartile range quickly.
You can easily read the interquartile range from box plots. In a box plot, the left edge of the central box represents and the right edge represents . The physical length of the box is the interquartile range.

You can also estimate the interquartile range from a cumulative frequency curve by locating the th percentile and th percentile on the cumulative frequency axis, reading across to the curve, and dropping down to the data axis to identify and .
Worked examples
Example 1: Odd number of ordered values
Question: Find the interquartile range for the ordered data set: .
Method:
- The data is already ordered. Count the values to find the median.
- With values, the median is the fourth value ().
- Find , the median of the lower half (). Here, .
- Find , the median of the upper half (). Here, .
- Subtract from to find the interquartile range.
Answer: The interquartile range is .
Check: The middle percent of the values lies between and , spanning a distance of .
Example 2: Reading from a box plot
Question: A box plot shows the heights of plants in a greenhouse. The left edge of the box is at centimeters and the right edge is at centimeters. Calculate the interquartile range.
Method:
- Identify the lower quartile (). In a box plot, this is the left edge of the central box. Here, .
- Identify the upper quartile (). This is the right edge of the central box. Here, .
- Subtract from .
Answer: The interquartile range is centimeters.
Check: A distance of exactly spans the box from to .
Example 3: Unordered data with an outlier
Question: Find the interquartile range for these test scores: .
Method:
- Order the data from smallest to largest: .
- Find the median. The fourth value out of is .
- Identify the lower half, excluding the median: . The middle value is .
- Identify the upper half, excluding the median: . The middle value is .
- Subtract from .
Answer: The interquartile range is .
Check: The full range is , but the IQR is , showing how the outlier () heavily affects the full range but not the IQR.
Common mistakes
Forgetting to order the data
The most common mistake is finding the middle of a list before arranging the numbers from smallest to largest. Quartiles are based on numerical order, not appearance.
Confusing the position with the value
Sometimes the formula tells you that is the rd value in the list. Do not mistakenly write down as the answer. You must find the actual number sitting in the rd position in your ordered list.
Calculating the full range instead
Make sure you are subtracting from . Do not accidentally subtract the minimum from the maximum.
Frequently asked questions
Can the interquartile range be zero?
Yes. If the middle percent of your data consists of the exact same number, and will be identical, resulting in an interquartile range of zero.
Can the interquartile range be negative?
No. Because the upper quartile is always greater than or equal to the lower quartile, subtracting from will always result in a positive number or zero.
Are outliers used to calculate the interquartile range?
Outliers must remain in the list while you are ordering the data and finding the median. However, because they sit at the extreme ends of the list, they do not affect the final values of the quartiles.
Practice questions

What is the interquartile range of the data shown on the dot plot?
Find the interquartile range for the following data set: .

What is the interquartile range of the data represented by the box plot?
Why is the interquartile range sometimes a better measure of spread than the full range?
It uses every single data value in its calculation.
It is not affected by extreme values or outliers.
It represents the distance between the smallest and largest numbers.
It is always larger than the standard range.
It is not affected by extreme values or outliers.
Find the interquartile range of this unordered data set: .
