Mean vs MedianWhat's the difference?

The mean is the sum of all values divided by their count; the median is the middle value when sorted. The median resists outliers, the mean does not.

Updated 30 Nov 2026AI-assisted summary of established factsReport a mistake
Statistical measures

Mean

Symmetrical data without extreme outliers

Statistical measures

Median

Skewed data or data with outliers

In short

The mean is the sum of all values divided by their count; the median is the middle value when sorted. The median resists outliers, the mean does not.

The difference in 30 seconds

Different ways of finding the average

The mean adds all values and divides by the count, while the median is the middle value once the data is put in order.

Median

Sensitivity to outliers

One extreme value can pull the mean sharply up or down, whereas the median barely moves.

Mean

Use of all the data

The mean reflects every value in the set, while the median depends mainly on the middle position and ignores the rest.

Median

Best fit for skewed data

For skewed figures such as house prices or salaries, the median usually describes a typical case better than the mean.

Side by side

MeanMedian
DefinitionSum of values divided by number of valuesMiddle value of ordered data (or average of the two middle values)
Example for 1, 2, 3, 4, 100223
Affected by outliersYes, stronglyLittle or not at all
Uses all valuesYesNo, relies on position
Works with ordinal dataGenerally noYes
Best for distribution shapeSymmetricalSkewed
Ease of calculationSimple with a calculatorSimple but needs sorting first
Typical real-world useExam averages, average temperaturesMedian household income, house prices

Key traits

Mean

  • Uses every value in the dataset
  • Easy to calculate and widely understood
  • Works well with further statistical analysis
  • Ideal for evenly spread, symmetrical data
  • Heavily distorted by outliers and extreme values
  • Can be misleading for skewed data such as incomes

Median

  • Not affected by extreme values
  • Better represents a typical value in skewed data
  • Works with ordinal data, such as rankings
  • Easy to find once data is ordered
  • Ignores the actual size of most values
  • Less useful for further mathematical calculations

Questions people ask

What is the main difference between mean and median?

The mean is the total of all values divided by how many there are, while the median is the middle value when the data is arranged in order.

When should you use the median instead of the mean?

Use the median when your data is skewed or contains outliers, such as incomes or house prices, because extreme values will not distort it.

Can the mean and median be the same?

Yes, in perfectly symmetrical distributions such as a normal distribution the mean and median are equal or very close.

Why is the mean higher than the median for incomes?

A small number of very high earners pull the mean upwards, while the median stays at the middle of the distribution, so the mean is typically higher.

People also compare

Compare something else