A frequency table is a compressed list
In 12.1 you found averages from a raw list of values. Real data sets are usually handed to you already organised into a frequency table — and every skill from 12.1 still works, as long as you remember one thing: the table is just a compressed list. A row that says “value 2, frequency 7” means the number 2 appears seven times in the list.
Here is the table this page will keep coming back to — the number of goals a school team scored in each of its 25 matches:
| Goals scored (x) | 0 | 1 | 2 | 3 | 4 | Total |
|---|---|---|---|---|---|---|
| Frequency (f) | 6 | 8 | 7 | 3 | 1 | 25 |
The same data as a picture — one dot per match
Two of the four measures from 12.1 can be read straight off the table:
Mode
The value with the largest frequency. Here the frequency 8 is the biggest, so the mode is 1 goal.
Range
Largest value minus smallest value that actually occurs: 4 − 0 = 4. Frequencies play no part.
The mean from a frequency table
The mean is still total of all the values ÷ how many values there are. The table just lets you find the total quickly: six matches with 0 goals contribute 0 × 6 = 0 goals, eight matches with 1 goal contribute 1 × 8 = 8 goals, and so on. Adding an fx column (value × frequency) does the repeated addition for you.
Example 1Using the goals table above, calculate the mean number of goals per match.
f: 6 8 7 3 1
fx: 0 8 14 9 4
Frequency-table calculator
Edit the values and frequencies — the fx column, mean, median, mode and range update live. Leave a frequency as 0 to ignore a row.
The median from a frequency table
The median is the middle value of the ordered list — and a frequency table is already ordered, because the values run along it from smallest to largest. So you only need to work out which position is the middle, then count through the frequencies until you reach it.
Example 2Find the median of the goals data (25 matches).
Missing frequencies and combined means
Paper 4 rarely stops at “find the mean”. The two favourite twists both run the Σfx machinery backwards.
A missing frequency, given the mean
Example 3The table shows scores 1, 2, 3, 4 with frequencies 4, x, 5, 3. The mean score is 2.5. Find x.
Σf = 4 + x + 5 + 3 = 12 + x
31 + 2x = 2.5(12 + x) = 30 + 2.5x
Combining two groups
Example 4Class A (12 students) has a mean test mark of 60. Class B (18 students) has a mean of 70. Find the mean mark of all 30 students.
Class B total = 18 × 70 = 1260
More worked examples
Example 5A shop records the shoe sizes it sells in one morning: sizes 36, 37, 38, 39, 40 with frequencies 3, 7, 9, 4, 2. Find the mode, median, mean and range.
= 108 + 259 + 342 + 156 + 80 = 945
mean = 945 ÷ 25 = 37.8
Example 6Scores 0, 1, 2, 3 occur with frequencies 5, x, 6, 4, and the median score is 2. Find the greatest possible value of x.
Your turn
Practice set
- Values 1, 2, 3, 4 have frequencies 2, 5, 2, 1. Find the mode, median, mean and range.
- Journey times of 5, 10, 15 and 20 minutes occur with frequencies 4, 6, 8 and 2. Calculate the mean journey time.
- Values 2, 4, 6 have frequencies 3, x, 5. The mean is 4.4. Find x.
- Ten boys have a mean mass of 52 kg and fifteen girls have a mean mass of 62 kg. Find the mean mass of all 25 students.
- Scores 1, 2, 3, 4, 5 have frequencies 7, 9, 4, 12, 8. Explain why the median is 3.5.
- n = 10. Mode 2 (frequency 5). Median = mean of 5th and 6th values; running totals 2, 7 put both in the 2s → 2. Mean: Σfx = 2 + 10 + 6 + 4 = 22, so 22 ÷ 10 = 2.2. Range 3.
- Σf = 20, Σfx = 20 + 60 + 120 + 40 = 240 → 240 ÷ 20 = 12 minutes.
- (6 + 4x + 30)/(8 + x) = 4.4 → 36 + 4x = 35.2 + 4.4x → 0.8 = 0.4x → x = 2. (Check: 44 ÷ 10 = 4.4 ✓)
- Totals: 10 × 52 = 520 and 15 × 62 = 930; combined 1450 ÷ 25 = 58 kg. (Not 57 — the girls outnumber the boys.)
- n = 40, so the median is the mean of the 20th and 21st values. Running totals: 7, 16, 20, 32 — the 20th value is a 3 and the 21st is a 4, so the median is (3 + 4) ÷ 2 = 3.5.
Key points to remember
- A frequency table is a compressed list: n = Σf, never the number of rows.
- Mean = Σfx ÷ Σf — add an fx column, total both rows, and show the division.
- The mode is the value with the biggest frequency — not the frequency itself.
- The median sits at position (n + 1) ÷ 2; count through the running totals to find it, and with an even n average the two middle values.
- Given the mean and a missing frequency, write Σfx and Σf in terms of x and solve the equation.
- To combine two groups, rebuild each group’s total first — never average the two means unless the groups are the same size.
Where next?
🎥 Take the interactive module
Averages & Spread — the full teaching module for this topic, with real past-paper questions and mark schemes.
✏️ Practise exam questions
Statistics — 25 exam-style questions worth 99 marks, with full answers and the mark scheme.
Progress is saved on this device only and appears on the notes home page.