The median for grouped data is formed by using the formula:
L + ( )
h
The median for grouped data is formed by l+(n2−cff)×h
Where l is the lower class limit of median class.
n is the total number of observations.
cf is the cumulative frequency of the class preceding the median class.
f is the frequency of the median class and h is the class size.