Cumulative frequency graphs and box plots: GCSE exam questions
Draw a cumulative frequency graph, read off the median and quartiles, then read and compare box plots, with five exam questions to practise on.
On this page
A cumulative frequency graph plots a running total of the data against the upper end of each class interval. From it you can estimate the median, the lower quartile and the upper quartile. A box plot draws those three values together with the smallest and largest values, so the two diagrams go together: the readings from one are what the other shows.
This page follows Pearson Edexcel GCSE Mathematics (1MA1). Edexcel's specification prints cumulative frequency graphs, "including box plots" and "quartiles and inter-quartile range" in bold type, which marks content that only Higher tier papers test.
What is cumulative frequency?
Cumulative frequency is the running total of the frequencies up to the upper end of each class interval. It answers the question "how many values are at or below this value?"
Here are the test scores of 50 students:
| Test score (s) | Frequency | Cumulative frequency |
|---|---|---|
| 0 < s ≤ 10 | 4 | 4 |
| 10 < s ≤ 20 | 8 | 4 + 8 = 12 |
| 20 < s ≤ 30 | 13 | 12 + 13 = 25 |
| 30 < s ≤ 40 | 15 | 25 + 15 = 40 |
| 40 < s ≤ 50 | 10 | 40 + 10 = 50 |
Each cumulative frequency is the number of students who scored at or below the upper end of that class: 25 students scored 30 or less. The last cumulative frequency must equal the total frequency, here 50, which makes a quick check on your table.
How to draw a cumulative frequency graph
- Work out the cumulative frequency for each class.
- Label the horizontal axis with what was measured, such as test score.
- Label the vertical axis "cumulative frequency", with a scale that reaches the total frequency.
- Plot each cumulative frequency at the upper end of its class interval.
- Plot the starting point: the lower end of the first class interval, with a cumulative frequency of 0.
- Join the points with a smooth curve or with straight line segments.
Two of these steps are where graphs go wrong:
- Plot at the upper end of each class, not the midpoint. The running total of 12 counts every score up to 20, so it is plotted at 20.
- Start at the lower end of the first class, at 0. No one scored 0 or less, so the graph starts at (0, 0).
For the test scores, the points are (0, 0), (10, 4), (20, 12), (30, 25), (40, 40) and (50, 50). A running total can never fall, so the graph always goes up or stays level. It never goes down.
How to find the median and quartiles from a cumulative frequency graph
You can read a cumulative frequency graph in two directions.
To estimate how many values are at or below a given value:
- Start at the value on the horizontal axis.
- Go up to the curve.
- Go across to the cumulative frequency axis and read the count.
To estimate the value that matches a cumulative frequency:
- Start at the cumulative frequency on the vertical axis.
- Go across to the curve.
- Go down to the horizontal axis and read the value.
The median and the quartiles are read the second way. For a total frequency of n, read across from these cumulative frequencies:
- lower quartile: n ÷ 4
- median: n ÷ 2
- upper quartile: (3 × n) ÷ 4
For the 50 test scores, that is 50 ÷ 4 = 12.5, 50 ÷ 2 = 25 and (3 × 50) ÷ 4 = 37.5.

Read from the curve, the lower quartile is about 20.5, the median about 30 and the upper quartile about 38.1. Each is an estimate: the data are grouped, so the graph cannot show the exact scores. Q1, Q2 and Q3 are short names for the lower quartile, the median and the upper quartile.
The interquartile range is the spread of the middle half of the data:
interquartile range = upper quartile − lower quartile
Edexcel's specification writes it "inter-quartile range", with a hyphen. It is the same thing.
Say a cumulative frequency graph shows the scores of 80 students:
- The lower quartile is at 80 ÷ 4 = 20. Reading across from 20 gives a score of 18.
- The median is at 80 ÷ 2 = 40. Reading across from 40 gives 31.
- The upper quartile is at (3 × 80) ÷ 4 = 60. Reading across from 60 gives 43.
- The interquartile range is 43 − 18 = 25.
What does a box plot show?
A box plot shows five values: the minimum, the lower quartile, the median, the upper quartile and the maximum. The box runs from the lower quartile to the upper quartile, with a line inside it at the median. The ends of the plot mark the minimum and the maximum.
The length of the box is the interquartile range. A longer box means the middle half of the data is more spread out, and a shorter box means it is more closely grouped. The spread of the middle half is the interquartile range, not the distance between the two ends.

To read a box plot, take each value from the scale. Here are the five values from a box plot of test scores:
| Box plot feature | Value (marks) | Meaning |
|---|---|---|
| Minimum | 42 | Lowest score |
| Lower quartile, Q1 | 55 | Separates the lowest quarter from the rest |
| Median, Q2 | 67 | Middle value (average) of the scores |
| Upper quartile, Q3 | 74 | Separates the highest quarter from the lowest three quarters |
| Maximum | 90 | Highest score |
The median is 67 marks, and the interquartile range is 74 − 55 = 19 marks. So the middle half of the scores lies between 55 and 74 marks.
How to compare box plots
Box plots can be compared when they use the same units and the same scale. Make two comparisons, each with its numbers:
- The medians, for the average: the higher median shows the higher average.
- The interquartile ranges, for the spread: the larger interquartile range shows the more spread-out middle half.
The two box plots in the picture above are two classes who sat the same test. The picture prints Class A's five values; Class B's are given in the table:
| Box plot value | Class A (marks) | Class B (marks) |
|---|---|---|
| Minimum | 41 | 36 |
| Lower quartile, Q1 | 60 | 48 |
| Median, Q2 | 72 | 71 |
| Upper quartile, Q3 | 80 | 88 |
| Maximum | 91 | 97 |
- Medians: Class A 72 marks, Class B 71 marks. Class A has a slightly higher average, though the medians are very close.
- Interquartile range for Class A: 80 − 60 = 20 marks.
- Interquartile range for Class B: 88 − 48 = 40 marks.
- Class B has the larger interquartile range, so its middle half is more spread out.
The conclusion, with its evidence: the classes have similar median scores (72 and 71 marks), but Class B's scores are more spread out, with an interquartile range of 40 marks against 20 marks for Class A.
Cumulative frequency and box plot exam questions with answers
Each question below is an exam-style question from Medly, marked with Medly's mark scheme.
Question 1: (3 marks)
For a set of grouped times, the upper end of each class interval is 10, 20, 30 and 40 minutes.
A student claims that the points (5, 8), (15, 20), (25, 17) and (40, 33) can be used to draw a cumulative-frequency graph to estimate the median.
Is the student's claim correct? You must show how you get your answer.
Answer
- The points must be at the upper ends of the classes, but 5, 15 and 25 are not 10, 20 and 30 (1 mark).
- The cumulative frequency goes down, from 20 to 17. A running total cannot fall (1 mark).
- The claim is not correct, because the points do not form a valid cumulative frequency graph for estimating the median (1 mark, needed for full marks). This mark is given only when the conclusion is backed by the two comparisons above.
Question 2: (6 marks)
Medly's question is answered on screen, so part (a) says "Draw a cumulative-frequency graph for this information below in full". On paper, draw it on graph paper.
The cumulative frequency table shows the masses, in kg, of 80 suitcases at an airport check-in desk. The masses are grouped continuous data.
| Upper mass boundary (kg) | 5 | 10 | 15 | 20 | 25 | 30 |
|---|---|---|---|---|---|---|
| Cumulative frequency | 8 | 24 | 47 | 66 | 78 | 80 |
(a) Draw a cumulative-frequency graph for this information below in full, including suitable scales, axes labelled mass (kg) and cumulative frequency, all plotted points, and a curve joining them. (2 marks)
(b) Use your graph to find an estimate for the number of suitcases with mass at or below 12 kg. (2 marks)
(c) Use the cumulative-frequency information to find an estimate for the interquartile range of the suitcase masses. (2 marks)
Answer
(a)
- Plot the points (5, 8), (10, 24), (15, 47), (20, 66), (25, 78) and (30, 80) on axes with suitable scales (1 mark). At least 5 of the 6 points plotted correctly, on axes that are scaled and labelled, earns this mark. The table gives no lower end for the first class, so the scheme asks for these six points only.
- Join the points with a smooth curve or straight line segments that always goes up or stays level, never down (1 mark, needed for full marks). This mark follows through from your own points.
(b)
- Draw a line up from 12 kg on the mass axis to your curve, then across to the cumulative frequency axis (1 mark). A mark on the curve at 12 kg also shows the method.
- Read off the estimate: it should be in the range 31 to 35 suitcases (1 mark, needed for full marks). The scheme follows through from your own graph. As a check, 12 kg is between 10 kg and 15 kg, so the reading must be between 24 and 47.
(c)
- The total frequency is 80, so the lower quartile is at 80 ÷ 4 = 20 and the upper quartile at (3 × 80) ÷ 4 = 60. Read across from 20 and from 60 to your curve, then down to the mass axis (1 mark).
- Interquartile range = upper quartile − lower quartile, about 9.7 kg (1 mark, needed for full marks). Answers from 9.5 kg to 10 kg are accepted, and the mark follows through from your own readings.
The scheme accepts "graph read-off or linear interpolation from the grouped data". If you joined the points with straight lines, reading across and down a straight segment is the same sum. The 20th suitcase is 20 − 8 = 12 suitcases into the 5 kg to 10 kg class, which holds 24 − 8 = 16, and the 60th is 60 − 47 = 13 suitcases into the 15 kg to 20 kg class, which holds 66 − 47 = 19. Each class is 5 kg wide, so start from the lower end of the class and add that fraction of 5 kg: the two readings are 5 + (12 ÷ 16) × 5 = 8.75 and 15 + (13 ÷ 19) × 5 = 18.42..., and 18.42... − 8.75 = 9.67..., which is 9.7 to 1 decimal place.
Question 3: (6 marks)
The table shows the cumulative frequencies for the lengths, in mm, of 80 leaves from a tree.
| Length (mm) | up to 25 | up to 40 | up to 55 | up to 75 |
|---|---|---|---|---|
| Cumulative frequency | 20 | 40 | 60 | 80 |
(a) Use the table to find an estimate for the median and the inter-quartile range of the lengths. (3 marks)
(b) The lengths of 80 leaves from a second tree have a median of 40 mm and an inter-quartile range of 12 mm.
A student says, "The leaves from the two trees have the same distribution of lengths, because their medians are the same."
Is the student correct? You must give a reason for your answer. (3 marks)
Answer
(a)
Medly's scheme awards the three points independently.
- The median is the 80 ÷ 2 = 40th leaf, so the median is 40 mm (1 mark). Only 40 mm earns this mark.
- The upper quartile is the (3 × 80) ÷ 4 = 60th leaf, 55 mm, and the lower quartile is the 80 ÷ 4 = 20th leaf, 25 mm. Subtract: 55 − 25 (1 mark).
- The interquartile range is 30 mm (1 mark). Only 30 mm earns this mark.
(b)
Medly's scheme lists four points for this part, with the marker's note: "Award any 3 of the 4 points". The fourth point, the conclusion, is essential for full marks.
- Use the first tree's interquartile range: 55 − 25 = 30 mm (1 mark). The 30 from part (a) counts.
- Compare the interquartile ranges: 30 mm for the first tree against 12 mm for the second (1 mark). A correct comparison in words, such as "the first tree has the larger inter-quartile range", is accepted.
- Say what that means: the lengths of the first tree's leaves are more spread out, or the second tree's lengths are more closely grouped (1 mark). Equivalent wording, such as "the second tree's leaf lengths are more consistent", is accepted.
- Conclude: the student is not correct, because the medians are the same but the spreads are different (1 mark, needed for full marks). The decision must come with a reason about spread. The scheme rejects a decision with no reason, or a reason using the medians only.
Question 4: (4 marks)
The box plots show finishing times, in minutes, for 40 runners in the Riverside and Moorland marathons. Each runner completed 42.2 km. The horizontal scales are identical. Study the figure.

(a) Find the ratio of the interquartile range for the Riverside Marathon to the interquartile range for the Moorland Marathon. (2 marks)
(b) Work out the value of the difference between the median finishing times. (2 marks)
Answer
(a)
- Use the quartiles to find each interquartile range: Riverside 250 − 200 = 50 and Moorland 270 − 210 = 60 (1 mark).
- The ratio Riverside : Moorland is 50 : 60, which simplifies to 5 : 6 (1 mark, needed for full marks). Any equivalent ratio is accepted, in the order Riverside : Moorland.
(b)
- Read the medians: 230 minutes for Riverside and 240 minutes for Moorland (1 mark).
- The difference is 240 − 230 = 10 minutes (1 mark, needed for full marks). 10 is accepted with or without the unit.
Question 5: (2 marks)
The five-number summaries for the puzzle-solving times, in minutes, of two clubs are shown below.
| Club | Minimum | Lower quartile (Q1) | Median (Q2) | Upper quartile (Q3) | Maximum |
|---|---|---|---|---|---|
| Orchard Club | 14 | 21 | 27 | 34 | 48 |
| Harbour Club | 12 | 24 | 31 | 36 | 43 |
Compare the distribution of the puzzle-solving times of Orchard Club with the distribution of the puzzle-solving times of Harbour Club.
Answer
- Compare the medians: Harbour Club has the higher median puzzle-solving time, 31 minutes compared with 27 minutes for Orchard Club (1 mark). An equivalent comparison of the medians in context is accepted.
- Compare the spreads: Orchard Club has the larger interquartile range, 34 − 21 = 13 minutes compared with 36 − 24 = 12 minutes for Harbour Club (1 mark). A comparison of the ranges in context is also accepted: Orchard Club has the larger range, 48 − 14 = 34 minutes compared with 43 − 12 = 31 minutes.
Where marks are lost on cumulative frequency and box plot questions
Each of these comes from a mark scheme printed on this page.
- Points in the wrong place, or a graph that goes down. Question 1's scheme gives one mark for spotting points that are not at the upper ends of the classes, and one for spotting a cumulative frequency that falls.
- A decision with no reason, or a reason about the medians only. Question 3 (b)'s scheme says: "Reject a decision with no reason, or a reason using the medians only."
- A comparison that leaves out the context. Question 5's scheme accepts comparisons "in context", and its own wording names the club and gives the times in minutes: "Harbour Club has the higher median puzzle-solving time: 31 minutes compared with 27 minutes for Orchard Club".
These questions come down to two habits: reading across at the right cumulative frequency, and backing each comparison with its numbers. Medly has an Edexcel GCSE Mathematics course at Higher. Medly's free plan includes 5 marked questions, 20 AI tutor messages and 1 uploaded paper a day, with no card needed. Medly marks written answers like Question 5 against the mark scheme, so you can see which point you missed.
Which paper are cumulative frequency and box plots on?
Any of the three. Edexcel's specification says the content for each tier is assessed across all three papers. Paper 1 is the non-calculator paper, and a calculator is allowed in Papers 2 and 3. Our specification guide has the papers and their dates.
The mathematics on this page does not change with the exam board. What it says about tiers, papers and the formula sheet is Edexcel's: if you sit another board, check those in your own specification.
Cumulative frequency graphs and box plots are not on Edexcel's formula sheet: our formula sheet guide shows what the sheet prints.
Cumulative frequency graphs are in statement S3 of Edexcel's specification, and box plots and quartiles are in statement S4.
Frequently asked questions
Do you plot cumulative frequency at the upper bound or the midpoint?
Plot it at the upper bound, the upper end of each class interval, never at the midpoint. The running total counts every value up to the end of the class.
Should a cumulative frequency graph start at 0?
It starts at the lower end of the first class interval, with a cumulative frequency of 0. For classes that begin at 0 < s ≤ 10, the first point is (0, 0).
How do you find the median from a cumulative frequency graph?
Read across from half the total frequency, n ÷ 2, to the curve, then down to the horizontal axis. For 80 values, read across from 40.
What is the interquartile range?
The interquartile range is the upper quartile minus the lower quartile. It measures the spread of the middle half of the data, and on a box plot it is the length of the box.
What are the five values in a box plot?
A box plot uses the minimum, the lower quartile, the median, the upper quartile and the maximum, in that order along the scale.
What is the difference between a cumulative frequency graph and a histogram?
A cumulative frequency graph plots running totals at the upper end of each class, so you can read off the median and quartiles. A histogram draws a bar for each class with frequency density as its height, so the area of each bar is the frequency.
Are cumulative frequency and box plots on the Foundation paper?
Edexcel's Foundation tier list has no statement on cumulative frequency graphs or box plots. Comparing distributions by their medians and ranges is in statement S4 of both lists. In the Higher tier list, cumulative frequency graphs are in statement S3, printed in bold, and S4 adds, in bold, "including box plots" and "quartiles and inter-quartile range": bold type marks content that only Higher tier papers test.