Interquartile Range (IQR)

\( IQR=Q_3-Q_1 \)
Statistics GCSE

Data: 3,7,11,15,19,23,27. Find the IQR.

Hint (H)
Find Q1 and Q3.

Explanation

Show / hide — toggle with X

Statement

The interquartile range (IQR) is a measure of statistical spread. It shows how widely the middle 50% of the data values are distributed. The IQR is defined as the difference between the upper quartile (Q3) and the lower quartile (Q1):

\[ IQR = Q_3 - Q_1 \]

Why it’s true

  • The lower quartile \(Q_1\) is the value at the 25th percentile, meaning 25% of the data lies below it.
  • The upper quartile \(Q_3\) is the value at the 75th percentile, meaning 75% of the data lies below it.
  • Subtracting gives the range of the central 50% of the data, excluding outliers on both ends.

Recipe (how to use it)

  1. Order the dataset from smallest to largest.
  2. Find the median (this is \(Q_2\)).
  3. Find the median of the lower half → \(Q_1\).
  4. Find the median of the upper half → \(Q_3\).
  5. Subtract: \(IQR = Q_3 - Q_1\).

Spotting it

You use the IQR when asked about spread, variability, or when box plots are involved. It is a preferred measure over the full range, since it is not distorted by extreme values.

Common pairings

  • Box-and-whisker plots (the box spans from \(Q_1\) to \(Q_3\)).
  • Comparing variability of two datasets.
  • Identifying outliers (often using 1.5 × IQR rule).

Mini examples

  1. Data: 2, 4, 6, 8, 10. Q1=4, Q3=8 → IQR=4.
  2. Data: 1, 3, 5, 7, 9, 11. Q1=3, Q3=9 → IQR=6.

Pitfalls

  • Forgetting to order data: Quartiles are meaningless without sorting first.
  • Confusing median with quartiles: The IQR uses Q1 and Q3, not the overall median.
  • Small data sets: Be careful with whether to include/exclude the overall median when splitting halves.

Exam strategy

  • Always sort the data before calculating quartiles.
  • Check whether the question wants exact values or estimates from a graph (like cumulative frequency curves).
  • Remember: IQR = spread of the middle 50%, so it resists the effect of outliers.

Summary

The interquartile range is defined as \(Q_3 - Q_1\). It measures the spread of the middle 50% of the data and is a reliable statistic for comparing distributions. It is especially useful in box plots and for identifying variability in real-world datasets.

Worked examples

Show / hide (10) — toggle with E
  1. Find IQR for data: 2,4,6,8,10.
    1. \( Median=6. \)
    2. \( Q1=4. \)
    3. \( Q3=8. \)
    4. \( IQR=8-4=4. \)
    Answer: 4
  2. Find IQR for data: 1,3,5,7,9,11.
    1. \( Median=(5+7)/2=6. \)
    2. \( Lower half=1,3,5 → Q1=3. \)
    3. \( Upper half=7,9,11 → Q3=9. \)
    4. \( IQR=9-3=6. \)
    Answer: 6
  3. Dataset: 4,8,12,16,20. Find IQR.
    1. \( Median=12. \)
    2. \( Q1=8. \)
    3. \( Q3=16. \)
    4. \( IQR=16-8=8. \)
    Answer: 8
  4. Dataset: 10,15,20,25,30,35. Find IQR.
    1. \( Median=(20+25)/2=22.5. \)
    2. \( Lower half=10,15,20 → Q1=15. \)
    3. \( Upper half=25,30,35 → Q3=30. \)
    4. \( IQR=30-15=15. \)
    Answer: 15
  5. Dataset: 5,6,7,8,9,10,11. Find IQR.
    1. \( Median=8. \)
    2. \( Lower half=5,6,7 → Q1=6. \)
    3. \( Upper half=9,10,11 → Q3=10. \)
    4. \( IQR=10-6=4. \)
    Answer: 4
  6. Find IQR for data: 12,15,18,21,24,27,30,33.
    1. \( Median=(21+24)/2=22.5. \)
    2. \( Lower half=12,15,18,21 → Q1=(15+18)/2=16.5. \)
    3. \( Upper half=24,27,30,33 → Q3=(27+30)/2=28.5. \)
    4. \( IQR=28.5-16.5=12. \)
    Answer: 12
  7. Dataset: 3,6,9,12,15,18,21. Find IQR.
    1. \( Median=12. \)
    2. \( Lower half=3,6,9 → Q1=6. \)
    3. \( Upper half=15,18,21 → Q3=18. \)
    4. \( IQR=18-6=12. \)
    Answer: 12
  8. Dataset: 50,60,70,80,90,100. Find IQR.
    1. \( Median=(70+80)/2=75. \)
    2. \( Lower half=50,60,70 → Q1=60. \)
    3. \( Upper half=80,90,100 → Q3=90. \)
    4. \( IQR=90-60=30. \)
    Answer: 30
  9. Dataset: 2,5,7,9,13,16,20. Find IQR.
    1. \( Median=9. \)
    2. \( Lower half=2,5,7 → Q1=5. \)
    3. \( Upper half=13,16,20 → Q3=16. \)
    4. \( IQR=16-5=11. \)
    Answer: 11
  10. Dataset: 100,200,300,400,500. Find IQR.
    1. \( Median=300. \)
    2. \( Q1=200. \)
    3. \( Q3=400. \)
    4. \( IQR=400-200=200. \)
    Answer: 200