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 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 , the median, the third quartile , and the interquartile range:
A larger means the middle half is more spread out; a smaller one means it is tightly grouped. The box runs from to , so it contains the middle 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:
- Sort the data from least to greatest.
- Find the median.
- Find and using the quartile convention you are expected to use.
- Draw a number line and mark , the median, and .
- Draw the box from to and the median line inside it.
- Add whiskers using the rule your class or software expects.
Worked Example: Finding Quartiles For A Box Plot
Start with the ordered data set
There are values, so the median is the fifth value:
For this example, use the common classroom rule that excludes the overall median when finding the lower and upper halves.
The lower half is
so
The upper half is
so
Now find the interquartile range:
That gives the key markers for the box:
If the whiskers go to the minimum and maximum, they extend to and . So the box stretches from to , the median line sits at , and the full plot runs from to .
Practice And Quick Reading
Try the set on your own. With eight values the median is ; the lower half gives , and the upper half gives . Check that your box runs to with the median at .
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 and .
- 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 →