x̄ = Σxᵢ / n
Add up all the values and divide by how many there are. The result is a measure of centre, a number for where the values lie. x₁, x₂, … are the values, n is the count and Σ
means “the sum of”. The bar over x is read “x bar” and is the usual sign for a mean. The formula is a
definition: it fixes what the word mean means, and there is nothing to prove.
What is easy to miss is that every value moves the mean equally, including the ones far from the rest.
One extreme number can shift it more than all the others together. That is why the median
is there too.
Worked examples
Eight values. 2, 4, 4, 4, 5, 5, 7 and 9 add up to 40. There are eight values, so the mean is
40 / 8 = 5.
The same list with an outlier. Add 100. The sum becomes 140 and the count 9, so the mean is
140 / 9 ≈ 15.6. Eight of the nine values are below 10, yet the mean is above all of them. The median
only moves from 4.5 to 5.
Common mistakes
- Dividing by the wrong count. A value of 0 still counts: 0, 4 and 8 have a mean of 4, not 6.
- Using the mean where an outlier drags it. Salaries and house prices are often better described by
the median.
- Averaging two groups’ means by adding them and halving. If the groups differ in size, that is wrong.
You need a weighted mean with the group sizes as weights.
Common questions
Is the mean the same as the average?
Yes. Average is the everyday word, mean the textbook one, and both are the sum divided by the count. The
exact term is arithmetic mean.
When should I use the median instead?
When a few values lie far from the rest. The median depends only on which value is in the middle, so an
outlier barely moves it. When the values are spread evenly, mean and median come out about the same.
Can the mean be a number that is not in the list?
Yes, and it often is. 1, 2, 3, 4 has a mean of 2.5. The mean need not even be a possible value: a family
can have 1.8 children on average.