Outlier Calculator

Find the outlier fences using the 1.5×IQR rule.

Lower fence -4
Upper fence 28
IQR 8

Formula: fences = Q1 − 1.5·IQR and Q3 + 1.5·IQR

Step-by-step with your numbers:
1. Values used:
2. Value 1 = 4
3. Value 2 = 8
4. Value 3 = 15
5. Value 4 = 16
6. Value 5 = 23
7.
8. Lower fence = Value 1 - Value 2 = 4 - 8 = -4
9. Upper fence = 28
10. IQR = 8
Did we solve your problem today?

Values outside the fences are flagged as potential outliers.

How the Math Works

The Outlier Calculator uses the 1.5 times Interquartile Range (IQR) rule to identify extreme values in a dataset. First, it determines the first quartile (Q1) and third quartile (Q3), then calculates IQR = Q3 - Q1. The lower fence is found by subtracting 1.5 times the IQR from Q1, while the upper fence is obtained by adding 1.5 times the IQR to Q3. Any data points falling below the lower fence or above the upper fence are considered outliers, representing values that significantly deviate from the majority of the data.

Practical Applications

To use this calculator, input your dataset and the tool automatically sorts values and computes quartiles. For example, with exam scores ranging from 55 to 100, the calculator identifies which scores are unusually high or low compared to the middle 50% of results. This is particularly useful for quality control in manufacturing, where product measurements outside the fences indicate defective items, or in financial analysis where transaction amounts beyond the fences may signal errors or fraud requiring review.

Day-to-Day Use

This calculation helps you make better decisions in everyday situations like evaluating test performance, analyzing spending patterns, or assessing product quality. If your monthly utility bills consistently fall outside the outlier fences, it might indicate a billing error or equipment problem. Identifying outliers also prevents skewed averages from misleading conclusions, helping you focus on typical values rather than rare extremes that could distort your understanding of normal patterns in data.

Worked example

4,8,15,16,23 → fences −4 and 28.

FAQ

Why 1.5?

It's the standard Tukey rule for mild outliers (3× for extreme).