Skip to content

Mean, Median and Mode Calculator

Type or paste a list of numbers to get the mean, median, mode and range, with each one worked out step by step.

Separate them with commas, spaces or new lines; paste a column from a spreadsheet.

Try

Mean (average)

7

For these 10 values the mean is 7, the median 7 and the mode 7.

mean 7312
Median
7
Mode
7 (×3)
Range
9 (3 to 12)

How to find the mean, median and mode

The mean (the everyday “average”) is the total divided by how many values there are. For 7, 3, 9, 4, 7, 12, 5, 7, 6 and 10 the total is 70 and there are 10 values, so the mean is 7.

The median is the middle value once the data are sorted: 3, 4, 5, 6, 7, 7, 7, 9, 10, 12. With an even count there are two middle values (the 5th and 6th, both 7), and the median is halfway between them. With an odd count it is the single middle value. The mode is the value that appears most often, here 7 (three times). Data can have one mode, several, or none when every value appears equally often.

Which to use depends on the data. One extreme value moves the mean but barely touches the median: the mean of 1, 2, 3, 4 and 100 is 22, while the median is 3. That is why house prices and incomes are usually reported as medians. The mode is the only one of the three that works for categories, like the most common shoe size.

mean = Σx ÷ n · median = middle of the sorted values · mode = most frequent value

How the three averages behave

Small data sets that show when the mean, median and mode agree and when they don’t.

Small data sets that show when the mean, median and mode agree and when they don’t.
DataMeanMedianMode
2, 4, 6, 8, 1066none
1, 2, 3, 4, 100223none
3, 3, 3, 3333
5, 1, 4, 2, 3, 63.53.5none
1, 1, 2, 2, 31.821, 2
10, 20, 30, 402525none
0.5, 1.5, 1.5, 2.51.51.51.5
−3, −1, 0, 1, 300none
7, 7, 7, 8, 10025.877
12, 15, 15, 18, 20, 21≈ 16.833316.515

Frequently Asked Questions

What if there are two modes?

Then the data are bimodal and both values are modes: 1, 1, 2, 2, 3 has modes 1 and 2. If every value appears the same number of times, there is no mode.

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

Sort them, take the two middle values and average them. For 3, 7, 8, 10 the middle values are 7 and 8, so the median is 7.5, which need not be in the data.

Is the average the same as the mean?

Usually, yes: “average” in everyday use means the arithmetic mean. Statisticians use average more loosely for any measure of centre, which is why it helps to say mean or median.