All courses › Foundations of Mathematics › Mean and median

Mean and median

23348 mean = 4 (if shared equally) median = 3

The mean and the median are two ways of saying what is "typical" in a set of numbers. The mean is what everyone would get if everything were shared equally: add up and divide by how many there are. The median is the number in the middle when you line the numbers up from smallest to largest. One person with a lot pulls the mean up – the median barely cares.

Try it yourself

Mean and median: pocket money among friends

xˉ=sum of the numbersnumber of numbers=1n∑i=1nxi\bar x = \frac{\text{sum of the numbers}}{\text{number of numbers}} = \frac{1}{n}\sum_{i=1}^{n} x_imean
median=the middle number in sorted order\text{median} = \text{the middle number in sorted order}with an even count: the average of the two middle ones

Symbols

xˉ\bar xmean (read: "x bar")
nnnumber of values

Example

Five friends have 2, 3, 3, 4 and 8 hundred-kroner notes.

Mean: (2+3+3+4+8)/5=20/5=4(2 + 3 + 3 + 4 + 8)/5 = 20/5 = 4.

Median: sorted it is 2, 3, 3, 4, 8 – the middle one is 33.

The friend with 8 pulls the mean up. The median shows better what most of them have.

If there are a few very large (or small) numbers, the median gives a more honest picture of what is typical. Salaries and house prices are therefore often given as the median.
Practise statistics and probability for free →

← Differentiation rules · Standard deviation →

Part of Foundations of Mathematics: Statistics and probability.