S2, S3, S4StatisticsFoundation & HigherGrades 3–6

Frequency Tables

A frequency table records how often each value, or each group of values, occurs. It saves writing out long lists — but it also changes how you find averages. With grouped data the exact values are lost, so the mean can only be estimated\textbf{estimated} using class midpoints.

45 min Video by Maths Genie AQA GCSE Maths

The big picture

A frequency of 6 next to the value 3 means "3, 3, 3, 3, 3, 3". So the total of all the values is found by multiplying each value by its frequency and adding: ∑fx\sum fx. The mean is then ∑fx∑f\frac{\sum fx}{\sum f}.

For grouped data such as 10<t≤2010 < t \le 20, you do not know where each value lies within its class, so you assume they sit at the midpoint. That is why the answer is an estimate — and why the question always says "estimate".

Averages from Frequency Tables (incl. Estimating the Mean)Curated by Kepler, not produced by us. Watch it, then read the notes below.
Open on YouTube

What you'll learn

  • Find the mean, median, mode and range from a frequency table
  • Find the modal class and the class containing the median for grouped data
  • Estimate the mean from a grouped frequency table
  • Complete and use two-way tables
1

Discrete frequency tables

Mode: the value with the highest frequency. Median: find the position n+12\frac{n + 1}{2} and count through the frequencies to reach it. Mean: add an fxfx column, then divide ∑fx\sum fx by ∑f\sum f.

Example 1The number of siblings of 20 students: Siblings0123Frequency4952\begin{array}{c|c|c|c|c} \text{Siblings} & 0 & 1 & 2 & 3 \\ \hline \text{Frequency} & 4 & 9 & 5 & 2 \end{array} Find the mode, median and mean.
1Mode: 1 sibling (frequency 9).
2Median: position 212=10.5\frac{21}{2} = 10.5. Running totals: 4, 13, … so the 10th and 11th values are both 1. Median =1= 1.
3∑fx=0+9+10+6=25\sum fx = 0 + 9 + 10 + 6 = 25. Mean =25÷20=1.25= 25 \div 20 = 1.25.
Answer
Mode 1, median 1, mean 1.25
Your turnSame method, new numbers — try it before moving on.

Scores on a quiz: score 1 (frequency 3), score 2 (frequency 7), score 3 (frequency 6), score 4 (frequency 4). Find the mean score.

Show hint

Total of scores =1×3+2×7+3×6+4×4= 1 \times 3 + 2 \times 7 + 3 \times 6 + 4 \times 4.

Show worked solution
Solution
  1. 1∑fx=3+14+18+16=51\sum fx = 3 + 14 + 18 + 16 = 51.
  2. 2∑f=20\sum f = 20, so the mean is 51÷20=2.5551 \div 20 = 2.55.

Answer: 2.552.55

Tip — The mean is ∑fx÷∑f\sum fx \div \sum f — dividing by the number of rows is the most common error.

2

Grouped frequency tables

The modal class\textbf{modal class} has the highest frequency. The class containing the median is found by counting cumulative frequencies to position n2\frac{n}{2} (for large data sets).

To estimate the mean: find the midpoint of each class, multiply by the frequency, add, and divide by the total frequency.

Example 1Times (minutes) for 40 runners: Time tFrequency20<t≤25625<t≤301530<t≤351235<t≤407\begin{array}{c|c} \text{Time } t & \text{Frequency} \\ \hline 20 < t \le 25 & 6 \\ 25 < t \le 30 & 15 \\ 30 < t \le 35 & 12 \\ 35 < t \le 40 & 7 \end{array} Estimate the mean time and state the modal class.
1Midpoints: 22.5, 27.5, 32.5, 37.5.
2∑fx=135+412.5+390+262.5=1200\sum fx = 135 + 412.5 + 390 + 262.5 = 1200.
3Estimated mean =1200÷40=30= 1200 \div 40 = 30 minutes. Modal class: 25<t≤3025 < t \le 30.
Answer
Mean ≈ 30 minutes; modal class 25<t≤3025 < t \le 30
Your turnSame method, new numbers — try it before moving on.

Masses: 0<m≤100 < m \le 10 (frequency 5), 10<m≤2010 < m \le 20 (frequency 8), 20<m≤3020 < m \le 30 (frequency 7). Estimate the mean mass.

Show worked solution
Solution
  1. 1Midpoints 5, 15, 25.
  2. 2∑fx=25+120+175=320\sum fx = 25 + 120 + 175 = 320; ∑f=20\sum f = 20.
  3. 3Estimated mean =320÷20=16= 320 \div 20 = 16.

Answer: 1616

Example 2For the runners, which class contains the median?
1n=40n = 40, so the median is around the 20th–21st value.
2Cumulative frequencies: 6, 21, … — the 20th and 21st are in the second class.
Answer
25<t≤3025 < t \le 30
Why it is only an estimate

The estimate is only as good as the midpoint assumption. If most runners in 25<t≤3025 < t \le 30 actually finished close to 26 minutes, the true mean would be lower than 30. That is why "explain why your answer is an estimate" is a common one-mark question: "the exact values are not known; midpoints were used".

3

Two-way tables

A two-way table shows two categories at once. Row and column totals let you fill in missing cells by subtraction.

Example 160 students chose French or Spanish. 34 are girls. 20 girls chose French. 38 students chose Spanish. How many boys chose Spanish?
1Boys: 60−34=2660 - 34 = 26. Girls choosing Spanish: 34−20=1434 - 20 = 14.
2Spanish total 38, so boys choosing Spanish: 38−14=2438 - 14 = 24.
Answer
2424
Your turnSame method, new numbers — try it before moving on.

In a club of 45 members, 25 are adults. 18 members swim, and 11 of the swimmers are children. How many adults do not swim?

Show worked solution
Solution
  1. 1Adults who swim: 18−11=718 - 11 = 7.
  2. 2Adults who do not swim: 25−7=1825 - 7 = 18.

Answer: 1818

Think like an examiner

  • Add an fxfx column to the table and show its total — this is the method mark.
  • Give the modal class as a class (25<t≤3025 < t \le 30), not as a frequency (15).
  • For "estimate the mean", midpoints are essential; using class ends loses the method mark.

From frequency tables

xˉ=∑fx∑f\bar{x} = \dfrac{\sum fx}{\sum f}
Mean from a frequency table.
midpoint=lower+upper2\text{midpoint} = \tfrac{\text{lower} + \text{upper}}{2}
Used to estimate the mean for grouped data.
median position=n+12\text{median position} = \tfrac{n + 1}{2}
Count through cumulative frequencies.

Watch out for these

Mean =∑fx÷= \sum fx \div number of rows.
Divide by the total frequency ∑f\sum f.
Modal class given as the highest frequency, e.g. "15".
Give the class interval.
Using the upper class boundary instead of the midpoint.
Use lower+upper2\frac{\text{lower} + \text{upper}}{2}.
Median == middle row of the table.
Find the middle position by counting frequencies.

Stretch yourself

A frequency table has values 1, 2, 3 and 4 with frequencies 5, xx, 8 and 2. The mean is 2.2. Find xx.

Hint — Write ∑fx\sum fx and ∑f\sum f in terms of xx, then set up ∑fx∑f=2.2\frac{\sum fx}{\sum f} = 2.2.

Reveal solution
Solution∑fx=5+2x+24+8=37+2x\sum fx = 5 + 2x + 24 + 8 = 37 + 2x and ∑f=15+x\sum f = 15 + x. So 37+2x=2.2(15+x)=33+2.2x37 + 2x = 2.2(15 + x) = 33 + 2.2x, giving 4=0.2x4 = 0.2x and x=20x = 20. Check: ∑fx=77\sum fx = 77, ∑f=35\sum f = 35, and 77÷35=2.277 \div 35 = 2.2 ✓. ■\blacksquare

Questions students ask

What does 20<t≤2520 < t \le 25 mean?
Times greater than 20 and up to and including 25. A time of exactly 25 goes in this class; exactly 20 goes in the class below.
Can I find the exact median from grouped data?
No — only the class containing it. At Higher, a cumulative frequency graph gives an estimate of the median.
Why is the range not exact for grouped data?
Because the smallest and largest actual values are unknown; you only know the class limits.

Key takeaways

  • Mean from a table: ∑fx÷∑f\sum fx \div \sum f.
  • Mode: highest frequency; median: count to position n+12\frac{n + 1}{2}.
  • Grouped data: modal class, class containing the median, estimated mean.
  • Estimate the mean using class midpoints.
  • Two-way tables: use row and column totals to fill gaps.

Exam-style questions

Practise it the way it is examined

2 original questions · 7 marks, written to match the style and mark allocation of the real papers. Work on paper, then open the mark scheme and tick the marks you earned — method marks count even if the final answer slips.

Question 1Grade 33 marks

The number of pets owned by 30 people: Pets0123Frequency81174\begin{array}{c|c|c|c|c} \text{Pets} & 0 & 1 & 2 & 3 \\ \hline \text{Frequency} & 8 & 11 & 7 & 4 \end{array}

  1. Work out the mean number of pets.[3]
    Show mark scheme

    Answer: 1.231.23

Answer on paper first, then mark it.
Question 2Grade 54 marks

Heights of 50 plants (cm): Height hFrequency0<h≤10710<h≤201820<h≤301630<h≤409\begin{array}{c|c} \text{Height } h & \text{Frequency} \\ \hline 0 < h \le 10 & 7 \\ 10 < h \le 20 & 18 \\ 20 < h \le 30 & 16 \\ 30 < h \le 40 & 9 \end{array}

  1. (a)Work out an estimate for the mean height.[3]
    Show mark scheme (a)

    Answer: 20.420.4 cm

  2. (b)Explain why your answer is an estimate.[1]
    Show mark scheme (b)
Answer on paper first, then mark it.

Unlimited practice

Skill drill

A new question every time, marked instantly, with a full worked solution. Aim for a streak of five, then move up a level.

0 / 0 first-time correct Streak 0Best at this level: 0

Generating a question…

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Values 1, 2, 3 with frequencies 4, 9, 2. The mode is…

    • 22
    • 99
    • 33
    • 11
    Show answer and explanation

    Answer: 22

    Highest frequency.

  2. Midpoint of 30<x≤4030 < x \le 40?

    • 3535
    • 3030
    • 4040
    • 1010
    Show answer and explanation

    Answer: 3535

    (30+40)÷2(30 + 40) \div 2.

  3. Total frequency for frequencies 6, 11, 3?

    • 2020
    • 33
    • 1111
    • 6666
    Show answer and explanation

    Answer: 2020

    Add the frequencies.

  4. Values 0, 1, 2 with frequencies 5, 10, 5. Mean?

    • 11
    • 6.676.67
    • 2020
    • 1010
    Show answer and explanation

    Answer: 11

    20÷2020 \div 20.

  5. Values 1–4, frequencies 2, 3, 3, 2. Median?

    • 2.52.5
    • 22
    • 33
    • 55
    Show answer and explanation

    Answer: 2.52.5

    5th value 2, 6th value 3.

  6. Grouped data gives an estimated mean because…

    • midpoints are used
    • the frequencies are wrong
    • the median is unknown
    • the mode is missing
    Show answer and explanation

    Answer: midpoints are used

    Exact values are unknown.

  7. Classes 00–1010 (f 4) and 1010–2020 (f 6). Estimated mean?

    • 1111
    • 1010
    • 12.512.5
    • 1515
    Show answer and explanation

    Answer: 1111

    (20+90)÷10(20 + 90) \div 10.

  8. 25 values in 3 classes with frequencies 8, 10, 7. Median is in…

    • the 2nd class
    • the 1st class
    • the 3rd class
    • cannot tell
    Show answer and explanation

    Answer: the 2nd class

    The 13th value: cumulative 8, 18.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 7 lessons