Mean, median and mode: what is an average?
An average is a single number that tries to describe the center of a set of numbers. People use the word loosely, but math has three main kinds: the mean, the median and the mode. Each one answers a slightly different question.
Say five friends scored 6, 8, 8, 9 and 14 points in a game. Someone might say "the average score was 9." That is the mean. Someone else might say "most people scored 8," which is the mode. Both statements can be true, since they describe the data in different ways.
How do you find the mean?
Add all the values, then divide by the number of values.
Test scores: 78, 85, 92, 85, 70 and 90.
- Add them: 78 + 85 + 92 + 85 + 70 + 90 = 500.
- Count them: there are 6 scores.
- Divide: 500 ÷ 6 = 83.33.
The mean is about 83.3. It uses every value, so it reflects the whole set. That is also its weakness, as you will see with outliers.
How do you find the median?
Sort the numbers from smallest to largest. If the count is odd, the median is the middle value. If the count is even, it is the mean of the two middle values.
Sort the same scores: 70, 78, 85, 85, 90, 92. There are six scores, so take the third and fourth: 85 and 85. Their mean is 85, so the median is 85.
For 3, 4, 5, 5, 6, 8, 9, there are seven values. The fourth one is the middle, so the median is 5. Remember to sort first. A common mistake is to pick the middle of the list as written.
How do you find the mode?
Count how often each value appears. The mode is the value with the highest count.
In 70, 78, 85, 85, 90, 92, the number 85 appears twice and the others appear once, so the mode is 85. A set can have no mode, one mode or several. In 1, 2, 2, 3, 3, 4, both 2 and 3 appear twice, so there are two modes.
The mode is useful for data that is not numeric. If you ask 30 students for their favorite fruit and 12 say apple, apple is the mode. You cannot take the mean of fruits, but you can count them.
What is the range?
The range is the largest value minus the smallest. It shows how spread out the data is, in a very rough way. For the scores above, the range is 92 − 70 = 22.
The range depends only on two values, so one odd value can change it a lot. For a better measure of spread, use the variance or the standard deviation. Our guide on standard deviation shows how, and you can try your own numbers in the standard deviation calculator.
How do outliers change the results?
An outlier is a value far from the rest. The mean moves toward it. The median and mode barely change.
Look at the yearly pay, in thousands of dollars, of six workers: 40, 45, 48, 50, 52 and 500.
- The mean is (40 + 45 + 48 + 50 + 52 + 500) ÷ 6 = 735 ÷ 6 = 122.5.
- The median is the mean of the two middle values: (48 + 50) ÷ 2 = 49.
The mean of 122.5 is higher than five of the six workers earn. It does not describe a typical person. The median of 49 does. Whenever a data set has a few very large or very small values, the median is the fairer summary.
Which average should you use?
Pick the one that answers your question.
- Mean: Use it when the data is fairly balanced and you want every value to count, such as test scores in a class or daily temperatures.
- Median: Use it for skewed data, such as incomes, house prices or waiting times.
- Mode: Use it for categories or when you want the most common choice, such as the most popular shoe size.
Often it helps to report two of them. If the mean and median are close, the data is likely balanced. If they differ a lot, the data is skewed, and the gap tells you which way the outliers lean.
How do you find a missing value from the mean?
Work backwards from the sum. Multiply the mean by the number of values to get the total, then subtract the values you already have.
Four numbers have a mean of 12. Three of them are 10, 14 and 11. What is the fourth?
- The total must be 12 × 4 = 48.
- The known values add to 10 + 14 + 11 = 35.
- The missing value is 48 − 35 = 13.
Check: (10 + 14 + 11 + 13) ÷ 4 = 48 ÷ 4 = 12. This type of question often appears on tests, and the same idea helps you plan grades: it tells you the score you need on your next exam to reach a target average.
What about grouped or weighted data?
When values repeat, multiply each value by its count. A quiz has these scores: 7 appears 3 times, 8 appears 5 times and 10 appears 2 times. The total is 7 × 3 + 8 × 5 + 10 × 2 = 21 + 40 + 20 = 81, over 10 scores. The mean is 81 ÷ 10 = 8.1.
If some values count more than others, you need a weighted mean. That idea is the basis of course grades. Read weighted average grades explained for the full method.
What are common mistakes?
- Forgetting to sort before finding the median. Always sort first.
- Dividing by the wrong count. Count every value, including repeats.
- Ignoring outliers. Check whether one extreme value is pulling the mean.
- Giving a mode of 1 when no value repeats. In that case, say there is no mode.
- Rounding too soon. Keep extra decimals until the final step.
Practice problems
- Find the mean, median and mode of 2, 3, 3, 4 and 10. The mean is 4.4, the median is 3 and the mode is 3.
- Find the median of 14, 9, 21, 7. Sorted, it is 7, 9, 14, 21, so the median is (9 + 14) ÷ 2 = 11.5.
- The mean of five numbers is 16. Four of them are 12, 18, 20 and 15. Find the fifth. The total is 80, and the known sum is 65, so the fifth is 15.
- Which average is best for the prices 120, 125, 130, 135 and 900? The median, 130, because the 900 pulls the mean up to 282.
Use a calculator to check the arithmetic, and explain each answer in a sentence.