How to find outliers: the 1.5 x IQR rule
By Jude Wallis · Published
To find outliers, compute the first quartile Q1, the third quartile Q3, and IQR = Q3 - Q1. Then set two fences at Q1 - 1.5(IQR) and Q3 + 1.5(IQR). Any value below the lower fence or above the upper fence is an outlier.
AP Statistics: Unit 1 (topics 1.7 Summary Statistics for One Quantitative Variable, 1.8 Graphical Representations of Summary Statistics for One Quantitative Variable). In the Fall 2026 AP Statistics course, the 1.5 x IQR rule for identifying outliers falls under Unit 1 topics 1.7 and 1.8 (summary statistics and boxplots for one quantitative variable).
How to find outliers with the 1.5 x IQR rule
The 1.5 IQR rule (also written 1.5 x IQR) flags a data value as an outlier when it sits far below the first quartile or far above the third quartile. You build two cutoff values called fences, and any value outside the fences is an outlier.
Here is how to find outliers, step by step:
- Sort the data from smallest to largest.
- Find the first quartile and the third quartile .
- Compute the interquartile range .
- Compute the lower fence .
- Compute the upper fence .
- Any value below the lower fence or above the upper fence is an outlier.
, the first quartile, is the value with about one quarter of the data below it. , the third quartile, is the value with about three quarters of the data below it. The IQR (interquartile range) measures the spread of the middle 50% of the data, so the rule asks how far a point sits beyond that middle band.
You can check your quartiles and IQR with the five-number summary calculator.
How to find the quartiles (median-excluded convention)
Before you can use the rule, you need and . AP Statistics and TI graphing calculators locate quartiles using the median-excluded method, so that is the convention used here.
Start by finding the median of the whole dataset. Then split the sorted values into a lower half and an upper half.
- When is even, the median falls between two values. The lower half is every value below that point, and the upper half is every value above it.
- When is odd, the median is a single data value. Leave that one value out of both halves.
Now is the median of the lower half and is the median of the upper half. Some spreadsheet functions use a different rule and can report slightly different quartiles, so on AP problems stay with the median-excluded method.
Why outliers matter: the mean versus the median
Outliers change which summary of center you can trust. The mean (the average of the values) is pulled toward an extreme value, while the median (the middle value) barely moves.
In the worked example below, one large value raises the mean by almost 3 while the median shifts by only half a point. Statisticians call the median resistant because a single extreme value does not change it much. The mean is not resistant.
That is why a skewed dataset with a high outlier usually has a mean larger than its median. If you have to report one number for a skewed distribution, the median often describes it better. For a fuller comparison, see mean vs median.
How outliers show up on a boxplot
A modified boxplot uses the same fences as the 1.5 IQR rule. The whiskers extend only to the most extreme values that are still inside the fences, and any outliers are drawn as separate dots or stars beyond the whiskers.
That means you can read outliers straight off a well-drawn boxplot. The isolated points are exactly the values the 1.5 x IQR rule flags. To build one from scratch, see how to make a boxplot.
Common mistakes to avoid
- Forgetting to sort the data first. Quartiles only make sense on sorted values.
- Multiplying in the wrong place. The rule multiplies and then adds to or subtracts from the quartiles, not .
- Rounding the IQR too early. Keep full precision until you reach the final fence values.
- Treating every outlier as an error. An outlier can be a typo, or it can be a real and interesting value, so investigate before you remove it.
- Assuming outliers only appear on the high side. A value below the lower fence is an outlier too.
Where this appears in AP Statistics
The 1.5 x IQR rule lives in Unit 1 of the Fall 2026 AP Statistics course, under topic 1.7 (summary statistics for one quantitative variable) and topic 1.8 (graphical representations of summary statistics for one quantitative variable, which include boxplots). Unit 1 is 20 to 30% of the multiple-choice section.
Because these topics cover both summary statistics and boxplots, practice the full fence calculation by hand and by reading outliers off a boxplot. The course lists a second outlier method too: a value more than 2 standard deviations from the mean. For the official course description, see AP Central.
Finding outliers in a 10-value dataset
A teacher records the number of books 10 students read over the summer: 15, 4, 20, 12, 42, 8, 16, 11, 18, 14. Find any outliers using the 1.5 x IQR rule.
Sort the data: 4, 8, 11, 12, 14, 15, 16, 18, 20, 42. There are values.
Find the median. With 10 values it lies between the 5th value (14) and the 6th value (15), so the median .
Split the sorted data at the median. Lower half: 4, 8, 11, 12, 14. Upper half: 15, 16, 18, 20, 42.
Find , the median of the lower half. The middle of 4, 8, 11, 12, 14 is 11, so .
Find , the median of the upper half. The middle of 15, 16, 18, 20, 42 is 18, so .
Compute the IQR: .
Compute .
Lower fence .
Upper fence .
Compare each value to the fences. The smallest value, 4, is above 0.5, so there are no low outliers. The value 42 is above the upper fence of 28.5, so it is an outlier.
42 is the only outlier. It sits above the upper fence of 28.5. The other nine values all fall between the fences of 0.5 and 28.5.
Finding outliers when the count is odd
Daily high temperatures (in degrees Fahrenheit) for 9 days are: 10, 2, 40, 6, 12, 5, 15, 9, 14. Find any outliers using the 1.5 x IQR rule.
Sort the data: 2, 5, 6, 9, 10, 12, 14, 15, 40. There are values.
Find the median. With 9 values it is the 5th value, so the median . Because is odd, leave this single value out of both halves.
Lower half (the values below the median): 2, 5, 6, 9. Upper half (the values above the median): 12, 14, 15, 40.
Find , the median of the lower half: .
Find , the median of the upper half: .
Compute the IQR: .
Compute .
Lower fence . Upper fence .
Compare each value to the fences. The value 40 is greater than 28, so it is an outlier. No value is below -8.
40 is an outlier. Leaving the median out of both halves when is odd is the AP and TI convention for locating the quartiles.
How one outlier moves the mean but not the median
Using the summer reading data (4, 8, 11, 12, 14, 15, 16, 18, 20, 42), compare the mean and median with and without the outlier 42.
With all 10 values, the sum is , so the mean is .
The median of the 10 values is 14.5, found in the first worked example.
Remove the outlier 42. The remaining 9 values are 4, 8, 11, 12, 14, 15, 16, 18, 20, with sum .
The new mean is (rounded to 2 decimal places).
The new median is the 5th of the 9 remaining values: 14.
Dropping the outlier moved the mean from 16 to 13.11, a change of about 2.89. The median moved only from 14.5 to 14. The mean is pulled toward the outlier, while the median resists it.
Frequently asked questions
Why does the rule use 1.5 and not another number?
The multiplier 1.5 is a standard convention introduced by statistician John Tukey. It flags genuinely unusual values without labeling too many ordinary points as outliers. A larger multiplier, such as 3, marks only the most extreme values.
Should you always delete an outlier?
No. An outlier can be a data-entry error, but it can also be a correct and meaningful value. Investigate why the point is extreme before deciding whether to remove it, and report what you did either way.
How is the 1.5 IQR rule different from using z-scores?
The 1.5 IQR rule uses the quartiles, which are resistant to extreme values, so it works well on skewed data. A z-score method uses the mean and standard deviation, which are themselves pulled by outliers. See how to find a z-score for that approach.
Can a dataset have outliers on both ends?
Yes. Any value below the lower fence is a low outlier and any value above the upper fence is a high outlier, so a single dataset can have both. Check each value against both fences.