9.2 Range, Quartiles, Interquartile Range (IQR), and Comparing Parallel Box Plots

Key Takeaways

  • The range (Maximum - Minimum) measures total spread using only the two extreme values, whereas the interquartile range (IQR = Q3 - Q1) measures the spread of the middle 50% of observations and is resistant to outliers.

  • A five-number summary consists of the Minimum, Lower Quartile (Q1, 25th percentile), Median (Q2, 50th percentile), Upper Quartile (Q3, 75th percentile), and Maximum.

  • Every box-and-whisker plot divides its cohort into four equal quarters of 25% each: bottom whisker (Min to Q1), lower box half (Q1 to Q2), upper box half (Q2 to Q3), and top whisker (Q3 to Max).

  • A wider half-box or longer whisker does not contain more students than a narrower section of the same plot—it still holds exactly 25% of that cohort, spread across a wider score interval (lower density).

  • When comparing parallel box plots, compare medians to judge typical performance, compare IQRs to judge consistency of the middle 50%, and match quartile landmarks (25%, 50%, 75%) to compare cohort proportions.

Last updated: October 2026

Tip

Quick Answer: A box-and-whisker plot splits an ordered dataset into four quarters of 25%25\% each using the five-number summary (Min,Q1,Median,Q3,Max\text{Min}, Q_1, \text{Median}, Q_3, \text{Max}). The central box spans from Q1Q_1 to Q3Q_3, capturing the middle 50%50\% of scores with width IQR=Q3−Q1\text{IQR} = Q_3 - Q_1. Never confuse visual width with student count: a wide box section or long whisker still represents exactly 25%25\% of that cohort, simply spread out over a wider interval of marks.

Two classes can share the exact same mean and median of 65%65\% on an end-of-semester exam while having completely different teaching needs: in Class A, every student scored between 60%60\% and 70%70\%, whereas in Class B, scores ranged from 25%25\% to 100%100\%. To describe how tightly clustered or widely dispersed a dataset is, educators pair a measure of centre with a measure of spread (variability).


Measuring Spread: Range vs. Interquartile Range (IQR)

1. The Range

The range is the difference between the single highest observation and the single lowest observation:

Range=Maximum−Minimum\text{Range} = \text{Maximum} - \text{Minimum}

Although easy to compute, the range depends entirely on the two most extreme values. If one student in a class of 3030 leaves half the paper blank and scores 12%12\% while the remaining 2929 students score between 68%68\% and 85%85\%, the range jumps from 1717 marks to 7373 marks, overstating the variability of the class as a whole.

2. Quartiles and the Interquartile Range (IQR)

To measure spread without distortion from extreme tails, statisticians divide the sorted dataset into four equal-sized quarters (25%25\% each) using three quartiles:

  • First (Lower) Quartile (Q1Q_1): The 25th25\text{th} percentile, found as the median of the lower half of the sorted data. Exactly 25%25\% of scores lie below Q1Q_1, and 75%75\% lie above Q1Q_1.
  • Second Quartile (Q2Q_2): The 50th50\text{th} percentile, which is the overall median of the dataset.
  • Third (Upper) Quartile (Q3Q_3): The 75th75\text{th} percentile, found as the median of the upper half of the sorted data. Exactly 75%75\% of scores lie below Q3Q_3, and 25%25\% lie above Q3Q_3.

The interquartile range (IQR) is the distance between the upper and lower quartiles:

IQR=Q3−Q1\text{IQR} = Q_3 - Q_1

Because the IQR measures the spread of the middle 50%50\% of observations, it ignores the lowest 25%25\% and highest 25%25\% of scores and is resistant to outliers.

Worked Example: Finding the Five-Number Summary and IQR

  • Odd sample size (n=11n = 11): Consider 1111 sorted Year 6 mathematics test scores: 42,48,51,55,58,62,66,70,74,79,9542, 48, 51, 55, 58, \mathbf{62}, 66, 70, 74, 79, 95.
    • Minimum=42\text{Minimum} = 42 and Maximum=95\text{Maximum} = 95, so Range=95−42=53\text{Range} = 95 - 42 = 53.
    • The overall median (Q2Q_2) is the 6th6\text{th} value: Q2=62Q_2 = 62.
    • Exclude the middle value 6262 to form the lower half of 55 scores (42,48,51,55,5842, 48, \mathbf{51}, 55, 58) and the upper half of 55 scores (66,70,74,79,9566, 70, \mathbf{74}, 79, 95).
    • The median of the lower half is Q1=51Q_1 = 51, and the median of the upper half is Q3=74Q_3 = 74.
    • Therefore, IQR=Q3−Q1=74−51=23\text{IQR} = Q_3 - Q_1 = 74 - 51 = 23.
  • Even sample size (n=10n = 10): For 1010 sorted scores 40,46,50,54,58,62,66,72,78,8440, 46, 50, 54, 58, 62, 66, 72, 78, 84, the median sits between the 5th5\text{th} and 6th6\text{th} scores: Q2=58+622=60Q_2 = \frac{58 + 62}{2} = 60. The lower 55 scores (40,46,50,54,5840, 46, \mathbf{50}, 54, 58) have median Q1=50Q_1 = 50, and the upper 55 scores (62,66,72,78,8462, 66, \mathbf{72}, 78, 84) have median Q3=72Q_3 = 72, giving IQR=72−50=22\text{IQR} = 72 - 50 = 22.

Anatomy of a Box-and-Whisker Plot and the Width Trap

A box-and-whisker plot (box plot) displays the five-number summary (Minimum,Q1,Median [Q2],Q3,Maximum\text{Minimum}, Q_1, \text{Median } [Q_2], Q_3, \text{Maximum}) along a number line. Vertical lines mark Min\text{Min}, Q1Q_1, Q2Q_2, Q3Q_3, and Max\text{Max}, with a rectangular box drawn from Q1Q_1 to Q3Q_3 and whiskers extending to the minimum and maximum:

  1. Bottom/Left Whisker (Min\text{Min} to Q1Q_1): Contains the lowest 25%25\% of students (0th0\text{th} to 25th25\text{th} percentile).
  2. Lower/Left Half of Box (Q1Q_1 to Q2Q_2): Contains the second 25%25\% of students (25th25\text{th} to 50th50\text{th} percentile).
  3. Upper/Right Half of Box (Q2Q_2 to Q3Q_3): Contains the third 25%25\% of students (50th50\text{th} to 75th75\text{th} percentile).
  4. Top/Right Whisker (Q3Q_3 to Max\text{Max}): Contains the highest 25%25\% of students (75th75\text{th} to 100th100\text{th} percentile).

The Critical Box-Plot Width Trap: Candidates frequently assume that a wider half-box or a longer whisker contains more students than a short whisker or narrow half-box. This is false. Each of the four segments on a single box plot always contains exactly 25%25\% of that cohort. A narrow segment (e.g., Q1=62Q_1 = 62 to Q2=66Q_2 = 66, width 44) means 25%25\% of students are tightly clustered within 44 marks (high score density), whereas a wide segment (e.g., Q2=66Q_2 = 66 to Q3=88Q_3 = 88, width 2222) means the same 25%25\% share of students is spread out across 2222 marks (low score density).


Comparing Parallel Box Plots Across Classes and Year Levels

When parallel box plots are stacked on the same scale, compare cohorts systematically using the table below.

Worked Comparison: Year 9 Numeracy Diagnostic (Max Possible=100\text{Max Possible} = 100)

CohortStudent Count (NN)MinimumLower Quartile (Q1Q_1)Median (Q2Q_2)Upper Quartile (Q3Q_3)MaximumRange (Max−Min\text{Max} - \text{Min})IQR\text{IQR} (Q3−Q1Q_3 - Q_1)
Class 9A28284848646472728080949446461616
Class 9B32323838525264647878969658582626
  • Central tendency (Medians): Class 9A has a higher median (7272) than Class 9B (6464), indicating higher typical achievement in Class 9A.
  • Consistency (IQR and Range): Class 9A has a much smaller IQR (1616 vs. 2626) and smaller range (4646 vs. 5858), showing that Class 9A's middle 50%50\% (and overall cohort) achieved much more consistent scores than Class 9B.
  • Cross-cohort landmark comparisons: Notice that Class 9A's lower quartile (Q1=64Q_1 = 64) equals Class 9B's median (Q2=64Q_2 = 64). Therefore, 75%75\% of Class 9A scored 6464 or higher, whereas only 50%50\% of Class 9B scored 6464 or higher.
  • Converting percentages to headcounts: Because the two classes have different sizes (N=28N = 28 vs. N=32N = 32), always multiply the quartile percentage by that specific cohort's NN: the number of students scoring 6464 or higher is 0.75×28=210.75 \times 28 = 21 students in Class 9A, compared with 0.50×32=160.50 \times 32 = 16 students in Class 9B.
Test Your Knowledge

A group of 12 Year 7 students completed a reading comprehension assessment and achieved the following sorted scores: 44, 49, 52, 56, 60, 63, 67, 70, 74, 78, 83, 92. What are the range and the interquartile range (IQR) of this dataset?

A

Range = 48 and IQR = 26.0

B

Range = 48 and IQR = 22.0

C

Range = 48 and IQR = 20.0

D

Range = 39 and IQR = 22.0

Test Your Knowledge

On a box-and-whisker plot of 120 Year 8 students' science exam marks, the five-number summary is Minimum = 32, Q1 = 58, Median = 64, Q3 = 86, and Maximum = 95. Which statement comparing the interval from 58 to 64 with the interval from 64 to 86 is correct?

A

Both intervals contain approximately 30 students (25% of the cohort), even though scores between 58 and 64 are much more tightly clustered than scores between 64 and 86.

B

The interval from 58 to 64 contains 50% of the cohort, whereas the interval from 64 to 86 contains 25% of the cohort.

C

The interval from 32 to 58 contains the largest number of students because the bottom whisker is 26 marks long.

D

The interval from 64 to 86 contains more than three times as many students as the interval from 58 to 64 because its box section is 22 marks wide compared with 6 marks wide.

Test Your Knowledge

Parallel box plots compare a Year 5 cohort (80 students: Min = 390, Q1 = 440, Median = 480, Q3 = 520, Max = 590) and a Year 7 cohort (120 students: Min = 430, Q1 = 480, Median = 530, Q3 = 570, Max = 650) on the same numeracy scale. How many students in total across both cohorts achieved a scale score of 480 or higher?

A

150 students

B

120 students

C

130 students

D

100 students

Sections you finish are checked off in the contents.