Box Plots

On this page

How to draw a box plot from five values, from the interquartile range and range, from a list or from a cumulative frequency graph, then estimate numbers from the quarters, test a claim and compare two distributions.

Key facts

A box plot shows five values: the least value, the lower quartile, the median, the upper quartile and the greatest value

Each of the four parts holds about a quarter of the values, so the box holds the middle half. A longer part means more spread out, not more values

Interquartile range = upper quartile - lower quartile. Range = greatest value - least value

For n values in order, the positions are: median \frac{n+1}{2}, lower quartile \frac{n+1}{4}, upper quartile \frac{3(n+1)}{4}. For 11 values: the 3rd, 6th and 9th

Worked example 1: Drawing a box plot from five values

The table gives information about the times, in minutes, that 40 people took to finish a crossword.

(a) Draw a box plot for this information.

(b) Work out an estimate for the number of these people who took less than 34 minutes.

  1. (a) Draw the box from the lower quartile, 21, to the upper quartile, 34, with a line across it at the median, 27. Draw the whiskers out to the least time, 12, and the greatest, 53.
  2. Work out what one small square stands for before plotting: misreading the scale is the commonest lost mark.
  3. (b) 34 minutes is the upper quartile, so about three quarters of the people took less: \frac34\times40=30
  4. Not 34\div40: the quartiles split the people into four groups of about the same size.

Now try this

The box plot shows information about the ages, in years, of 64 people at a concert.

Work out an estimate for the number of these people aged between 25 and 41 years.

  1. 25 is the lower quartile and 41 the upper quartile, so about half of the people are between them.
  2. \frac12\times64=32

More like this: practice questions

Worked example 2: Given the interquartile range and the range

The table gives information about the weights of some dogs.

Draw a box plot for this information.

  1. Upper quartile =14+10=24 kg
  2. Greatest weight =8+30=38 kg
  3. Never plot the interquartile range or the range as a value: each is a difference, so add it to the value it starts from. The median need not be in the middle of the box.

Now try this

For the times that some people held their breath:

the least time was 31 seconds

the lower quartile was 40 seconds

the interquartile range was 15 seconds

the range was 42 seconds.

Work out the greatest time, in seconds.

  1. Greatest time = least time + range
  2. 31+42=73 seconds

More like this: practice questions

Worked example 3: Comparing two distributions

The box plots show information about the marks that the students in class A and in class B got in a test.

Compare the distribution of the marks of class A with the distribution of the marks of class B.

  1. Class A: median 42, interquartile range 52-30=22. Class B: median 48, interquartile range 54-40=14.
  2. Class B has the higher median, so on average class B got higher marks.
  3. Class B has the smaller interquartile range, so the marks of class B were more consistent.
  4. Each sentence compares, names the measure and says what it means for the marks. Two values stated without a comparison score nothing. Write "median", not "average" or "mean", and "interquartile range" or "range", not "spread". Comparing the least or greatest values scores nothing.

Now try this

The box plot shows information about the distances, in km, that some people cycle to work.

Work out the interquartile range of the distances.

  1. The box runs from the lower quartile, 17 km, to the upper quartile, 31 km.
  2. Interquartile range =31-17=14 km

More like this: practice questions

Worked example 4: Is the claim correct?

The box plot shows information about the prices of some used bikes.

Jo says, "More than half of the bikes cost over £150."

Is Jo correct? Give a reason for your answer.

  1. No. The median is £120, so about half of the bikes cost less than £120. So fewer than half of the bikes cost over £150.
  2. Give the reason with a value from the box plot: here, the median.
  3. Other claims the papers test, with the reasons:
  4. The box holds half of the values, not three quarters.
  5. With an even number of values the median can be halfway between two of them, so no value need equal it.
  6. A box plot can't show where the values lie inside a quarter.

Worked example 5: Quartiles from a stem and leaf diagram

The stem and leaf diagram shows the times, in minutes, that 15 people waited for a bus.

Draw a box plot for this information.

  1. Median: the \frac{15+1}{2}=8th value, 28
  2. Lower quartile: the \frac{15+1}{4}=4th value, 20. Upper quartile: the 12th value, 39
  3. Least 12, greatest 48
  4. Count along the leaves row by row: the lower quartile is the value most often misplaced.

Now try this

Here are the masses, in grams, of 19 plums, in order.

31, 34, 36, 38, 40, 41, 43, 45, 46, 48, 50, 51, 53, 55, 57, 60, 62, 65, 70

Work out the upper quartile.

  1. Upper quartile: the \frac{3(19+1)}{4}=15th value
  2. The 15th value is 57 g

More like this: practice questions

Worked example 6: A box plot from a cumulative frequency graph

The cumulative frequency graph gives information about the times, in minutes, that 120 students took to travel to school.

The shortest time was 4 minutes. The longest time was 56 minutes.

Draw a box plot for the times.

  1. Read across from \frac{120}{4}=30, \frac{120}{2}=60 and \frac{3\times120}{4}=90: lower quartile 14, median 24, upper quartile 34 minutes.
  2. The shortest and longest times come from the question: the graph can't show them.
  3. Read at a quarter, a half and three quarters of the 120 students, not of the time axis.

Now try this

The cumulative frequency graph gives information about the masses, in kg, of 80 parcels.

Find an estimate for the lower quartile of the masses.

  1. Read across from \frac{80}{4}=20 to the curve, then down.
  2. Lower quartile \approx6 kg

More like this: practice questions

Practice questions