What Is a Box Plot (Box-and-Whisker Plot) and How Do You Read It?

A box plot—also called a box-and-whisker plot—is one of the most efficient graphical tools in quality engineering for summarizing a data set’s distribution at a glance. Unlike a histogram, it does not require you to choose bin widths, and it highlights outliers directly. This article explains what a box plot is, how it works, and how to interpret it correctly.

What It Is

A box plot is a standardized way of displaying the distribution of data based on a five-number summary:

  • Minimum (excluding outliers, usually the lower whisker end)
  • First quartile (Q1) – the 25th percentile
  • Median (Q2) – the 50th percentile
  • Third quartile (Q3) – the 75th percentile
  • Maximum (excluding outliers, usually the upper whisker end)


The “box” spans from Q1 to Q3, with a line inside marking the median. The “whiskers” extend to the most extreme data points that are not considered outliers. Points beyond the whiskers are plotted individually as outliers.

Box plots are widely used in statistical process control (SPC), design of experiments (DOE), and general data analysis because they allow quick visual comparison of multiple groups side by side.

How It Works / Steps

The construction follows a well-known public standard method (e.g., Tukey’s exploratory data analysis approach, 1977):

  1. Sort the data in ascending order.
  2. Compute the median (Q2) – the middle value.
  3. Compute Q1 – the median of the lower half of the data.
  4. Compute Q3 – the median of the upper half of the data.
  5. Calculate the interquartile range (IQR) = Q3 − Q1.
  6. Define the whisker limits as:

- Lower fence = Q1 − 1.5 × IQR
- Upper fence = Q3 + 1.5 × IQR
  1. Draw the box from Q1 to Q3, mark the median inside.
  2. Draw whiskers to the smallest and largest data points that still lie within the fences.
  3. Plot any points outside the fences as individual outliers (often shown as dots or asterisks).


Note: Some software uses different outlier rules (e.g., 3 × IQR for “far out” points), but the 1.5 × IQR rule is the most common default.

A Worked Illustrative Example

Example data (illustrative only):
Suppose you measure the tensile strength (in MPa) of 15 samples from a production batch:
52, 55, 58, 60, 61, 63, 64, 65, 67, 68, 70, 72, 75, 78, 95

Step-by-step:

  • Sorted data: 52, 55, 58, 60, 61, 63, 64, 65, 67, 68, 70, 72, 75, 78, 95 (n=15)
  • Median (Q2) = 65 (8th value)
  • Lower half (first 7 values): 52, 55, 58, 60, 61, 63, 64 → Q1 = 60 (median of lower half)
  • Upper half (last 7 values): 67, 68, 70, 72, 75, 78, 95 → Q3 = 72
  • IQR = 72 − 60 = 12
  • Lower fence = 60 − 1.5 × 12 = 42
  • Upper fence = 72 + 1.5 × 12 = 90
  • Whisker ends: smallest value ≥ 42 is 52; largest value ≤ 90 is 78
  • Outlier: 95 (since 95 > 90)


Interpretation: The central 50% of the data lies between 60 and 72 MPa. The median is 65 MPa. The distribution is roughly symmetric between the whiskers, but the value 95 is flagged as a potential outlier—worth investigating for measurement error or a special cause in the process.

Common Pitfalls

  • Confusing the median with the mean. The box plot shows the median, not the average. If the median line is off-center within the box, the data are skewed.
  • Ignoring the whisker definition. Whiskers do not extend to the absolute min/max when outliers exist—they stop at the fences.
  • Comparing boxes of different sample sizes. A narrow box from a small sample may look “better” but is less reliable. Always check sample size.
  • Using box plots for tiny data sets. With fewer than ~5 points, the quartiles become unstable and the plot can mislead.


Closing

A box plot is a fast, robust way to spot central tendency, spread, skewness, and outliers without making distributional assumptions. To create one instantly from your own data, try the free box plot tool at https://www.6sq.com/tools/boxplot/ — paste your numbers and get a clean, publication-ready chart in seconds.
Invited:

0 replies, guests cannot view replies. For more features, please log in or register