Home · Statistics · Descriptive Statistics · Outlier Calculator
Outlier Calculator
Counts and identifies outliers by the 1.5·IQR fence rule: values far below Q1 or far above Q3.
What this calculator does
Counts and identifies outliers by the 1.5·IQR fence rule: values far below Q1 or far above Q3. 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
The headline result is the count of values lying outside the two fences.
The default data set contains one extreme value (85) well beyond the upper fence.
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 1. Change any figure and the result updates with the same formula.
Quick reference
| Figure | Value |
|---|---|
| Result | 1 |
| Count (n) | 10 |
| Mean | 19.3 |
| Median | 12 |
| Lower fence | 8.625 |
| Upper fence | 15.625 |
| Outlier values | 85 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Does an outlier have to be a mistake?
No. The fence rule only flags unusual values; whether one is an error, a rare event or the most interesting point in the data is a judgement call.
Why 1.5 times the IQR?
It is Tukey's conventional choice: for roughly normal data it flags about 0.7% of values, balancing sensitivity against false alarms.
How does the Outlier Calculator work?
Counts and identifies outliers by the 1.5·IQR fence rule: values far below Q1 or far above Q3. Data values → Number of outliers (primary). 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 Outlier Calculator need?
Data values → Number of outliers (primary). 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.