Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 8 Maths Investigating Data

Median and Range

20 practice questions 1 video lesson Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The median is the value in the middle position of ordered data, and the range is the highest value minus the lowest. For \(2, 3, 3, 4, 4, 4, 5, 5, 6\) the median is the 5th value, \(4\), and the range is \(6 - 2 = 4\). This Year 8 maths page shows how.

Order the data and count it. Call the number of values \(n\).

An odd number of values: the median is the single middle value, in position \(\dfrac{n + 1}{2}\).

An even number of values: there are two middle values, in positions \(\dfrac{n}{2}\) and \(\dfrac{n}{2} + 1\). The median is halfway between them: add them and divide by \(2\). It need not be a data value.

Ordered displays. A frequency table, a stem-and-leaf plot and a dot plot already hold the values in order. Keep a running total of the frequencies, leaves or dots, then read off the value in the middle position.

Range \(=\) highest value \(-\) lowest value. It is a measure of spread: a small range means consistent data. If the lowest value is negative, subtracting it adds: \(7 - (-4) = 11\). The median is a measure of centre.

Outliers change the range a lot but the median very little.

Working backwards. If the median is given, the value in the middle position must equal it. If the range is given, highest \(=\) lowest \(+\) range, and lowest \(=\) highest \(-\) range.

Middle positions Two ordered lists. Eight values: the 4th and 5th, 9 and 13, are red, and the median is 11. Nine values: the 5th, 4, is red. 357913161924n = 8: median = (9 + 13) ÷ 2 = 11 233444556n = 9: median is the 5th value, 4
Eight values have two middle values (red), so the median is halfway between them. Nine values have one middle value.

Middle positions:

Number of valuesMiddle position(s)
\(9\) (odd)5th
\(10\) (even)5th and 6th
\(14\) (even)7th and 8th
\(23\) (odd)12th
Do not use \((n + 1) \div 2\) for even \(n\) as a position. With \(14\) values it gives \(7.5\); take the 7th and 8th values and halve their sum.
The range is one number. Highest \(52\) kg and lowest \(37\) kg give a range of \(15\) kg, not “\(37\) to \(52\)”.

Finding the median

  1. Order the values (or use an ordered display).
  2. Count them: \(n\).
  3. Odd \(n\): take the value in position \(\dfrac{n + 1}{2}\). Even \(n\): average the values in positions \(\dfrac{n}{2}\) and \(\dfrac{n}{2} + 1\).

Finding the range

  1. Find the highest and the lowest values.
  2. Subtract: highest \(-\) lowest (subtracting a negative adds).
Example 1 — Odd and even
Find the median of
(i) \(2, 3, 3, 4, 4, 4, 5, 5, 6\)
(ii) \(2, 3, 3, 4, 4, 5, 6, 7, 7, 8\)
(iii) Find the range of the data in (i).
Solution

(i) There are \(9\) values, so the 5th is the middle.
(ii) There are \(10\) values, so the 5th and 6th are the middle.

\(\text{Median}\)\(=\)\(4\)
\(\text{Median}\)\(=\)\(\dfrac{4 + 5}{2} = 4.5\)
\(\text{Range}\)\(=\)\(6 - 2 = 4\)
44.54

(i) \(4\)
(ii) \(4.5\)
(iii) \(4\)

Example 2 — Order first
The rainfall, in millimetres, on eight wet days was \(13\), \(5\), \(19\), \(9\), \(24\), \(3\), \(16\), \(7\). Find the median and the range.
Solution

In order: \(3, 5, 7, 9, 13, 16, 19, 24\). With \(n = 8\), use the 4th and 5th values.

\(\text{Median}\)\(=\)\(\dfrac{9 + 13}{2} = 11\)
\(\text{Range}\)\(=\)\(24 - 3 = 21\)
median 11 mm , range 21 mm

Median \(11\) mm, range \(21\) mm.

Example 3 — From a stem-and-leaf plot
The goals scored by \(16\) netball players are shown. Key: \(2 \mid 4\) means \(24\) goals.
(i) Find the median and the range.
(ii) A \(17\)th player joins and scores \(33\). Find the new median.
StemLeaf
12 5 8
20 1 4 6 7 9
30 3 3 5 8
42 6
Solution

Count the leaves: \(3 + 6 + 5 + 2 = 16\), so the middle values are the 8th and 9th: running totals put the 1st to 3rd on stem \(1\) and the 4th to 9th on stem \(2\).

\(\text{8th and 9th}\)\(=\)\(27 \text{ and } 29\)
\(\text{Median}\)\(=\)\(\dfrac{27 + 29}{2} = 28\)
\(\text{Range}\)\(=\)\(46 - 12 = 34\)
283429

(i) Median \(28\) goals, range \(34\) goals.
(ii) With \(17\) values the median is the 9th alone: \(29\) goals.

Example 4 — Removing an outlier
Nine students earned \(\$45\), \(\$60\), \(\$52\), \(\$48\), \(\$55\), \(\$50\), \(\$58\), \(\$46\) and \(\$240\) last weekend.
(i) Find the median and the range.
(ii) Find both again without the \(\$240\).
Solution

In order: \(45, 46, 48, 50, 52, 55, 58, 60, 240\).

\(\text{Median}\)\(=\)\(52\)
\(\text{Range}\)\(=\)\(240 - 45 = 195\)
\(\text{New median}\)\(=\)\(\dfrac{50 + 52}{2} = 51\)
\(\text{New range}\)\(=\)\(60 - 45 = 15\)
52,19551,15

The outlier moves the range by \(180\) but the median by only \(1\).

Example 5 — A frequency table and a negative range
(i) Pets per student: \(0\) pets (\(4\) students), \(1\) (\(6\)), \(2\) (\(5\)), \(3\) (\(5\)). Find the median.
(ii) Overnight temperatures ranged from \(-4^\circ\)C to \(7^\circ\)C. Find the range.
Solution

(i) \(20\) students, so the 10th and 11th values. Running totals: \(0\) pets holds the 1st to 4th, \(1\) pet the 5th to 10th, \(2\) pets the 11th to 15th.

\(\text{Median}\)\(=\)\(\dfrac{1 + 2}{2} = 1.5\)
\(\text{Range}\)\(=\)\(7 - (-4) = 11\)
1.511

(i) \(1.5\) pets
(ii) \(11^\circ\)C

Example 6 — Working backwards
A team’s scores in seven games were \(22\), \(31\), \(m\), \(40\), \(27\), \(35\) and \(44\). The median is \(33\).
(i) Find \(m\).
(ii) One more game is played; the new score is the lowest of the eight, and the range becomes \(29\). Find it.
Solution

(i) The known scores in order are \(22, 27, 31, 35, 40, 44\). With \(7\) scores the median is the 4th; since \(31 < 33 < 35\), \(m\) is the 4th.

\(m\)\(=\)\(33\)
\(\text{Lowest}\)\(=\)\(44 - 29 = 15\)
m =3315

(i) \(m = 33\)
(ii) \(15\). Check: \(44 - 15 = 29\).

Common pitfalls

Not ordering first. The median is the middle of the ordered values, not the middle of the list as written.
Counting rows instead of values. Each leaf or dot is one value; a row of 8 leaves is 8 values.
Forgetting the sign in a range. From \(-4\) to \(7\) the range is \(7 - (-4) = 11\), not \(3\).
Halving the wrong pair. With \(10\) values, the middle pair is the 5th and 6th.

Frequently asked questions

How do you find the median?

Put the values in order and take the middle one. With an even number of values, take the two middle values and halve their sum.

What is the range?

The highest value minus the lowest value: for \(3\), \(8\), \(14\) the range is \(11\).

Can the median be a decimal?

Yes. With an even number of values the median is halfway between two values, such as \(4.5\).

Why use the median instead of the mean?

An outlier pulls the mean a long way but hardly moves the median, so the median can better describe a typical value.

How do I find the median from a frequency table?

Keep a running total of the frequencies until you reach the middle position, then read off that value.