Math Error Lab

Check 14 · Statistics

How to find the mean and median from a frequency table

The table has four rows, so you add the four values and divide by 4. The answer comes out clean, and it feels finished. But the table was describing ten games, not four, and most of them sat in one row.

In this guide

The short answer

How do you find the mean and median from a frequency table?

The mean is the sum of value × frequency divided by the total frequency, and the median is the middle value of the full list in order. A team scored 0, 1, 2 and 3 goals in 2, 4, 3 and 1 games. That is 13 goals in 10 games, so the mean is 1.3. The 5th and 6th scores are both 1, so the median is 1.

Prefer video? Watch the 1-minute lesson

Four rows, but ten games
GoalsGames
02
14
23
31
Total10

The list the table stands for

Positions 5 and 6 are the middle

Average the rows(0 + 1 + 2 + 3) ÷ 4 = 1.5Trap
Count every game13 ÷ 10 = 1.3Mean
Middle of the frequencies1, 2, 3, 4 → 2.5Trap
Positions 5 and 6 of the list1 and 1 → 1Median

The 1-goal row holds four games, and the 3-goal row holds one. Add the frequency column first. That total, 10, is the count you divide by and the list you find the middle of.

What you’ll practice

  • Count every observation by adding the frequency column.
  • Find a mean by weighting each value by its frequency.
  • Locate the median with running totals of the frequencies.

Before you start: You can find the mean and median of a short list of numbers.

An original worked example

Ten games, four rows: find the mean and median

A soccer team played 10 games. It scored 0 goals in 2 games, 1 goal in 4 games, 2 goals in 3 games and 3 goals in 1 game. Find the mean and the median number of goals per game.

The tempting wrong path
  1. The goals column lists 0, 1, 2 and 3.
  2. Add them: 0 + 1 + 2 + 3 = 6.
  3. Divide by the 4 rows: 6 ÷ 4 = 1.5.

Tempting answerMean 1.5

Where it goes wrong

Each row stands for several games, not one. The 1-goal row covers 4 games, while the 3-goal row covers just 1. Averaging the rows gives that single 3-goal game as much weight as the four 1-goal games. That pulls the mean up.

The correct method

  1. Add the frequency column. That is how many games there are.

    2 + 4 + 3 + 1 = 10
  2. Multiply each number of goals by how many games it happened in, then add.

    0 × 2 + 1 × 4 + 2 × 3 + 3 × 1
    = 0 + 4 + 6 + 3 = 13
  3. Divide the total by the number of games, not the number of rows.

    13 ÷ 10 = 1.3
  4. For the median, 10 games put the middle at positions 5 and 6. Keep a running total of the frequencies.

    2, 6, 9, 10
  5. Positions 3 to 6 are 1-goal games, so both middle values are 1.

    median = 1
The answer: Mean 1.3 goals, median 1 goal

Watch it worked out

The same slip in a short video lesson

Lesson 27 of the SAT Math Study System shows this trap on an SAT-style question, then works a harder one. It runs under a minute.

The check to keep

Check 14

Add the frequency column first. That is your count.

Before any other step, add the frequency column and write n beside the table. Every later step uses that n. The mean divides by it, and the median position comes from it. If you ever divide by the number of rows, you have skipped this step.

What a frequency table really says

A frequency table is a short way to write a long list. The goals table stands for 0, 0, 1, 1, 1, 1, 2, 2, 2, 3. Add that list and you get 13, the same total that value × frequency gives. Multiplying is just faster than writing every value out.

The same weighting combines groups of different sizes. If 6 students average 80 on a quiz and 4 students average 90, the totals are 480 and 360. The mean of all 10 is 840 ÷ 10 = 84, not 85. The bigger group pulls the mean toward its own average.

For the median, work with positions. With n values in order, an odd n puts the median at position (n + 1) ÷ 2. An even n puts it halfway between positions n ÷ 2 and n ÷ 2 + 1. Running totals of the frequencies tell you where each value starts and stops in the list.

The frequencies tell you how many, not what. Sorting the goal frequencies 2, 4, 3, 1 and taking their middle gives 2.5. That number is not about goals at all. Taking the middle row of the table, between 1 and 2 goals, fails for the same reason: it ignores how many games each row holds.

A quick sense check helps. The mean has to sit between the smallest and largest values, and it leans toward the rows with big frequencies. Here 1.3 sits close to 1, the most common score. An answer of 1.5 would mean 15 goals in 10 games, but the team scored only 13.

Your turn. Keep the answer closed.

Three questions to try

Work each one on paper first. Then type your answer and check it. If it is off, you get a hint about the likely slip, not the answer.

Practice 1

In a class survey, 3 students have 0 siblings, 7 have 1 sibling, 6 have 2 siblings and 4 have 3 siblings. What is the mean number of siblings?

See the worked answer to practice 1

1.55 siblings

  1. Add the frequency column to count the students.

    3 + 7 + 6 + 4 = 20
  2. Multiply each number of siblings by its frequency, then add.

    0 × 3 + 1 × 7 + 2 × 6 + 3 × 4
    = 0 + 7 + 12 + 12 = 31
  3. Divide by the number of students.

    31 ÷ 20 = 1.55

Practice 2

A survey asked 21 students how many hours they slept. 4 slept 6 hours, 9 slept 7 hours, 5 slept 8 hours and 3 slept 9 hours. What is the median number of hours?

See the worked answer to practice 2

7 hours

  1. Count: 4 + 9 + 5 + 3 = 21 students, an odd number.
  2. The median is in position (21 + 1) ÷ 2 = 11.
  3. Running totals: the 6-hour students fill positions 1 to 4. The 7-hour students fill positions 5 to 13.
  4. Position 11 falls among the 7-hour students, so the median is 7 hours.

Practice 3

A theater sold 12 tickets at $10, 6 tickets at $15 and 2 tickets at $25. What was the mean price per ticket?

See the worked answer to practice 3

$13

  1. Count the tickets: 12 + 6 + 2 = 20.
  2. Total money: 10 × 12 + 15 × 6 + 25 × 2 = 120 + 90 + 50 = 260 dollars.
  3. Mean: 260 ÷ 20 = 13 dollars.
  4. Sense check: most tickets cost $10, so the mean should sit just above $10.

Common questions about means and medians from frequency tables

Do I divide by the number of rows or the total frequency?

Divide by the total frequency, which is the number of observations. A table with 4 rows can describe 10 games. If those games scored 13 goals in all, the mean is 13 ÷ 10 = 1.3 goals per game. Dividing by the 4 rows would give 3.25, more than the highest score in the table.

Why can't I just average the values in a frequency table?

Because that treats every row as one observation. Say a team scored 0, 1, 2 and 3 goals in 2, 4, 3 and 1 games. The plain average (0 + 1 + 2 + 3) ÷ 4 = 1.5 gives the single 3-goal game the same weight as the four 1-goal games. A plain average of the values only works when every frequency is the same.

How do I find the median from a frequency table?

Find the middle position, then use running totals of the frequencies to see which value sits there. Out of 21 students, the middle is position (21 + 1) ÷ 2 = 11. If 4 slept 6 hours and 9 slept 7 hours, positions 5 to 13 are 7 hours, so the median is 7 hours.

What if the total frequency is even?

Average the two middle values, in positions n ÷ 2 and n ÷ 2 + 1. If 3 values are 2 and 3 values are 4, then n = 6 and the middle positions are 3 and 4. Those hold a 2 and a 4, so the median is 3.

Does this work for bar charts and dot plots?

Yes, because the height of each bar, or the number of dots above a value, is its frequency. Add the heights to get the count, then use the same steps. If bars of height 2, 4, 3 and 1 sit over 0, 1, 2 and 3, the mean is 13 ÷ 10 = 1.3.

Put the checks to work

Can you catch it on a new question?

Try five original questions. See every worked answer and keep the checks you want to practice.

Try the free check

About 3 minutes. No email needed.