Arrange the data in ascending order
Find the total number of observations, n
If n is odd, median = the middle value
If n is even, median = the average of the two middle values
For grouped data, find cumulative frequencies
Calculate n/2
Identify the class whose cumulative frequency is just greater than or equal to n/2
That class is the median class
Use the median formula if needed:
Median = l + [(n/2 – cf) / f] × h
Here, l = lower boundary of median class
cf = cumulative frequency before median class
f = frequency of median class
h = class width
