Why Is Box 3 Higher Than Box 1?
Understanding the Relationship Between Quartiles in a Box‑and‑Whisker Plot
Introduction
When you first encounter a box‑and‑whisker plot (often simply called a box plot), the visual can look like a series of rectangles and lines floating above a number line. Also, consequently, Box 3—the upper edge of the box that represents Q₃—is always positioned higher (i. e.In the diagram, the “box” itself stretches from Q₁ to Q₃, with a line inside marking the median. Also, the plot is built from five key statistics: the minimum, the first quartile (Q₁), the median (Q₂), the third quartile (Q₃), and the maximum. , at a larger numeric value) than Box 1, the lower edge that represents Q₁.
This article unpacks why that ordering is not a coincidence but a direct consequence of how quartiles divide a data set. We will walk through the definition of quartiles, show how they are calculated, illustrate the logic with step‑by‑step examples, discuss the underlying theory, highlight common pitfalls, and answer frequently asked questions. By the end, you’ll have a firm grasp of why Box 3 sits above Box 1 in every correctly constructed box plot.
Short version: it depends. Long version — keep reading.
Detailed Explanation
What Are Quartiles?
Quartiles split a sorted data set into four equal‑parts, each containing roughly 25 % of the observations.
- First quartile (Q₁) – the value below which 25 % of the data fall. It is the median of the lower half of the data (excluding the overall median if the number of observations is odd).
- Second quartile (Q₂) – the median of the entire data set; it marks the 50 % point.
- Third quartile (Q₃) – the value below which 75 % of the data fall. It is the median of the upper half of the data.
Because the data are ordered from smallest to largest, the lower half can never contain values larger than those in the upper half. Which means, Q₁ ≤ Q₂ ≤ Q₃ must hold true for any numeric data set. The inequality is strict (Q₁ < Q₃) unless all data points are identical, in which case the box collapses to a line.
How the Box Plot Encodes Quartiles
A box plot draws a rectangle (the “box”) whose bottom edge aligns with Q₁ and whose top edge aligns with Q₃. The whiskers extend from the box to the smallest and largest observations that are not considered outliers. The median is shown as a line inside the box No workaround needed..
Given the definition of Q₁ and Q₃, the vertical position of the box’s top (Box 3) is numerically greater than the position of its bottom (Box 1). Basically, the height of the box represents the interquartile range (IQR), which is Q₃ − Q₁, a non‑negative quantity.
Step‑by‑Step or Concept Breakdown
Below is a concrete walk‑through that shows why Box 3 ends up higher than Box 1 for a sample data set.
Step 1 – Gather and Sort the Data
Suppose we have the following 11 exam scores:
55, 58, 60, 62, 65, 68, 70, 72, 75, 80, 85
The data are already sorted from low to high.
Step 2 – Find the Median (Q₂)
With 11 observations, the median is the 6th value: 68 Easy to understand, harder to ignore..
Step 3 – Split the Data Into Halves
- Lower half (values below the median): 55, 58, 60, 62, 65
- Upper half (values above the median): 70, 72, 75, 80, 85
Step 4 – Compute Q₁ (Median of Lower Half)
The lower half has 5 numbers; its median is the 3rd value: 60.
Step 5 – Compute Q₃ (Median of Upper Half)
The upper half also has 5 numbers; its median is the 3rd value: 75 Easy to understand, harder to ignore. And it works..
Step 6 – Place the Quartiles on the Number Line
55 58 60 62 65 |68| 70 72 75 80 85
Q₁ Q₂ Q₃
Step 7 – Draw the Box
- Bottom of box = Q₁ = 60
- Top of box = Q₃ = 75
- Median line = Q₂ = 68
Because 75 > 60, Box 3 (the top) is higher than Box 1 (the bottom). The IQR = 75 − 60 = 15, which is the vertical height of the box Took long enough..
Generalization
For any data set, the algorithm that finds Q₁ and Q₃ always looks at the lower 25 % and the upper 25 % of the sorted values. Since the upper 25 % cannot contain numbers smaller than those in the lower 25 %, Q₃ will always be ≥ Q₁. The only way they are equal is when every observation is identical, producing a degenerate box of zero height.
Real Examples
Example 1 – Household Incomes (USD)
A small survey of 9 households yielded the following annual incomes (in thousands):
30, 32, 35, 38, 40, 42, 45, 48, 52
- Median (Q₂) = 4
Step‑by‑Step Completion of the Household‑Income Example
1. Locate the Median (Q₂)
With nine observations, the median is the 5th value after sorting:
30, 32, 35, 38, 40, 42, 45, 48, 52
^--- Q₂ = 40
So the central line that will appear inside the box is drawn at 40 (thousand dollars).
2. Form the Two Halves for Q₁ and Q₃
Because the sample size is odd, we exclude the median when splitting the data:
- Lower half (values below Q₂): 30, 32, 35, 38
- Upper half (values above Q₂): 42, 45, 48, 52
3. Compute the First Quartile (Q₁)
The lower half contains an even number of points, so Q₁ is the average of its two middle numbers:
[ Q_{1}= \frac{32 + 35}{2}=33.5 ]
Thus the bottom of the box will be placed at 33.5 k The details matter here..
4. Compute the Third Quartile (Q₃)
Similarly, Q₃ is the average of the two central values in the upper half:
[ Q_{3}= \frac{45 + 48}{2}=46.5 ]
The top of the box will sit at 46.5 k.
5. Interquartile Range (IQR)
[ \text{IQR}=Q_{3}-Q_{1}=46.5-33.5=13.0 ]
The vertical height of the box therefore represents the spread of the middle 50 % of the incomes Simple, but easy to overlook..
6. Identify Whisker Limits and Outliers
A common rule for spotting outliers in a box‑plot is:
[ \text{Lower fence}=Q_{1}-1.5\times\text{IQR}=33.5-1.5\times13=33.5-19.5=14.0 ] [ \text{Upper fence}=Q_{3}+1.5\times\text{IQR}=46.5+19.5=66.0 ]
All observed incomes lie between 30 and 52, which are well inside the fences. Consequently no outliers are present, and the whiskers extend all the way to the minimum (30 k) and maximum (52 k) values.
7. Sketching the Box Plot
52 | /-----------------
| |
48 | |
| |
45 | |
| |
Below is the finished illustration of the household‑income box plot, incorporating the values derived earlier.
52 | |----------------- | | | 48 | | | | | | 46.5|----------------|-----------------| ← top whisker (52), box‑top (Q₃ = 46.5) | | | 43.25| | | | | | 33.5|----------------|-----------------| ← box‑bottom (Q₁ = 33.5), bottom whisker (30) | | | 30 | |----------------- | 28 |
**Interpretation**
- The line inside the box sits at the median (40 k), indicating that half of the households earn less than this amount and half earn more.
- The box itself spans from 33.5 k to 46.5 k, capturing the middle 50 % of the data; its height (13 k) reflects the inter‑quartile range, a measure of the spread of the central portion of the distribution.
- Because the whiskers extend to the minimum (30 k) and maximum (52 k) without any points beyond the fences (14 k and 66 k), the plot shows a clean, symmetric distribution with no extreme outliers.
- Visually, the distances from the median to the lower and upper quartiles are similar, suggesting that the income data are fairly balanced around the centre.
**Broader perspective**
While the algorithm presented here always examines the lower 25 % and upper 25 % of the ordered values, alternative conventions (e.Now, g. , inclusive median, different hinge definitions) can shift Q₁ and Q₃ slightly. Such variations are typically minor for modest sample sizes but may affect the perceived symmetry of the plot. Regardless of the precise definition, the box plot remains a compact visual summary that highlights central tendency, dispersion, and the presence of anomalies.
**Conclusion**
The completed box plot conveys the essential characteristics of the household‑income data in a single, easily readable graphic. By locating the median, defining the inter‑quartile range, and extending whiskers to the full extent of non‑outlier observations, the plot offers a clear snapshot of the distribution’s centre, spread, and shape, making it a valuable tool for quick exploratory analysis.