Mean, Median, Mode Calculator
Find the mean, median, and mode of any data set instantly, with sum, count, min, max, and step-by-step working — plus when to trust each measure.
What mean, median, and mode measure
All three are "measures of central tendency" — single numbers that summarize where a data set is centered — but each answers a different question.
| Measure | How it's found | What it tells you |
|---|---|---|
| Mean | Sum of all values ÷ count | The arithmetic average; sensitive to every value, including outliers |
| Median | The middle value once sorted (average of the two middle values if the count is even) | The typical middle value; resistant to outliers |
| Mode | The value (or values) that occur most often | The most common value; the only measure that works on repeated or categorical data |
When to use mean vs. median vs. mode
The mean is the most familiar average, but it is easily distorted by extreme values. Take the set 30, 32, 35, 38, 1000: the mean is 227 — higher than every value except the outlier — while the median is 35, right in the middle of where most of the data actually sits. Whenever a data set has extreme outliers (income, home prices, response times), the median is usually the more honest summary.
Use the mean for evenly spread numeric data where every value should count equally. Use the median when outliers or skew could distort the picture. Use the mode when you want the most frequent value, especially for data that repeats or is categorical in nature.
Worked example
For the data set 42, 54, 65, 47, 59, 40, 53 (7 values):
- Sort: 40, 42, 47, 53, 54, 59, 65
- Sum = 360, count = 7
- Mean = 360 ÷ 7 ≈ 51.43
- Median = the 4th value in the sorted list = 53
- Mode = none, because every value appears exactly once
The mean and median are close here (51.43 vs. 53), which is a sign the data set has no strong skew or outliers.
Mode edge cases
- No mode: every value occurs exactly once, as in the worked example above. This is common and not an error — some data sets simply have no repeated value.
- One mode (unimodal): exactly one value repeats more than any other, e.g. in "2, 4, 4, 4, 5, 5, 7, 9" the mode is 4 (it appears three times, more than any other value).
- Multiple modes (bimodal/multimodal): two or more values are tied for the highest frequency, e.g. in "1, 1, 2, 2" both 1 and 2 appear twice, so the set is bimodal with modes 1 and 2.
Where it's used
Teachers use the mean to compute class averages, the median to find a "typical" test score unaffected by a few very low or very high grades, and the mode to see which answer choice students picked most. Analysts use the same three numbers to summarize sales, wait times, and survey results. For a deeper look at how spread out the data is around the mean, see standard deviation; for a fuller statistical summary in one pass, see descriptive statistics.
Frequently asked questions
- Is the mean the same thing as the average?
- Yes. "Mean" and "average" refer to the same calculation — add up every value and divide by how many values there are. In statistics, "mean" is the more precise term because there are other kinds of averages, like the median and the mode.
- What if a data set has no mode?
- A data set has no mode when every value occurs exactly once — there is no single most-common value. This calculator reports "none" in that case; it does not force a mode onto data that does not have one.
- How is the median calculated when there is an even number of values?
- Sort the values, then average the two middle numbers. For example, in "1, 1, 2, 2" the two middle values are 1 and 2, so the median is (1 + 2) ÷ 2 = 1.5.
- Can the mean, median, and mode all be different numbers?
- Yes, and often they are. For skewed data — like incomes or house prices — the mean is pulled toward extreme values while the median stays near the typical value, and the mode may sit somewhere else entirely.
- How does a tie between two values get handled for the mode?
- When two or more values are tied for the highest frequency, the data set is called bimodal (two modes) or multimodal (more than two), and this calculator lists every tied value in ascending order.
- How many numbers can I enter at once?
- You can enter up to 1,000 numbers, each up to 15 digits, separated by spaces, commas, or new lines. That covers everything from a handful of test scores to a full classroom's worth of data.