Cambridge IGCSE Mathematics 0580
Histograms
A histogram is a chart for grouped continuous data in which the area of each bar — not its height — represents frequency. The height is frequency density:
That one formula is the whole topic, and it exists because 0580 histogram questions use unequal class widths. A recent Cambridge examiner report named “finding heights of blocks in a histogram” among the most challenging parts of the paper — almost always because candidates plotted frequency as height.
Updated 20 August 2026
Why frequency density exists
With equal class widths, a bar chart of frequencies is honest: a class with twice the frequency looks twice as big. With unequal widths it lies — a class covering 0–50 with frequency 20 would dwarf a class covering 50–55 with frequency 15, even though the second is far more crowded. Dividing by the width fixes this: area = width × density = width × (frequency ÷ width) = frequency. Equal areas, equal frequencies, honest picture.
The examiner-proof way to work: always make a table with four columns — class, width, frequency, density — and fill it in before drawing or reading anything.
Drawing a histogram
- Write the class width of every interval (upper bound − lower bound).
- Divide each frequency by its width to get the density: .
- Label the vertical axis frequency density — not “frequency” — and choose a scale that fits the largest density.
- Draw each bar exactly spanning its class interval, to the computed height, with no gaps between adjacent bars.
Reading one backwards
Going from histogram to frequencies is the same triangle of values rearranged:
A question that says “show that there are 10 items in class D” wants the one-line calculation: width × height. A question giving you a frequency and asking for the bar height wants frequency ÷ width. Everything on this topic is one of these three rearrangements.
Worked example
Worked example
The masses of 48 parcels are grouped as: 0–1 kg (12 parcels), 1–1.5 kg (15), 1.5–2.5 kg (16), 2.5–4 kg (5). Find the frequency density of each class.
Table first — width, then divide:
0–1 kg: width 1, so
1–1.5 kg: width 0.5, so
1.5–2.5 kg: width 1, so
2.5–4 kg: width 1.5, so
Note the narrow 1–1.5 kg class ends up the tallest bar (30) despite not having the largest frequency — that is frequency density doing its job. And the last value stays as a fraction or recurring decimal on a drawing; round only if the scale forces you.
How 0580 examines histograms
Histograms with unequal widths are Extended content, typically one question worth 4–8 marks on Paper 2 or Paper 4. The standard parts: a “show that” using area = frequency (1 mark), completing frequencies from bar heights or heights from a table (2–3 marks), then a follow-on that reuses the frequencies — an estimated mean, or a probability of picking from particular classes. The follow-on is where table discipline pays: an estimated mean needs class midpoints (including both boundaries), and the wrong-answer chains almost always start from a mis-read frequency.
The mistakes that lose the marks
1.Plotting frequency as bar height
The single most common error on this topic. If class widths differ and your tallest bar belongs to the largest frequency, stop — you’ve drawn a bar chart, not a histogram.
2.Reading class width off the wrong boundaries
Width is upper bound minus lower bound of that class. For 1.5 < m ≤ 2.5 the width is 1, not 2.5. Write widths into your table before dividing anything.
3.Using class width (or boundary) instead of midpoint in the estimated mean
The estimated mean is . The midpoint is halfway between the boundaries — for 1.5–2.5 that’s 2, not 1 and not 2.5.
4.Leaving the vertical axis labelled 'frequency'
Label it frequency density. On drawing questions the scale and labelling can carry a mark, and the wrong label signals the wrong method even when the bars are right.
Common questions
How do you find frequency density?
Divide the frequency by the class width: . To go back the other way, frequency = frequency density × class width — which is the area of the bar.
What's the difference between a bar chart and a histogram?
A bar chart shows discrete categories: height = frequency, gaps between bars, any order you like. A histogram shows grouped continuous data: area = frequency, no gaps, bars in numerical order, and the height is frequency density.
Do histogram questions appear on Core papers?
Core histograms use equal class widths (so height and frequency coincide). Unequal widths and frequency density — the version this page covers — are Extended-only.
Practise histograms against real mark schemes
Quanta has real Cambridge IGCSE Maths 0580 past-paper questions, broken into skill checkpoints, marked criterion by criterion the way examiners mark — and it tracks which skills you’re missing. Free for individual students.
Start practising free