Lemmara logo

Finding the Median and Quartiles

Find the median, quartiles and interquartile range from a list or from a cumulative frequency graph, and read the graph backwards.

85real exam questions on this topic
  • 7 steps
  • 7 min
  • 3 syllabuses

Try a real exam question on this

0580/21 · May/Jun 2026 · Q14 · 5 marks · Solve it step by step, the way the examiner marks it.

Loading the animated solution…

See the solution as text
Text version of the solution

Using a cumulative frequency curve for 60 students' television watching times, estimate the median and interquartile range, then complete a grouped frequency table.

(ai) 1 mark

Estimate the median time from the cumulative frequency curve.

  1. Median at cumulative frequency 60 ÷ 2 = 30
  2. Read across to the curve and down: t = 2.5 hours

Answer 2.5

(aii) 2 marks

Estimate the interquartile range from the cumulative frequency curve.

  1. LQ at cf 15: t = 1.8
  2. UQ at cf 45: t = 3
  3. IQR = 3 − 1.8 = 1.2 hours

Answer 1.2

(b) 2 marks

Use the curve to fill in the missing frequencies for the 1 < t ≤ 2 and 2 < t ≤ 3 groups.

  1. cf at t = 1 is 7, at t = 2 is 18, at t = 3 is 45
  2. 1 < t ≤ 2: 18 − 7 = 11
  3. 2 < t ≤ 3: 45 − 18 = 27

Answer 11, 27

The lesson, step by step

Step 1 of 7

Quartiles Cut the Data Into Quarters

Put the data in order. The median cuts it in half. The quartiles cut each half in half again.

WordWhat it means
Lower quartilea quarter of the way along
Medianhalfway along
Upper quartilethree quarters of the way along

Formula

The interquartile range, IQR, is the upper quartile take away the lower quartile. It is the spread of the middle half of the data.

Key idea

The IQR ignores the very smallest and biggest values. So one strange value cannot spoil it, unlike the range.

Key idea

Doctors check a baby's weight on a growth chart. The middle curve is the 50th percentile, the median. The 25th and 75th percentile curves are the lower and upper quartiles. A baby on the 75th curve weighs more than about 75% of babies of the same age.

See this step move in Lemmara

Step 2 of 7

Quartiles From a List

The 2 or 3-mark question: "Find the interquartile range" of a list. Order the list, then count to each position.

Dina cycled these distances, in km, on 11 days: 12, 7, 20, 4, 15, 9, 25, 11, 6, 18, 14.

Formula

Here is how many values there are.

Worked example

  1. 1

    — Put the 11 distances in order, smallest first. Quartiles only work on an ordered list.

  2. 2

    — The rest of the ordered list. Count the values: .

  3. 3

    — Put into the lower quartile formula. This gives a position, not the answer.

  4. 4

    — Count 3 along the ordered list: 4, 6, 7. So the lower quartile is 7 km.

  5. 5

    — The median is halfway along, the 6th value. You do not need it for the IQR, but questions often ask for it too.

  6. 6

    — The upper quartile position is three times the lower one: 3 × 3 = 9.

  7. 7

    — Count 9 along the list. So the upper quartile is 18 km.

  8. 8

    — IQR = upper quartile − lower quartile. Keep the units of the data.

Common mistake

Forgetting to order the list, or giving the position (3rd) instead of the value (7).

Key idea

15 values: the quartiles are the th and the th values.

See this step move in Lemmara

Step 3 of 7

When the Position Ends in .5

Exams often use 9 or 13 values. Then the position ends in .5, and the quartile is halfway between two values. Nine students spent these minutes on homework, already in order: 23, 25, 28, 31, 34, 36, 40, 42, 47.

Worked example

  1. 1

    — Count the values. They are already in order, so you can start counting positions.

  2. 2

    — The lower quartile position. 2.5th means halfway between the 2nd and the 3rd values.

  3. 3

    — The 2nd value is 25 and the 3rd is 28. Add them and halve to find the middle: LQ = 26.5.

  4. 4

    — The upper quartile position: halfway between the 7th and the 8th values.

  5. 5

    — The 7th value is 40 and the 8th is 42. Halfway between them: UQ = 41.

  6. 6

    — IQR = upper quartile − lower quartile.

Common mistake

Giving 25 or 28 as the lower quartile. Position 2.5 means halfway between them.

Key idea

A stem-and-leaf diagram lists the values in order for you. Count along the leaves. Write both quartiles down before you subtract: they earn a mark for working even if the subtraction goes wrong.

See this step move in Lemmara

Step 4 of 7

Median and IQR From a Graph

The 1 or 2-mark question: "Use your graph to find an estimate for the median" or "for the interquartile range". 40 people timed their wait for a bus.

Worked example

  1. 1

    — The median is the middle person. Half of the 40 people is 20.

  2. 2

    — Go across from 20 on the side axis to the curve, then straight down. The median is about 15 minutes.

  3. 3

    — Lower quartile: a quarter of 40 is 10. Across at 10, then down: 10 minutes.

  4. 4

    — Upper quartile: three quarters of 40 is 30. Across at 30, then down: 20 minutes.

  5. 5

    — IQR = upper quartile − lower quartile. Use the two times from the bottom axis.

Rule

On a graph, use a half and quarters of the total: 20, 10 and 30. Go across from the side axis, then down.

Key idea

Why does this work? Cumulative frequency counts everyone up to each value, so the graph keeps rising.

The median is the middle person, so read across at half the total, then down to their value. The quartiles are a quarter and three quarters of the way through.

Common mistake

Taking the coloured 10 and 30 away. Those are numbers of people. Subtract the times you read on the bottom axis.

Key idea

On a graph use , not . With so many values the extra 1 makes no difference you could see, and the mark scheme expects 10, 20 and 30 here.

See this step move in Lemmara

Step 5 of 7

Percentiles From a Graph

The 2-mark question: “Find an estimate of the 80th percentile.” A percentile is the value that this percentage of the data is at or below. Use the same 40 waiting times.

Formula

Here is the percentage and is the total number on the graph.

Worked example

  1. 1

    — Turn the percentage into people: 80% of 40 is 32 people. This is a height on the side axis.

  2. 2

    — Go across at 32 to the curve, then straight down. 80% of the people waited about 21 minutes or less.

Common mistake

Going across at 80. That is the percentage, not a number of people. 80% of 40 is 32.

Key idea

The lower quartile is the 25th percentile, the median is the 50th and the upper quartile is the 75th.

See this step move in Lemmara

Step 6 of 7

Reading the Graph Backwards

The 3-mark question gives a number of people and asks for the value: 10 people waited longer than minutes. Find .

Worked example

  1. 1

    — 10 people waited longer than . So the other 30 people waited minutes or less.

  2. 2

    — The graph counts the people at or below each time. So go across at 30 and read the time below.

  3. 3

    — Check: 30 people waited 20 minutes or less, so 40 − 30 = 10 waited longer.

Common mistake

Going across at 10. The graph counts people at or below a time, so take the 10 from the total first.

Key idea

A percentage? Turn it into people first: 25% of 40 is 10 people.

See this step move in Lemmara

Step 7 of 7

Which Method? Read the Question

Check whether you have a list or a graph.

You seeYou do
IQR of a listorder it, count to the quartile positions
Median from a graphacross at half the total, down
IQR from a graphacross at a quarter and three quarters
A percentile from a graphacross at that percentage of the total
How many more than a valueup from the value, take from the total (Drawing Cumulative Frequency Diagrams)
More than a value: find the valuetake from the total, then across
Which is more consistent?the smaller IQR
Draw the graph firstDrawing Cumulative Frequency Diagrams
Mean or mode of a listMean, Median, Mode and Range

Key idea

When you compare two sets, say it in words: "Team B's IQR is smaller, so their scores are more consistent."

See this step move in Lemmara

More real exam questions on this

Solve one in Lemmara and see where every mark goes.

All 85 questions on this topic

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.

Try a real exam question on this

Solve it →