Chapter 13 · Statistics and data displays

Mean, Median and Mode: Measures of Center

See how one number can summarize a whole data set. Then learn to find the mean, the median and the mode step by step.

16 min read

How can you describe a whole list of numbers with just one number? This lesson shows you three ways.

A data set here is a group of numbers collected to answer a question. Each number in the set is one observation. This lesson also calls these numbers the values of the data set.

Suppose you ask 5 classmates how many pets they have. Their answers are 1,2,2,3,21, 2, 2, 3, 2. This data set has 5 observations. Only three different numbers appear (11, 22 and 33), but each of the 5 answers is its own observation. So the number of observations is the number of entries in the list, repeats included.

Now look at where the answers sit. Three of them are 22, and the other two are just 11 away from 22. If you had to describe this group with one number, 22 would be a good choice: a typical classmate in this group has about 22 pets. A single number that describes a whole data set in this way is a measure of center.

Key concept

One number that summarizes the whole data set

A measure of center is a single number that summarizes all the values in a data set of numbers. It describes a typical or central value, so you can talk about the whole set at once.

This lesson uses three measures of center:

  • The mean is the fair-share value: the amount each observation would have if you shared the total equally.
  • The median is the middle of the list when the values are in order.
  • The mode is the value that appears most often. Some data sets have more than one mode, or none.

You find each one in a different way, so the three can be different numbers for the same data set.

Start with the mean. Think of it as a fair share.

Four friends have 33, 55, 66 and 1010 stickers. They put all the stickers in one pile:

3+5+6+10=8+6+10=14+10=243 + 5 + 6 + 10 = 8 + 6 + 10 = 14 + 10 = 24 stickers.

Then they share the pile equally among the 4 friends:

24÷4=624 \div 4 = 6 stickers each.

The mean of 3,5,6,103, 5, 6, 10 is 66. You can reach the same fair share by moving stickers: the friend with 1010 gives 33 to the friend with 33 and 11 to the friend with 55. Then all four friends have 66.

Sharing does not change the total. Before sharing, the total was 2424. After sharing, it is 6+6+6+6=246 + 6 + 6 + 6 = 24. So the mean is the one value that could replace every observation and keep the total the same.

The fair-share idea gives you a rule for any data set of numbers: add all the values, then divide the sum by the number of values.

mean=sum of all the valuesnumber of values\text{mean} = \dfrac{\text{sum of all the values}}{\text{number of values}}

Two conditions make the rule work:

  • The sum must include every value. Add a repeated value each time it appears.
  • The number of values must count every observation. Count a repeated value each time it appears, and count a value of 00 as one value too.

You can check a mean with multiplication. Multiplying by the number of values undoes dividing by it, so the mean times the number of values must equal the sum of the values. Use the exact mean for this check, not a rounded one.

Worked example

Find the mean

Five students timed how long they took to solve a puzzle. Their times, in minutes, were 7,9,9,12,137, 9, 9, 12, 13. What is the mean time?

  1. Count the values, because you will divide by this number. The list has 5 times. The time 9 appears twice, and each 9 is its own observation, so count both.

    number of values=5\text{number of values} = 5
  2. Add all the values, because the mean shares out the whole total. Add both 9s. Work from left to right, one addition at a time.

    7+9+9+12+13=16+9+12+13=25+12+13=37+13=507 + 9 + 9 + 12 + 13 = 16 + 9 + 12 + 13 = 25 + 12 + 13 = 37 + 13 = 50
  3. Divide the sum by the number of values. This shares the total of 50 minutes equally among the 5 observations.

    50÷5=1050 \div 5 = 10
  4. Check with multiplication. Multiplying by 5 undoes dividing by 5, so the mean times 5 must give back the sum of 50. It does.

    10×5=5010 \times 5 = 50

Answer

The mean time is 1010 minutes. No student took exactly 1010 minutes, and that is fine: the mean does not have to be one of the values in the data set.

Next is the median. The median is the middle of a data set after you write the values in order from least to greatest. Keep every repeated value in the ordered list, because each one is an observation.

The median marks the middle of the ordered list: the same number of values come before the middle as after it. How you find the median depends on how many values there are:

  • If the number of values is odd, one value sits exactly in the middle. That value is the median. The ordered list 2,4,92, 4, 9 has median 44, with one value on each side.
  • If the number of values is even, two values share the middle. The median is the number halfway between them. To find it, take the mean of those two values: add them and divide by 22. The ordered list 2,4,6,92, 4, 6, 9 has middle values 44 and 66, so its median is (4+6)÷2=10÷2=5(4 + 6) \div 2 = 10 \div 2 = 5.

Worked example

Find the median when the list is not in order

Find the median of the data set 12,5,9,20,7,9,1512, 5, 9, 20, 7, 9, 15.

  1. Count the values so you can check your ordered list later. The list has 7 values. The value 9 appears twice, so count it twice.

  2. Write the values in order from least to greatest, because the median is the middle of the ordered list. Keep both 9s. The ordered list still has 7 values, so no value is missing.

    5,7,9,9,12,15,205, 7, 9, 9, 12, 15, 20
  3. Find the middle. There are 7 values, an odd number, so one value sits exactly in the middle. It is the 4th value: 3 values come before it and 3 come after it, and 3 + 1 + 3 = 7.

    5,7,9,9,12,15,205, 7, 9, \boxed{9}, 12, 15, 20

Answer

The median of the data set is 99.

The third measure is the mode. The mode is the value that appears most often. To find it, count how many times each value appears.

  • If one value appears more times than every other value, that value is the mode. In 3,5,5,83, 5, 5, 8, the mode is 55.
  • If two or more values tie for the most appearances, and each of them appears more than once, each of them is a mode. In 1,1,4,6,6,91, 1, 4, 6, 6, 9, the modes are 11 and 66.
  • If every value appears just once, no value appears most often, so the data set has no mode. The set 2,4,72, 4, 7 has no mode.

The mode is the value itself, not the number of times it appears. In 3,5,5,83, 5, 5, 8, the value 55 appears 22 times. The mode is 55, not 22.

For a longer list, a count table keeps your counting organized. A soccer team played 8 games. Its goals in those games were 2,0,1,5,1,4,1,22, 0, 1, 5, 1, 4, 1, 2.

In the table below, each row is one exact number of goals, from 00 to 55. The first column gives that value. The second column counts how many of the 8 games had that value.

Goals scored by a soccer team in 8 games
Goals in a game (value)Number of games with that value (count)
00
11
11
33
22
22
33
00
44
11
55
11

The highest count is 33, in the row for 11 goal. So the mode is 11 goal, the value in that row, not the count 33. The team scored exactly 11 goal more often than any other number of goals.

The row for 33 goals has a count of 00. No game had exactly 33 goals, so that row adds no observations.

To find the number of observations, add the counts: 1+3+2+0+1+1=81 + 3 + 2 + 0 + 1 + 1 = 8. That matches the 8 games. The number of observations is the sum of the counts. It is not the number of rows (66), and it is not the number of rows with a count above zero (55).

Worked example

Find the mean, median and mode of one data set

A soccer team's goals in 8 games were 2,0,1,5,1,4,1,22, 0, 1, 5, 1, 4, 1, 2. Find the mean, the median and the mode of the number of goals in a game.

  1. Write the values in order from least to greatest. The median needs the order, and the order also puts equal values side by side for the mode. The game with 0 goals is still an observation, so the ordered list keeps all 8 values.

    0,1,1,1,2,2,4,50, 1, 1, 1, 2, 2, 4, 5
  2. Add all 8 values to find the total number of goals. Reordering and grouping the values do not change the sum. Adding 0 does not change the sum either, but the 0 still counts as one of the 8 values.

    (0+1+1+1)+(2+2)+(4+5)=3+4+9=7+9=16(0 + 1 + 1 + 1) + (2 + 2) + (4 + 5) = 3 + 4 + 9 = 7 + 9 = 16
  3. Divide the sum by the number of values. This shares the 16 goals equally among the 8 games. Check: 2 times 8 is 16, which is the sum.

    mean=16÷8=2\text{mean} = 16 \div 8 = 2
  4. Find the middle of the ordered list. There are 8 values, an even number, so two values share the middle: the 4th and the 5th. Three values come before them and three come after them. The 4th value is 1 and the 5th value is 2.

    0,1,1,1,2,2,4,50, 1, 1, \boxed{1}, \boxed{2}, 2, 4, 5
  5. The median is the number halfway between the two middle values, so take their mean: add them and divide by 2.

    median=(1+2)÷2=3÷2=1.5\text{median} = (1 + 2) \div 2 = 3 \div 2 = 1.5
  6. Count how many times each value appears. In the ordered list, equal values sit side by side: 1 appears 3 times, 2 appears 2 times, and 0, 4 and 5 appear once each. These match the counts in the table above. One value has the highest count, so it is the only mode.

    mode=1\text{mode} = 1

Answer

For the number of goals in a game, the mean is 22 goals, the median is 1.51.5 goals, and the mode is 11 goal. The three measures differ because each one summarizes the same 8 games in a different way.

Look at what each of those numbers tells you about the team.

  • The mean, 22, is the fair share. If you spread the team's 1616 goals evenly over the 8 games, each game would have 22 goals.
  • The median, 1.51.5, marks the middle. Four games had fewer than 1.51.5 goals and four games had more.
  • The mode, 11, is the most common result. More games had 11 goal than any other number of goals.

All three describe the center of the same data, each in its own way.

Takeaway: A measure of center is one number that summarizes a whole data set of numbers, and you now know three of them. The mean is the fair share: the sum of all the values divided by the number of values. The median is the middle of the ordered list, or the number halfway between the two middle values when the number of values is even. The mode is the value that appears most often, and a data set can have one mode, more than one mode or no mode. For all three, count every observation, including repeats and zeros.

Next, you will use the mean to find a missing value, and you will find measures of center from data displays.