Not sure which lesson to do first? Find your level and get a plan →

Statistics · Grade 6-8

Box Plot

A box plot is a visual display of the five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum.


Quick Answer

A box plot is a visual display of the five-number summary: minimum, first quartile (Q1), median, third quartile (Q3), and maximum. Use it to compare groups, such as two classes' test scores or two months of temperatures, because it shows center, spread and lopsidedness in one small picture. The box covers the middle half of the data, the line inside marks the median, and the whiskers reach out to the smallest and largest values. It hides how many values there are and the detailed shape inside each quarter.

Why This Matters

Box plots let you compare five or ten groups at a glance: whose median is higher, whose middle half is tighter, which group has a stray extreme value. Averages alone cannot show that one class is consistent while another is all over the place. Misread the box as all of the data, or a long whisker as more students, and the comparison you draw is wrong.

Intuitive Explanation

Take 11 quiz scores out of 20: 6, 9, 11, 12, 13, 14, 15, 15, 16, 18, 19. The middle score, the 6th, is the median: 14. The lower half (6, 9, 11, 12, 13) has its own middle, 11, which is Q1; the upper half (15, 15, 16, 18, 19) has middle 16, which is Q3. With the minimum 6 and maximum 19, that is the five-number summary. On a number line, draw a box from 11 to 16, a line across it at 14, and whiskers out to 6 and 19.

Those five marks cut the class into four groups of about the same size: roughly a quarter of the scores in each whisker and in each half of the box. What changes from section to section is length. The left whisker runs from 6 to 11, 5 points long; the right whisker runs from 16 to 19, only 3 points long. Both hold about the same number of students, so the long left whisker means the low scores are spread far apart, not that more students scored low. The median sits nearer Q3 than Q1 for the same reason: the lower half is more stretched out, so the data are skewed left.

A box plot can look like one bar of a bar graph turned on its side, but the box's length is a span of scores, not a count, and there is no frequency axis at all. That is why it cannot tell you how many students scored exactly 14, or whether there were 11 students or 1,100. If a question needs counts, use a dot plot or histogram; if it needs the center and spread of several groups side by side, a box plot does it in the least space.

Think of it like this. Picture a class lined up by height and split into four groups with the same number of students. A box plot marks only where each group starts and ends. A long section means the students in that group vary a lot in height, not that it holds more students. Where the picture stops: you cannot see anyone's exact height or how many stood in the line.

Core idea. Five numbers, the minimum, Q1, the median, Q3 and the maximum, split ordered data into four parts with equal counts; drawing them on one scale lets you compare the centers and spreads of groups at a glance.


When to Use

Use a box plot when you need to compare the center and spread of two or more groups of numbers, or when the question names the median, quartiles or interquartile range. It suits large data sets, because 20 values and 2,000 values take the same space. If you need to know how many values fall in a range, or whether the data have two peaks, use a Histogram; for a small set where each exact value matters, use a dot plot or stem-and-leaf plot.

Tip. Ask: Are you comparing groups using only five numbers each: the minimum, the quartiles, the median, and the maximum?

How to Recognize It

A box plot is a picture of five summary numbers, so check whether those five numbers are what the problem needs.

  1. Do you need the median and the middle half of the data, rather than every value?

    Yes fits a box plot: the box runs from Q1 to Q3 around the median. To see every value, use a Dot Plot.

  2. Are two or more groups being compared on one scale, such as two classes' scores?

    Side-by-side boxes make that comparison quick. For a single group whose detailed shape matters, a Histogram shows more.

  3. Is the question asking for one number, such as the spread of the middle half, rather than a picture?

    That number is the Interquartile Range (IQR), Q3−Q1. The box plot is the picture that shows it as the length of the box.

  4. Are you asked where a quarter of the data ends, such as the score that 75% of students were at or below?

    Finding those cut points is the work of Quartiles. A box plot is what you draw once you have them.

Box Plot vs Quartiles vs Interquartile Range (IQR) vs Histogram

Quartiles and the IQR are pieces of a box plot, and a histogram describes the same kind of data, so the four are easily swapped. Ask whether you need cut points, one spread number, a five-number picture, or a full shape.

Box Plot

Meaning
A box plot is a picture of the five-number summary, with a box from Q1 to Q3, a line at the median, and whiskers toward the extremes.
Key test
A picture of five numbers, good for comparing groups side by side.
Example
Test scores: whiskers from 55 to 98, a box from 70 to 85, and a median line at 78.

Quartiles

Meaning
Quartiles are the three values Q1, the median, and Q3 that cut ordered data into four parts with equal numbers of values.
Key test
Cut points found from ordered data, not a picture.
Example
For 1, 3, 4, 6, 8, 9, 12: Q1=3, the median is 6, and Q3=9.

Interquartile Range (IQR)

Meaning
The interquartile range is the distance Q3−Q1, which measures the spread of the middle half of the data.
Key test
A single number for spread: the length of the box.
Formula
IQR=Q3−Q1
Example
With Q1=70 and Q3=85, the IQR is 15 points.

Histogram

Meaning
A histogram shows counts of values in equal-width ranges with touching bars, giving the full shape of a distribution.
Key test
Shows the whole shape, including humps and gaps that a box hides.
Example
Test scores in bins of 50-60, 60-70, and so on, with the tallest bar at 70-80.

Formula & Notation

How to read it: The box spans [Q1,Q3], the IQR =Q3−Q1. The median line is at x~. Whiskers extend to xmin⁡ and xmax⁡; when there are outliers, they stop at the most extreme data values inside the fences, and each outlier is drawn as its own point.

Worked Examples

Example 1 — Five-number summary from raw data

Easy

A basketball player scored 8, 12, 15, 9, 22, 18, 14, 11, 16 and 25 points in 10 games. Find the five-number summary and describe the box plot.
Show the steps and the answer
  1. Sort the scores: 8, 9, 11, 12, 14, 15, 16, 18, 22, 25.

    Every number in a box plot is a position in the ordered list.

  2. Find the median: with 10 values the middle falls between the 5th and 6th, so 14+152=14.5.

    With an even count there is no single middle value, so you average the two middle ones.

  3. Find Q1 as the median of the lower five (8, 9, 11, 12, 14), which is 11, and Q3 as the median of the upper five (15, 16, 18, 22, 25), which is 18.

    The quartiles are the middles of each half, so together with the median they split the games into four groups.

  4. Draw the box from 11 to 18 with a line at 14.5, and whiskers from 8 to 11 and from 18 to 25.

    The box holds the middle half of the games; the whiskers reach the lowest and highest games.

  5. Compare lengths: the IQR is 18−11=7 points, the left whisker is 11−8=3 long and the right whisker is 25−18=7 long.

    The top quarter of games is more spread out than the bottom quarter: the player has a few big scoring nights.

Answer: Minimum 8, Q1 11, median 14.5, Q3 18, maximum 25. The box runs from 11 to 18 with the median at 14.5; the long right whisker shows a few high-scoring games.

Takeaway: Sort, find the median, then the median of each half. The box spans Q1 to Q3 and the whiskers reach the extremes.

Example 2 — A question a box plot cannot answer

Standard

A box plot of 40 runners' mile times shows minimum 6.2, Q1 7.0, median 7.6, Q3 8.4 and maximum 10.1 minutes. (a) About how many runners took between 7.0 and 8.4 minutes? (b) How many took between 8 and 9 minutes?
Show the steps and the answer
  1. (a) Notice that 7.0 is Q1 and 8.4 is Q3, so this range is exactly the box.

    The box always holds the middle half of the values.

  2. Half of 40 is 20, so about 20 runners took 7.0 to 8.4 minutes.

    The quartiles split the 40 runners into four groups of about 10; 'about' allows for runners tied exactly at a quartile.

  3. (b) Locate 8 and 9 on the plot: 8 lies inside the box between the median 7.6 and Q3 8.4, and 9 lies on the right whisker between 8.4 and 10.1.

    The range 8 to 9 cuts through the middle of two quarters instead of starting and ending at marked values.

  4. Ask how the 10 runners in the 7.6-8.4 quarter are spread inside it: the plot does not say.

    All 10 could be under 8.0 or all over it, and the box plot would look exactly the same.

  5. Count the 8-9 range from the raw times, or from a histogram with 1-minute bins.

    A histogram counts the values in any range you choose, which is what this question needs.

Answer: (a) About 20 runners. (b) The box plot cannot tell you; you need the raw times or a histogram with 1-minute bins.

Takeaway: A box plot answers questions about its five marked values and the quarters between them. For counts in other ranges, switch to a histogram.

Example 3 — Find the mistake: a long whisker is not more people

Application

A box plot of 24 students' commute times shows minimum 5, Q1 10, median 14, Q3 18 and maximum 40 minutes. Jordan writes: "The right whisker, from 18 to 40, is much longer than the left one, from 5 to 10, so most students have long commutes." Find the mistake and correct it.
Show the steps and the answer
  1. Count the students in each section: 24 students split into four quarters of about 6.

    The quartiles divide the ordered data into four groups of equal count, whatever their lengths.

  2. Compare the whiskers: about 6 students took 5 to 10 minutes and about 6 took 18 to 40 minutes.

    The long right whisker holds the same number of students as the short left one. Its length shows how spread out those 6 times are.

  3. Use the quartiles: about 12 of the 24 commute 14 minutes or less, and about 18 commute 18 minutes or less.

    Three quarters of the class commute 18 minutes or less, so 'most students have long commutes' contradicts the plot.

  4. Say what the long whisker does show: the slowest quarter ranges all the way from 18 to 40 minutes, so the data are skewed right.

    A few students have much longer commutes than everyone else; that is a tail, not a majority.

Answer: Jordan read length as count. Each section holds about 6 students, and about 18 of the 24 commute 18 minutes or less. The long right whisker means the slowest quarter is spread out from 18 to 40 minutes: the data are skewed right.

Takeaway: Each section of a box plot holds about a quarter of the data. Read its length as spread, never as the number of values.

Where You'll See It

  • Comparing two classes' quiz scores

    Draw a box plot for each class side by side; the boxes (middle 50%) and medians let you compare center and spread at a glance without listing every score.

  • Daily temperatures across a month

    The five-number summary boxes up the typical range while the whiskers reach the hottest and coldest days, flagging unusually extreme weather.

  • Times to run a lap

    A box plot of lap times shows the median pace and how consistent a runner is; a long whisker reveals one unusually slow lap.

Common Mistakes

  1. The slip: The box contains all of the data.

    Why it's tempting: The box is the biggest, boldest part of the picture.

    Instead: The box holds only the middle 50% of the data (Q1 to Q3); the whiskers cover the rest down to the min and up to the max.

  2. The slip: A longer whisker or wider box means more data points.

    Why it's tempting: Length intuitively reads as 'more'.

    Instead: Box and whisker length show SPREAD (range of values), not how many data points there are; box plots hide sample size entirely.

  3. The slip: The median always sits exactly in the middle of the box.

    Why it's tempting: Symmetry feels like the default.

    Instead: The median line can sit off-center; a median closer to Q1 or Q3 signals skewed data.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A box plot shows minimum 10, Q1 18, median 24, Q3 30 and maximum 41. Find the range and the interquartile range (IQR).

    Hint: The range uses the ends of the whiskers; the IQR uses the ends of the box.

  2. Find the five-number summary of 3, 7, 8, 5, 12, 14, 21, 13, 18.

    Hint: Sort the data first. Q1 and Q3 are the medians of the lower and upper halves.

  3. A box plot of 80 students' scores has Q1 = 62 and Q3 = 85. About how many students scored between 62 and 85?

    Hint: What share of the data does the box hold?

  4. A data set has Q1 = 20 and Q3 = 32. Using the 1.5×IQR rule, is a value of 52 an outlier? What about 3?

    Hint: Find the IQR, multiply by 1.5, and build a fence below Q1 and above Q3.

  5. Your teacher made a box plot of 25 students' scores. You want to know whether anyone scored exactly 70. Can the box plot answer that, or do you need a dot plot or the raw list?

    Hint: How many numbers does a box plot actually show?

  6. Team A's box plot shows min 4, Q1 10, median 12, Q3 14 and max 30. Jo says, "The right whisker is the longest part, so more players are in the top group." Correct her.

    Hint: Each part of a box plot holds about the same share of the data.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why is it also called a box-and-whisker plot?

Because of how it looks: a box in the middle with a line sticking out of each end, like whiskers on a cat. Both names mean the same display. The box holds the middle half of the values, and the whiskers reach toward the smallest and largest values. The statistician John Tukey made the display popular in the 1970s as a quick way to sketch data by hand.

Can two very different data sets have the same box plot?

Yes. A box plot keeps only five numbers, so any two data sets that share those five numbers draw the same picture. One class might have scores spread evenly through the box while another has two tight clumps near Q1Q_1 and Q3Q_3, and their box plots would match exactly. When the shape matters, look at a dot plot or a histogram as well.

How do I draw a box plot from a list of numbers?

Sort the list, then find the five numbers: the smallest, Q1Q_1, the median, Q3Q_3, and the largest. Draw a number line with even steps that covers the smallest and largest. Draw a box from Q1Q_1 to Q3Q_3 above the line, add a line inside it at the median, and draw whiskers out to the smallest and largest values, or to the last values inside the fences if there are outliers.

Where are box plots used outside math class?

Scientists use them to compare groups in experiments, such as plant heights under three kinds of light, drawn side by side on one scale. Climate charts sometimes show each month's daily temperatures as a box, so typical days and extremes appear together. Companies use them to compare delivery times between warehouses. In each case the boxes make it quick to see which group is higher and which is more consistent.

Learning Path

← Before

MedianQuartiles
Box Plot

You are here

You need Median (the middle of ordered data) and Quartiles (the values that cut ordered data into four equal-count parts) first. A box plot draws those five numbers on one scale so center, spread and skew can be compared across groups. Next, Outlier Detection uses the length of the box, the IQR, to set fences 1.5×IQR beyond the quartiles and flag the values that fall outside them.

See Also