Median and Cumulative Frequency
The median is the middle value — half the data lies below it, half above. For grouped data we cannot point to a single middle observation, so we build up a cumulative frequency (cf) column: for each class, the cf is the running total of frequencies up to and including that class.
The last cf equals the total frequency .
Finding the Median Class
Compute . The median class is the first class whose cumulative frequency is greater than (and nearest to) .
For example, if , then ; the median class is the one where the running cf first reaches or passes 15.
Key Point: Use (not ) for grouped data, and find the class where the cf first crosses it.
The Median Formula
where
- = lower limit of the median class,
- = total frequency ,
- = cumulative frequency of the class just before the median class,
- = frequency of the median class,
- = class size.
Key Point: is the cumulative frequency of the class before the median class — not of the median class itself.
A Worked Median
For the marks data (frequencies ), the cumulative frequencies are . Here , so .
The cf first passes 15 in the class (cf ), so that is the median class: , , , .
[Board Important] So for this data: mean , median , mode .

Solved Examples
Example 1: Median of the marks data
Find the median: frequencies for classes .
Solution:
- cf: ; , .
- Median class (cf 18): , , , .
- Median .
Final Answer: Median .
Takeaway: Build cf, find , then substitute.
Example 2: Median height
Heights (cumulative, 'less than'): below 140 → 4, 140-145 → 7, 145-150 → 18, 150-155 → 11, 155-160 → 6, 160-165 → 5 (total 51).
Solution:
- cf: ; , .
- cf first passes 25.5 in (cf 29): , , , .
- Median cm.
Final Answer: Median height cm.
Takeaway: For 'less than' data, the differences of the cumulative counts give the class frequencies.
Example 3: A missing frequency from the median
The median of a distribution is 28.5 with . The classes are with frequencies . Given the median class is and , and the median formula holds, we illustrate the setup.
Solution:
- .
- ; median class : , , , .
- , so .
Final Answer: , .
Takeaway: Combine the total-frequency equation with the median equation to find two unknowns.
Example 4: Locating the median class
For frequencies (classes ), find the median class.
Solution:
- cf: ; , .
- cf first passes 20 in (cf 25).
Final Answer: Median class .
Takeaway: The median class is where the running cf first reaches or crosses .