When the given data is continuous and in the form of a frequency distribution (or simply grouped data is given), then in order to calculate the median we need to go through these steps written below:Step 1: Count the total number of the data entries or the observations, denoted by “n”.Step 2: Identify or define the class range or size (h) and drive the data in different classes.Step 3: Now, calculate the cumulative frequency (c.f.) of each class.Step 4: after the cumulative frequency, find the lower limit of the median class (l).Step 5: Just apply the formula of the median with all the terms calculated before.Median = I + [\\frac{n/2 - c}{2}]\ imes h