← Statistics Calculator

Mean vs Median: Which Should You Use?

The mean and median both describe the centre of a data set — but they can give very different answers. Choosing the right one depends on the shape of your data and what you want to communicate.

At a Glance

MeanMedian
DefinitionSum ÷ countMiddle value (sorted)
Formulax̄ = Σx / nMiddle of sorted list
Affected by outliersYes — stronglyNo — robust
Best forSymmetric dataSkewed data or outliers
Symbolx̄ (sample) or μ (pop.)Md or M

How Outliers Change Everything

Seven people earn (k€/yr): 28, 30, 31, 32, 33, 35, 200

  • Mean = (28+30+31+32+33+35+200) / 7 = 389 / 7 ≈ 55.6 k€
  • Median = 4th value = 32 k€

The mean is inflated by the single high earner and does not represent anyone in the group. The median of 32 k€ accurately reflects what a typical person earns. This is exactly why official income statistics use the median.

Skewed Distributions

When data is right-skewed (long tail on the right — like income, house prices, or waiting times), the mean is higher than the median because the few large values pull the mean up.

When data is left-skewed (long tail on the left — like age at retirement), the mean is lower than the median.

Quick rule:
mean > median → right-skewed
mean < median → left-skewed
mean ≈ median → roughly symmetric

Which One to Report?

Use the mean when:

  • Data is symmetric with no extreme outliers (exam scores, daily temperatures, product weights)
  • You need to compute further statistics — std dev, confidence intervals, regression
  • Every value genuinely belongs and should count equally

Use the median when:

  • Data is skewed or contains outliers (income, house prices, response times)
  • You want to describe the "typical" individual (50% above, 50% below)
  • Outliers exist but are real, not errors

Best practice: report both when in doubt — the gap between them reveals the skewness of the distribution. The statistics calculator shows you both at once.


Frequently asked questions

Income distributions are strongly right-skewed. A small number of very high earners pull the mean far above what most people actually earn. The median (the income of the person exactly in the middle) is far more representative of the typical experience.
When the distribution is perfectly symmetric. In that case both sides of the distribution mirror each other, so the balance point (mean) and the midpoint (median) coincide.
The median. It depends only on the rank (position) of values, not their magnitude. Adding or changing an extreme value does not move the median as long as it remains on the same side of the middle.
Yes. Reporting only the mean hides skewness; reporting only the median hides the influence of extreme values. Good statistical communication reports both, plus the standard deviation and sample size.
It depends on distribution shape. For symmetric data, compare means. For skewed data (like income), compare medians. If distributions differ in shape, report both and note the difference.


Send your feedback