Productivity

How to Calculate Mean, Median and Mode in Minutes

Updated November 20265 min read

A teacher reads out the test results and says the class average was 80. A recruiter says the typical salary at a company is 66,000. Both statements sound clear, yet each can hide something important, because “average” is not one number. It can mean the mean, the median or the mode, and the three can tell very different stories about the same data.

This guide shows how to calculate each one by hand in a minute or two, when to choose which, and why a single extreme value can make the mean misleading.

Key takeaways

  • Mean is the share-out value: Add all the numbers and divide by how many there are, which tells you what each value would be if the total were shared equally.
  • Median is the middle value: Sort the numbers and pick the one in the centre, or the mean of the two centre numbers when the count is even.
  • Mode is the most frequent value: It is the only one of the three that also works for categories such as favourite colours or shoe sizes.
  • Outliers pull the mean: One very large or very small number can drag the mean away from the typical value, while the median barely moves.

The three averages at a glance

Measure What it tells you How to find it Best used for
Mean The balance point of the data Sum of values divided by the count Evenly spread numbers such as test scores
Median The middle of the sorted list Middle value, or average of the two middle values Data with outliers such as salaries or house prices
Mode The most common value Count which value appears most often Categories and repeated values such as sizes

Our example data set

Nine students scored the following marks on a quiz: 72, 85, 85, 90, 64, 78, 85, 91 and 70. We will find all three averages from this one list.

Step 1: Calculate the mean

  1. Add every value: 72 + 85 + 85 + 90 + 64 + 78 + 85 + 91 + 70 = 720.
  2. Count the values: There are 9 scores in the list.
  3. Divide the total by the count: 720 / 9 = 80.

The mean is 80. This is what most people mean by “the average”. It uses every value, which is its strength, and also its weakness when one value is unusual.

Step 2: Find the median

  1. Sort the list from smallest to largest: 64, 70, 72, 78, 85, 85, 85, 90, 91.
  2. Count to the middle: With 9 values, the middle one is the 5th, because there are four values on each side.
  3. Read the value: The 5th value is 85.

The median is 85. When the list has an even number of values, there is no single middle value, so take the two centre values and find their mean. For 4, 7, 9 and 12 the centre values are 7 and 9, so the median is (7 + 9) / 2 = 8.

Step 3: Spot the mode

Look at the sorted list and count repeats. The score 85 appears three times, and every other score appears once, so the mode is 85.

  • One mode: Most lists have a single most frequent value, as in our quiz example.
  • Two modes: If two values tie for most frequent, the data is bimodal, and you report both values.
  • No mode: If every value appears the same number of times, for example once each, we say that there is no mode.

For this class, the mean is 80, the median is 85 and the mode is 85. The mean is lower than the median because the two weaker scores of 64 and 70 pull it down a little. That is a normal, mild effect, but a stronger one appears next.

When the mean misleads: the outlier trap

An outlier is a value far from the others. Here are seven monthly salaries at a small company, in whole currency units: 32,000, 34,000, 35,000, 36,000, 38,000, 41,000 and 250,000. The last is the owner.

Worked example: the salary list

The total is 466,000, and 466,000 / 7 gives a mean of about 66,571. The sorted list has seven values, so the median is the 4th value, 36,000.

Six of the seven people earn between 32,000 and 41,000, so 36,000 describes a typical employee far better than 66,571. Only the owner earns more than the mean.

This is why news reports about house prices and income usually quote the median. A few very expensive homes lift the mean, but they do not change the middle of the list much.

Choosing the right average

Situation Best choice Reason
Class test scores with no extreme marks Mean Uses all the data and is easy to compare between classes
Salaries, house prices or any skewed data Median One huge value cannot distort it
Most popular shoe size or favourite product Mode Counts frequency, so it works for non-numeric categories
Data with an outlier you have verified is real Report mean and median The gap between them is itself informative

Check your answers with tools

Calculating by hand teaches you the idea, and a calculator saves time on long lists. Paste your numbers into our free Average Calculator to check the mean, and use the Percentage Calculator when you need to turn a result into a share. If different items count for different amounts in your course, such as homework and exams, you need the Weighted Average Calculator, because a plain mean treats every score equally.

Try it yourself

Work these out on paper first, then check them with the calculator.

  1. Set A (5, 8, 8, 12, 17): The total is 50 and there are 5 values, so the mean is 10, the middle value is 8 so the median is 8, and 8 appears twice so the mode is 8.
  2. Set B (2, 4, 4, 6, 9, 11): The total is 36 over 6 values, so the mean is 6, the two middle values 4 and 6 give a median of 5, and the mode is 4.

Notice that in Set A the mean sits above the median because the large value 17 pulls it upwards, which is the same effect that you saw in the salary list.

Common mistakes to avoid

  • Forgetting to sort before finding the median: The middle of an unsorted list is just a random value, so always sort first and then count to the centre.
  • Counting the list incorrectly: Dividing by the wrong number of values gives a wrong mean, so count carefully, especially when a value repeats.
  • Ignoring units and rounding: Keep several decimal places during the calculation and round only the final answer, or small errors will build up.
  • Reporting the mode for numbers that never repeat: When all values are different there is no useful mode, so choose the mean or the median instead.

If you want to practise these ideas on real spreadsheets, our free Excel course covers the AVERAGE, MEDIAN and MODE functions in detail.

Questions

What is the difference between mean and average?

In everyday language, "average" usually means the mean, which is the sum divided by the count. In statistics, the word average is a general term that can also refer to the median or the mode. When someone quotes an average, it is worth asking which one they used, because the answer can change the story.

Which is better, the mean or the median?

Neither is always better, so choose according to the data. The mean is ideal when values are spread fairly evenly, and it uses every number. The median is safer when the data has a few extreme values, as with salaries or property prices.

Can a data set have more than one mode?

Yes. If two or more values appear equally often and more often than the rest, each of them is a mode, and the data set is called bimodal or multimodal. If all values appear the same number of times, we usually say there is no mode.

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

Sort the numbers, find the two values in the middle and calculate their mean. For the list 3, 5, 8 and 10, the middle values are 5 and 8, and (5 + 8) / 2 = 6.5. The median does not have to be a number that appears in the list.

Pin for How to Calculate Mean, Median and Mode in Minutes

Related Posts