Averages of grouped data
A cricket coach jots down the runs scored by each player over a season, a shopkeeper tallies how many customers bought each shoe size, a teacher records marks out of ten for a class quiz — in every case there is now a pile of numbers, and a single question follows: what does this data typically look like? Three familiar tools answer that question from three different angles. The mean balances every value against every other, the median picks out whoever sits exactly in the middle once everyone is lined up in order, and the mode simply names whichever value shows up most often. Class 8 does not hand you new formulas for these — you already used them on small lists. What changes here is scale: the data now arrives already counted and tabulated, with a frequency column doing the "repeating" for you, and you must read that table correctly before the same three familiar calculations go to work.
Mean, median and mode summarise a data set from three different angles — total shared equally, the middle value in order, and the most frequent value — and a frequency table is just a shorthand for a longer list of repeated raw values, so the same three formulas apply once the table is expanded.
The core idea
Mean. For raw observations , the mean is the total shared out equally among all of them:
where: is the mean, are the individual observations, and is the total count of observations.
Median. Arrange every observation in ascending order first — the median only makes sense on a sorted list. Then:
where: is the number of observations, and "position" counts along the sorted list starting from 1.
Mode. The mode is the observation that occurs most often — not the frequency itself, the value. A data set can have one mode, several tied modes, or none at all if every value occurs equally often. A frequency table does not change any of this. If marks of 6, 7 and 8 were recorded for 2, 3 and 4 students respectively, that table is just a compressed way of writing the list — you can always expand a table back into a full list of raw values before applying the definitions above. This trick — repeat each value by its frequency — is the bridge between "a table of counts" and "the raw list" the mean, median and mode formulas were built for.
Goal: show that when raw values are already grouped into a frequency table, the mean of the whole data set equals the sum of each value multiplied by its own frequency, divided by the total number of observations — so you never have to physically rewrite the table as one long list to find the mean.
Step 1. Suppose distinct values occur in the data, with frequencies respectively — meaning occurs times, occurs times, and so on. Expanded into a raw list, this data set has written out times, written out times, and so on, giving a total of observations in all.
Step 2. By the raw-data mean formula, is the sum of every entry in that expanded list divided by . The entries equal to contribute to the total sum, since adding the same number to itself times is exactly multiplied by that number. The same reasoning applies to every other value.
Step 3. Adding up the contribution from each distinct value gives the total sum of all observations as , which is written compactly as . Dividing this total by the total count gives the mean:
Step 4. This is exactly the calculation used earlier: multiply each value by its own frequency, add these products, and divide by the total frequency. It is not a new formula — it is the raw-data mean formula in disguise, with the repeated-addition step replaced by a single multiplication for speed.
Worked example
The marks (out of 10) obtained by 12 students in a class quiz were recorded in a frequency table.
| Marks | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|
| Number of students | 2 | 3 | 4 | 2 | 1 |
Find the mean, median and mode of the marks.
Step 1. Check the total count against the given number of students: , matching the 12 students stated in the problem.
Step 2. Find the mean using . The sum of value times frequency is . Dividing by the total frequency, marks.
Step 3. Find the median. Expand the table into the sorted list of all 12 marks: . Since is even, the median is the mean of the values at positions and . Both the 6th and 7th values are , so the median is marks.
Step 4. Find the mode. The mark has the highest frequency in the table, students, so the mode is marks.
Final answer: mean , median , mode (marks out of 10). The mean sits slightly below the median and mode because the two lowest-scoring students (marks of 6) pull the balance point down, even though most students actually scored 8 or higher.
Competitive stretch
A football team's goals in its last 11 matches were — this time as a raw list, not a table. Building a quick frequency count first — twice, twice, four times, twice, once — turns it into exactly the same kind of problem: mean , median (sorted list , position ) , mode . Recognising a raw list as an implicit frequency table, and vice versa, is the skill exam-setters test most often.
Common traps
- Reading off the median before sorting. The median is a position in the ordered list; picking the middle entry of an unsorted table or list gives a wrong answer.
- Forgetting to average the two middle values when is even — many students stop at the value nearest the middle instead of averaging positions and .
- Confusing the mode with its frequency — the mode is marks, not " students"; the frequency only tells you how often, not which value.
- Reaching for class-interval grouped-mean methods (direct, short-cut or step-deviation, using class mid-points) — that machinery is for Class 10 grouped data with intervals like , ; at this level every frequency table lists actual individual values, so expand-and-apply is always enough.
Ask the tutor: if your mean, median or mode for a frequency table doesn't match what's expected, ask the AI tutor to walk through the expand-and-count steps with your exact numbers.
Why doesn't the mean equal the median or mode most of the time?
Because the three averages measure different things. The mean accounts for every value's exact size, so a few unusually high or low values can pull it up or down. The median only cares about position in the sorted order, ignoring how far the extreme values are from the middle. The mode ignores size entirely and just counts repeats. They coincide only for very symmetric, evenly spread data — in most real data sets they differ, and that difference is itself informative.
Do I always have to expand a frequency table into a long list before calculating anything?
No — expanding it out is a useful way to understand what the table means, but for the mean you can go straight to without writing out every repeated value. For the median, you do need the sorted order, but you can count through the frequencies cumulatively (2, then 2+3=5, then 5+4=9, and so on) to find which value sits at the required position, instead of writing out all 12 or however many entries.
Is this the same as the grouped-mean formula I've heard about with class intervals?
No, and mixing the two up is a common Class 8 mistake. Here, every row of the frequency table is still an individual value (like 6 marks, 7 marks) with a count attached. Grouped data with class intervals (like 0-10, 10-20) and their mid-points, along with direct, short-cut or step-deviation methods for estimating the mean, is a Class 10 topic and is not tested here — at this level, expanding or applying on individual values is always sufficient.