Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 7 Maths Analysing Data

Median and Range

20 practice questions 2 video lessons Theory + worked examples

The median is the middle value once the data are in order, and the range is the highest value minus the lowest. In NSW Year 7 maths they describe the centre and the spread of a dataset (NESA outcome MA4‑DAT‑C‑02).

You will order data and find the median for an odd or even number of values, calculate the range, even with temperatures below zero, see how an outlier changes the mean and range but hardly moves the median, find a missing value from the range, and compare two datasets. Median house prices and a swimmer’s lap times use these ideas. This subtopic is part of Year 7 Analysing Data.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Median and Range - Video - How to Find the Median Watch
  • Median and Range - Video - Find the range Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The median is the middle value when the data are in order. The range is the highest value minus the lowest value. The median is a measure of centre; the range is a measure of spread. This Year 7 maths page shows both, for odd and even numbers of values, frequency tables and data with outliers.

The median is a measure of centre. Put the values in order and count them. If the number of values \(n\) is odd, the median is the middle value, in position \(\dfrac{n + 1}{2}\). If \(n\) is even, there are two middle values: add them and divide by \(2\).

The range is a measure of spread: range \(=\) highest value \(-\) lowest value. A small range means the values are close together (consistent).

An outlier changes the mean and the range a lot, but hardly moves the median.

Missing value from the range. Turn the formula around: highest \(=\) lowest \(+\) range, and lowest \(=\) highest \(-\) range.

Finding the median of ordered data Top: 3, 5, 6, 8, 9, 13, 14 with the middle value 8 in red. Bottom: 2, 4, 7, 9, 11, 15 with the two middle values 7 and 9 in red. 3568913147 values (odd): the 4th value, median = 8; range = 14 − 3 = 11 247911156 values (even): median = (7 + 9) ÷ 2 = 8; range = 15 − 2 = 13
The ordered data in blue; the middle value(s) in red. With an even number of values, the median (here \(8\)) need not be one of the data values.

The rules:

\[ \text{middle position} = \dfrac{n + 1}{2} \]
middle position =( n +1)/2
\[ \text{range} = \text{highest} - \text{lowest} \]
range = highest − lowest
Order first. The middle of \(9, 2, 5\) as written is \(2\), but in order, \(2, 5, 9\), the median is \(5\).
Range with negatives. Highest \(6^\circ\)C, lowest \(-2^\circ\)C: range \(= 6 - (-2) = 8^\circ\)C, not \(4^\circ\)C.

How to find the median

  1. Order the values and count them.
  2. Odd: the value in position \(\dfrac{n + 1}{2}\).
  3. Even: add the two middle values and divide by \(2\).

How to find the range

  1. Find the highest and lowest values.
  2. Subtract: highest \(-\) lowest.
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\)
Then find the range of the first set.
Solution
\(\dfrac{4 + 5}{2}\)\(=\)\(4.5\)
\(6 - 2\)\(=\)\(4\)
9 scores 5 th =410 scores (4+5)÷2=4.5 range 6−2=4

(i) \(9\) values, so the \(5\)th: median \(4\).
(ii) \(10\) values, so halfway between the \(5\)th and \(6\)th: \(4.5\).
Range \(= 6 - 2 = 4\).

Example 2 — Ordering first
Seven students read these numbers of pages: \(15, 32, 8, 21, 27, 12, 19\). Find the median and the range.
Solution

In order: \(8, 12, 15, 19, 21, 27, 32\). The middle position is \(\dfrac{7 + 1}{2} = 4\).

\(32 - 8\)\(=\)\(24\)
median 4 th value 19 range 32−8=24

Median \(19\) pages, range \(24\) pages.

Example 3 — Negative values
The overnight temperatures in an alpine village on six nights were \(3, -2, 5, -4, 0\) and \(1\) degrees Celsius. Find the median and the range.
Solution

In order: \(-4, -2, 0, 1, 3, 5\). Six values, so the median is halfway between \(0\) and \(1\).

\(\dfrac{0 + 1}{2}\)\(=\)\(0.5\)
\(5 - (-4)\)\(=\)\(9\)
median (0+1)÷2=0.5 range 5−(−4)=9

Median \(0.5^\circ\)C, range \(9^\circ\)C.

Example 4 — Frequency table
Some students recorded how many days they bought lunch at the canteen last week. Find the median and the range.
Days01234
Students46321
Solution

There are \(4 + 6 + 3 + 2 + 1 = 16\) values, so the median is halfway between the \(8\)th and \(9\)th. Values \(1\) to \(4\) are \(0\); values \(5\) to \(10\) are \(1\).

\(4 - 0\)\(=\)\(4\)
16 values ,8 th and 9 th are both 1, median 1 range 4−0=4

Median \(1\) day. Range \(4\) days (use the values, not the frequencies).

Example 5 — An outlier
Five used bikes are for sale for \(\$80\), \(\$95\), \(\$100\), \(\$110\) and \(\$615\). Find the mean and the median. Which better describes a typical price?
Solution
\(80 + 95 + 100 + 110 + 615\)\(=\)\(1000\)
\(1000 \div 5\)\(=\)\(200\)
mean 1000÷5=200 median 3 rd value 100

Mean \(\$200\), median \(\$100\). The \(\$615\) outlier pulls the mean up, so the median better describes a typical price.

Example 6 — Missing value from the range
The numbers \(6, 11, x, 15, 9\) have a range of \(12\). The number \(x\) is the largest. Find \(x\).
Solution
\(x\)\(=\)\(6 + 12\)
\(\)\(=\)\(18\)
lowest 6, highest =6+12=18

The lowest value is \(6\), so \(x = 18\).

Common pitfalls

Not ordering. The median is the middle of the ordered data.
Position or value? \(\dfrac{n + 1}{2}\) gives the position; the median is the value in that position.
Range with frequencies. Use the data values, not the frequencies, for the range.
Negative numbers. Subtracting a negative adds: \(5 - (-4) = 9\).

Frequently asked questions

How do you find the median?

Put the values in order and take the middle value, or the halfway point of the two middle values.

What if there is an even number of values?

Add the two middle values and divide by \(2\). The median of \(4\) and \(5\) is \(4.5\).

How do you find the range?

Highest value minus lowest value.

Which is affected more by an outlier, the mean or the median?

The mean. The median hardly moves.

What does a small range tell you?

The values are close together, so the data are consistent.