Outlier Detection Calculator (Modified Z-Score, IQR, Z-Score)

Find outliers with the modified z-score (MAD), the IQR fences and the ordinary z-score.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Outlier Detection Calculator (Modified Z-Score, IQR, Z-Score) and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Outlier Detection Calculator (Modified Z-Score, IQR, Z-Score) does

    Find outliers with the modified z-score (MAD), the IQR fences and the ordinary z-score.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Enter your data. The calculator flags outliers with three methods: the modified z-score based on the median absolute deviation (MAD), Tukey's IQR fences and the ordinary z-score, and lists each flagged value with the methods that caught it.

Methods

Modified z = 0.6745 × (x − median) ÷ MAD; values with |modified z| above 3.5 (Iglewicz and Hoaglin) are flagged. The IQR rule flags values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. The ordinary z-score flags |z| > 3 but the mean and standard deviation are themselves distorted by outliers.

Which to trust

The MAD and IQR methods are robust. Always look at flagged values before removing them; an outlier can be real. Numbers can be separated by spaces, commas or new lines.

Worked example

In 10 12 12 13 12 11 14 13 15 102 12 14 11 the value 102 has a modified z-score of 60.7 and is flagged by all three methods. The median is 12 and the MAD is 1.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Why is the modified z-score better?

It uses the median and MAD, which a single outlier cannot distort.

What threshold is used?

3.5 by default; you can change it.

Should I delete outliers?

Only if you can show they are errors.

What if the MAD is 0?

The modified z-score cannot be computed; the other methods still work.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages