Here the maximum class frequency is 15 and the class corresponding to this frequency is 20−24.
So, the modal class is 20−24.
The lower limit of modal class 20−24 is l=20.
Class size c = 4; and frequency of the modal class f1=15.
Frequency of the class preceding the modal class =f0=7.
Frequency of the class succeeding the modal class f2=3.
z=l+(f1−f02f1−f0−f2)×c
=20+(15−72×15−7−3)×4
=20+820×4
=21.6
∴ The mode for the given data is 21.6