STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

Histograms, explained with examples

A histogram shows grouped continuous data. In GCSE Maths Higher, histograms use frequency density, so the area of each bar, not its height, shows the frequency. Once that idea clicks, histogram questions become reliable marks.

On this page
  1. Histograms versus bar charts
  2. Frequency density
  3. Why area, not height?
  4. Drawing a histogram
  5. Reading frequencies from a histogram
  6. Estimating the mean
  7. Comparing two histograms
  8. Estimating the median from a histogram
  9. Interpreting the shape
  10. Common mistakes
  11. Practice questions
  12. Frequently asked questions
  13. Key takeaways
  14. Related guides

Histograms versus bar charts

A bar chart displays categories, such as favourite colours, with gaps between the bars. A histogram displays continuous data grouped into classes, such as times or heights, with no gaps between bars, because one class runs straight into the next. In GCSE Higher histograms, the classes can have different widths, and that is why we need frequency density.

Frequency density

Frequency density = frequency ÷ class width

The vertical axis of a histogram shows frequency density, not frequency. Rearranging gives the key fact: frequency = frequency density × class width, which is the area of the bar. Using area means a wide class with the same number of items does not look misleadingly large.

time (minutes)frequency density123401020304050
A histogram with unequal class widths. The height is frequency density, so the area of each bar equals its frequency: for example, the 15–20 bar has area 5 × 4 = 20.

Why area, not height?

Imagine the 30–50 class drawn with its frequency of 8 as the height. It would be twice as tall as it is now and four times as wide as some other bars, so it would look like the biggest group, even though only 8 people are in it. Using frequency density keeps the picture honest: the space a bar takes up on the page matches how many people it represents.

Drawing a histogram

  1. Find the width of each class.
  2. Calculate frequency density for each class.
  3. Draw a continuous horizontal scale for the data and a frequency density scale up the side.
  4. Draw each bar from the start to the end of its class, with height equal to its frequency density.
  5. Label both axes.

Example 1: building the table

Journey times for 69 people are: 0–10 minutes, 10 people; 10–15, 15; 15–20, 20; 20–30, 16; 30–50, 8. Find the frequency densities.

Reading frequencies from a histogram

To find how many items lie in a class, multiply the bar's height (frequency density) by its width. Read the scale carefully: the frequency density axis often goes up in steps like 0.2 or 0.5, not 1.

Example 2: reading a bar

From the histogram, how many people took between 20 and 30 minutes?

Example 3: part of a class

Estimate how many people took between 12 and 25 minutes.

Example 4: working out the scale

A histogram has no numbers on the frequency density axis. The 10–20 bar is 3 cm tall and represents 15 people. The 20–25 bar is 4 cm tall. How many people does it represent?

Estimating the mean

You cannot find the exact mean from grouped data, because you do not know each value. Instead, assume every value in a class sits at the class midpoint, multiply each midpoint by its frequency, add up, and divide by the total frequency.

Example 5: an estimated mean

Estimate the mean journey time from the histogram data.

Comparing two histograms

When asked to compare two distributions, make two comparisons, each in context: one about a typical value (the median or mean, or where the peak is) and one about spread (the range, interquartile range, or how wide the bars spread). For example: “Journeys by bus were typically longer than by car, and bus times were more spread out.” Comparing the shapes, such as one being more skewed, can earn an extra mark.

Estimating the median from a histogram

The median is the middle value. With 69 people, it is the 35th value. Count through the classes: 10 in the first class, 25 after the second, 45 after the third. So the 35th value is in the 15–20 class, 10 people into its 20. That is halfway through the class, so the median is about 15 + 2.5 = 17.5 minutes. This uses the same even-spread assumption as Example 3.

Interpreting the shape

The shape of a histogram tells a story. Most journeys here take 10 to 20 minutes, with a long tail of slower journeys up to 50 minutes. That tail makes the distribution positively skewed. In exam questions, you may be asked to compare two histograms: compare where most values lie (the peak), the spread, and any skew.

Common mistakes

Practice questions

Try each one before opening the answer.

Q1. A class 20 ≤ x < 40 has frequency 50. Find its frequency density.

Show answer
50/20 = 2.5.

Q2. A bar from 5 to 8 has frequency density 6. Find the frequency.

Show answer
6 × 3 = 18.

Q3. Using the journey histogram, how many people took less than 15 minutes?

Show answer
10 + 15 = 25.

Q4. Using the journey histogram, estimate how many took between 40 and 50 minutes.

Show answer
0.4 × 10 = 4.

Frequently asked questions

Are histograms on the Foundation paper?

Simple histograms with equal widths can appear on Foundation papers. Frequency density with unequal class widths is a Higher tier topic.

Do I need to know histograms for A level Maths?

Yes. A level Maths statistics uses histograms with frequency density, and questions often involve interpolation and comparing distributions.

Key takeaways