Mean, Median, Mode Calculator
Paste or type numbers separated by commas, spaces or new lines.
Need the full working for a harder problem? Try the statistics step-by-step solver.
The formula
Mean = sum of the values ÷ how many values there are. The median is the middle value once the data is sorted.
Worked example
Six deliveries took 2, 3, 3, 4, 5 and 9 days. What is a typical delivery time?
- Sum: 2 + 3 + 3 + 4 + 5 + 9 = 26
- Mean: 26 ÷ 6 = 4.33 days
- Median: the two middle values are 3 and 4, so (3 + 4) ÷ 2 = 3.5 days
- Mode: 3 appears twice
The mean is 4.33 days but the median is 3.5: the single 9-day delivery pulls the mean up.
How it works
Mean
Add all the values and divide by how many there are.
Median
Sort the values and take the middle one. With an even count, average the two middle values.
Mode
The value that appears most often. A data set can have more than one mode, or none.
Range
Subtract the smallest value from the largest.
Good to know
- With an even number of values, the median is the average of the two middle ones.
- A data set can have several modes, or none if every value appears once.
- When the mean and median are far apart, the data is skewed and the median is usually the better summary.
Common questions
When should I use the median instead of the mean?
When the data has outliers or is skewed, such as incomes or house prices. The median is not pulled around by a few extreme values.
What if every value appears once?
Then there is no mode, and the calculator says so.
How do I calculate a weighted average?
Multiply each value by its weight, add the results, and divide by the total weight. Scores of 80 and 90 weighted 30% and 70% give 80 × 0.3 + 90 × 0.7 = 87.
Is the mean the same as the average?
In everyday use, yes. Strictly, average can mean any measure of the centre, and the arithmetic mean is the most common one.
Which average should I use for growth rates?
The geometric mean. For growth factors of 1.10 and 1.30, the average factor is √(1.10 × 1.30) = 1.196, or 19.6% a year, not 20%.