Outlier Calculator
Type or paste numbers separated by commas, spaces or new lines. Decimals and negative numbers are fine.
1 outlier: 50
- Lower fence: -3
- Upper fence: 13
- IQR: 4
Step-by-step solution
- Sort the data and find Q1 = 3 and Q3 = 7.
- IQR = Q3 − Q1 = 4.
- Lower fence = Q1 − 1.5 × IQR = 3 − 6 = -3.
- Upper fence = Q3 + 1.5 × IQR = 7 + 6 = 13.
- Values outside the fences are outliers: 50.
Example shown: the default numbers above. Change them and press Calculate.
What you get when you use this calculator
Every result includes the answer, a picture of what the answer means and the full working, so you can check the method as well as the number.
How to use the Outlier Calculator
- Type or paste your numbers into the box above.
- Press Calculate (or hit Enter).
- Read the highlighted answer, check the picture, then follow the numbered steps to see how it was found.
- Use Copy answer to paste the result into your homework or notes.
Formula and method
| Lower fence | Q1 − 1.5 × IQR |
|---|---|
| Upper fence | Q3 + 1.5 × IQR |
| Outlier | Any value outside the two fences |
Worked examples
Example 1: 2, 3, 4, 5, 6, 7, 50
1 outlier: 50
- Sort the data and find Q1 = 3 and Q3 = 7.
- IQR = Q3 − Q1 = 4.
- Lower fence = Q1 − 1.5 × IQR = 3 − 6 = -3.
- Upper fence = Q3 + 1.5 × IQR = 7 + 6 = 13.
- Values outside the fences are outliers: 50.
Example 2: 10, 12, 11, 13, 12, 11, 12
No outliers found by the 1.5 × IQR rule
- Sort the data and find Q1 = 11 and Q3 = 12.
- IQR = Q3 − Q1 = 1.
- Lower fence = Q1 − 1.5 × IQR = 11 − 1.5 = 9.5.
- Upper fence = Q3 + 1.5 × IQR = 12 + 1.5 = 13.5.
- Every value lies inside the fences, so there are no outliers.
Example 3: -30, 4, 5, 6, 7, 8
1 outlier: -30
Show the steps
- Sort the data and find Q1 = 4 and Q3 = 7.
- IQR = Q3 − Q1 = 3.
- Lower fence = Q1 − 1.5 × IQR = 4 − 4.5 = -0.5.
- Upper fence = Q3 + 1.5 × IQR = 7 + 4.5 = 11.5.
- Values outside the fences are outliers: -30.
Example 4: 15, 18, 21, 22, 25, 80, 90
No outliers found by the 1.5 × IQR rule
Show the steps
- Sort the data and find Q1 = 18 and Q3 = 80.
- IQR = Q3 − Q1 = 62.
- Lower fence = Q1 − 1.5 × IQR = 18 − 93 = -75.
- Upper fence = Q3 + 1.5 × IQR = 80 + 93 = 173.
- Every value lies inside the fences, so there are no outliers.
Practice problems
Try each one on paper first, then open the answer.
Problem 1: 5, 6, 7, 8, 9, 40
1 outlier: 40
Problem 2: 100, 102, 105, 107, 110
No outliers found by the 1.5 × IQR rule
Problem 3: 1, 20, 22, 24, 26, 28
1 outlier: 1
Frequently asked questions
What is the 1.5 IQR rule?
It flags any value more than 1.5 interquartile ranges below Q1 or above Q3 as a potential outlier.
Should I always delete outliers?
No. An outlier can be a data-entry error or a real, important observation. Investigate it before removing anything.
Why do I need at least four values?
Quartiles need enough values to split into halves. With fewer than four the fences are not meaningful.
Are there other ways to detect outliers?
Yes, such as z-scores beyond ±3. The IQR rule is popular because it does not assume the data are bell-shaped.
Related calculators
Interquartile Range Calculator
Find Q1, Q3 and the interquartile range (IQR) of your data. Shows the median, the steps and a box plot.
Standard Deviation Calculator
Free standard deviation calculator. Paste your numbers to get the sample or population standard deviation, mean, variance and every step of the working.
Median Calculator
Free median calculator. Paste your numbers to sort them and find the middle value, with odd and even cases explained.
Calculators are for learning and general use. If a result matters (an exam, a report, a research paper), double-check it and read the methodology. Read the disclaimer.