Box Plots

Learning Outcomes

  • Display data graphically and interpret graphs: stemplots, histograms, and box plots.
  • Recognize, describe, and calculate the measures of location of data: quartiles and percentiles.


Box plots (also called box-and-whisker plots or box-whisker plots) give a good graphical image of the concentration of the data. They also show how far the extreme values are from most of the data. A box plot is constructed from five values: the minimum value, the first quartile, the median, the third quartile, and the maximum value. We use these values to compare how close other data values are to them.

To construct a box plot, use a horizontal or vertical number line and a rectangular box. The smallest and largest data values label the endpoints of the axis. The first quartile marks one end of the box and the third quartile marks the other end of the box. Approximately the middle
5050
percent of the data fall inside the box
. The "whiskers" extend from the ends of the box to the smallest and largest data values. The median or second quartile can be between the first and third quartiles, or it can be one, or the other, or both. The box plot gives a good, quick picture of the data.

Note

You may encounter box-and-whisker plots that have dots marking outlier values. In those cases, the whiskers are not extending to the minimum and maximum values.

Consider, again, this dataset.

11
,
11
,
22
,
22
,
44
,
66
,
6.86.8
,
7.27.2
,
88
,
8.38.3
,
99
,
1010
,
1010
,
11.511.5


The first quartile is two, the median is seven, and the third quartile is nine. The smallest value is one, and the largest value is
11.511.5
. The following image shows the constructed box plot.

Note

See the calculator instructions on the TI web site.

Horizontal boxplot's first whisker extends from the smallest value, 1, to the first quartile, 2, the box begins at the first quartile and extends to the third quartile, 9, a vertical dashed line is drawn at the median, 7, and the second whisker extends from the third quartile to the largest value of 11.5.

The two whiskers extend from the first quartile to the smallest value and from the third quartile to the largest value. The median is shown with a dashed line.

Note

It is important to start a box plot with a scaled number line. Otherwise the box plot may not be useful.

Example

The following data are the heights of
4040
students in a statistics class.

5959
;
6060
;
6161
;
6262
;
6262
;
6363
;
6363
;
6464
;
6464
;
6464
;
6565
;
6565
;
6565
;
6565
;
6565
;
6565
;
6565
;
6565
;
6565
;
6666
;
6666
;
6767
;
6767
;
6868
;
6868
;
6969
;
7070
;
7070
;
7070
;
7070
;
7070
;
7171
;
7171
;
7272
;
7272
;
7373
;
7474
;
7474
;
7575
;
7777


Construct a box plot with the following properties; the calculator instructions for the minimum and maximum values as well as the quartiles follow the example.

  • Minimum value =
    5959
  • Maximum value =
    7777
  • Q1: First quartile =
    64.564.5
  • Q2: Second quartile or median=
    6666
  • Q3: Third quartile =
    7070


Horizontal boxplot with first whisker extending from smallest value, 59, to Q1, 64.5, box beginning from Q1 to Q3, 70, median dashed line at Q2, 66, and second whisker extending from Q3 to largest value, 77.
  1. Each quarter has approximately
    2525
    % of the data.
  2. The spreads of the four quarters are
    64.559=5.564.5 – 59 = 5.5
    (first quarter),
    6664.5=1.566 – 64.5 = 1.5
    (second quarter),
    7066=470 – 66 = 4
    (third quarter), and
    7770=777 – 70 = 7
    (fourth quarter). So, the second quarter has the smallest spread and the fourth quarter has the largest spread.
  3. Range = maximum value – the minimum value = 77 – 59 = 18
  4. Interquartile Range:
    IQRIQR
    =
    Q3Q_3
    Q1Q_1
    =
    7064.5=5.570 – 64.5 = 5.5
    .
  5. The interval
    596559–65
    has more than
    2525
    % of the data so it has more data in it than the interval
    6666
    through
    7070
    which has
    2525
    % of the data.
  6. The middle
    5050
    % (middle half) of the data has a range of
    5.55.5
    inches.


USING THE TI-83, 83+, 84, 84+ CALCULATOR

To find the minimum, maximum, and quartiles:

Enter data into the list editor (Pres STAT 1:EDIT). If you need to clear the list, arrow up to the name L1, press CLEAR, and then arrow down.

Put the data values into the list L1.

Press STAT and arrow to CALC. Press 1:1-VarStats. Enter L1.

Press ENTER.

Use the down and up arrow keys to scroll.

Smallest value =
5959
.

Largest value =
7777
.

Q1Q_1
: First quartile =
64.564.5
.

Q2Q_2
: Second quartile or median =
6666
.

Q3Q_3
: Third quartile =
7070
.

To construct the box plot:

Press 4:Plotsoff. Press ENTER.

Arrow down and then use the right arrow key to go to the fifth picture, which is the box plot. Press ENTER.

Arrow down to Xlist: Press 2nd 1 for L1

Arrow down to Freq: Press ALPHA. Press 1.

Press Zoom. Press 9: ZoomStat.

Press TRACE, and use the arrow keys to examine the box plot.

Try It

The following data are the number of pages in
4040
books on a shelf. Construct a box plot using a graphing calculator, and state the interquartile range.

136136
;
140140
;
178178
;
190190
;
205205
;
215215
;
217217
;
218218
;
232232
;
234234
;
240240
;
255255
;
270270
;
275275
;
290290
;
301301
;
303303
;
315315
;
317317
;
318318
;
326326
;
333333
;
343343
;
349349
;
360360
;
369369
;
377377
;
388388
;
391391
;
392392
;
398398
;
400400
;
402402
;
405405
;
408408
;
422422
;
429429
;
450450
;
475475
;
512512







This video explains what descriptive statistics are needed to create a box and whisker plot.




For some sets of data, some of the largest value, smallest value, first quartile, median, and third quartile may be the same. For instance, you might have a data set in which the median and the third quartile are the same. In this case, the diagram would not have a dotted line inside the box displaying the median. The right side of the box would display both the third quartile and the median. For example, if the smallest value and the first quartile were both one, the median and the third quartile were both five, and the largest value was seven, the box plot would look like:

Horizontal boxplot box begins at the smallest value and Q1, 1, until the Q3 and median, 5, no median line is designated, and has its lone whisker extending from the Q3 to the largest value, 7.
In this case, at least
2525
% of the values are equal to one. Twenty-five percent of the values are between one and five, inclusive. At least
2525
% of the values are equal to five. The top
2525
% of the values fall between five and seven, inclusive.

Example

Test scores for a college statistics class held during the day are:

9999
;
5656
;
7878
;
55.555.5
;
3232
;
9090
;
8080
;
8181
;
5656
;
5959
;
4545
;
7777
;
84.584.5
;
8484
;
7070
;
7272
;
6868
;
3232
;
7979
;
9090


Test scores for a college statistics class held during the evening are:

9898
;
7878
;
6868
;
8383
;
8181
;
8989
;
8888
;
7676
;
6565
;
4545
;
9898
;
9090
;
8080
;
84.584.5
;
8585
;
7979
;
7878
;
9898
;
9090
;
7979
;
8181
;
25.525.5


  1. Find the smallest and largest values, the median, and the first and third quartile for the day class.
  2. Find the smallest and largest values, the median, and the first and third quartile for the night class.
  3. For each data set, what percentage of the data is between the smallest value and the first quartile? the first quartile and the median? the median and the third quartile? the third quartile and the largest value? What percentage of the data is between the first quartile and the largest value?
  4. Create a box plot for each set of data. Use one number line for both box plots.
  5. Which box plot has the widest spread for the middle
    5050
    % of the data (the data between the first and third quartiles)? What does this mean for that set of data in comparison to the other set of data?






Try It

The following data set shows the heights in inches for the boys in a class of
4040
students.

6666
;
6666
;
6767
;
6767
;
6868
;
6868
;
6868
;
6868
;
6868
;
6969
;
6969
;
6969
;
7070
;
7171
;
7272
;
7272
;
7272
;
7373
;
7373
;
7474


The following data set shows the heights in inches for the girls in a class of
4040
students.

6161
;
6161
;
6262
;
6262
;
6363
;
6363
;
6363
;
6565
;
6565
;
6565
;
6666
;
6666
;
6666
;
6767
;
6868
;
6868
;
6868
;
6969
;
6969
;
6969


Construct a box plot using a graphing calculator for each data set, and state which box plot has the wider spread for the middle
5050
% of the data.





example

Graph a box-and-whisker plot for the data values shown.

1010
;
1010
;
1010
;
1515
;
3535
;
7575
;
9090
;
9595
;
100100
;
175175
;
420420
;
490490
;
515515
;
515515
;
790790


The five numbers used to create a box-and-whisker plot are:

  • Min:
    1010
  • Q1Q_1
    :
    1515
  • Med:
    9595
  • Q3Q_3
    :
    490490
  • Max:
    790790


The following graph shows the box-and-whisker plot.

Try It

Follow the steps you used to graph a box-and-whisker plot for the data values shown.

00
;
55
;
55
;
1515
;
3030
;
3030
;
4545
;
5050
;
5050
;
6060
;
7575
;
110110
;
140140
;
240240
;
330330







Concept Review

Box plots are a type of graph that can help visually organize data. To graph a box plot the following data points must be calculated: the minimum value, the first quartile, the median, the third quartile, and the maximum value. Once the box plot is graphed, you can display and compare distributions of data.

References

Data from West Magazine.

Additional Resources

Use the online imathAS box plot tool to create box and whisker plots.

Licenses and Attributions

More Study Resources for You

Show More