Skip to content
Allin

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

Published 12/8/2025 · 2 min read · Everyday calculators

Lena Hoffmann

Lena HoffmannScience & education writer at Allin

Mathematics · Physics

Checked against 2 sources

View profile
In short

The mean is the arithmetic average — add the values and divide by how many. The median is the middle value once the data is sorted. The mode is the value that appears most often. For 2, 3, 3, 7, 10: mean = 5, median = 3, mode = 3. Use the median instead of the mean when a few extreme values would distort the picture.

Mean, median and mode all describe the 'middle' of your data — but answer different questions. Here's what each means, with examples and when to use which.

The mean (average)

Add every value and divide by how many there are. It uses all the data, which makes it powerful — but also sensitive: one very large or small value pulls it toward itself. For 2, 3, 3, 7, 10 the sum is 25 and there are five values, so the mean is 5.

The median

Sort the data and take the middle value. With an even count, average the two middle numbers. Because it only cares about position, not size, extreme values barely move it — the median of 2, 3, 3, 7, 10 stays at 3 even if the 10 were 1,000.

The mode

The mode is simply the value that occurs most often. A data set can have one mode, several, or none if every value is unique. It is the only one of the three that works for categories — the most common shoe size, favourite colour or product bought.

Which one should you use?

Use the mean for roughly symmetric data with no wild outliers — test scores, temperatures. Reach for the median when the data is skewed, like incomes or house prices, where a few large values would inflate the mean and mislead. Use the mode for categories or when you care about the single most common outcome.

Mean vs median vs mode
MeasureWhat it isBest whenOutlier-proof?
MeanSum ÷ countData is symmetricNo
MedianMiddle of sorted dataSkewed data, incomesYes
ModeMost frequent valueCategories, common choiceYes

Worked with our own calculator

Average (mean) calculator

Given

Numbers
12, 18, 20, 25, 30

Result

Mean
21
Sum
105
Count
5

These figures are produced by the calculator below, not typed in by hand — they are recomputed whenever the tool changes.

Run it on your own figures

Frequently asked questions

What if there are two middle numbers for the median?
Average them: for 2, 4, 6, 8 the two middle values are 4 and 6, so the median is 5.
Can a data set have more than one mode?
Yes — two modes make it bimodal, more make it multimodal, and if every value appears once there is no mode.
Why is the median better than the mean for income?
A few very high earners pull the mean upward, above what most people make. The median reports the person in the middle, which better reflects a typical income.

Articles you may find interesting

All guides

Related tools

Sources

Spotted a mistake in this article?