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