Skip to content
BENIBIX Learn

Mean vs Median

People use the mean and the median as if they were the same average, and they are not. The mean adds up every value and shares it out, so one huge value drags it up. The median is the middle value once they are sorted, and a huge value barely moves it. For pay and house prices, the median shows the typical case.

General🔢 Math & Statistics

Mean (Average)

Add the numbers up and divide by how many there are. Also called the average.

The mean is the sum of a set of numbers divided by how many there are. For 2, 4 and 9, the sum is 15 and there are 3 numbers, so the mean is 5. It is what most people call the average. It is quick to work out and used everywhere, from test scores to model errors. One very big or very small number can pull it a long way.

Example
Jack's model is wrong by 2, 4 and 9 euros on three houses. The mean error is 15 divided by 3, which is 5 euros.
Why it matters
Many AI scores are a mean. A common one is the mean error over all the tests.
Full entry
General🔢 Math & Statistics

Median

The middle value once the numbers are in order. Half sit below and half above.

The median is the middle value once the numbers are put in order. Half the values are below it and half are above. For 3, 5 and 40, the median is 5. With an even count, it sits halfway between the two middle values. One huge value hardly moves it. That makes it a good average for pay and house prices.

Example
Five people earn 30,000, 32,000, 35,000, 38,000 and 900,000 a year. The median is 35,000, which fits most of them. The mean is 207,000, which fits no one.
Why it matters
Pay, rent and house prices are usually given as a median. It shows the typical case when a few values are extreme.
Full entry

In one line

Mean (Average)
Add the numbers up and divide by how many there are. Also called the average.
Median
The middle value once the numbers are in order. Half sit below and half above.