2.4 Frequency density

Frequency density is defined as the frequency per unit of the data in each class. Frequency density is calculated by dividing the frequency by the class width (the class width is the difference between the upper limit of the class interval and the lower limit of the class interval). Frequency density allows for a meaningful comparison of different classes where the class widths may not be equal.

Frequency density equals frequency over class width

The frequency density gives us the ratio of the frequency of a class to its width. Frequency density is used to plot a frequency density histogram; here, we plot frequency density instead of frequency on the y-axis. Frequency density gives us the total area of bars and tells us about the frequency in the histogram (rather than the height).

We calculate frequency density when we have a set of grouped data that consists of unequal widths of class intervals. For example, see the following Excel worksheet, which gives us information about the ages of people playing cricket.

A histogram in Excel
Figure 22 Information about the age of people playing football in an Excel file

To calculate the frequency densities:

  • In Column C, find the width of the class intervals by finding the difference of upper and lower bounds/limits. (For example, and so on.)
Excel spreadsheet
Figure 23 Calculating the class width
  • Then, in Column D, divide the frequency of each class interval by its width following the Frequency density formula given above. Even though the frequency in the first age bracket is higher, because the interval is twice as large as in the second age bracket, it could be misleading. From looking at the frequency density column, we can see that cricket is most popular in the 10-15 age category, with a frequency density of 1.8.
Excel spreadsheet
Figure 24 Calculating the frequency density

In the activity below, you will test your knowledge of the difference between a frequency density histogram and a frequency histogram.

Activity 7: The difference between frequency histograms and frequency density histograms

Allow approximately 35 minutes to complete this activity

Watch the video below and note down in the box the difference between frequency histograms and frequency density histograms.

(A text entry box would appear here, but your browser does not support it.)