The average (mean) and the median are both measures of the centre of a dataset, and choosing between them changes the answer materially whenever the data is skewed. The mean adds every value and divides by the count; the median sorts the values and takes the middle one.
With the set 2, 3, 4, 5, 100, the mean is 22.8 but the median is 4. The single large value drags the mean far away from what most of the data looks like. Salary data, house prices and response times are all famous for this: published means sit well above what a typical person experiences, because a small number of very large values pull the average up.
Use the mean when the data is roughly symmetric and every value should count fully. Use the median when outliers exist or when the distribution is heavily skewed — which is why government income statistics and property listings report medians. Reporting both, with the count and range, is the honest minimum for any summary.
Paste a list of numbers and instantly get the mean, median and mode. Great for homework, survey results, grade books and quick data analysis.
Frequently Asked Questions
When should I use the median instead of the mean?
When the data has outliers or a long tail. If one value is far from the rest, the mean is pulled toward it and stops describing a typical case; the median is unaffected.
What is the median of an even number of values?
The average of the two middle values. For the sorted set 3, 5, 8, 10, the middle pair is 5 and 8, so the median is 6.5.
Can the mean and median be the same?
Yes, when the distribution is symmetric. A perfectly balanced set like 1, 2, 3, 4, 5 has a mean and median of 3.
What is the mode and when is it useful?
The most frequently occurring value. It is the only meaningful measure for categorical data such as shoe sizes or survey options, where a mean cannot be computed.