Math calculators

Outlier Calculator

Updated Aug 31, 2026 By Jehan Wadia
Rate Formulas
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 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 proven detection methods: the IQR method, Z-score method, and Grubbs' test. 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. "Grubbs' Test" is a statistical test that checks one outlier at a time.

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. This option shows when you pick the Z-Score method.

Significance Level (α): Choose how confident you want the Grubbs' 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 Grubbs' 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. 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. 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)

This is the most common way to find outliers. It uses the interquartile range (IQR), which is the spread of the middle 50% of your data. 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. Use a multiplier of 1.5 for mild outliers or 3.0 for extreme ones.

Z-Score Method

A z-score tells you how far a number is from the mean, measured in standard deviations. 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.

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. It removes one outlier at a time and repeats until no more are found. This method is best for small to medium data sets that are roughly normal.

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.
  • Grubbs' Test: Ideal when you need a formal statistical test with a set confidence level.

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. 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. Never delete real data just to make your results look cleaner.


Formulas used

IQR (Interquartile Range)
IQR = Q_3 - Q_1
IQR Lower Fence
\text{Lower Fence} = Q_1 - k \times IQR
IQR Upper Fence
\text{Upper Fence} = Q_3 + k \times IQR
Z-Score
z_i = \frac{x_i - \mu}{\sigma}
Population Standard Deviation
\sigma = \sqrt{\frac{1}{N}\sum_{i=1}^{N}(x_i - \mu)^2}
Grubbs' Test Statistic
G = \frac{\max|x_i - \bar{x}|}{s}
Grubbs' Critical Value
G_{\text{crit}} = \frac{(N-1)\, t_{\alpha/(2N),\, N-2}}{\sqrt{N}\,\sqrt{N - 2 + t_{\alpha/(2N),\, N-2}^2}}
Mean
\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 Grubbs' Test if you need a formal statistical test with a confidence 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. A value of 3.0 only flags extreme outliers. The higher the number, the fewer outliers the calculator will find.

What is a good Z-score threshold to use?

A threshold of 3 is the most common choice and flags only values that are far from the average. A threshold of 2 is more lenient and will catch more outliers. 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 sets how confident the test needs to be before calling a value an outlier. At α = 0.05, the test is 95% confident. At α = 0.01, it is 99% confident. 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.