Mean, median, and mode all claim to describe the "average" or "center" of a dataset, but they can produce very different numbers from the same data — and picking the right one depends entirely on whether your data has outliers that could distort the picture.
Mean is the sum of all values divided by the count — the number most people mean by "average." Median is the middle value when the data is sorted — completely unaffected by how extreme the highest or lowest values are. Mode is simply the value that appears most often, useful for categorical or repeating data where "center" isn't really a numeric concept at all.
How Each Is Calculated
Mean = Sum of all values ÷ Count of values
Median = the middle value in a sorted list (or the average of the two middle values, if the count is even)
Mode = the value(s) that appear most frequently in the dataset
Range (often calculated alongside these) = Highest value − Lowest value
A Worked Example
For the dataset 4, 8, 15, 16, 23, 42: Mean = (4+8+15+16+23+42) ÷ 6 = 108 ÷ 6 = 18. Median (sorted, even count, average the two middle values 15 and 16) = 15.5. No value repeats, so there's no mode. Now replace 42 with 400 (an extreme outlier): the mean jumps to 77.7 — wildly skewed — but the median stays at 15.5, completely unaffected, since it only depends on position, not magnitude.
Common Mistakes to Avoid
- Using mean on data with significant outliers: a single extreme value can distort the mean dramatically, while median remains stable — median is often the better "typical value" measure for skewed data like home prices or incomes.
- Assuming every dataset has a mode: if every value appears exactly once, there's no meaningful mode at all.
- Forgetting to sort data before finding the median: the median calculation only works correctly on properly sorted data.
- Reporting mean when median would tell a more honest story: this is especially relevant for financial and salary data, which is commonly right-skewed by a small number of very high values.
Bottom Line
The right "average" depends on your data's shape, especially whether outliers are present. Use an Average Calculator to instantly calculate mean, median, mode, and range for any dataset and compare what each one reveals.