Home · Statistics · Descriptive Statistics · Upper Fence Calculator
Upper Fence Calculator
The upper fence for outlier detection: Q3 plus 1.5 times the interquartile range.
What this calculator does
The upper fence for outlier detection: Q3 plus 1.5 times the interquartile range. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Values above the upper fence are flagged as high outliers in the box-plot rule.
Percentiles and quartiles use linear interpolation (the R-7 method), the numpy.percentile default.
Worked example
With the example inputs this page opens with, the result is 13.63. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 13.63 |
| Count (n) | 10 |
| Mean | 6 |
| Median | 6.5 |
| Q3 | 8 |
| IQR | 3.75 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How is the upper fence used on a box plot?
The upper whisker stops at the largest value still at or below the fence; anything higher is drawn as a separate outlier point.
Is 1.5·IQR the only fence multiplier?
No — 3·IQR is sometimes used for 'far out' extremes, but 1.5 is the standard Tukey fence this calculator applies.
How does the Upper Fence Calculator work?
The upper fence for outlier detection: Q3 plus 1.5 times the interquartile range. Data values → Upper fence = Q3 + 1.5·IQR. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Upper Fence Calculator need?
Data values → Upper fence = Q3 + 1.5·IQR. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.