Mode of grouped data
A shoe shop does not care about the average shoe size it sells — it cares which size sells the most, because that is the size to stock in bulk. That single most-frequent value is the mode. For raw data you just count repeats, but real survey data almost always arrives already sorted into class intervals — marks bucketed 0 to 10, 10 to 20, and so on — and once the individual values are hidden inside a class, "count the repeats" no longer works. You only know how many observations fell in each class, not what those observations actually were. This is where the mode of grouped data formula comes in. It locates the class with the highest frequency — the modal class — and then uses that class's frequency together with its two immediate neighbours to estimate exactly where inside that class the true peak of the distribution most likely sits. This article builds that formula, applies it step by step to a worked example, and flags the mix-ups that cost easy marks in exams.
The mode of grouped data is estimated from the modal class (highest frequency) and its two neighbouring class frequencies using .
The core idea
In a grouped frequency distribution, the first job is always to find the modal class — the class interval whose frequency is the largest of all. Everything else in the formula is read off relative to that one class. Once the modal class is identified, five quantities are pulled from the table:
- = lower limit of the modal class
- = frequency of the modal class
- = frequency of the class immediately before the modal class
- = frequency of the class immediately after the modal class
- = class width (size) of the modal class
These feed into the mode formula:
where: is the modal class's lower limit, , , are the frequencies of the modal class and its immediate left and right neighbours, and is the modal class width. The formula assumes all class widths are equal, which is the standard CBSE setup. The correction term nudges the estimate away from the bare lower limit toward wherever the peak most likely sits inside the modal class. If the class before the modal class is nearly as crowded as the modal class itself ( close to ), the true peak is probably near the start of the modal class, so the shift from stays small. If both neighbours are comparatively sparse, the modal class's own frequency dominates the picture and the shift is larger, pushing the mode further into (or past) the class mid-point. Both neighbours enter the formula because a single class's frequency alone cannot tell you which side of it the data leans toward — only comparing it against both flanks can. Like mean and median, the mode summarises an entire distribution with one representative number, but unlike the mean it ignores extreme classes with tiny frequencies far from the modal class, so an odd outlier class does not drag the mode away from where most of the data actually is.
Starting from the histogram picture of a grouped frequency distribution, derive why the estimated mode inside the modal class equals its lower limit plus a correction fraction of the class width, and show that this fraction depends only on how the modal class frequency compares with its two immediate neighbours.
Step 1. Draw the histogram bars for the modal class and its two neighbours on either side. The modal class bar is the tallest, standing at height ; the bar just before it stands at height and the bar just after at height , with and since it is the modal class.
Step 2. Join the top-right corner of the bar before the modal class to the top-left corner of the modal class bar, and join the top-left corner of the bar after the modal class to the top-right corner of the modal class bar. These two joining lines cross at a single point inside the modal class bar, and that crossing point is taken as an estimate of where the true peak of the underlying (continuous) distribution lies.
Step 3. By similar triangles formed on either side of the vertical through the crossing point, the horizontal distance of the crossing point from the modal class's left edge works out to be proportional to , while the total horizontal span used for that proportion is . So the fraction of the class width that the peak sits away from is .
Step 4. Multiplying that fraction by the class width and adding it to the lower limit gives the estimated mode, , which is exactly the CBSE mode formula — and it confirms the earlier intuition that a modal class flanked by a near-equal neighbour on one side pulls the peak toward that side, while a sharply higher modal class pulls the estimate further inside.
Worked example
Find the mode of the following frequency distribution.
| Class | 0-10 | 10-20 | 20-30 | 30-40 | 40-50 |
|---|---|---|---|---|---|
| Frequency | 5 | 8 | 20 | 12 | 6 |
Step 1. Scan the frequency row for the largest value: , occurring in the class -. So - is the modal class.
Step 2. Read off the terms directly from the table: (lower limit of the modal class), (modal class frequency), (frequency of the class before, -), (frequency of the class after, -), and (class width).
Step 3. Substitute into the formula:
Step 4. Simplify the fraction before multiplying: , so . The mode of the distribution is 26.
Competitive stretch
Change only the frequency of the class after the modal class from to in the same table, keeping everything else the same. Now , so , giving . Notice the mode moved closer to even though did not change — because lowering raised the denominator, showing the mode depends on both neighbours together, not just the one immediately before the modal class.
Common traps
- Picking the modal class by eyeballing which interval "looks middle" instead of checking which one actually has the highest frequency in the table.
- Swapping and : is always the class before the modal class and is always the class after it, and the formula is not symmetric in them.
- Using the class mark (mid-point) instead of the lower limit — the mid-point belongs to the mean formula, not the mode formula.
- Forgetting to simplify the fraction before multiplying by , which leads to arithmetic slips especially when shares a common factor with .
Ask the tutor: Not sure which class is the modal class in your own dataset, or want your mode calculation checked step by step? Ask the AI tutor to work through it with you.
What if the modal class is the very first or very last class in the table
Then there is no class before (or after) it, so (or ) has nothing to be read from the table. Most CBSE problems are designed to avoid this edge case entirely by putting the modal class safely in the middle of the distribution, so in practice you rarely need to decide what to do here — but if it does come up, the missing neighbouring frequency is conventionally taken as .
Why does the mode formula need both f0 and f2 instead of just f1
Because alone only tells you the modal class is the tallest bar — it says nothing about which side the underlying peak leans toward. Comparing against tells you how the modal class compares with what came before it, and comparing against tells you how it compares with what comes after; together they pin down where inside the class the peak most plausibly sits.
Is the mode from this formula the exact mode of the raw data, or just an estimate
It is an estimate. Because grouping hides the individual values inside each class, there is no way to recover the exact most-frequent raw value from a frequency table alone. The formula gives the best estimate obtainable from the class structure, assuming the data is roughly evenly spread within each class — which is why it is called the mode of grouped data rather than simply "the mode."