Part of the Math & Statistics suite · 235 calculators

Outlier Calculator

Find the values that do not belong — by the IQR fence rule, by z-score and by the modified z-score, which is the one that works when the outliers are large.

Three rules, deliberately shown together because they disagree.

Comma-separated
Results update as you type
Results
Outliers found (IQR rule)
1
Which values
Lower fence
Upper fence
By z-score (|z| > 3)
By modified z-score (|z| > 3.5)
Mean with outliers
Mean without them
Count
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows US usage (math, parentheses, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About outlier

How the outlier calculator works

Three rules, deliberately shown together because they disagree. The IQR rule flags anything more than 1.5 × IQR beyond a quartile. The z-score rule flags |z| > 3 — but the outlier inflates the standard deviation it is measured against, so extreme values mask themselves. The modified z-score uses the median and MAD instead, which cannot be inflated.

When the three disagree, trust the modified z-score.

Formula: fences: Q1 − 1.5 IQR, Q3 + 1.5 IQR; modified z = 0.6745 (x − median) / MAD

Worked examples

InputsOutliers found (IQR rule)Note
Nine ordinary values and a 1021the IQR and modified-z rules both catch it; the plain z-score does not
Clean data0no outliers
A stricter fence13.0 flags only extreme outliers

Frequently asked questions

What counts as an outlier?

There is no single answer. The common rules are 1.5 × IQR beyond a quartile, |z| > 3, or a modified z-score above 3.5.

Why do the rules disagree?

Because the z-score rule uses the mean and standard deviation, which the outlier itself inflates. A single extreme value can hide behind the spread it creates — this is called masking.

Which rule should I trust?

The modified z-score, which uses the median and MAD. Neither can be inflated by the point being tested.

Should I delete outliers?

Almost never automatically. Investigate first: a data-entry error should go, a genuine extreme observation usually should not. Deleting inconvenient points is how analyses get quietly wrong.

What if my data is skewed?

Then the symmetric fences over-flag the long tail. Consider transforming the data first, or use a rule designed for skewed distributions.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.