Lesson 5.2 · 20 min

The Modal Class and the Median Class

Finding the class with the highest frequency and the class that contains the median, and seeing how regrouping can change them.

In this lesson you will learn to…

  • Identify the modal class of a grouped frequency table
  • Find the position of the median using
  • Use a running total to find the class the median lies in
  • Explain how changing the groups can change the modal class

Why this matters

The mean is not always the most useful average. A shop ordering stock cares about which size range sells most often (the mode). A government setting a minimum wage may care about the middle earner (the median), because a few very high earners pull the mean up.

Mode of the raw data vs modal class

These are not the same thing. Fifteen long-jump distances (cm):

152,152,155,161,163,164,165,166,168,169,170,172,175,181,182152, 152, 155, 161, 163, 164, 165, 166, 168, 169, 170, 172, 175, 181, 182

The mode is 152 cm (the only value that appears twice). But grouped into tens:

Length (ll, cm)Frequency
150≤l<160150 \le l < 1603
160≤l<170160 \le l < 1707
170≤l<180170 \le l < 1803
180≤l<190180 \le l < 1902

the modal class is 160≤l<170160 \le l < 170 — and 152 is not in it.

Reading a histogram

In a histogram with equal class widths, the modal class is simply the tallest bar. To find the median class, add the heights of the bars from the left until you pass the middle position.

Remember. From grouped data you can only say which class the median is in — not its exact value.

Key rules and formulas

  • Modal class

    The class interval with the highest frequency. It is the easiest "average" to find — just look for the biggest number in the frequency column.
  • Position of the median

    With values, the median is the th value — halfway between the 50th and 51st.
  • Running totals find the median class

    Add up the frequencies from the first class until the running total reaches the median position. The class where that happens contains the median.
  • Groups change the answer

    The modal class depends on how the data is grouped. Regroup the same data with wider classes and a different class can become the modal one.
Try it

Find the median class

08162432303540455055606570Mass, m (kg)mean ≈ 48.5
Total frequency, Σf
100
Σfx (midpoint × frequency)
4850
Estimated mean = Σfx ÷ Σf
48.5
Modal class
45 ≤ x < 50
Median class (value number 50.5)
45 ≤ x < 50
Estimated range
40

The masses of 100 school children. The median is the 50.5th value. The first three classes hold 34 children, and the next holds 30 more — so the running total passes 50.5 inside .

Worked examples

Worked example 1

Modal class and median class

Masses of 100 children: –: 4, –: 7, –: 23, –: 30, –: 16, –: 11, –: 5, –: 4 (kg). Find the modal class and the class containing the median.

Try it yourself first, then reveal the solution one step at a time.

Worked example 2

When regrouping changes the mode

Puzzle times: –: 5, –: 3, –: 15, –: 12, –: 13, –: 2 seconds. Farook took 24 s, which is in the modal class. He regroups into and . Is he still in the modal class?

Try it yourself first, then reveal the solution one step at a time.

Practice: modal class and median class

9 questions

Nine questions. For median questions, write the running totals down the side of the table.
  1. Question 1 of 9Multiple choiceFoundation
    Oranges: – g: 5, – g: 16, – g: 13, – g: 4, – g: 2. What is the modal class?
  2. Question 2 of 9Complete the table
    Complete the running totals for the heights of 30 plants, then use them.
    Height (h, cm)FrequencyRunning total
    10 ≤ h < 204
    20 ≤ h < 308
    30 ≤ h < 4011
    40 ≤ h < 507
  3. Question 3 of 9Fill the gaps
    Complete the working for the plant heights.

    The median lies in position . There are 12 values smaller than cm. The 13th to the 23rd values lie in the class , so the median class starts at and ends at .

  4. Question 4 of 9Step by step
    Find the median class one step at a time.
    Ages in a village of 500 people: –: 92, –: 88, –: 85, –: 68, –: 55, –: 52, –: 42, –: 18.
    1. In which position is the median?

  5. Question 5 of 9Multiple choice
    Angelique regroups the village ages into –: 180, –: 153, –: 107, –: 60. What is the new modal class?
  6. Question 6 of 9True or false
    Long jumps (cm): 152, 152, 155, 161, 163, 164, 165, 166, 168, 169, 170, 172, 175, 181, 182. Grouped in tens, the mode of the raw data (152) lies in the modal class.
  7. Question 7 of 9Choose all that apply
    Puzzle times (s): –: 5, –: 3, –: 15, –: 12, –: 13, –: 2. Select every true statement.

    Select every correct answer — there may be more than one.

  8. Question 8 of 9Type the answer
    A histogram shows the ages of 40 people in a sports club: –: 4, –: 9, –: 16, –: 11. Estimate the mean age.
    years
  9. Question 9 of 9Explore and matchChallenge
    This histogram shows 36 exam marks. Increase the frequency of so that it becomes the only modal class, using the smallest possible number.

    Move the controls until you match the question, then press Check.

    05101520020406080100Mark, xmean ≈ 57.2
    Total frequency, Σf
    36
    Σfx (midpoint × frequency)
    2060
    Estimated mean = Σfx ÷ Σf
    57.22
    Modal class
    40 ≤ x < 60
    Median class (value number 18.5)
    40 ≤ x < 60
    Estimated range
    100