Math Core

Lesson 8.6 · Statistics

Box plots

A box plot (also called a box-and-whisker plot) shows the center and spread of a data set in one simple picture. It doesn't show every value like a dot plot does. Instead it shows five key numbers, which makes it great for comparing groups.

The five-number summary

A box plot is built from five values you already know how to find.

Definition

Five-number summary

The five-number summary of a data set is

  1. the minimum,
  2. the first quartile, Q1Q_1,
  3. the median,
  4. the third quartile, Q3Q_3,
  5. the maximum.

These five numbers split the data into four parts, and each part holds about one quarter (25%) of the values.

Drawing a box plot

How to draw a box plot

  1. Find the five-number summary.
  2. Draw a number line that covers the minimum to the maximum.
  3. Draw a box from Q1Q_1 to Q3Q_3. Draw a line inside the box at the median.
  4. Draw whiskers: a line from the box out to the minimum, and a line from the box out to the maximum.

Worked example: Plant heights

A class measured 11 bean plants, in centimeters:

4, 6, 7, 7, 9, 10, 12, 13, 14, 16, 194, \ 6, \ 7, \ 7, \ 9, \ 10, \ 12, \ 13, \ 14, \ 16, \ 19

Make a box plot.

Five-number summary. The data is already in order.

  • Minimum: 4. Maximum: 19.
  • Median: the 6th value, 10.
  • Lower half (leave out the median): 4,6,7,7,94, 6, 7, 7, 9, so Q1=7Q_1 = 7.
  • Upper half: 12,13,14,16,1912, 13, 14, 16, 19, so Q3=14Q_3 = 14.

Draw it. The box goes from 7 to 14 with a line at 10. The whiskers reach out to 4 and 19.

Bean plant heights (cm)

Reading a box plot

Every section of a box plot holds about 25% of the data: the left whisker, the left part of the box, the right part of the box, and the right whisker. So:

  • The whole box holds the middle 50% of the data. Its length is the IQR.
  • The distance from the end of one whisker to the other is the range.
  • About 50% of the values are above the median and 50% are below it.

Worked example: Reading minutes

The box plot shows how many minutes a group of students spent reading on Saturday.

Minutes spent reading on Saturday
  1. Find the median, the range and the IQR.
  2. About what percent of the students read for more than 30 minutes?
  3. About what percent read between 30 and 50 minutes?

Solutions.

  1. The five-number summary is 20, 30, 45, 50, 80. The median is the line inside the box: 45 minutes. The range is 80−20=6080 - 20 = 60 minutes. The IQR is 50−30=2050 - 30 = 20 minutes.
  2. 30 is Q1Q_1. About 25% of the data is below Q1Q_1, so about 100%−25%=75%100\% - 25\% = 75\% is above it.
  3. 30 to 50 is the whole box, from Q1Q_1 to Q3Q_3. That's about 50%.

Common mistake

A longer section of a box plot does not mean it has more data. In the reading plot, the right whisker (50 to 80) is much longer than the right part of the box (45 to 50), but each holds about 25% of the students. A long section means those values are more spread out, not that there are more of them.

Comparing two box plots

Box plots drawn above the same number line make it easy to compare two groups. Compare the medians to see which group is typically higher, and compare the IQRs to see which group varies more.

Worked example: Two classes, one quiz

The box plots show the scores of two classes on the same quiz.

Quiz scores
  • Center: Class B's median (80) is higher than Class A's (75), so Class B typically scored a bit higher.
  • Spread: Class A's IQR is 85−65=2085 - 65 = 20. Class B's IQR is 85−75=1085 - 75 = 10. Class B's scores were more consistent.
  • The top 25% of both classes scored 85 or more, since both have Q3=85Q_3 = 85.

Tip

If you can't tell the exact values from a box plot, read the five-number summary off the number line first and write it down. Then every question becomes a quick subtraction or a "25%, 50%, 75%" question.

Practice

Practice 1

Find the third quartile, Q3Q_3, of 3, 5, 8, 9, 12, 14, 153, \ 5, \ 8, \ 9, \ 12, \ 14, \ 15.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

This box plot is used in the next four problems. It shows the lengths, in seconds, of the short video clips in a class project.

Video clip lengths (seconds)
Practice 2

Look at the clip-length box plot above. What is the IQR?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Look at the clip-length box plot above. What is the range?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Look at the clip-length box plot above. About what percent of the clips are longer than 35 seconds?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Look at the clip-length box plot above. Which statement is true?

Practice 6

The box plots show the number of customers per hour at two food trucks. How many more customers per hour is Truck Y's median than Truck X's median?

Customers per hour

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

A coach timed how many seconds 12 swimmers took to swim one lap:

15, 22, 18, 30, 25, 19, 27, 21, 16, 33, 24, 2015, \ 22, \ 18, \ 30, \ 25, \ 19, \ 27, \ 21, \ 16, \ 33, \ 24, \ 20

She wants to make a box plot. How long will the box be? In other words, find the IQR.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.