Mean, median, mode and range: how to find them
How to find the mean, median, mode and range of a data set, which one to use when there are outliers, and worked examples.
Data set: 4, 8, 6, 5, 3, 8, 9. First, sort it: 3, 4, 5, 6, 8, 8, 9.
Mean (average)
Add them all and divide by how many: 3 + 4 + 5 + 6 + 8 + 8 + 9 = 43, and 43 ÷ 7 ≈ 6.14.
Median (middle)
The middle value of the sorted list. With 7 values, the 4th one: 6.
With an even number of values, average the middle two. For 2, 5, 7, 10 the median is (5 + 7) / 2 = 6.
Mode (most common)
The value that appears most often: 8. A data set can have no mode or several.
Range (spread)
Largest minus smallest: 9 − 3 = 6.
Mean or median?
Five people earn $30k, $35k, $40k, $45k and $1,000k. The mean is $230k, which describes nobody. The median, $40k, is typical. When there are outliers (extreme values), the median is the better "typical" value; the mean gets pulled toward the outlier.
Common mistakes
- Finding the median without sorting first.
- Dividing by the wrong count for the mean: count every value, including repeats.
Practice it free
Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.