KS Maths
Year 8 · Unit 7 Averages and spread · Lesson 4 of 5

Range, quartiles and the interquartile range

How spread out is it?

Two bus routes can have the same mean journey and still be very different to rely on. The range, the quartiles and the interquartile range say how far the data spreads, and how far its middle half spreads.

Statistics and ProbabilityNo calculator

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

range
The difference between the biggest and smallest value. Also, all the output values of a function.Data from 2 to 9 has range 7.
interquartile range
The distance between the upper quartile and lower quartile. It shows the spread of the middle half.IQR = upper quartile minus lower quartile.
quartile
One of three values that cut ordered data into four equal parts.The upper quartile has 75% of the data below it.
median
The middle value when data is in order.The median of 2, 5, 9 is 5.
half
One of two equal parts. Divide by 2.Half of 10 is 5.
mean
The total of all values divided by how many values there are.The mean of 2, 4, 6 is 4.
spread
How far apart the data values are.A big range means a big spread.
stem and leaf
A diagram that shows data using the digits of the numbers.Stem 3 and leaf 5 means 35.
mode
The value that appears most often.The mode of 2, 3, 3, 5 is 3.
average
A typical value that stands for all the data.The average height is 150 cm.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. (Lesson 3) Which average does an outlier pull most: the mean, the median or the mode?
    AnswerThe mean. The median depends only on the middle value or values, and the mode on frequency.
  2. (Lesson 1) Find the median of 8, 3, 12, 5, 9.
    Answer8. In order: 3, 5, 8, 9, 12, and the middle one is 8.
  3. (Year 7, Unit 1, lesson 7) What number is halfway between 9 and 12?
    Answer10.5. (9 + 12) ÷ 2 = 21 ÷ 2.
Words used in this lesson
range
largest value minus smallest value. For example: in 4, 9, 15 the range is 11.
quartile
one of three values that cut ordered data into four parts of about equal size. For example: Q1, Q2 (the median), Q3.
lower half
the values below the median. For example: 2 and 4 in 2, 4, 7, 10, 13.
interquartile range (IQR)
Q3 minus Q1, the spread of the middle half. For example: 35 − 24 = 11.
spread
how far apart the values are. For example: marks from 20 to 95 are more spread than marks from 60 to 70.
five-number summary
smallest, Q1, median, Q3, largest. For example: 2, 5, 8, 15, 20 for 2, 5, 7, 8, 12, 15, 20.

Same mean, different journey

Two minibus routes both have a mean journey of 18 minutes. Route A took 17, 18, 18, 18 and 19 minutes on five days. Route B took 8, 12, 18, 24 and 28. Predict first: which route would you plan around if you must be at the station by a fixed time, and what number besides the mean would tell you? Then look at how spread out the data is in the figure below.

lower halfupper halfrange = 18 − 3 = 15IQR = 14.5 − 5.5 = 9048121620242832Value of each data pointQ1 5.5Q3 14.5median 10.5
15range
9interquartile range
10.5median

Data set 1 of 4: 8 values. The 8 values split into two halves of 4. The median is 10.5. Q1 is 5.5 and Q3 is 14.5, so the IQR is 9 and the range is 15.

Show me the steps
  1. Set 1: 3, 5, 6, 9, 12, 14, 15, 18 (8 values). The median is (9 + 12) ÷ 2 = 10.5, and the halves are 3, 5, 6, 9 and 12, 14, 15, 18. Q1 = (5 + 6) ÷ 2 = 5.5, Q3 = (14 + 15) ÷ 2 = 14.5. IQR = 9, range = 15.
  2. Set 2: 4, 7, 8, 10, 11, 13, 15, 16, 19 (9 values). The median 11 is left out of both halves. Lower half 4, 7, 8, 10: Q1 = (7 + 8) ÷ 2 = 7.5. Upper half 13, 15, 16, 19: Q3 = (15 + 16) ÷ 2 = 15.5. IQR = 15.5 − 7.5 = 8, range = 19 − 4 = 15.
  3. Set 3: 12, 14, 14, 15, 15, 15, 16, 17, 21, 22, 30 (11 values). The median is 15. Lower half 12, 14, 14, 15, 15: Q1 = 14. Upper half 16, 17, 21, 22, 30: Q3 = 21. IQR = 7, range = 18.
  4. Set 4: 20, 21, 21, 22, 22, 22, 23, 23, 24 (9 values). The median is 22, Q1 = 21 and Q3 = 23. IQR = 2 and range = 4: this data is bunched, and both measures are small.

The range is the largest value minus the smallest. It says how far the whole data stretches, but it depends only on the two most extreme values.

Quartiles cut the ordered data into four parts with about a quarter of the values in each. The median is the middle one, Q2. Split the ordered data at the median into a lower half and an upper half: Q1 is the median of the lower half and Q3 is the median of the upper half. When the number of values is odd, the median itself goes in neither half.

The interquartile range is IQR = Q3 − Q1. It is the spread of the middle half of the data, and it ignores the extreme values at both ends. The five-number summary is the smallest value, Q1, the median, Q3 and the largest value.

Some calculators and spreadsheets use a different rule for quartiles and can give slightly different numbers. This unit always uses the halves method above.

Read what Keith says

The range is the largest value minus the smallest. It depends only on the two most extreme values. Quartiles cut the ordered data into four parts, with about a quarter of the values in each. The median is the middle one. Q one is the median of the lower half and Q three is the median of the upper half. The interquartile range is Q three minus Q one. It is the spread of the middle half, and it ignores the extremes.

Back to the routes: A's range is 2 minutes and B's is 20, with the same mean of 18.

A common mistake: splitting the list before it is in order. For 9, 3, 8, 5 the first half as written is 9 and 3, which would give Q1 = 6. In order the list is 3, 5, 8, 9, so the lower half is 3 and 5 and Q1 is 4. As with the median, order first.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Worked examples
  • Check before you go on
  • Your turn

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 8 revision pack, $19BuyPlan $59