Online Calculator

Mean, Median, Mode and Range

Mean, median, mode and range are four ways of describing a set of numbers. Each one answers a different question, so the first step is knowing which question you are asking.

Mean

The mean is the ordinary average. Add all the numbers together, then divide by how many numbers there are.

Example: find the mean of 5, 7, 9, 11 and 13.

Step 1: Add them: 5 + 7 + 9 + 11 + 13 = 45.

Step 2: There are 5 numbers, so divide: 45 ÷ 5 = 9. The mean is 9.

Here is another one. Five test scores are 6, 8, 7, 9 and 10. The total is 6 + 8 + 7 + 9 + 10 = 40. Divide by 5 and the mean score is 8.

Median

The median is the middle number. Sort the numbers first, from smallest to largest, then pick the one in the middle.

Example: find the median of 15, 3, 9, 7 and 12.

Step 1: Sort them: 3, 7, 9, 12, 15.

Step 2: The middle number is 9, so the median is 9.

When the set has an even count of numbers, there is no single middle number. Take the two middle numbers and average them.

Example: find the median of 2, 4, 6 and 8.

Step 1: They are already sorted. The two middle numbers are 4 and 6.

Step 2: Average them: (4 + 6) ÷ 2 = 5. The median is 5.

Another even set: 10, 12, 14 and 20. The middle numbers are 12 and 14, and (12 + 14) ÷ 2 = 13, so the median is 13.

Mode

The mode is the number that appears most often.

Example: in the set 4, 6, 6, 8, 9, the number 6 appears twice and every other number appears once, so the mode is 6.

A set can have two modes. In 2, 3, 3, 5, 5, 7, both 3 and 5 appear twice, so the modes are 3 and 5.

A set can also have no mode. In 1, 2, 3, 4, every number appears once, so there is no mode.

The mode is the only one of the four that works with words as well as numbers. In a survey of favourite colours, the mode is the colour picked most often.

Range

The range is the largest number minus the smallest number. It tells you how spread out the set is.

Example: in the set 3, 7, 9, 12, 15, the largest number is 15 and the smallest is 3, so the range is 15 − 3 = 12.

The range is a quick measure, but it only looks at the two ends. Two sets can have the same range and look very different in the middle, so use it with the mean or the median, not on its own.

One worked set covering all four

Take the set 5, 7, 9, 9, 10.

Mean: add them: 5 + 7 + 9 + 9 + 10 = 40. Divide by 5: 40 ÷ 5 = 8.

Median: they are already sorted, and the middle number is 9.

Mode: 9 appears twice, more than any other number, so the mode is 9.

Range: 10 − 5 = 5.

MeasureValue
Mean8
Median9
Mode9
Range5

Mean or median: which one to use

Most of the time the mean and the median are close together. They part company when one or two numbers are far from the rest.

Take five test scores: 40, 45, 50, 55 and 100. The mean is (40 + 45 + 50 + 55 + 100) ÷ 5 = 290 ÷ 5 = 58. The median is 50. One very high score has pulled the mean up, so the median, 50, describes the typical score better.

Use the median when a set has an outlier, a number far from the rest. Salaries and house prices are the usual examples, because a few very high values pull the mean up. Use the mean when the numbers are close together and every value should count the same.

You can try this yourself with the statistics tool on the homepage of this site, which works out the mean, median, mode and range for any set you type in.

Common mistakes

Forgetting to sort before finding the median. The median is the middle value of the sorted set. In 15, 3, 12, 7, 9, the middle of the unsorted list is 12, but the median is 9.

Dividing by the wrong count. When you find a mean, divide by how many numbers there are, not by the largest number. In 5, 7, 9, 11, 13, divide by 5, not by 13.

Saying a set has no mode when it has two. If two numbers tie for most frequent, both are modes.

Mixing up range and median. The range is largest minus smallest. It is not a middle value and it does not describe a typical value.

Related guides

Previous: GCF and LCM: How to Find Them · Next: Exponents and Powers · All guides in this category