EZ Tuitions Logo
EZ Tuitions

Mode of grouped data: pick the class, then check the answer

The mode formula is l + (f1 − f0) ÷ (2f1 − f0 − f2) × h. Most errors come before the arithmetic: the wrong class, the wrong boundaries or a class width that is not constant. This page gives a short check for each.

All the data below are invented for practice. For the whole chapter, including mean and median, see the Class 10 statistics chapter page.

The method

  1. Check that all classes are the same size, and fix any gaps by moving edges half a unit.
  2. The modal class is the one with the highest frequency. Note l, h, and f1, with f0 before it and f2 after it.
  3. Put the numbers in the formula.
  4. Check that the mode is at least l and less than l + h.

Example 1: a modal class in the middle

Classes and frequencies: 0 to 15 (4), 15 to 30 (9), 30 to 45 (17), 45 to 60 (11), 60 to 75 (6).

Modal class: 30 to 45. l = 30, h = 15, f1 = 17, f0 = 9, f2 = 11. Mode: about 38.57.

The highest frequency is 17, so the modal class is 30 to 45 with l = 30 and h = 15. The neighbours are f0 = 9 before it and f2 = 11 after it. The top is f1 − f0 = 17 − 9 = 8. The bottom is 2f1 − f0 − f2 = 34 − 9 − 11 = 14. Mode = 30 + (8 ÷ 14) × 15 = 30 + 60/7, about 38.57.

Check: The mode must lie inside 30 to 45, and 38.57 does. It is above the middle, 37.5, because the next class (11) is bigger than the previous one (9).

Example 2: the modal class has no class before it

Classes and frequencies: 0 to 8 (15), 8 to 16 (12), 16 to 24 (7), 24 to 32 (3).

Modal class: 0 to 8. l = 0, h = 8, f1 = 15, f0 = 0, f2 = 12. Mode: about 6.67.

The highest frequency is 15, in the first class, 0 to 8. There is no class before it, so take f0 = 0. Then f2 = 12. The top is 15 − 0 = 15 and the bottom is 30 − 0 − 12 = 18. Mode = 0 + (15 ÷ 18) × 8 = 20/3, about 6.67.

Check: The mode must lie in 0 to 8, and 6.67 does. It sits near the top of the class because the next class is also large.

Example 3: classes written as 10 to 19

Classes and frequencies: 10 to 19 (7), 20 to 29 (16), 30 to 39 (12), 40 to 49 (5).

Modal class: 20 to 29. l = 19.5, h = 10, f1 = 16, f0 = 7, f2 = 12. Mode: about 26.42.

These classes leave gaps, so first turn them into boundaries by moving each edge half a unit: 9.5 to 19.5, 19.5 to 29.5, and so on. The modal class is 20 to 29, which is now 19.5 to 29.5, so l = 19.5 and h = 29.5 − 19.5 = 10. Then f1 = 16, f0 = 7, f2 = 12. The top is 9 and the bottom is 32 − 7 − 12 = 13. Mode = 19.5 + (9 ÷ 13) × 10, about 26.42.

Check: Using l = 20 and h = 9 straight from the printed class gives about 26.23, which is off. The mode 26.42 lies in 19.5 to 29.5.

The trap: the highest frequency is not always the modal class

Classes and frequencies: 0 to 10 (6), 10 to 20 (14), 20 to 40 (16), 40 to 50 (5). Class widths: 10, 10, 20, 10. Frequency per unit width: 0.6, 1.4, 0.8, 0.5.

The highest frequency is 16, in 20 to 40. But that class is 20 wide and the others are 10 wide, so it holds more simply because it is wider. If you ignore this and apply the formula with f1 = 16, f0 = 14, f2 = 5 and h = 20, you get 20 + (2 ÷ 13) × 20, about 23.08, and the answer sounds fine. The mode formula assumes all classes have the same size. Frequency per unit width is 0.6, 1.4, 0.8 and 0.5, which puts the crowding in 10 to 20. When class sizes differ, do not use the formula as it stands; this page does not go further than that.

Try two yourself

First: classes 100 to 120 (8), 120 to 140 (20), 140 to 160 (14), 160 to 180 (6). Find the mode. Second: the modal class starts at l = 40 with h = 10, f1 = 9, f0 = 3 and f2 = 6. Find the mode.

Show the worked self-check

First: the highest frequency is 20, so the modal class is 120 to 140, with l = 120 and h = 20. The top is 20 − 8 = 12 and the bottom is 40 − 8 − 14 = 18. Mode = 120 + (12 ÷ 18) × 20, about 133.33, which is inside the class.

Second: the top is 9 − 3 = 6 and the bottom is 18 − 3 − 6 = 9. Mode = 40 + (6 ÷ 9) × 10, about 46.67, which is between 40 and 50.

Limits of this page

  • It covers the mode of grouped data with classes of equal size.
  • It does not cover unequal class sizes beyond the warning above, or two modal classes.
  • The data are practice values, not a textbook exercise key.

Common questions

Why must the mode lie inside the modal class?

The formula adds a fraction of the class width to the lower boundary. When the modal class has the highest frequency, that fraction is between 0 and 1, so the mode lands in the class. A result outside it means a wrong class or a slip.

What do I use for f0 when the modal class is the first one?

Use 0. There is no class before it, so its frequency is zero, and the same goes for f2 when the modal class is the last. Example 2 does exactly this with f0 = 0 and gets 6.67.

Why do I convert classes like 10 to 19 into boundaries?

The formula needs the true lower boundary and the true class width. With gaps, 10 to 19 and 20 to 29 leave out 19.5. Moving each edge by half a unit gives 9.5 to 19.5 and so on, with width 10 and lower boundary 19.5.

What if two classes share the highest frequency?

Then there are two candidate modal classes, and the data are bimodal. This page does not cover that case. Check the question for what it asks, and do not pick one class without saying so.

Sources and scope

Source checked . It gives the modal class and the mode formula for grouped data. The data, traps and practice here are original EZT work.

Class 10 statistics practiceTuition and practice