What is the difference between mean and median?
The mean adds every value and divides by the count. The median is the middle value once the data is sorted. Both describe the centre of a data set, but they react differently to extreme values.
A house price example
Five houses in a street sell for 180,000, 190,000, 200,000, 210,000 and 1,500,000. The mean price is 2,280,000 ÷ 5 = 456,000. The median price is 200,000. The mean is pulled far upward by one expensive property, so the median describes a typical sale more honestly.
| Mean | Median | |
|---|---|---|
| Uses every value | Yes | No, only the middle |
| Affected by outliers | Strongly | Very little |
| Best for | Symmetric data | Skewed data |
When should you use the mean?
Use the mean when the data is roughly symmetric and has no extreme values, such as heights in a class or repeated measurements of the same quantity. It also feeds into other statistics, such as variance.
When should you use the median?
Use the median for incomes, house prices, waiting times and any data with a long tail. If the mean and median are very different, your data is probably skewed.
How can you compare them quickly?
Paste your numbers into the average calculator. It shows the mean and median side by side. For the middle value alone, use the median calculator.
Related guides
- What Is an Average? Mean, Median and Mode Explained
- How to Calculate an Average: Step-by-Step
- Weighted Average Explained With Examples