Mean, Median and Mode: What's the Difference?

How to find the mean, median and mode of a data set, worked examples for each, and when each kind of average is the most useful.

"Average" can mean three different things. The mean adds everything up and divides. The median is the middle value. The mode is the most common value. Each one tells you something different about a set of numbers, and sometimes they give very different answers.

Our average calculator finds all three at once from any list of numbers.

Try the Average Calculator. Mean, median, mode and range of a list

Open the calculator

The mean

Mean = sum of all values ÷ number of values

Test scores: 72, 85, 90, 68, 85

Sum = 400, count = 5, so the mean is 400 ÷ 5 = 80.

The mean uses every value, which makes it a good summary when the data is fairly even. It is also the average most people mean in everyday speech.

The median

Sort the values and take the one in the middle.

Sorted scores: 68, 72, 85, 85, 90

With five values, the third is in the middle, so the median is 85.

With an even number of values, take the mean of the two middle values.

Scores: 68, 72, 85, 90 → median = (72 + 85) ÷ 2 = 78.5

Advertisement

The mode

The mode is the value that appears most often.

Scores: 72, 85, 90, 68, 85 → the mode is 85.

A data set can have:

  • one mode, as above
  • more than one mode, if several values tie, such as 3, 3, 5, 7, 7 (modes 3 and 7)
  • no mode, if every value appears the same number of times

The mode is the only one of the three that also works for non-numbers, such as the most common shoe size sold or the most popular answer in a survey.

When they disagree

The three averages match for perfectly symmetrical data. They split apart when data is skewed by unusually high or low values.

Salaries at a small company (in thousands): 32, 35, 38, 38, 41, 45, 250

Average Value
Mean 479 ÷ 7 = 68.4
Median 38
Mode 38

The single salary of 250 pulls the mean far above what most employees earn. The median and mode describe a typical employee much better. We look at this in more detail in when to use the median instead of the mean.

Which average to use

Use When
Mean Data is fairly balanced, with no extreme values; you need every value to count
Median Data is skewed or has outliers, such as incomes, house prices or wait times
Mode You want the most common value, or the data is categories rather than numbers

Range: a quick look at spread

Averages describe the center of the data, not how spread out it is. The range is the simplest measure of spread: the largest value minus the smallest.

For the test scores above, the range is 90 − 68 = 22.

A more useful measure of spread is the standard deviation. Our standard deviation calculator works it out with every step shown.

Quick summary

  • Mean: add and divide. Sensitive to extreme values.
  • Median: middle value when sorted. Resistant to extreme values.
  • Mode: most frequent value. Works for categories too.