Math calculators

Outlier Calculator

Updated Oct 8, 2026 By Infinity Calculator
Data Input
Paste or type numbers separated by commas, spaces, tabs, or newlines. Non-numeric entries are skipped.
Please enter at least 3 numeric values.
Configuration
Standard: 1.5 (mild), 3.0 (extreme)
Enter a positive number.

Outlier Detection Summary
Method UsedIQR Method (Tukey's Fences)
Threshold / Parameterk = 1.5
Total Data Points7
Outliers Detected1
Detected Outliers:
Mean
0
Median
0
Std Deviation
0
IQR
0
Q1 (25th %ile)
0
Q3 (75th %ile)
0
Min
0
Max
0
Fence Boundaries
Lower Fence
0
Upper Fence
0
Data Distribution & Outliers
Box Plot
Data Point Details
# Value Z-Score (sample SD) Status

Introduction

An outlier is a number in your data that is much higher or much lower than the rest. Outliers can mess up your results and hide what your data really shows. This outlier calculator finds those odd values in your data set. Just paste your numbers, pick a method, and hit calculate. It supports three detection methods: the IQR method, the Z-score method, and the generalized ESD test, which is Grubbs' test when it looks for one outlier. For each one, you get clear results that show which values are outliers, key stats like the mean, median, and standard deviation, plus visual charts so you can see exactly where the outliers sit in your data.

How to Use Our Outlier Calculator

Enter your data set below and this calculator will find any outliers, meaning numbers that are unusually high or low compared to the rest. You will get a full breakdown of your data, including charts, stats, and a clear list of which values are outliers.

Enter Your Data: Type or paste your numbers into the text box. You can separate them with commas, spaces, tabs, or new lines. You need at least 3 numbers for the calculator to work.

Detection Method: Pick how you want to find outliers. "IQR Method" uses quartile ranges and works great for most data. "Z-Score Method" checks how far each number is from the average. "Generalized ESD Test" is a formal test that looks for up to a number of outliers you set.

IQR Multiplier (k): This controls how strict the IQR method is. The default is 1.5, which catches mild outliers. Set it to 3.0 to only flag extreme outliers. This option shows when you pick the IQR method.

Z-Score Threshold: This sets how many standard deviations away a number must be to count as an outlier. The default is 3. A lower number like 2 catches more outliers. The largest z-score any value can have is (n − 1)/√n, so small data sets cannot reach a high threshold.3 With 10 values that limit is about 2.85. This option shows when you pick the Z-Score method.

Significance Level (α): Choose how confident you want the generalized ESD test to be. Standard (0.05) works for most cases. Strict (0.01) only flags outliers the test is very sure about. This option shows when you pick the generalized ESD test.

Maximum Number of Outliers (r): The most outliers the generalized ESD test should look for. The default is 10. Set it to 1 to run Grubbs' test for a single outlier. This option shows when you pick the generalized ESD test.

Calculate: Press the Calculate button to run the test. Press Reset to load sample data and start over.

What Is an Outlier?

An outlier is a number in a data set that is very different from the rest.1 For example, if most test scores are between 70 and 90, a score of 15 or 200 would be an outlier. Outliers can show up because of mistakes, unusual events, or natural variation.3 Finding them matters because they can change your results when you calculate things like the mean (average).

How This Outlier Calculator Works

This calculator finds outliers in your data using three proven methods. You paste your numbers, pick a method, and the tool does the rest. It shows you which values are outliers, gives you key stats like the mean, median, and standard deviation, and draws charts so you can see the data clearly.

The Three Detection Methods

IQR Method (Tukey's Fences)

It uses the interquartile range (IQR), which is the spread of the middle 50% of your data.4 The tool calculates Q1 (25th percentile) and Q3 (75th percentile), then finds the IQR by subtracting Q1 from Q3. Any value below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR is marked as an outlier.4 Use a multiplier of 1.5 for mild outliers or 3.0 for extreme ones.1

Z-Score Method

A z-score tells you how far a number is from the mean, measured in standard deviations.3 The standard deviation used is the sample standard deviation.3 If a data point has a z-score above your chosen threshold (usually 2 or 3), it is flagged as an outlier. This method works best when your data follows a normal (bell-shaped) distribution.3

Generalized ESD Test (Grubbs' Test)

Grubbs' test checks whether the value farthest from the mean is an outlier by comparing it to a critical value based on your sample size and significance level.2 It is designed to detect a single outlier.2 To look for more than one, the calculator uses the generalized extreme studentized deviate (ESD) test, which only needs an upper bound r on the number of outliers.8 It removes the value farthest from the mean, recomputes, and repeats until r values are removed, giving r test statistics.8 Each is compared with its own critical value, and the number of outliers is the largest i whose test statistic is greater than its critical value.8 Running Grubbs' test over and over can stop too soon when outliers mask each other, while the generalized ESD test adjusts its critical values for the number of outliers tested for.8 With r = 1 it is the same as Grubbs' test. The test assumes your data is roughly normal.8

When to Use Each Method

  • IQR Method: Best for general use. It works well even if your data is skewed or not perfectly normal.
  • Z-Score Method: Good when your data is bell-shaped and you want a quick, simple check.
  • Generalized ESD Test: Ideal when you need a formal statistical test with a set significance level, for one outlier or several.

What to Do with Outliers

Finding an outlier does not always mean you should remove it. First, check if it was caused by a data entry error or measurement mistake. If so, fix or remove it.2 If the outlier is a real value, keep it and consider using the median instead of the mean, since the median is not pulled by extreme values.6 Never delete real data just to make your results look cleaner.2


Formulas used

IQR (Interquartile Range) 4
IQR = Q_3 - Q_1
IQR Lower Fence 1
\text{Lower Fence} = Q_1 - k \times IQR
IQR Upper Fence 1
\text{Upper Fence} = Q_3 + k \times IQR
Z-Score 3
z_i = \frac{x_i - \bar{x}}{s}
Sample Standard Deviation 5
s = \sqrt{\frac{1}{N-1}\sum_{i=1}^{N}(x_i - \bar{x})^2}
Generalized ESD Test Statistic 8
R_i = \frac{\max_i |x_i - \bar{x}|}{s}
Generalized ESD Critical Value 8
\lambda_i = \frac{(n-i)\, t_{p,\, n-i-1}}{\sqrt{(n-i-1+t_{p,\, n-i-1}^{2})(n-i+1)}},\quad p = 1-\frac{\alpha}{2(n-i+1)}
Mean 6
\mu = \frac{1}{N}\sum_{i=1}^{N} x_i

Frequently asked questions

What format should I use to enter my data?

You can separate your numbers with commas, spaces, tabs, or new lines. For example, you can type 12, 14, 15, 89 or put each number on its own line. The calculator will skip any text that is not a number.

Which outlier detection method should I pick?

If you are not sure, start with the IQR Method. It works well with most data, even if the data is not perfectly shaped like a bell curve. Use the Z-Score method if your data is bell-shaped. Use the generalized ESD test if you need a formal statistical test with a significance level.

What does the IQR multiplier (k) do?

The multiplier controls how strict the outlier detection is. A value of 1.5 catches mild outliers.1 A value of 3.0 only flags extreme outliers.1 The higher the number, the fewer outliers the calculator will find.

What is a good Z-score threshold to use?

A threshold of 3 flags only values that are far from the average. A threshold of 2 is more lenient and will catch more outliers.5 Use 2 if you want to be cautious, and 3 if you only want to find the most extreme values.

What do the lower fence and upper fence mean?

The fences are boundary lines. Any number below the lower fence or above the upper fence is flagged as an outlier. Numbers between the two fences are considered normal.

What does the significance level (α) mean in Grubbs' Test?

The significance level is the chance that the test flags a value as an outlier when the data really have none.7 At α = 0.05 that chance is 5%. At α = 0.01 it is 1%. A lower α means fewer values will be flagged as outliers.

Can duplicate values be outliers?

Yes. If the same number appears more than once and it falls outside the fence boundaries or exceeds the threshold, every copy of that number will be flagged as an outlier.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, 7.1.6 What are outliers in the data? National Institute of Standards and Technology. § 7.1.6. Accessed September 28, 2026.
  2. NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.17.1 Grubbs' Test for Outliers. National Institute of Standards and Technology. § 1.3.5.17.1. Accessed September 28, 2026.
  3. NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.17 Detection of Outliers. National Institute of Standards and Technology. § 1.3.5.17. Accessed September 28, 2026.
  4. Illowsky B, Dean S. Introductory Statistics 2e, 2.3 Measures of the Location of the Data. OpenStax. 2023;§ 2.3. Accessed September 28, 2026.
  5. Illowsky B, Dean S. Introductory Statistics 2e, 2.7 Measures of the Spread of the Data. OpenStax. 2023;§ 2.7. Accessed September 28, 2026.
  6. NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.1 Measures of Location. National Institute of Standards and Technology. § 1.3.5.1. Accessed September 28, 2026.
  7. Illowsky B, Dean S. Introductory Statistics 2e, 9.2 Outcomes and the Type I and Type II Errors. OpenStax. 2023;§ 9.2. Accessed September 28, 2026.
  8. NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.5.17.3 Generalized Extreme Studentized Deviate Test for Outliers. National Institute of Standards and Technology. § 1.3.5.17.3. Accessed October 8, 2026.