Outlier Calculator

Identify anomalies in your data using Tukey's Method (1.5 Γ— IQR) or MAD (Median Absolute Deviation).

πŸ” Find Outliers in 3 Steps

1

Input Data

2

Select Method

3

See Anomalies

Waiting for data input...
πŸ”’ 100% local computing, data never leaves browser

Supported Data Formats:

  • Comma-separated: 1.5, 2.8, 9.1, 16.2
  • Space-separated: 1.5 2.8 9.1 16.2
  • Newline-separated: one number per line
  • Scientific notation: 1.23e-4, 5.67E+8
  • Series mode: use "Group Name: value1, value2, value3" per line to compare multiple groups
  • Automatically ignores text and special characters

Universal Standard (R, Python, Google Sheets)

Linear interpolation method, default standard for modern data science software

R (type=7) Python NumPy Google Sheets QUARTILE.EXC
Interpolated Values
Medium Complexity

Your calculation results and box plot will appear here instantly

Please enter at least 4 numbers above to start calculating

Enter data to generate box plot

Please enter at least 4 numbers above to start calculating

How to Calculate Outliers

An outlier is a data point that differs significantly from other observations. PlotNerd uses two robust statistical methods to detect them:

Method 1: Tukey's Fences (IQR Method)

This is the standard method used in Box Plots.

  1. Calculate Q1 (25th percentile) and Q3 (75th percentile).
  2. Calculate the IQR (Interquartile Range) = Q3 - Q1.
  3. Define the Lower Fence = Q1 - (1.5 Γ— IQR).
  4. Define the Upper Fence = Q3 + (1.5 Γ— IQR).
  5. Any value outside these fences is an outlier.

Method 2: Median Absolute Deviation (MAD)

A more robust method for smaller datasets or non-normal distributions. It uses the median of absolute deviations from the data's median. Values exceeding a threshold (usually 3.5 or 3) are flagged.

πŸ’‘ Why Detect Outliers?

  • ⚠️ Data Quality: Outliers may indicate data entry errors.
  • πŸ“Š Statistical Validity: Extreme values can skew the Mean and Standard Deviation.
  • πŸ” Anomaly Detection: In finance or manufacturing, outliers often signal fraud or defects.

Frequently Asked Questions

Statistical concepts explained in plain language

Mathematical Formulas

View the standard mathematical formulas behind the calculations