Building a cumulative frequency table
A grouped frequency table tells you how many values land in each class. A cumulative frequency table answers a different question: how many values are less than or equal to each class boundary. You build it with a running total — add the frequencies up as you go down the table.
Here is the data this whole page will use — the times, t seconds, taken by 80 students to solve a puzzle:
| Time (seconds) | Frequency | Cumulative frequency | Point to plot |
|---|---|---|---|
| 0 < t ≤ 20 | 6 | 6 | (20, 6) |
| 20 < t ≤ 30 | 14 | 6 + 14 = 20 | (30, 20) |
| 30 < t ≤ 40 | 26 | 20 + 26 = 46 | (40, 46) |
| 40 < t ≤ 50 | 20 | 46 + 20 = 66 | (50, 66) |
| 50 < t ≤ 70 | 14 | 66 + 14 = 80 | (70, 80) |
Example 1The heights, h cm, of 60 seedlings: 0 < h ≤ 10 (4 seedlings), 10 < h ≤ 20 (12), 20 < h ≤ 30 (22), 30 < h ≤ 40 (14), 40 < h ≤ 50 (8). Construct the cumulative frequency table, state the points to plot, and say where the curve will rise most steeply.
4 + 12 = 16
16 + 22 = 38
38 + 14 = 52
52 + 8 = 60
Plotting the cumulative frequency curve
Now plot the points and join them. The syllabus is precise about how: mark each plotted point clearly with a small cross (×), then join the crosses with a smooth curve — not dot-to-dot straight lines. The result is an elongated S-shape (sometimes called an ogive): flat where data is scarce, steep where data is crowded.
- Horizontal axis: the variable, on a proper continuous scale with units.
- Vertical axis: cumulative frequency, from 0 up to at least n.
- Start at the lower bound of the first class at height 0 — here (0, 0).
- Cross at every upper boundary: (20, 6), (30, 20), (40, 46), (50, 66), (70, 80).
- Join with a single smooth, always-rising curve.
Cumulative frequency curve — times of 80 students
Median, quartiles and the interquartile range
The whole point of the curve is that you can now read off measures of average and spread without a single calculation on the raw data. Everything is done with the dashed-line method: pick a position on the cumulative frequency axis, rule a dashed line across to the curve, then drop down and read the value on the horizontal axis.
For our 80 students: read the median at 80 ÷ 2 = 40, the lower quartile (LQ) at 80 ÷ 4 = 20 and the upper quartile (UQ) at 3 × 80 ÷ 4 = 60. On a curve you use n/2, not the (n + 1)/2 rule from listed data — with a large grouped data set the difference is invisible at graph accuracy, and n/2 is the convention mark schemes quote.
The dashed-line method on the same curve
Across from 20 → down to LQ = 30 s. Across from 40 → down to median ≈ 38 s. Across from 60 → down to UQ = 47 s. Always draw the dashed lines on the exam paper — they are part of the method mark.
Percentiles
Quartiles are just special percentiles: LQ is the 25th, the median the 50th, UQ the 75th. For the p-th percentile, read across from p% of n. The 90th percentile of our times sits at position 0.9 × 80 = 72 on the cumulative frequency axis — 90% of students finished at or below that time.
Quartile reader
Switch data set to change n, and watch the reading positions n/4, n/2, 3n/4 move and the dashed lines re-draw on the curve. Then dial in any percentile of your own.
Example 2Use the curve above to estimate the median, the quartiles and the interquartile range of the 80 puzzle times, showing the method.
Reverse readings and comparing distributions
So far we started on the cumulative frequency axis. Exam questions love the other direction too: start from a value, go up to the curve, and read off how many. And because the curve counts “less than or equal to”, questions about more than need one extra subtraction.
“How many took 35 s or less?”
Up from t = 35 to the curve, across to the axis: about 32. Read the answer straight off.
“How many took more than 35 s?”
Same reading, then subtract from the total: 80 − 32 = 48. Forgetting the subtraction is the classic slip — the curve never counts “more than” directly.
A count between two values is a double read: cumulative frequency at the upper value minus cumulative frequency at the lower value.
Comparing two curves
Given two cumulative frequency curves on the same axes (two classes, two brands, two seasons), the exam wants two comparison sentences, each quoting numbers, each in context:
- Average: compare the medians — “Class B’s median score (66) is higher than Class A’s (58), so Class B did better on average.”
- Spread: compare the IQRs — “Class B’s IQR (18) is smaller than Class A’s (29), so Class B’s scores are more consistent.”
The box plot — the curve’s summary
The five numbers you can read from a cumulative frequency curve — minimum, LQ, median, UQ, maximum — are exactly the five numbers a box-and-whisker plot displays. For our puzzle data (fastest solver 8 s, slowest 68 s):
Box plot of the 80 puzzle times, on the same scale
The box spans LQ to UQ, so the box width is the IQR (17 s) and half of all students are inside it; the whiskers reach the minimum and maximum. It is the same information as the curve, compressed into five numbers.
More worked examples
Example 3Using the curve of the 80 puzzle times, the reading at t = 55 is a cumulative frequency of 70. Estimate (a) how many students took more than 55 seconds, (b) how many took between 30 and 55 seconds.
Example 4For the same 80 students, estimate the 90th percentile of the times, and interpret it.
Example 5Write down the five-figure summary of the puzzle times (fastest 8 s, slowest 68 s) and use it to find the range and the IQR. Which of the two is the better measure of spread here, and why?
IQR = 47 − 30 = 17 s
Example 6Two classes sat the same test (marks out of 100). From their cumulative frequency curves: Class A has LQ 45, median 58, UQ 74; Class B has LQ 60, median 66, UQ 78. Compare the two classes’ performances.
so Class B did better on average.
so Class B’s marks are more consistent.
Your turn
Practice set
- A table has frequencies 5, 9, 16, 7, 3 for classes with upper bounds 10, 20, 30, 40, 50. Write down the cumulative frequencies and the five points to plot.
- A cumulative frequency curve is drawn for n = 60 values. At which cumulative frequencies do you read the LQ, the median and the UQ?
- From a curve, the readings are LQ = 24, median = 32 and UQ = 45. Find the interquartile range and state what it measures.
- A curve shows the masses of 200 parcels. The reading at 50 kg is 158. Estimate how many parcels have a mass greater than 50 kg.
- Two shops’ daily takings: Shop A median $62, IQR $10; Shop B median $55, IQR $26. Write two sentences comparing the shops.
- Running total: 5, 14, 30, 37, 40 — plot at the upper bounds: (10, 5), (20, 14), (30, 30), (40, 37), (50, 40) (and start the curve at cumulative frequency 0 on the first lower bound).
- LQ at 60 ÷ 4 = 15, median at 60 ÷ 2 = 30, UQ at 3 × 60 ÷ 4 = 45.
- IQR = 45 − 24 = 21 — a single number: the width of the interval containing the middle half of the data.
- 158 parcels are at 50 kg or less, so heavier than 50 kg: 200 − 158 = 42 parcels.
- Shop A’s median takings ($62) are higher than Shop B’s ($55), so A takes more on a typical day. Shop A’s IQR ($10) is smaller than Shop B’s ($26), so A’s takings are more consistent.
Key points to remember
- Cumulative frequency is a running total of the frequencies — the last value must equal n, and that is your built-in check.
- Plot every point at the upper class boundary — never at midpoints or lower bounds — mark points with small crosses (×) and join them with a smooth increasing curve.
- Read the median at n/2, the LQ at n/4 and the UQ at 3n/4 on the cumulative frequency axis, using dashed lines across then down.
- IQR = UQ − LQ, a single number: the spread of the middle half of the data, immune to extreme values.
- The p-th percentile is read at p% of n; the quartiles are the 25th, 50th and 75th percentiles.
- “More than x” = n − reading at x; a between-count is the difference of two readings. Every value from a curve is an estimate.
- Comparing two data sets: one sentence on the medians (average), one on the IQRs (consistency) — quote the numbers and name the context.
Where next?
🎥 Take the interactive module
Representing Data — the full teaching module for this topic, with real past-paper questions and mark schemes.
✏️ Practise exam questions
Statistics — 25 exam-style questions worth 99 marks, with full answers and the mark scheme.
Progress is saved on this device only and appears on the notes home page.