The median for grouped data is formed by using the formula:
l+(n2−cff ) ×h
The median for grouped data is formed by l+(n2−cff ) ×h.
Where l is lower class limit of median class.
n is 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.