A box plot, also called a box-and-whisker plot, turns a list of numbers into a compact picture of center and spread. It marks the median, the middle 50%50\% of the data, and the values near the ends, so the overall shape reads at a glance.

Quartiles, IQR, And The Whisker Rule

The main landmarks are the first quartile Q1Q_1, the median, the third quartile Q3Q_3, and the interquartile range:

IQR=Q3Q1IQR = Q_3 - Q_1

A larger IQRIQR means the middle half is more spread out; a smaller one means it is tightly grouped. The box runs from Q1Q_1 to Q3Q_3, so it contains the middle 50%50\% of the data, with the median drawn inside.

One condition matters right away: quartiles are not defined by a single universal rule. If your class, textbook, or software uses a specific quartile method, keep it consistent from start to finish. The whiskers also depend on a rule. In some plots they reach the minimum and maximum; in others they stop at the most extreme values not treated as outliers.

Why Different Methods Give Different Quartiles

Because there is no universal definition of a quartile, different conventions disagree about whether to include the overall median when splitting the data into halves. That is not an error in either method; it is a choice. The practical consequence is that two correct box plots of the same data can look slightly different, so you must know which rule produced the one in front of you before you interpret it.

How To Draw A Box Plot Step By Step

Use the same order each time:

  1. Sort the data from least to greatest.
  2. Find the median.
  3. Find Q1Q_1 and Q3Q_3 using the quartile convention you are expected to use.
  4. Draw a number line and mark Q1Q_1, the median, and Q3Q_3.
  5. Draw the box from Q1Q_1 to Q3Q_3 and the median line inside it.
  6. Add whiskers using the rule your class or software expects.

Worked Example: Finding Quartiles For A Box Plot

Start with the ordered data set

2, 4, 5, 7, 8, 9, 12, 15, 182,\ 4,\ 5,\ 7,\ 8,\ 9,\ 12,\ 15,\ 18

There are 99 values, so the median is the fifth value:

median=8\text{median} = 8

For this example, use the common classroom rule that excludes the overall median when finding the lower and upper halves.

The lower half is

2, 4, 5, 72,\ 4,\ 5,\ 7

so

Q1=4+52=4.5Q_1 = \frac{4 + 5}{2} = 4.5

The upper half is

9, 12, 15, 189,\ 12,\ 15,\ 18

so

Q3=12+152=13.5Q_3 = \frac{12 + 15}{2} = 13.5

Now find the interquartile range:

IQR=13.54.5=9IQR = 13.5 - 4.5 = 9

That gives the key markers for the box:

Q1=4.5,median=8,Q3=13.5Q_1 = 4.5,\quad \text{median} = 8,\quad Q_3 = 13.5

If the whiskers go to the minimum and maximum, they extend to 22 and 1818. So the box stretches from 4.54.5 to 13.513.5, the median line sits at 88, and the full plot runs from 22 to 1818.

Practice And Quick Reading

Try the set 1,3,3,6,7,9,10,121, 3, 3, 6, 7, 9, 10, 12 on your own. With eight values the median is (6+7)/2=6.5(6+7)/2 = 6.5; the lower half 1,3,3,61, 3, 3, 6 gives Q1=3Q_1 = 3, and the upper half 7,9,10,127, 9, 10, 12 gives Q3=9.5Q_3 = 9.5. Check that your box runs 33 to 9.59.5 with the median at 6.56.5.

To read a finished plot, start with the median to locate the center, then check the box width: narrow means the middle half is tightly grouped, wide means more spread. Finally compare the whiskers and the median's position. If one side is noticeably longer, the distribution is likely stretched on that side.

Calculation Pitfalls To Watch

  • Do not skip the sorting step. Out-of-order data gives a wrong median and wrong quartiles.
  • Do not assume every plot uses the same quartile rule or whisker rule. Two correct plots can differ when built with different conventions.
  • Do not read the edges of the box as the minimum and maximum. They usually mark Q1Q_1 and Q3Q_3.
  • Do not assume a wider box means more data there. It means the values cover a wider interval on the number line.

Box plots are most useful when you want a quick view of center and spread without listing every value, especially when comparing two or more groups side by side. They are common in statistics classes, lab reports, and any setting where the median and middle half matter more than a detailed list.

Frequently Asked Questions

How do you draw a box plot step by step?
Sort the data from least to greatest, find the median, then find Q1 and Q3 using the quartile convention you are expected to use. Draw a number line, mark Q1, the median, and Q3, draw the box between the quartiles with the median line inside, and add whiskers using the rule your class or software expects.
What is the interquartile range and how do you find it?
The interquartile range, or IQR, is Q3 minus Q1, and it measures the spread of the middle half of the data. For example, if Q1 is 4.5 and Q3 is 13.5, the IQR is 9. A larger IQR means the middle half is more spread out; a smaller one means it is tightly grouped.
What do the whiskers on a box plot mean?
It depends on the rule being used. In some box plots, the whiskers extend to the minimum and maximum values. In others, they stop at the most extreme values that are not treated as outliers. You need to know which rule applies before deciding what the whisker endpoints mean.
Why do different methods give different quartile values?
Quartiles are not defined by one universal rule, so different textbooks and software can compute slightly different Q1 and Q3 values for the same data. The practical advice is to keep whichever method your class, textbook, or software uses consistent from the start of the problem to the end.
How do you tell if data is skewed from a box plot?
Compare the whiskers and the median position inside the box. If the median sits off-center in the box, or one whisker is noticeably longer than the other, the distribution is likely more stretched on that side. A balanced box and similar whisker lengths suggest a roughly symmetric data set.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →