• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Offline Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • NEW
    • JEE MAIN 2025
    • NEET
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
    • TALLENTEX
    • AOSAT
    • ALLEN e-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
JEE PhysicsJEE Chemistry
Home
JEE Maths
Median of Grouped Data

Median of Grouped Data 

The median of grouped data is the middle value of a dataset organized into class intervals. Unlike ungrouped data, where the median is a specific number, grouped data requires estimation using a formula. It helps identify the central tendency when exact values aren't available. By locating the median class and applying the median formula, we can effectively determine the approximate center of the data distribution. This method is widely used in statistics to analyze large, categorized datasets.

1.0What is the Median of Grouped Data?

The median is the middle value that separates the higher half from the lower half of a data set. For ungrouped data, it's relatively easy to calculate. However, when the data is grouped into classes (like in frequency tables), we need to use a different approach.

Grouped data doesn’t show individual values but rather the range in which values fall. Hence, finding the median of grouped data involves estimating the value that lies at the midpoint of the cumulative frequency distribution.

2.0Formula for Calculating Median of Grouped Data

To find the median of grouped data, use the following formula:

​​ Median =L+(f2N​−CF​)×h 

Where:

  • L = Lower boundary of the median class
  • N = Total frequency
  • CF = Cumulative frequency of the class before the median class
  • f = Frequency of the median class
  • h = Class width (upper boundary - lower boundary)

3.0Steps to Find the Median of Grouped Data

  1. Create a cumulative frequency column from the frequency distribution.
  2. Calculate N/2, where N is the total frequency.
  3. Identify the median class (the class interval whose cumulative frequency is just greater than or equal to N/2).
  4. Apply the median formula to get the result.

4.0Solved Examples of Median of Grouped Data

Example 1: Find the median of the following frequency distribution:

Class Interval

Frequency (f)

0 - 10

5

10 - 20

8

20 - 30

15

30 - 40

10

40 - 50

7

Solution: 

Step 1: Calculate cumulative frequency

Class Interval

Frequency (f)

Cumulative Frequency (CF)

0 - 10

5

5

10 - 20

8

13

20 - 30

15

28

30 - 40

10

38

40 - 50

7

45

Step 2: Find N and N/2

Total frequency, N = 45

N/2 = 22.5

Step 3: Locate the Median Class

The cumulative frequency just greater than 22.5 is 28, which corresponds to the class 20 - 30. So, this is our median class.

Step 4: Apply the Formula

  • L = 20
  • CF = 13
  • f = 15
  • h = 10

​ Median =20+(1522.5−13​)×10 Median =20+(159.5​)×10 Median =20+6.33 Median =26.33​

Final Answer: Median = 26.33

Example 2: Find the median of the following frequency distribution:

Class Interval

Frequency

0 - 10

4

10 - 20

6

20 - 30

8

30 - 40

10

40 - 50

7

Solution:

  1. Calculate cumulative frequency (CF):

Class Interval

Frequency

Cumulative Frequency

0 - 10

4

4

10 - 20

6

10

20 - 30

8

18

30 - 40

10

28

40 - 50

7

35

  1. Total frequency (N) = 35

N/2 = 35/2 = 17.5 

  1. Median class = 20 – 30 (CF just greater than 17.5 is 18)
  2. Apply the formula:
  • L = 20
  • CF = 10
  • f = 8
  • h = 10

​ Median =20+(817.5−10​)×10=20+(87.5​)×10=20+9.375=29.375​

Example 3: Find the median of the following frequency distribution:

Marks Range

Frequency

0 - 20

3

20 - 40

7

40 - 60

12

60 - 80

17

80 - 100

11

Solution:

Marks Range

Frequency

Cumulative Frequency

0 - 20

3

3

20 - 40

7

10

40 - 60

12

22

60 - 80

17

39

80 - 100

11

50

  • N = 50, N/2 = 25
  • Median class = 60 – 80
  • L = 60, CF = 22, f = 17, h = 20

​ Median =60+(1725−22​)×20=60+(173​)×20=60+3.53=63.53​

Example 4: The median of the following data is 47.5. If the total frequency is 150, find the missing frequencies x and y.

Class Interval

Frequency

0 – 10

5

10 – 20

9

20 – 30

x

30 – 40

25

40 – 50

30

50 – 60

y

60 – 70

20

70 – 80

10

Solution: 

Step 1: Write total frequency equation

Sum of known frequencies:

5 + 9 + x + 25 + 30 + y + 20 + 10 = 99 + x + y 

Set total equal to 150:

x + y + 99 = 150 

⇒ x+y=51 (Eq ①)

Step 2: Find N/2 = 150/2 = 75

We need cumulative frequency to find median class

Build CF up to median class:

Class Interval

Frequency

CF

0 – 10

5

5

10 – 20

9

14

20 – 30

x

14 + x

30 – 40

25

x + 39

40 – 50

30

x + 69

50 – 60

y

x + 69 + y

We’re told median is 47.5 → So median class is 40 – 50

So:

  • L = 40
  • f = 30
  • CF before median = x + 39
  • h = 10
  • N/2 = 75

Step 3: Apply Median Formula

Step 4: Use Eq ① → x + y = 51

14+y=51⇒ y=37

Final Answer: x = 14, y = 37

Example 5: In the table below, the median is 67, and the total frequency is 120. Find the values of x and y.

Class Interval

Frequency

0 – 20

7

20 – 40

13

40 – 60

x

60 – 80

30

80 – 100

y

100 – 120

10

120 – 140

8

Solution: 

Step 1: Total Frequency Equation

7 + 13 + x + 30 + y + 10 + 8 

⇒ 78+x+y=120 ⇒x+y=42(Eq ①)

Step 2: N/2 = 60

Build CF to find median class:

Class

f

CF

0 – 20

7

7

20 – 40

13

20

40 – 60

x

20 + x

60 – 80

30

20 + x + 30 = x + 50

Since median = 67 → Median class is 60 – 80

So:

  • L = 60
  • CF before median = 20 + x
  • f = 30
  • h = 20
  • N/2 = 60

Step 3: Apply Formula

​67=60+(3060−(20+x)​)⋅20⇒7=(3040−x​)⋅20⇒3040−x​=207​⇒40−x=207​⋅30=10.5⇒x=29.5​

Step 4: Find y from Eq ①

x+y=42⇒29.5+y=42⇒y=12.5

Final Answer: x = 29.5, y = 12.5

Example 6: The median of the following grouped data is 62.5, and the total number of observations is 180. Find x and y.

Class Interval

Frequency

0 – 20

12

20 – 40

x

40 – 60

30

60 – 80

50

80 – 100

y

100 – 120

28

Solution: 

Step 1: Total Frequency

12 + x + 30 + 50 + y + 28

 = 120 + x + y = 180 

⇒x+y=60(Eq ①)

Step 2: N/2 = 90

Build CF:

Class Interval

f

CF

0 – 20

12

12

20 – 40

x

12 + x

40 – 60

30

12 + x + 30 = x + 42

60 – 80

50

x + 92

Median = 62.5 → So median class = 60 – 80

So:

  • L = 60
  • f = 50
  • CF before median class = x + 42
  • h = 20

Step 3: Apply Formula

​62.5=60+(5090−(x+42)​)⋅20⇒2.5=(5048−x​)⋅20⇒5048−x​=202.5​=0.125⇒48−x=6.25⇒x=41.75​

Step 4: Use Eq ①:

x+y=60⇒41.75+y=60⇒y=18.25 

Final Answer: x = 41.75, y = 18.25

5.0Practice Questions on Median of Grouped Data 

Question 1: Find the median of the following frequency distribution:

Class Interval

Frequency

0 - 5

2

5 - 10

4

10 - 15

6

15 - 20

8

20 - 25

10

Question 2: Find the median of the following frequency distribution:

Age (years)

Frequency

0 - 10

5

10 - 20

8

20 - 30

12

30 - 40

6

40 - 50

4

Question 3: The median of the following data is 60, and the total frequency is 150. Find the missing frequencies x and y.

Class Interval

Frequency

0 – 20

8

20 – 40

12

40 – 60

x

60 – 80

30

80 – 100

y

100 – 120

28

120 – 140

10

Question 4: The median of the data below is 45, and the total frequency is 120. Find the values of x and y.

Class Interval

Frequency

0 – 10

6

10 – 20

10

20 – 30

x

30 – 40

15

40 – 50

25

50 – 60

y

60 – 70

14

70 – 80

10

Table of Contents


  • 1.0What is the Median of Grouped Data?
  • 2.0Formula for Calculating Median of Grouped Data
  • 3.0Steps to Find the Median of Grouped Data
  • 4.0Solved Examples of Median of Grouped Data
  • 5.0Practice Questions on Median of Grouped Data 

Frequently Asked Questions

Because individual values aren’t known, so we estimate the central point using frequencies and class intervals.

It’s the class where the cumulative frequency just exceeds or equals N/2.

Yes, since the values are estimated, the result can be a decimal and is still valid.

You still choose the class where CF ≥ N/2, even if it's an exact match.

The median focuses on the central value, whereas the mean averages all data. The median is not affected by extreme values.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • NEET Mock Test
    • Olympiad
    • NEET 2025 Answer Key
    • JEE Advanced 2025 Answer Key
    • JEE Advanced Rank Predictor

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO