A box plot squeezes a whole data set into five numbers: the minimum, lower quartile, median, upper quartile and maximum. A cumulative frequency graph is how you find those numbers when the data come in groups. Together they are the main statistics unit of MYP 5 in most schools, and they lead straight into the "compare these two groups" tasks that teachers use for criterion D.
This guide builds both from scratch with four original examples, shows how outliers are decided, and gives model sentences for comparisons. Grade 10 students who want support across the statistics unit can work with our IB MYP 5 maths tutors.
Where this unit sits
Statistics and probability is one of the four areas of the IB's MYP maths framework. The IB leaves the year-by-year order to schools, and in the plans we see:
- Cumulative frequency, quartiles, the interquartile range (IQR) and box plots are usually taught in MYP 5, sometimes in late MYP 4.
- In many schools, extended maths adds topics such as standard deviation, histograms with unequal class widths and regression using technology.
If grouped data and the estimated mean feel rusty, go back one step to our MYP 4 guide to grouped data, tree diagrams and Venn diagrams. For the full Grade 10 picture, see the MYP 5 topic table and parent term plan.
The key words
| Term | Meaning |
|---|---|
| Cumulative frequency | A running total of frequencies up to the end of each class |
| Median (Q2) | The middle value; half the data lie below it |
| Lower quartile (Q1) | A quarter of the data lie below it |
| Upper quartile (Q3) | Three quarters of the data lie below it |
| Interquartile range (IQR) | Q3 − Q1, the spread of the middle half of the data |
| Outlier | A value unusually far from the rest; a common rule is below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR |
Worked example 1: a cumulative frequency table and graph
Eighty students recorded their journey time to school.
| Time t (minutes) | Frequency | Cumulative frequency |
|---|---|---|
| 0 < t ≤ 10 | 6 | 6 |
| 10 < t ≤ 20 | 18 | 24 |
| 20 < t ≤ 30 | 25 | 49 |
| 30 < t ≤ 40 | 19 | 68 |
| 40 < t ≤ 50 | 9 | 77 |
| 50 < t ≤ 60 | 3 | 80 |
Plot at the upper class boundary: (10, 6), (20, 24), (30, 49), (40, 68), (50, 77), (60, 80), and start at (0, 0). Join with a smooth curve or straight lines, as your teacher prefers. The curve should rise and level off in an S shape.
Read the graph. With n = 80, read across at 80 ÷ 4 = 20, 80 ÷ 2 = 40 and 3 × 80 ÷ 4 = 60.
Using straight lines between the plotted points, the estimates are:
- Median: 20 + (40 − 24) ÷ 25 × 10 = 26.4 minutes
- Q1: 10 + (20 − 6) ÷ 18 × 10 = 17.8 minutes
- Q3: 30 + (60 − 49) ÷ 19 × 10 = 35.8 minutes
- IQR: 35.8 − 17.8 = 18.0 minutes
A smooth curve read by eye gives values within a minute or so of these, which is fine; they are estimates because the data are grouped.
How many took longer than 45 minutes? Read up from 45: about 68 + 9 ÷ 2 = 72.5. So about 80 − 72.5 ≈ 7 or 8 students, roughly 9% of the group.
Worked example 2: a box plot from raw data
Fifteen scores out of 40, in order:
3, 5, 7, 8, 8, 10, 11, 12, 14, 15, 15, 17, 19, 22, 31
- Median: the 8th value, 12.
- Q1: the median of the lower seven values (3 to 11), which is the 4th value, 8.
- Q3: the median of the upper seven values (14 to 31), which is the 12th value, 17.
- IQR: 17 − 8 = 9.
Outlier check. Q3 + 1.5 × IQR = 17 + 13.5 = 30.5, and Q1 − 1.5 × IQR = 8 − 13.5 = −5.5. The score 31 is above 30.5, so it is an outlier. Nothing is below −5.5.
Draw the box plot on a scale from 0 to 35: a box from 8 to 17 with a line at 12, a left whisker to 3, a right whisker to 22 (the largest value that is not an outlier), and a cross at 31.
A note on methods. Calculators and software do not all find quartiles the same way. One common method gives Q3 = 16 for this data set instead of 17. Use the method your teacher uses, and say which one if asked.
Worked example 3: comparing two box plots (criterion D style)
Two Grade 10 classes sat the same test, out of 60.
| Minimum | Q1 | Median | Q3 | Maximum | IQR | Range | |
|---|---|---|---|---|---|---|---|
| Class X | 22 | 31 | 38 | 44 | 55 | 13 | 33 |
| Class Y | 18 | 35 | 41 | 47 | 60 | 12 | 42 |
A model comparison:
"On average, Class Y did better: its median of 41 is 3 marks higher than Class X's 38. The middle half of each class was about equally consistent, with IQRs of 12 and 13. Class Y's range is larger (42 compared with 33), so it had both the lowest and the highest single scores, but the IQR shows this comes from a few students at the ends rather than the whole class."
Notice the structure: compare a centre (median), compare a spread (IQR), say what each means in context, and only then mention the range, which one extreme value can distort.
Worked example 4: what happens when every value changes?
Suppose roadworks add 5 minutes to every journey in example 1.
- The median, Q1 and Q3 each rise by 5: about 31.4, 22.8 and 40.8 minutes.
- The IQR stays 18.0 minutes, because both quartiles move by the same amount.
If instead every time were doubled, the median and quartiles would double, and so would the IQR (36.0 minutes).
This kind of question tests understanding rather than calculation, and it appears often in investigations. Adding a constant shifts the box plot; multiplying stretches it.
Mistakes our tutors see
- Plotting cumulative frequency at the midpoint instead of the upper class boundary.
- Mixing up the positions. For a cumulative frequency graph of grouped data, most teachers read at n ÷ 2, n ÷ 4 and 3n ÷ 4; the (n + 1) ÷ 2 position is for a short ordered list.
- Including the median in the halves when finding quartiles for an odd-sized list, against the method the class uses.
- Drawing the whisker to an outlier. The whisker ends at the last value that is not an outlier.
- Comparing ranges only. The range depends on two extreme values; the IQR is more reliable.
- Comparisons with no context. "Y is higher" should be "Class Y's median mark is higher".
- Forgetting the scale on a box plot, which makes it impossible to read.
Technique for tests and the on-screen exam
- Show the reading lines on a cumulative frequency graph: across from the frequency, then down to the axis.
- Write the five-number summary before drawing any box plot.
- Use the same scale for box plots you want to compare, one above the other.
- Comparisons: one sentence on centre, one on spread, both in context, then one on reliability.
- On screen, typed answers need the same clear sentences. Our guide to planning revision for MYP maths eAssessment covers practising on screen.
Self-check (answers below)
- Find the median, Q1 and Q3 of 4, 6, 6, 9, 11, 12, 15, 18, 21 (exclude the median from the halves).
- Using your answers, find the IQR and decide whether 21 is an outlier.
- A cumulative frequency graph has n = 120. At what cumulative frequencies do you read the median and quartiles?
- Each value in a data set is increased by 3. What happens to the median and the IQR?
Answers: 1) Median 11, Q1 6, Q3 16.5. 2) IQR 10.5; upper limit 16.5 + 15.75 = 32.25, so 21 is not an outlier. 3) 60 for the median, 30 for Q1 and 90 for Q3. 4) The median rises by 3; the IQR does not change.
Where this leads
Box plots and quartiles are the starting point for descriptive statistics in the DP, where Applications and Interpretation in particular spends a lot of time on data, technology and interpretation. Our AI SL topic overview shows how statistics grows there.
How Maths Bodhi helps
In a free demo, the tutor gives a short grouped table and asks for a median estimate and one comparison sentence, then reads the sentence as a teacher would. Most marks in this unit are lost in the explanation, so sessions pair quick calculations with written comparisons and criterion-level feedback. For focused help, see our statistics tuition for handling and comparing data, or read how we teach MYP maths across all five years.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.
Frequently asked questions
- How do you find the median from a cumulative frequency graph?
- Find half the total frequency, n ÷ 2, on the vertical axis, read across to the curve and then down to the horizontal axis. The value there is the estimated median.
- How do you find the quartiles for a box plot?
- Put the data in order and find the median. Q1 is the median of the lower half and Q3 is the median of the upper half. Methods differ on whether the middle value is included, so follow your teacher's method.
- How do you know if a value is an outlier?
- A common rule is that a value is an outlier if it is more than 1.5 × IQR below Q1 or above Q3. Mark outliers with a cross and end the whisker at the last value that is not an outlier.
- Why is the IQR better than the range for comparing data?
- The range uses only the two most extreme values, so one unusual value can change it a lot. The IQR measures the middle half of the data and is not affected by extremes.
- Where do you plot points on a cumulative frequency graph?
- At the upper boundary of each class, against the running total. Start the curve at the lower boundary of the first class with a cumulative frequency of 0.
- Are box plots in MYP 5 standard maths?
- In most schools, cumulative frequency and box plots are taught in MYP 5, often to all students. The IB does not set topics by year, so check your school's unit plan.
