Mean of Grouped Data: 7 Hidden Traps (with Worked Examples)

How to find the mean of grouped data with midpoints and fx, the assumed mean method, and seven hidden traps: wrong divisor, limits, slips, early rounding and forgetting it is an estimate.

Quick answer: How do you find the mean of grouped data?

Find the midpoint (x) of each class, multiply by its frequency to get fx, add the fx column and divide by the total frequency: mean = Σfx ÷ Σf. Divide by the number of items, never by the number of classes, and say the answer is an estimate.

The mean of grouped data is a reliable WASSCE question: build a table, add two columns, divide once. It is also a reliable place to lose marks, through a limit used instead of a midpoint, a division by the number of classes, or one wrong product in the fx column.

This lesson works one full example of the mean of grouped data, then shows the 7 hidden traps and a second method (the assumed mean) to check your answer. Class midpoints are explained in Class Boundaries and Class Limits.

Grouped frequency table with midpoints and fx: mean = 1935 ÷ 50 = 38.7
Midpoint, frequency, fx, then one division.
\bar{x} = \frac{\sum fx}{\sum f} = \frac{1935}{50} = 38.7

7 hidden traps in grouped data questions

Trap 1: dividing by the number of classes

Σf is the number of items (people, marks, traders). The number of classes is just how many rows the table has. Mean = Σfx ÷ Σf, never Σfx ÷ number of classes.

Dividing by the number of classes gives 241.9; dividing by Σf gives 38.7
Divide by Σf.

Trap 2: using a class limit instead of the midpoint

The midpoint stands in for every value in the class: (lower limit + upper limit) ÷ 2. Using a limit (such as 10 for the class 1–10) pushes every value to one end of its class.

Using the midpoint 35.5, not a class limit
The midpoint stands for the whole class.

Trap 3: a slip in the fx column

Work out each fx and estimate it as a check: 35.5 × 6 should be a bit more than 35 × 6 = 210. If your fx is far from the estimate, recalculate that row.

Checking each fx product with an estimate
Estimate each product as a check.

Trap 4: rounding midpoints or products early

Rounding 35.5 to 36 in every row adds about 0.5 to the mean. Keep the decimals; round only the final answer.

Trap 5: forgetting the answer is an estimate

Grouping hides the exact values, so write “the estimated mean is …” or give it as an approximation.

Values spread within a class, represented by the midpoint
The midpoint assumes the values are spread evenly.

Trap 6: not knowing the assumed mean method

Choose a midpoint near the middle as the assumed mean A. For each class, d = x − A. Then mean = A + Σfd ÷ Σf. Do not forget to add A back: that was the slip WAEC reported in 2016.

Assumed mean method with A = 35.5 giving mean 38.7
Smaller numbers, same answer.
\begin{aligned} \bar{x} &= A + \frac{\sum fd}{\sum f} \\ &= 35.5 + \frac{160}{50} = 38.7 \end{aligned}

Trap 7: skipping the final check

Seven checks for the mean of grouped data
Seven checks before the final answer.

Worked example: both methods, one answer

Question. Marks of 30 students: 1–10 (4), 11–20 (7), 21–30 (9), 31–40 (6), 41–50 (4). Estimate the mean mark, correct to one decimal place.

Step 1: midpoints. (1 + 10) ÷ 2 = 5.5; then 15.5, 25.5, 35.5, 45.5.

Step 2: fx. 5.5 × 4 = 22; 15.5 × 7 = 108.5; 25.5 × 9 = 229.5; 35.5 × 6 = 213; 45.5 × 4 = 182.

Step 3: totals. Σfx = 22 + 108.5 + 229.5 + 213 + 182 = 755. Σf = 4 + 7 + 9 + 6 + 4 = 30.

Step 4: divide once. Mean = 755 ÷ 30 = 25.1666… = 25.2 (1 d.p.).

Check with the assumed mean. Take A = 25.5. d = −20, −10, 0, 10, 20. fd = −80, −70, 0, 60, 80. Σfd = −10. Mean = 25.5 + (−10 ÷ 30) = 25.5 − 0.333 = 25.17 ≈ 25.2. ✔ Both methods agree.

The wrong way. 755 ÷ 5 classes = 151, which is bigger than the highest possible mark (50): impossible. Or leaving out A in the second method: −10 ÷ 30 = −0.33, which cannot be a mean mark.

Try it now

Cover the solutions. Write the midpoint and fx columns before dividing.

Question 1

Ages: 10–14 (4), 15–19 (10), 20–24 (6). Find the mean age.

Question 2

Masses (kg): 40–44 (2), 45–49 (5), 50–54 (8), 55–59 (5). Find the mean mass.

Question 3

A learner divides Σfx = 1240 by 5 classes instead of Σf = 40. What should the mean be?

Question 4

Use the assumed mean A = 52 for Question 2 and check your answer.

Question 5 (WASSCE style)

Daily sales (GH₵) of 25 traders: 0–99 (3), 100–199 (8), 200–299 (9), 300–399 (5). Estimate the mean daily sales, correct to the nearest pesewa.

Question 6

Why is the mean of grouped data called an estimate?

Solutions

Solution 1

Midpoints: 12, 17, 22. fx: 12 × 4 = 48; 17 × 10 = 170; 22 × 6 = 132. Σfx = 350, Σf = 20. Mean = 350 ÷ 20 = 17.5 years.

Solution 2

Midpoints: 42, 47, 52, 57. fx: 84, 235, 416, 285. Σfx = 1020, Σf = 20. Mean = 1020 ÷ 20 = 51 kg.

Solution 3

Divide by the number of items: 1240 ÷ 40 = 31.

Solution 4

d = 42 − 52 = −10, then −5, 0, 5. fd: 2 × (−10) = −20; 5 × (−5) = −25; 0; 5 × 5 = 25. Σfd = −20. Mean = 52 + (−20 ÷ 20) = 52 − 1 = 51 kg ✔

Solution 5

Midpoints: 49.5, 149.5, 249.5, 349.5. fx: 148.5, 1196, 2245.5, 1747.5. Σfx = 5337.5, Σf = 25. Mean = 5337.5 ÷ 25 = GH₵213.50.

Solution 6

Grouping hides the exact values. The midpoint assumes the values in each class average out to the middle of the class, which may not be exactly true.

📘 New SHS curriculum link

The mean of grouped data is part of Year 1 of the new SHS Mathematics curriculum (1.4.1.LO.2: organise and present grouped and ungrouped data) and is used again in Year 2 (2.4.1.LO.2) for measures of dispersion.

For parents

Ask your child: “If you divided by the number of rows instead of the number of people, what would happen?” Then let them try it on a small table. Seeing an impossible answer (bigger than every value) is the best way to remember the rule.

📋 What the WAEC Chief Examiner reported

  • In 2024, “applying concept of mean” was listed as a strength. On Question 13, candidates “were able to construct the necessary table which they used to calculate the mean correctly”.
  • In 2011, WAEC listed “calculating median and standard deviation for a given data” and “determining sectoral angles and drawing pie charts” as strengths.
  • TMC note: the Core reports we checked (2011–2025) do not name the mean of grouped data as a weakness.
  • Where marks are still lost: in 2016, the Chief Examiner reported that some candidates using the assumed mean left out A, working out Σfd ÷ Σf instead of A + Σfd ÷ Σf. On the same paper: “Most candidates did not expressing the final answer to the right number of decimal places as demanded in the rubrics.”

What WAEC recommends

The Chief Examiner advised in 2024: “Candidates should read the questions well before answering them and ensure the rubric are followed.” For the mean, the rubric is usually the accuracy: “correct to one decimal place”. This lesson keeps every decimal until the last line, then rounds once, exactly as asked.

How to win these marks back

  1. Always write the full table: class, midpoint, f, fx.
  2. Keep exact values (16.5, 390.5) until the last step; round once, as the question asks.
  3. Check the mean is sensible: inside the data range, near the largest frequencies.

Source: WAEC Chief Examiner’s Report, WASSCE 2011, Mathematics (Core); WAEC Chief Examiner’s Report, WASSCE 2024, Mathematics (Core).

Questions learners ask

What is the formula for the mean of grouped data?

Mean = Σfx ÷ Σf, where x is the class midpoint and f the class frequency. With an assumed mean A: mean = A + Σfd ÷ Σf, where d = x − A.

Why is the mean of grouped data only an estimate?

Grouping hides the exact values. Using the midpoint assumes the values in each class average out to the midpoint.

Which value should I choose as the assumed mean?

Any midpoint works; a middle one with a large frequency keeps the numbers small.

One table, one division, one check

The mean of grouped data rewards neat, patient work: midpoints, products, one division by Σf, and a sense check. Do it the same way every time and it becomes a guaranteed set of marks. Next: mean, median and mode mistakes.

Dickson Sarpong, SHS Mathematics teacher and founder of The Maths Clinic
Written by Dickson Sarpong

NTC-certified SHS Mathematics teacher in Ghana with WAEC marking experience, and author of The Bridge Series textbooks. Every lesson here is built around the mistakes WAEC examiners keep reporting.

About DicksonStuck? Ask a question
The Bridge Series: The Bridge to Mathematics and The Bridge to Additional Mathematics for SHS

Want the whole topic, step by step? My textbooks, The Bridge to Mathematics and The Bridge to Additional Mathematics for SHS, follow the new curriculum and rebuild the basics as you go.

Read a free chapter →
Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *