Maximize your score with these resources:
- Albert.io AP® Statistics question banks
- Free AP® Statistics cheat sheets
- Free AP® Statistics score calculator
Introduction
In this article, you’ll learn essential statistics concepts—quartiles and the Interquartile Range (IQR)—that unlock powerful tools for analyzing data. These concepts form the foundation for creating box-and-whisker plots, visualizing probability distributions, and comparing datasets effectively. Mastering IQR is critical for AP® Statistics success.
Quartiles
Quartiles divide a ranked dataset into four equal parts, each containing 25% of the data. Think of them as the “quarter-marks” that split your data.
The three quartiles:
- Q1 (First Quartile): 25th percentile. 25% of data falls below it.
- Q2 (Second Quartile): 50th percentile—the median. Exact middle of your dataset.
- Q3 (Third Quartile): 75th percentile. 75% of data falls below it.
Discrete Data: Step-by-step calculation
For odd-numbered datasets: Q2 is the middle value. For even-numbered datasets: Q2 is the average of the two middle values.
Example 1: Even number of data points (n = 10)
Dataset: 5, 6, 8, 6, 7, 9, 1, 2, 4, 3
- Order: 1, 2, 3, 4, 5, 6, 6, 7, 8, 9
- Find Q2: Average of 5th and 6th values = (5 + 6) / 2 = 5.5
- Find Q1: Median of lower half (1, 2, 3, 4, 5) = 3
- Find Q3: Median of upper half (6, 6, 7, 8, 9) = 7

Example 2: Odd number of data points (n = 7)
Dataset: 4, 6, 1, 7, 9, 2, 3
- Order: 1, 2, 3, 4, 6, 7, 9
- Find Q2: Middle value (4th position) = 4
- Find Q1: Median of lower half (1, 2, 3) = 2
- Find Q3: Median of upper half (6, 7, 9) = 7

Continuous Distributions: Area-based quartiles
For probability distributions, quartiles are defined by cumulative area. The total area under any probability curve = 1.
- Q1: x-value where 25% of area is to the left
- Q2: x-value where 50% of area is to the left
- Q3: x-value where 75% of area is to the left

Example 3: Uniform distribution from –0.25 to 0.75

For uniform distributions:
- Total area = 1; width spans 1 unit
- Each quartile divides the area equally (0.25 each)
- Q1 = 0 (0.25 of area to the left)
- Q2 = 0.25 (0.5 of area to the left)
- Q3 = 0.5 (0.75 of area to the left)
Interquartile Range (IQR): How to Calculate It
The Interquartile Range (IQR) is the spread of the middle 50% of your data:
IQR = Q3 – Q1
Why use IQR? It ignores extreme values and outliers, giving you the true spread of where data concentrates.
Four-step calculation:
- Order the data from smallest to largest
- Find Q1 (25th percentile of entire dataset)
- Find Q3 (75th percentile of entire dataset)
- Calculate: IQR = Q3 – Q1
Example 4: Computing IQR from prior examples
| Example | Q1 | Q3 | IQR |
|---|---|---|---|
| Example 1 (n=10) | 3 | 7 | 4 |
| Example 2 (n=7) | 2 | 7 | 5 |
| Example 3 (Uniform) | 0 | 0.5 | 0.5 |


What IQR reveals about your data:
- Symmetric data: Q1 and Q3 are equidistant from Q2 (median)
- Right-skewed data: Q3 is farther from Q2 than Q1 (tail extends right)
- Left-skewed data: Q1 is farther from Q2 than Q3 (tail extends left)
Box and Whisker Plots
Box-and-whisker plots visualize the five-number summary: minimum, Q1, median (Q2), Q3, maximum. They instantly reveal center, spread, and skewness.
Construction: Three steps
Step 1—Order the data:
![]()
Step 2—Calculate the five-number summary:

Step 3—Draw the plot:

Create a box from Q1 to Q3 with a vertical line at the median. Extend whiskers from Q1 to minimum and Q3 to maximum.
Interpreting the box plot:
- Box width = IQR (contains 50% of data)
- Vertical line in box = Median (Q2)
- Whiskers = Extend to minimum and maximum values
- Centered median line: Symmetric distribution
- Off-center median line: Skewed distribution (direction indicates skewness)
Identifying Outliers Using IQR
Outliers are extreme values that deviate significantly from the bulk of data. IQR provides an objective, statistical method to identify them.
The 1.5 × IQR Rule:
Lower Fence = Q1 – 1.5 × IQR
Upper Fence = Q3 + 1.5 × IQR
Any value outside these fences is an outlier.
Why 1.5? This multiplier is a statistical convention. For normally distributed data, ±1.5 × IQR captures roughly 99.3% of values, making anything beyond it statistically unusual.
Example 5: Complete outlier analysis
Dataset: 10, 16, 11, 7, 4, 4, 4, 12, 17, 25, 14, 0
- Order: 0, 4, 4, 4, 7, 10, 11, 12, 14, 16, 17, 25 (n = 12, even)
- Quartiles:
- Q2 = (10 + 11) / 2 = 10.5
- Q1 = (4 + 4) / 2 = 4 (median of lower half)
- Q3 = (14 + 16) / 2 = 15 (median of upper half)
- IQR and fences:
- IQR = 15 – 4 = 11
- Lower fence = 4 – 1.5(11) = 4 – 16.5 = –12.5
- Upper fence = 15 + 1.5(11) = 15 + 16.5 = 31.5
- Identify outliers: All values (0 to 25) fall within [–12.5, 31.5]. No outliers.

Five-number summary: 0, 4, 10.5, 15, 25
Related concept: Quartile Deviation
Quartile Deviation = IQR / 2
Also called the semi-interquartile range, this measures half the interquartile spread. It’s useful for comparing variability across datasets with different scales.
Test-Taking Strategies
Mnemonic for quartiles: Remember “Q1–Q2–Q3 = 25–50–75” as the percentile markers. Q2 is always the median at 50%.
Cross-topic connections in AP® Statistics:
- Median vs. Mean: IQR is resistant to outliers—unlike range or standard deviation. If mean \(\gg\) median, data is right-skewed; if mean \(\ll\) median, it’s left-skewed. IQR alone won’t tell you skewness direction, but comparing Q1–Q2 to Q2–Q3 will.
- Normal distributions: For normal data, Q1 \(\approx\) mean – 0.67σ and Q3 \(\approx\) mean + 0.67σ. Therefore: IQR \(\approx\) 1.35σ. Use this to estimate standard deviation from a box plot.
- Comparing groups: Box plots side-by-side let you compare medians, IQRs (spreads), and skewness across multiple distributions at a glance.
- Resistant vs. non-resistant: IQR is resistant; standard deviation and range are not. On free-response, explicitly state “IQR is unaffected by the outlier” when relevant.
Common AP® Statistics question types:
- “Identify the outlier”:” Always apply the 1.5 × IQR rule—never eyeball the plot. Show the fence calculation for full credit.
- “Compare two distributions”:” Address center (medians), spread (IQRs), and shape (symmetry vs. skewness). Note which has larger IQR.
- “Calculate and interpret IQR”:” Show all sorting, quartile steps, and the final subtraction. State what IQR means for that dataset (e.g., “The middle 50% spans 11 units”).
- “Interpret a box plot”:” Identify the five-number summary from the plot, discuss the median position (centered = symmetric, off-center = skewed), and note whisker lengths (unequal = skew).
- “Effect of adding/removing a data point”:” If the new point is an outlier, IQR may stay the same (resistant) but median and mean will shift. If it’s within the fences, quartiles might not move.
Frequent student mistakes to avoid:
- Not ordering data first: You cannot find quartiles correctly without sorting. Always sort ascending.
- Confusing which percentile is which: Q1 is 25th, Q2 is 50th, Q3 is 75th. A common error: treating Q1 as Q3 or vice versa.
- Median of halves error (even n): When n is even, exclude the overall median Q2 from both halves before finding Q1 and Q3. Example: for [1, 2, 3, 4, 5, 6], Q2 = 3.5; lower half is [1, 2, 3], upper half is [4, 5, 6].
- Backwards fence formula: Lower fence = Q1 – 1.5×IQR (subtract); Upper fence = Q3 + 1.5×IQR (add). Reversing these gives wrong fences.
- Outlier definition confusion: A value is NOT an outlier just because it’s “far from Q1” or “looks extreme.” It’s an outlier only if it lies outside both fences.
- IQR calculation mistakes: IQR = Q3 – Q1, not Q1 – Q3, not Q3 + Q1. Double-check subtraction.
Test-day time-savers:
- Quick IQR sanity check: Once you’ve found Q1, Q2, and Q3, verify that Q2 is roughly centered between them. If one gap is much larger, you likely made an error.
- Outlier fast-track: Estimate 1.5×IQR mentally. If IQR is small (e.g., 2), fences are tight and outliers are easier to spot. If IQR is large (e.g., 50), fences are wide and outliers are rare.
- Box plot skewness: Glance at the median line. If it’s left of center, data is right-skewed. If right of center, data is left-skewed. This is faster than calculating skewness.
- Calculator efficiency: Use the STAT → CALC menu to find quartiles automatically (some calculators compute them). Verify you’re using the correct percentile method (your calculator might use a slightly different rule than AP).
Multiple-choice vs. free-response strategies:
- Multiple choice: Spend 2–3 minutes. Quickly identify Q1 and Q3, compute IQR, apply the outlier rule if needed, and choose the answer. You don’t need to show work.
- Free response: Show all sorting steps, quartile calculations, and formulas. Write interpretations in complete sentences. Partial credit rewards work even if the final answer is wrong. Expect 5–10 minutes per part depending on complexity.
- Box plot problems: Sketch the plot even if not explicitly asked—it prevents careless errors, helps you verify the five-number summary, and lets you double-check symmetry visually.
What graders look for on the AP exam:
- Correct ordering of data
- Accurate quartile identification (Q1, Q2, Q3)
- Correct IQR formula and calculation
- Proper outlier rule application (1.5 × IQR)
- Clear interpretation of what IQR or outliers mean in context
- Acknowledgment that IQR is resistant to extreme values (vs. other measures)
