Mean, Median, Mode, Range Calculator
Enter a list of numbers to get the mean, median, mode and range, with the sorted list and each step written out.
How to use the Mean, Median, Mode, Range Calculator
- Type or paste Numbers (Separate numbers with commas, spaces or new lines).
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
The four measures
| Measure | What it is | How to find it |
|---|---|---|
| Mean | The ordinary average | Add all values and divide by how many there are |
| Median | The middle value | Sort the list; take the middle value, or average the two middle values |
| Mode | The most frequent value | Count how often each value appears |
| Range | The spread from lowest to highest | Largest value minus smallest value |
Worked example
Numbers: 3, 7, 5, 13, 20, 23, 39, 23, 40, 23, 14, 12, 56, 23, 29.
- Sort: 3, 5, 7, 12, 13, 14, 20, 23, 23, 23, 23, 29, 39, 40, 56.
- Mean: the sum is 330 and there are 15 numbers, so 330 ÷ 15 = 22.
- Median: with 15 numbers the middle one is the 8th, which is 23.
- Mode: 23 appears four times, more than any other value, so the mode is 23.
- Range: 56 − 3 = 53.
Even counts and multiple modes
When a list has an even number of values there is no single middle value, so the median is the average of the two middle ones. For 1, 2, 2, 3, 3, 4 the middle values are 2 and 3, giving a median of 2.5.
A list can have more than one mode. In that same list, 2 and 3 both appear twice, so it is bimodal with modes 2 and 3. If every value appears the same number of times, as in 5, 1, 9, there is no mode at all. Some textbooks say “no mode” and others list every value; this calculator follows the first convention.
Which average should you use?
- Mean uses every value, so it is the best choice for fairly symmetric data without extreme values, such as test scores in a class.
- Median ignores how extreme the extremes are. It is better for skewed data such as house prices or salaries, where a few very large values would drag the mean upwards.
- Mode is the only one that works for categories, such as the most common shoe size sold.
- Range is quick but depends on just two values. For a sturdier measure of spread, look at the interquartile range or standard deviation in the statistics calculator.
Frequently asked questions
How do I find the median of an even set of numbers?
Sort the numbers, take the two in the middle and average them. For 4, 8, 10, 20 the median is (8 + 10) ÷ 2 = 9.
Can there be more than one mode?
Yes. If two or more values tie for the highest count, they are all modes. If every value appears equally often, there is no mode.
What is the difference between mean and median?
The mean is the sum divided by the count, while the median is the middle value. Extreme values pull the mean but barely affect the median.
Can the range be negative?
No. It is the largest value minus the smallest, so it is always zero or positive.