Mean, median and mode calculator

Type or paste your numbers, separated by commas, spaces or new lines.

Mean

-

Median

-

Mode

-

Range

-

The working

How each one is worked out

Example

For 7, 2, 9, 4, 2, 5: sorted it's 2, 2, 4, 5, 7, 9. The mean is 29 ÷ 6 = 4.8333, the median is (4 + 5) ÷ 2 = 4.5, the mode is 2 and the range is 9 − 2 = 7.

Need to know how spread out the numbers are? Try the standard deviation calculator.

Questions people ask

What is the difference between mean, median and mode?

The mean is the usual average: add the numbers and divide by how many there are. The median is the middle number once they are sorted. The mode is the number that appears most often.

How do I find the median of an even number of values?

Sort them and take the mean of the two in the middle. For 2, 2, 4, 5, 7, 9 the middle two are 4 and 5, so the median is 4.5.

Can there be more than one mode, or none?

Yes to both. If two values tie for most frequent, both are modes. If every value appears only once, there is no mode.

Which average should I use?

The median is better when a few values are very large or very small (like house prices), because they pull the mean but not the median. The mode suits categories, like the most common shoe size.

Also in the notebook