BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon1277 Learners

Last updated on November 28, 2025

Median of Grouped Data

Professor Greenline Explaining Math Concepts

The median of grouped data is the middle value that divides the dataset into two equal halves. To calculate it, we find the cumulative frequency, identify the median class, and apply the median formula for grouped data.

Professor Greenline from BrightChamps

What is the Median of Grouped Data?

The meaning of median is the middle value of a given distribution, and the median of grouped data remains the same as the meaning of median. In grouped data, we have data that is in the form of intervals or classes. We also have a median class to find the value of the median.

Let us see how to calculate the media of grouped data using an example.

 

Examples: Student Test Scores


How to find the median of grouped data for a class of 50 students.

Marks (Class Interval) Number of Students (f) Cumulative Frequency (CF)
0 - 10 4 4
10 - 20 8 12
20 - 30 15 27
30 - 40 12 39
40 - 50 11 50

 

Calculation


Step A: Locate the Median Class
First, calculate \(\frac{N}{2}\) where N is the total frequency.
N = 50

 

\(\frac{N}{2} = 25\)

 

Look for the class interval where the Cumulative Frequency (CF) is greater than or equal to 25.
The 20 - 30 group has a CF of 27. This is our Median Class.

 

Step B: Apply the Median of Grouped Data Formula

 

\(Median = L + \left( \frac{\frac{N}{2} - CF_{pre}}{f} \right) \times h\)

 

Where:

  • L (Lower limit of median class) = 20
  • N/2 = 251
  • \(CF_{pre}\) (Cumulative frequency of the class preceding the median class) = 12
  • f (Frequency of the median class) = 15
  • h (Class height/width) = 10

 

Step C: Solve

  • \(Median = 20 + \left( \frac{25 - 12}{15} \right) \times 10\)

     

  • \(Median = 20 + \left( \frac{13}{15} \right) \times 10\)

     

  • \(Median = 20 + (0.866...) \times 10\)

     

  • \(Median = 20 + 8.67\)

     

  • \(Median \approx 28.67\)
Professor Greenline from BrightChamps

How to Calculate the Median of Grouped Data?

To calculate the median of grouped data, we follow the following steps:

 


Step 1: We have to find the total number of observations by summing up the frequencies that are given.
 


Step 2: After that, we need to find the median class, which is the class having cumulative frequency just greater than half of the total number of observations.

 


Step 3: Now we note the values of lower limit of median class (L), frequency of the median class (f), cumulative frequency of the class preceding median class (cf), and the class width (w).

 


Step 4: We then substitute the values in the given formula and calculate the median of grouped data.

 


            \(Median = l + ((n/2 - cf)/f) x w\)
 

Professor Greenline from BrightChamps

Difference between the Mean, Median and Mode of Grouped Data

To compare between mean, median, and mode of grouped data let us see the following table:

 

Mean  Median Mode
The average of all values in the dataset.

 
The middle value that divides the dataset into two equal halves.
 
The most frequently occurring value in the dataset.
 
Uses all values in the dataset.


 
Uses cumulative frequency to determine the middle class.
 
Uses frequency of the classes to determine the most repeated class.
 
Affected by extreme values (skewed data can distort the mean).
 
Less impacted by extreme values.


 
Not impacted by extreme values.


 
Finding the central tendency when all data points are important.
 
Finding the central value, especially when there are extreme values.
 
Finding the most frequent observation.

 
Used in statistics, economics, and finance.

 
Used in income distribution, exam scores, and hospital stays.
 
Used in fashion trends, marketing, and sales analysis.

 
The formula is:
\(Mean = Σ(fixi)/Σfi\)
 
The formula is:
\(Median = L + ((n/2 - cf)/f) × h\)
 
The formula is:
\(Mode = L + ((f1 – f0) ÷ (2f1 – f0 – f2)) × h\)
 

 

Explore Our Programs

Grade 1
arrow-left
arrow-right
Professor Greenline from BrightChamps

Tips and Tricks to Master Median of Grouped Data

Mastering the median of grouped data helps summarize large datasets effectively. These tips guide you to identify the median class and calculate it accurately.

 

  • Understand the concept of median and how it divides data into two equal halves.
     
  • Learn to identify the median class using cumulative frequency.
     
  • Memorize the formula for calculating the median of grouped data.
     
  • Practice with different datasets to become comfortable with class intervals and frequency tables.
     
  • Use step-by step methods to avoid mistakes in calculations, especially with large datasets.
     
  • The "Middle Student" Analogy: Start without numbers. Ask the student to imagine a school assembly where students are lined up by height in groups (e.g., 140-150cm group, 150-160cm group). Explain that finding the median is like walking down the line to find the exact student standing in the middle position. Since we only know which group they are in, we have to use a formula to estimate exactly where they stand within that group.
     

  • Visualize the Area Split: Use a histogram to show that the median is the "Equal Area Line." Draw a histogram on graph paper and explain that the median vertical line cuts the total area of the bars exactly in half (50% area on the left, 50% on the right). This visual connection helps them understand why we calculate N/2.
     

  • Explain Interpolation Simply: The most confusing part for students is often why the formula looks so complex. Explain that the formula is just "interpolation." It assumes the data points are spread out evenly inside the median class. We are simply calculating how far into that specific class we need to go to reach the middle count.
     

  • The "Running Total" (Cumulative Frequency): Before jumping to the formula, practice calculating Cumulative Frequency (cf) as a "running total." Use the analogy of a video game score or a bank savings account that keeps adding up. Emphasize that without the cf column, we cannot locate which group the middle value lives in.
     

  • Decode the Variables: Students typically get overwhelmed by the letters (L, f, cf, h). Create a "Cheat Sheet" where they label these variables in plain English alongside the math symbol:

    • L = The Starting Line (Lower limit of the median group)

    • h = The Step Size (Width of the class interval)

    • f = The Crowd Size (Frequency of the median group)
       

  • Use Discrete Examples First: Before using continuous grouped data (0-10, 10-20), revisit a simple list of numbers (e.g., 2, 5, 9, 12, 14). Show that the median is 9. Then group them and show how the formula gets us a value close to 9. This bridges the gap between what they already know (ungrouped median) and the new concept (grouped median).

Max Pointing Out Common Math Mistakes

Common mistakes and How to Avoid Them in Median of Grouped Data

Students tend to make mistakes when they solve problems related to the median of grouped data. Let us now see the common mistakes they make and the solutions to avoid them:

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Incorrectly Identifying the Median Class:

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should always calculate the cumulative frequency first. After that, they must find n/2. Then they must locate the class interval where the cumulative frequency just exceeds. That is the median class.

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Using Wrong Formula:

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should remember the formula to calculate the median: 

 = Lm + [n/2 - cf / f] x w

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Incorrect Lower Boundary Selection:

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should remember that when the lower boundary of the class interval is not uniform. We calculate it by taking the lower limit of the median class and subtracting 0.5.

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Rounding Errors:

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should use at least 2 decimal places before final rounding. Round only at the final step.

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Ignoring Discontinuous Class Intervals:

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should convert to continuous intervals before calculating.

 

For example, if given 10-19, 20-29, 30-39, modify them as 9.5-19.5, 19.5-29.5, etc. by adjusting 0.5 on both ends.

arrow-left
arrow-right
Professor Greenline from BrightChamps

Real Life Applications on Median of Grouped Data

The median of grouped data is applied in income distribution, exam results, and healthcare analysis. Let us now see the various fields and applications we use in median of grouped data:

 

Income and wealth distribution analysis: We use the median of grouped data in income and wealth distribution, where Governments and economists use the median income to understand income inequality in a country.

 

Exam results: We use the median of grouped data in exam results, where schools and universities analyze students’ marks using the median to determine a typical student’s performance.

 

Healthcare and medical studies: We use the median of grouped data in medical studies and healthcare, where hospitals use the median length of hospital stays for specific treatments to measure healthcare efficiency.

 

Real estate pricing: Median property prices in a region are calculated using grouped data to understand typical housing costs and market trends.

 

Customer spending analysis: Retailers use the median of grouped data to determine the typical amount spent by customers, helping in pricing and marketing strategies.

Max from BrightChamps Saying "Hey"
Hey!

Solved Examples on Median of Grouped Data

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Find the median of the following frequency distribution:

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

Class Interval Frequency
10 – 20 5
20 – 30 8
30 – 40 12
40 – 50 5

 

The median is 31.67

Explanation

Total Frequency (n) = 5 + 8 + 12 + 5 = 30

 n/2 = 15

Cumulative Frequency:

10 – 20: 5

20 – 30: 5 + 8 =13

30 – 40: 13 + 12 = 25

40 – 50: 25 + 5 = 30

Identify the median class:

The first class where cumulative frequency is less than or equal to 15 is 30 – 40

Apply the formula:

\(Median = L + [n/2 - cf / f] × h = 30 + [(15-13)/12] ×10 = 30 +1.67 = 31.67\)

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 2

Given the age distribution below, find the median age:

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

Class Interval Frequency
0 – 10 5
10 – 20 8
20 – 30 12
30 – 40 5

 

The median age is 17.5

 

Explanation

Total Frequency:

n = 7 + 12 + 9 + 4 = 32

n/2 = 16

Cumulative frequency:

0-10: 7

10-20: 7 + 2 = 9

20-30: 19 + 9 = 28
        
30-40: 28 + 4 = 32

Median class is 10-20

Apply the formula:

\( L + [n/2 - cf / f] × h = 10 + (9/12 ×10)\)

 = 10 + 7.5 = 17.5.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 3

Find the median for the grouped data:

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

Class Interval Frequency
5– 15 10
15 – 25 15
25 – 35 5

 

The median is 18.33

Explanation

Total Frequency:

 n = 10 + 15 + 5= 30

 n/2 = 15

 Cumulative frequency:

 5-15: 10

15-25: 10 + 15 = 25  
    
25-35: 25 + 5 = 30

Median class is 15-25

Apply the formula:

L + [n/2 - cf / f] × h = 15 + (5/15 × 10)

= 15 + 3.33 = 18.33.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 4

Determine the median of the following data:

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

Class Interval Frequency
0 – 5 3
5 – 10 7
10 – 15 10
15 – 20 5
20 – 25 2

The median class is 11.75.

 

Explanation

Total Frequency:

n = 3 + 7 + 10 + 5 + 2 = 27

n/2 = 13.5

Cumulative frequency:

0-5: 3

5-10: 3 + 7 = 10 

10-15: 10 + 10 = 20

15-20: 20 + 5 = 25

20-25: 25 + 2 = 27

Median class is 10-15

Apply the formula:

L + [n/2 - cf / f] × h = 10 + (3.5/10 × 5)

= 10 + 1.75 = 11.75.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 5

An exam score distribution is given below. Find the median score:

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

Class Interval Frequency
40 – 50 2
50 – 60 5
60 – 70 12
70 – 80 20
80 – 90 8

 

The median class is 72.25

Explanation

Total Frequency:

n = 2 + 5 + 12 + 20 + 8 = 47

n/2 = 23.5

Cumulative frequency:

40-50: 2

50-60: 2 + 5 = 7

60-70: 7 + 12 = 19

70-80: 19 + 20 = 39

80-90: 39 + 8 = 47

Median class is 70-80

Apply the formula:

L + [n/2 - cf / f] × h = 70 + (4.5/20 × 10)

= 70 + 2.25 = 72.25.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Ray Thinking Deeply About Math Problems

FAQs on Median of Grouped Data

1.What is the median of grouped data?

It is an estimate of the central value in a data set that has been organized into class intervals rather than individual data points.

Math FAQ Answers Dropdown Arrow

2.Why do we need to estimate the median for a grouped data?

The exact data values within each class interval are unknown. We approximate the median by using a formula based on frequency distribution. That is why we need to estimate the median for a grouped data.

Math FAQ Answers Dropdown Arrow

3.How do you determine the median class?

The median class is the first class where the cumulative frequency reaches or exceeds the total frequency (n/2).

Math FAQ Answers Dropdown Arrow

4.Are there any assumptions made when using the median formula for a grouped data?

Yes, we assume that the data is uniformly distributed within each class interval.

Math FAQ Answers Dropdown Arrow

5.How accurate is the median obtained from grouped data?

It is an approximation because the exact values within each interval are not known, so the result is an estimate.

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Jaipreet Kour Wazir

About the Author

Jaipreet Kour Wazir is a data wizard with over 5 years of expertise in simplifying complex data concepts. From crunching numbers to crafting insightful visualizations, she turns raw data into compelling stories. Her journey from analytics to education ref

Max, the Girl Character from BrightChamps

Fun Fact

: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom