← Statistics and probability

The median

The middle value when the data is in order.

Start this lesson

Put the values in order. The median is the middle one. If there’s an even number of values, there are two middles: the median is halfway between them.

Example: 9, 3, 8, 5

  1. 3, 5, 8, 9 — Put them in order
  2. 5 and 8 are in the middle — An even count has two middles
  3. 6.5 — (5 + 8) ÷ 2

Why it works: The median is the middle value, so half the data is below and half above. One huge value cannot drag it far.

Tip: Unlike the mean, the median isn’t pulled much by one extreme value.