The 1.5 IQR Rule: How to Identify Outliers Step-by-Step

    By Oge Nwaozuzu4 min readUpdated: December 15, 2025

    Imagine you're analyzing 50 employee salaries and notice one value of $850,000 in a company where most people earn $50,000–$70,000. Is that the CEO, a data entry error, or something else? The 1.5 IQR rule gives you a systematic way to flag values like this for investigation.

    What Is an Outlier?

    An outlier is a value that is unusually high or low compared to the rest of the data. Outliers can occur due to:

    • Data entry errors: Typos, misplaced decimal points
    • Measurement errors: Equipment malfunction, human error
    • Genuine extremes: Real unusual cases worth investigating
    • Sampling issues: Data from a different population mixed in

    Outliers can dramatically affect the mean, making the median and quartiles more reliable measures for datasets containing them.

    The 1.5 IQR Rule Explained

    The 1.5 IQR rule (also called the IQR method or Tukey's fences) uses the interquartile range to set boundaries called "fences." Values outside these fences are flagged as potential outliers.

    The 1.5 IQR Rule Formulas:

    • IQR = Q3 - Q1 (the range of the middle 50%)
    • Lower Fence = Q1 - (1.5 × IQR)
    • Upper Fence = Q3 + (1.5 × IQR)

    Any value below the Lower Fence or above the Upper Fence is considered a potential outlier according to the 1.5 IQR rule.

    Box and whisker plot with the interquartile range (IQR) highlighted, showing the formula IQR = Q3 - Q1 with labeled values
    The IQR is the distance between Q1 and Q3, used to calculate outlier fences

    Step-by-Step Process

    Step 1: Calculate the Five Number Summary

    Find the minimum, Q1, median, Q3, and maximum of your dataset.

    Step 2: Calculate the IQR

    IQR = Q3 - Q1

    Step 3: Calculate the Lower Fence

    Lower Fence = Q1 - (1.5 × IQR)

    Step 4: Calculate the Upper Fence

    Upper Fence = Q3 + (1.5 × IQR)

    Step 5: Check Each Value

    Any value < Lower Fence or > Upper Fence is a potential outlier.

    Use the IQR and outlier fence calculator to check these boundaries for a dataset.

    Example: Detecting an Outlier

    Dataset: 10, 12, 14, 15, 16, 18, 95

    Step 1: Five Number Summary

    • Min = 10, Q1 = 12, Median = 15, Q3 = 18, Max = 95

    Step 2: Calculate IQR

    IQR = 18 - 12 = 6

    Step 3: Calculate Lower Fence

    Lower Fence = 12 - (1.5 × 6) = 12 - 9 = 3

    Step 4: Calculate Upper Fence

    Upper Fence = 18 + (1.5 × 6) = 18 + 9 = 27

    Step 5: Check Values

    • All values 10-18 are within [3, 27] - OK
    • 95 is greater than 27, so 95 is an outlier

    Why 1.5 × IQR?

    John Tukey chose the 1.5 multiplier as a good balance between sensitivity and specificity. For normally distributed data:

    • About 0.7% of data points would be flagged as outliers by chance
    • This is rare enough to be noteworthy, but not so strict as to miss important outliers

    Some analysts use 3 × IQR for "extreme outliers"—values that are truly exceptional.

    Important Note

    An outlier isn't automatically "bad data." Before removing outliers, investigate:

    • Is it a data entry error? Check the source.
    • Is it a measurement error? Review the methodology.
    • Is it a genuine extreme value? This might be the most interesting finding!

    Handling Outliers

    Once you've identified outliers, you have several options:

    • Verify the data: Check original sources for errors
    • Remove if error: Delete values that are clearly incorrect
    • Keep if genuine: Real extreme values should be reported
    • Report separately: Analyze with and without outliers
    • Use robust statistics: Median and IQR are naturally resistant to outliers

    Video Tutorial

    Watch this popular video covering the five number summary, box plots, and outlier identification:

    Video by Simple Learning Pro (377K views). For more video tutorials, see our Video Resources page.

    Conclusion

    The IQR method provides a systematic approach to identifying outliers. By calculating fences based on quartiles, you can objectively flag unusual values for further investigation—whether they're errors to correct or genuine extremes to study.

    The calculator automatically calculates outlier fences and flags values outside them.

    Verify Your Calculations

    Use the free five number summary calculator to check your work.

    Open Calculator

    Written by Oge Nwaozuzu

    Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.