Skip to content

Mean, median and mode: three ways to find the middle of data

The mean is the sum of the values divided by how many there are. The median is the middle value once the data is in order, or the average of the two middle values when there is an even count. The mode is the value that appears most often. The range, the largest value minus the smallest, measures spread rather than centre.

Three kinds of average

When people say average, they usually mean the mean. Mathematicians call the mean, median and mode measures of centre: each is a single number that sums up where a data set sits. They answer slightly different questions, which is why there are three.

The mean asks: if everything were shared out equally, how much would each get? The median asks: what value sits in the middle, with half the data below and half above? The mode asks: which value is most common?

How to find each one

Start every problem by writing the data in order from smallest to largest. It makes the median, mode and range easy to read, and counting the sorted list is a check that no value was dropped.

Worked example: an odd number of values

Here the mean is not a whole number and is not one of the data values. That is normal: the mean is a balance point, not a value someone had to score.

ProblemFind the mean, median, mode and range of 4,8,6,5,3,8,9.

  1. 3,4,5,6,8,8,9

    Sort the data. There are 7 values.

  2. mean=437≈6.14

    The sum is 3 + 4 + 5 + 6 + 8 + 8 + 9 = 43; divide by 7.

  3. median=6

    With 7 values, the 4th is the middle: three values below it, three above.

  4. mode=8

    8 appears twice; every other value appears once.

  5. range=9−3=6

    Largest minus smallest. The answer lists the four in the order asked: mean (rounded), median, mode, range.

Answer6.14,6,8,6

Worked example: an even number of values

With an even count there is no single middle value, so the median falls halfway between the two middle ones. It does not have to be in the data set.

ProblemTest scores: 72,85,90,64,88,95. Find the median and mean.

  1. 64,72,85,88,90,95

    Sort the scores. There are 6, so the 3rd and 4th are in the middle.

  2. median=85+882=86.5

    Average the two middle values.

  3. 64+72+85+88+90+95=494

    Add all six scores for the mean.

  4. mean=4946≈82.33

    Divide by 6. The low score of 64 pulls the mean below the median.

Answermedian=86.5,mean≈82.33

Worked example: finding a missing value

Because the mean is the total divided by the count, you can work backwards: mean times count gives the total the values must reach.

ProblemFour quiz scores are 76,82,90,71. What fifth score makes the mean 80?

  1. 80×5=400

    For a mean of 80 over 5 quizzes, the scores must total 400.

  2. 76+82+90+71=319

    Add the four known scores.

  3. 400−319=81

    The fifth score makes up the difference.

  4. 319+815=4005=80

    Check: the mean of all five is 80.

Answer81

Which average should you use?

The mean uses every value, which is its strength and its weakness. One extreme value, called an outlier, can drag it a long way. Take five salaries in thousands of dollars: 30, 32, 35, 38 and 250. The mean is 385 ÷ 5 = 77, which is more than double what four of the five people earn. The median, 35, describes a typical salary far better.

So use the median when the data is skewed or has outliers, as with house prices or incomes. Use the mean when the data is fairly symmetric with no extreme values, as with heights in a class or repeated measurements in an experiment. Use the mode for categories that cannot be added or ordered, such as the most popular shoe size in a shop or favourite colour in a survey.

Comparing the mean and median also tells you about the shape of the data. If the mean is well above the median, a few large values are pulling it up. If it is well below, a few small values are pulling it down.

Common mistakes

These errors account for most wrong answers:

Where it fits and how to check your work

In Common Core math, grade 6 students learn that a measure of centre summarises a data set, calculate the mean and median, and choose between them based on the shape of the data. Grade 7 compares two data sets by their centres and spreads, and high school statistics adds standard deviation and the interquartile range.

Check a mean by asking whether it sits between the smallest and largest values; if it does not, something went wrong. Check a median by counting: the same number of values should sit on each side of it. A good habit is to sketch a quick dot plot, since the shape shows you whether the mean or the median is the fairer summary.

Questions

Is the average the same as the mean?

In everyday speech, yes: average usually means the mean. In math, average can refer to any measure of centre, so questions often say mean or median to be precise.

How do you find the median with an even number of values?

Sort the values and take the two in the middle. Add them and divide by 2. For 2, 4, 7, 10 the median is (4 + 7) ÷ 2 = 5.5.

Can a data set have more than one mode?

Yes. If two values tie for most frequent, both are modes and the data is called bimodal. If every value appears the same number of times, there is no mode.

Which is better, the mean or the median?

The median is better when there are outliers or the data is skewed, because extreme values barely move it. The mean is better for symmetric data, because it uses every value.

What does the range tell you?

The range shows how spread out the data is: the gap between the smallest and largest values. Because it uses only those two values, a single outlier can make it large.