Interquartile Range (IQR) Examples: 47 Problems with Answers

Worked examples of Interquartile Range (IQR) to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

medium
Find the IQR of 5,8,11,14,17,20,23,26.
Show solution

Answer

12

First step

1.
Eight values; median =(14+17)/2=15.5.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

medium
A box plot shows Q1=22, Q3=34. The largest value is 80. Does 80 qualify as a high outlier by the 1.5⋅IQR rule?

Example 3

medium
For 10,12,14,14,15,18,20,22, find the IQR.

Example 4

hard
Find the IQR and the upper outlier fence for 4,6,8,10,12,14,16,20,30.

Example 5

hard
Daily commute times (min): 20,22,25,28,30,35,38,40,95. Find the IQR and explain why it is a better spread measure than the range here.

Example 6

challenge
Two cities report median household incomes both equal to $60k. City A has IQR $10k; City B has IQR $60k. What do these tell you about income inequality?

Example 7

easy
Given the data set: 4, 7, 9, 12, 15, 18, 22, 25, 30, find the interquartile range (IQR).

Example 8

medium
Test scores: 55, 60, 65, 70, 72, 75, 78, 80, 85, 90, 95. Find the IQR and use it to determine the boundaries for outliers using the 1.5×IQR rule.

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
If Q1=5 and Q3=12, find the IQR.

Example 2

easy
If Q1=20 and Q3=20, find the IQR.

Example 3

easy
IQR measures the spread of what fraction of data?

Example 4

easy
For Q1=8,Q3=18, find the IQR.

Example 5

easy
Is IQR more or less affected by outliers than range?

Example 6

easy
For a set with Q1=100,Q3=140, find the IQR.

Example 7

easy
Which uses only the middle of the data: range or IQR?

Example 8

easy
If the IQR is 0, what does that say about the middle 50%?

Example 9

medium
For 4,8,15,16,23,42, compute the IQR.

Example 10

medium
For 1,2,3,4,5,6,7,8, compute the IQR.

Example 11

medium
A data set has range 50 but IQR 6. What does this contrast suggest?

Example 12

medium
Outlier rule: a value is an outlier if above Q3+1.5⋅IQR. With Q3=20, IQR =8, find the upper fence.

Example 13

medium
With Q1=10, IQR =8, find the lower outlier fence.

Example 14

medium
Multiply all data by 4. If the original IQR was 5, find the new IQR.

Example 15

medium
Add 7 to every value. If the IQR was 9, find the new IQR.

Example 16

challenge
A set has Q1=12, Q3=24. Is 45 an outlier by the 1.5×IQR rule?

Example 17

challenge
Two sets have equal IQR =10 but ranges 12 and 60. What distinguishes them?

Example 18

challenge
Show that IQR ≤ range for any data set.

Example 19

medium
For 5,7,8,9,10,12,13,14,15, compute the IQR.

Example 20

medium
With Q1=14, Q3=26, find the upper outlier fence.

Example 21

easy
If Q1=10 and Q3=25, find the IQR.

Example 22

easy
If Q1=0 and Q3=9, find the IQR.

Example 23

easy
If Q1=50 and Q3=70, find the IQR.

Example 24

easy
For ordered 1,3,5,7,9, find Q1 and Q3, then the IQR.

Example 25

easy
A box plot's box stretches from 40 to 55. What is the IQR?

Example 26

medium
Find the IQR of 2,3,5,7,7,8,10.

Example 27

medium
If you add 5 to every value, what happens to the IQR?

Example 28

medium
If you double every value, what happens to the IQR?

Example 29

medium
If Q1=30, IQR =10, find Q3.

Example 30

medium
If Q3=80 and IQR =20, find the lower fence (cutoff for low outliers).

Example 31

medium
A data set has range 200 but IQR 4. What does this suggest?

Example 32

medium
If Q1=15, Q3=27, IQR =12. What is the upper outlier fence?

Example 33

hard
Two data sets: A has IQR 4 and B has IQR 20. Both have median 50. Which set is more reliable?

Example 34

hard
A new value 200 is added to a set with Q1=20, Q3=40, and many values. The IQR barely changes. Why?

Example 35

hard
If every value of a set is multiplied by 3 and then 7 is subtracted, what happens to the IQR?

Example 36

hard
A box plot has Q1=10, Q3=20, and a maximum of 35. Is 35 an outlier by the 1.5⋅ IQR rule?

Example 37

challenge
A teacher reports median =80 and IQR =4 on a test. About what fraction of students scored between 78 and 82?

Example 38

medium
Two classes took the same test. Class A: Q1=60, Q3=80. Class B: Q1=70, Q3=90. Which class has greater consistency in scores? Explain using the IQR.

Example 39

hard
Daily temperatures (°C) for two weeks: 15, 16, 14, 18, 20, 22, 19, 35, 17, 16, 18, 21, 20, 19. Find the IQR and use the 1.5×IQR rule to identify any outliers. Then recalculate the mean with and without the outlier(s).

What to focus on

Core idea: The IQR is the width of the middle half of the data, Q3−Q1; ignoring the top and bottom quarters makes it a spread that extreme values cannot stretch.

Common stuck point: Students often know a procedure related to interquartile range (iqr) but skip the recognition step: Do you need how spread out the middle half of the data is, ignoring the lowest and highest quarters? That leads to a calculation or graph that looks reasonable but answers a different question.

Ask yourself: Do you need how spread out the middle half of the data is, ignoring the lowest and highest quarters?

Concept recap

The interquartile range (IQR) is the range of the middle 50% of data, calculated as Q3−Q1. It measures spread while ignoring the top and bottom 25% of values, making it resistant to outliers.

The IQR is like measuring the width of the main crowd at an outdoor concert while ignoring the few people wandering at the back or pressed against the stage. Those stragglers can stand anywhere without changing the width of the crowd. The cost is that the IQR tells you nothing about how far the stragglers went.

Read the full lesson on Interquartile Range (IQR)

Background knowledge

These ideas may be useful before you work through the harder examples.

stat quartilesstat range