- How to change a frequency table into a cumulative frequency table.
- How to plot a cumulative frequency graph using upper boundaries.
- How to estimate the median and quartiles from the graph.
- How cumulative frequency links to box plots.
A frequency is how many times something happens. For example, if 8 people take between 5 and 10 seconds, the frequency for that group is 8.
When data is in groups, each group is called a class interval. For example, 5<t≤105 < t \le 105<t≤10 means the time is more than 5 seconds and up to 10 seconds.
Cumulative frequency
Cumulative frequency means the running total of the frequencies. You keep adding the frequencies as you move down the table.
Making a cumulative frequency table
-
Imagine these grouped times for 42 people:
| Time taken | Frequency |
|---|
| more than 0 up to 5 seconds | 7 |
| more than 5 up to 10 seconds | 11 |
| more than 10 up to 15 seconds | 13 |
| more than 15 up to 20 seconds | 8 |
| more than 20 up to 25 seconds | 3 |
-
Start with the first cumulative frequency: 7.
-
Add each new frequency to the total so far:

$$
\begin{aligned}
7 + 11 &= 18\\
18 + 13 &= 31\\
31 + 8 &= 39\\
39 + 3 &= 42
\end{aligned}
$$
4. The cumulative frequencies are:
| Time up to | Cumulative frequency |
|---|---:|
| 5 seconds | 7 |
| 10 seconds | 18 |
| 15 seconds | 31 |
| 20 seconds | 39 |
| 25 seconds | 42 |
5. Check the final cumulative frequency is 42, the same as the total number of people.
Quick check
The last cumulative frequency should equal the total frequency. If it does not, one of your additions is wrong.
A cumulative frequency graph shows the running total on the vertical axis. An axis is one of the numbered lines on a graph.
Upper boundary
The upper boundary, or upper bound, is the largest value included in a class interval. For 5<t≤105 < t \le 105<t≤10, the upper boundary is 10.
What to plot
For cumulative frequency graphs, plot the upper boundary against the cumulative frequency. Also include the starting point at the lower boundary with cumulative frequency 0.
Plotting the graph
-
Use the cumulative frequencies from the previous example.
-
Put time in seconds on the horizontal axis and cumulative frequency on the vertical axis.
-
Plot the starting point (0, 0) because up to 0 seconds, nobody has been counted.
-
Plot the cumulative frequency points: (5, 7), (10, 18), (15, 31), (20, 39), (25, 42).

- Join the points with a smooth increasing curve.

Plotting the midpoint
Do not plot the middle of each class interval. For cumulative frequency, you plot the upper boundary, such as 5, 10, 15 and so on.

The graph helps you estimate key positions in the data.
Median and quartiles
- The median is the middle value.
- The lower quartile, written Q1Q_1Q1, is one quarter of the way through the data.
- The upper quartile, written Q3Q_3Q3, is three quarters of the way through the data.
- The interquartile range, or IQR, is Q3−Q1Q_3 - Q_1Q3−Q1. It measures the spread of the middle 50% of the data.
To find these from a cumulative frequency graph, use the total frequency, usually called NNN.
- Lower quartile position: N4\frac{N}{4}4N
- Median position: N2\frac{N}{2}2N
- Upper quartile position: 3N4\frac{3N}{4}43N
Estimating quartiles from a graph
-
A cumulative frequency graph represents 60 batteries and their lifetimes. So N=60N=60N=60.
-
Find the positions for Q1Q_1Q1, the median and Q3Q_3Q3:
Q1:604=15median:602=30Q3:3×604=45\begin{aligned}
Q_1 &: \frac{60}{4} = 15\\
\text{median} &: \frac{60}{2} = 30\\
Q_3 &: \frac{3 \times 60}{4} = 45
\end{aligned}Q1medianQ3:460=15:260=30:43×60=45
-
On the vertical cumulative frequency axis, start at 15, 30 and 45. For each one, read across to the curve, then down to the horizontal axis.

-
Suppose the graph gives these estimates: Q1=22Q_1=22Q1=22, median 31, and Q3=41Q_3=41Q3=41 minutes.
-
Use the quartile estimates to find the IQR in minutes:
IQR=41−22=19\text{IQR} = 41 - 22 = 19IQR=41−22=19
These are estimates
Because the data is grouped and the curve is drawn by hand, medians and quartiles read from a cumulative frequency graph are usually estimates.
A box plot is a diagram that summarises a set of data using five important values.
Box plot
A box plot shows the five-number summary: lowest value, lower quartile, median, upper quartile and highest value.
The range is the highest value minus the lowest value. It shows the overall spread.
Drawing a box plot from summary values
-
Suppose a set of times has lowest value 4 seconds, Q1=10Q_1=10Q1=10 seconds, median 14 seconds, Q3=21Q_3=21Q3=21 seconds and highest value 30 seconds.
-
Draw a horizontal number line with a sensible scale, such as 0 to 30 seconds.
-
Draw a box from 10 to 21.
-
Put a vertical line inside the box at 14 for the median.
-
Draw a whisker from 4 to 10 and another whisker from 21 to 30.

Forcing the median into the centre
The median line does not have to be in the middle of the box. Put it at its actual value on the scale.
Box plots are useful because you can compare two data sets quickly.
- A higher median means the typical value is higher.
- A larger IQR means the middle 50% is more spread out.
- A larger range means the whole data set is more spread out.
Comparing two box plots
- Class A has median 46 and IQR 18. Class B has median 52 and IQR 9.

-
Compare the medians: Class B has the higher typical mark.
-
Compare the IQRs: Class B is more consistent because its middle 50% is less spread out.
-
A good comparison sentence would be: Class B generally scored higher and the marks were less spread out.
In the exam
-
Add frequencies carefully and check the final cumulative frequency equals the total.
-
Plot upper boundaries, not midpoints, and include the starting point with cumulative frequency 0.
-
When estimating quartiles, start on the cumulative frequency axis, read across to the curve, then down to the data axis.
Check yourself
-
If the total frequency is 80, what cumulative frequency values would you use to estimate Q1Q_1Q1, the median and Q3Q_3Q3?
-
Why do cumulative frequency graphs use upper boundaries?
-
What does a larger IQR tell you when comparing two box plots?