Explanation:
Decide on the number of classes.
Determine the range, i.e., the difference between the highest and lowest observations in the data.
Divide range by the number of classes to estimate approximate size of the interval
hope it helps.
stay safe healthy and happy...