CleverSphere

Median with an Even Number of Values

The median is the middle value of the sorted list; for an even count, take the mean of the two middle values.

Worked example

A tutorial group scored these points. Work out the mean and the median.

17; 17; 20; 8; 6; 8; 17; 20

Worked solution

  1. 1x̄ = Σxᵢ / n = 113 / 8 = 14.13
  2. 2Sorted: 6; 8; 8; 17; 17; 17; 20; 20
  3. 3n = 8 is even: median = mean of the two middle values (17 + 17) / 2 = 17.0

Typical mistake: Reading the median from the unsorted list. Sort first!

Try it yourself with new numbers

Your turn

Three problems of exactly this type with new numbers: first one to tap, then two to work out. Comma or point; fractions like 1/6 work too.

  1. 1 · Mean & median
  2. 2
  3. 3

A tutorial group scored these points. Work out the mean and the median.

Data (n = 10)

7131072851641

Mean x̄

Formulas for this topic
  • Mean: x̄ = Σxᵢ / n
  • Median: sort the values; for odd n the middle value, for even n the mean of the two middle values.
  • Mode: the most frequent value.
  • Range: maximum − minimum.

Typical mistake: Reading the median from the unsorted list. Sort first!

Frequently asked questions

What is the typical mistake in "Mean and median (odd and even n)"?

Reading the median from the unsorted list. Sort first!

When is the median better than the mean?

With outliers or skewed data such as income: one very large value shifts the mean a lot but the median hardly at all.