Upper and Lower Fence Calculator
Calculate both outlier fences from the first and third quartiles using the 1.5 × IQR rule.
Formula
IQR=Q3−Q1; lower=Q1−1.5×IQR; upper=Q3+1.5×IQR.
Interquartile range ≈ sqrt((18)-(10))^2 · Lower fence ≈ (10)-1.5×(8) · Upper fence ≈ (18)+1.5×(8)
How to use
- Enter Q1 using your chosen quartile convention.
- Enter Q3, which must be at least Q1.
- Read the IQR and both fences.
Examples
- Q1=10 and Q3=18 give fences −2 and 30.
Frequently asked questions
Which values are flagged?
Values strictly below the lower fence or above the upper fence are possible outliers.
Are fences observed data points?
No. They are thresholds and can lie beyond the observed range.
How are quartiles calculated?
Enter precomputed quartiles from one consistent convention; this tool does not sort raw data.
Sources
Updated: