LightMySky

Averages from frequency tables

Find the mean, median, mode and range from a frequency table by working with the counts instead of listing every value.

Start learning thisNo account needed. Progress saves in this browser.

What a learner can do afterwards

  • Multiply value by frequency and divide by the total to get the mean
  • Find the median position from the running total of frequencies
  • Read the mode straight off the largest frequency

1 · Read

Sixteen plot holders, twelve volunteers, thirty-two park members. The 60 are chosen and the forms are back. One question asked how many times each member visited last week, and the answers ran from 0 to 5. The office has already counted them, so nobody has to copy out 60 numbers. In a frequency table the value column holds the possible answers and the frequency column holds how many members gave each one. Here it reads 0 with 9 members, 1 with 12, 2 with 17, 3 with 12, 4 with 6 and 5 with 4.

091122173124654
Sixty members, six answers. The bar heights are the frequencies, and they add up to 60.

The mean is everything added up, divided by how many things there are. Write the value as x and the frequency as f. A row holding x = 3 with f = 12 is twelve members who each visited three times, so it contributes 3 × 12 = 36 visits. Do that for every row, then add: 0 × 9 + 1 × 12 + 2 × 17 + 3 × 12 + 4 × 6 + 5 × 4 = 126 visits. Divide by how many members: 126 / 60 = 2.1 visits each. Nobody visited 2.1 times. A mean does not have to be an answer anyone gave.

Order the values and add frequencies to locate positions. With odd count n, take the value at (n + 1) / 2. With even n, (n + 1) / 2 is a half position between n / 2 and n / 2 + 1: locate both and average their values, not their positions. Here (60 + 1) / 2 = 30.5 lies between 30 and 31. Running totals 9, 21, 38 put both in the 2-visits row, so the median is 2. The middle row need not hold the middle observations.

0 visits: up to 91 visit: up to 212 visits: up to 38
The running total says where each answer stops. Positions 30 and 31 are both inside the block that ends at 38.

Find the largest frequency, 17, and read its value, 2 visits: that is the mode. The frequency counts members; the value names their answer. They can happen to be the same number, but play different roles. For the range, use only values with positive frequency: largest minus smallest. Here 5 - 0 = 5. This measures the gap between the smallest and largest observed answers.

Try it together

You can reverse the mean calculation to find a total. A club records how many matches each member played, and reports a mean of 4 across 45 members. Multiply back: the total of all their matches is 4 × 45 = 180. A missing frequency can be worked out backwards too. If the frequencies read 6, 9, then a gap, then 5, and the total is 28, the gap must be 28 - 20 = 8, because the frequencies always add to how many people answered.

Mean times total frequency gives the total of the values, and the frequencies add to the number of people.

For the median, locate the middle value or pair using running totals. Average the pair's values. Mean uses value × frequency; mode and range use observed values.

Original lesson, questions and flashcards written for this learning dataset.

Practice questions and the readings "Two columns, two jobs" and "Finding the middle person" were written for this dataset. The rewritten readings were written for this dataset. Adapted summaries: Khan Academy, "Mean and Median". The two videos are published by Khan Academy. Source licenses are not specified.

2 · Watch

3 · Play

The 60 you shared out between the three groups have sent their forms back, counted into six rows. Visits last week: 0 from 9 members, 1 from 12, 2 from 17, 3 from 12, 4 from 6, 5 from 4. Leo wants the mean and he has it already: add the visit numbers 0, 1, 2, 3, 4 and 5, which makes 15, then divide by the six rows. Mean 2.5, he says.

Leo's calculation does not average the members' visits. What has he averaged?

091122173124654
  • The six answers on offer, as if one member gave each one (The answer)

    Yes. His sum treats the row for 5 visits, which four members gave, the same as the row for 2 visits, which seventeen gave. The frequencies are the members, and he never used them.

  • Nothing, 2.5 is the correct mean

    Check the weighted total: 0 × 9 + 1 × 12 + 2 × 17 + 3 × 12 + 4 × 6 + 5 × 4 = 126 visits. Across 60 members, 126 / 60 = 2.1, not 2.5.

  • He divided by six when he should have divided by five

    The six is not the problem, dividing by rows at all is. A mean divides by how many members answered, which is 60.

Six rows, sixty members. The frequency column is where the members are.

Start again from what the mean is: every visit added up, shared between every member. Take one row on its own, the members who visited three times.

Twelve members each visited 3 times. How many visits is that row worth?

  • 15, from 12 + 3

    Adding the member count to the visit count mixes different units. Twelve members going three times each is twelve lots of 3.

  • 36, from 3 × 12 (The answer)

    Yes. Twelve members at three visits each means adding 3 twelve times. That is 3 × 12 = 36 visits.

  • 3, because the row is about 3 visits

    That would be right if one member were in the row. Twelve of them each made the trip three times.

Every row works the same way: value times frequency. Then all six rows get added together.

Mia wants that row on the board before the rest go up. The 3 visits row holds 12 members, and each of them came three times.

Tap out the twelve members of that row, one at a time.

Twelve members, three visits each, 36 visits from this row alone. Across all six rows the total is 0 + 12 + 34 + 36 + 24 + 20 = 126 visits, and 126 / 60 = 2.1 visits each.

The mean is 2.1, and nobody visited 2.1 times. Mia wants the median as well: the middle answer once all 60 members are lined up in order. Position (60 + 1) / 2 = 30.5, so the 30th and 31st. The running totals down the frequency column are 9, then 21, then 38.

Which answer do the 30th and 31st members belong to?

0 visits: up to 91 visit: up to 212 visits: up to 38
  • 3 visits, since 30 is past the middle of the table

    The middle of the table is not the middle of the members. Count people instead: the 2 visits block runs from member 22 to member 38, and 30 is inside it.

  • 1 visit, since 21 is the nearest running total

    21 is where the 1 visit block ends, so member 21 was the last of them. Member 30 comes after that, in the next block.

  • 2 visits, because that block runs from member 22 to member 38 (The answer)

    Yes. Both the 30th and the 31st sit inside it, so the median is 2 visits. When both middle positions land in one row you do not have to average anything.

Mean 2.1, median 2. You found both from the table without writing out a single answer.

One more for the write-up. The largest number anywhere in the frequency column is 17, sitting beside the value 2.

What is the mode?

  • 17 visits

    Nobody visited seventeen times. The 17 counts members, and a mode has to be an answer somebody actually gave.

  • 2 visits (The answer)

    Yes. Find the largest frequency, then read across to the value beside it. Seventeen members is how many, and 2 visits is what they did.

  • 9.5, halfway between 2 and 17

    Those two numbers measure different things, so halfway between them means nothing. One counts members, the other counts visits.

Mean 2.1, median 2, mode 2, and a range of 5 - 0 = 5 straight off the value column.

You found four summaries of the sixty answers without writing them out. The frequency column counts members, and the value column records their answers. Different summaries use these columns in different ways.

  • Multiply each value by its frequency, add them, divide by the total frequency
  • The frequency column holds the people. The value column holds what they said
  • Use running totals to locate (n + 1) / 2; a half position means average the values on either side
  • The mode and the range are read from the value column, never from the counts

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Where this leads

Jobs that lean on this skill. Follow one to see everything it is built on.

Then practise

34 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Start learning this