1.5 IQR Rule Calculator

This 1.5 IQR rule calculator finds the quartiles, the IQR and the two outlier fences for your data, and lists every value that falls outside them.

Checks on your data

  • Quartiles were found as the medians of the lower and upper halves of the sorted data.
  • Other quartile methods can shift Q1 and Q3 slightly and change which borderline points are flagged.
  • An outlier by this rule is a flag to investigate, not a reason to delete a value.
  • Data: 1 possible outlier (40) lie beyond 1.5 × IQR from the quartiles. Check for typing errors, then see how much the result changes without them. See the box plot →
  • Data: the data are strongly right-skewed (skewness 2.01). The mean and standard deviation can mislead here; the median and IQR describe skewed data better. Measure skewness →

Results

Q1
8
Q3
14
IQR (Q3 − Q1)
6
Lower fence (Q1 − 1.5 × IQR)
-1
Upper fence (Q3 + 1.5 × IQR)
23
Outliers
40
Number of outliers
1
Box plot (1.5 × IQR fences)
10203040Q1 8Q3 14median 11
Show step-by-step solution
  1. Sorted data: 4, 7, 9, 10, 11, 12, 13, 15, 40.
  2. Q1 = 8, Q3 = 14 (medians of the lower and upper halves). IQR = 14 − 8 = 6.
  3. Lower fence = 8 − 1.5 × 6 = -1. Upper fence = 14 + 1.5 × 6 = 23.
  4. A value is an outlier if it is below -1 or above 23.
Lower fenceQ1 − 1.5 × IQR
Upper fenceQ3 + 1.5 × IQR
IQRQ3 − Q1

What Is 1.5 IQR Rule?

The 1.5 IQR rule is a quick test for outliers. Work out the interquartile range, multiply it by 1.5, and subtract that from Q1 and add it to Q3. Any value outside those two fences is flagged as an outlier.

Paste your values and the calculator sorts them, finds Q1 and Q3 as the medians of the lower and upper halves, and applies the rule. You can switch the multiplier to 3 to find only extreme outliers.

A flagged value deserves a look, not automatic deletion. It may be an error, or it may be a real and important observation.

How to Use the 1.5 IQR Rule Calculator

  1. Paste your values.
  2. Pick the multiplier, 1.5 for outliers or 3 for extreme outliers.
  3. Read the fences and the list of values outside them.

1.5 IQR Rule Formula

IQR

IQR=Q3−Q1IQR=Q_3-Q_1

Fences

[ Q1−1.5 IQR,;Q3+1.5 IQR ][\,Q_1-1.5\,IQR,;Q_3+1.5\,IQR\,]

1.5 IQR Rule Variables Explained

SymbolMeaningNotes
Q1First quartile, the median of the lower half
Q3Third quartile, the median of the upper half
IQRInterquartile rangeQ3 − Q1
FencesQ1 − 1.5 IQR and Q3 + 1.5 IQRValues outside are outliers

1.5 IQR Rule Worked Example

With the example values loaded in the calculator above, the steps are:

  1. Sorted data: 4, 7, 9, 10, 11, 12, 13, 15, 40.
  2. Q1 = 8, Q3 = 14 (medians of the lower and upper halves). IQR = 14 − 8 = 6.
  3. Lower fence = 8 − 1.5 × 6 = -1. Upper fence = 14 + 1.5 × 6 = 23.
  4. A value is an outlier if it is below -1 or above 23.

Result: IQR (Q3 − Q1) = 6; Lower fence (Q1 − 1.5 × IQR) = -1; Upper fence (Q3 + 1.5 × IQR) = 23; Outliers = 40.

Worked example

Take 4, 7, 9, 10, 11, 12, 13, 15, 40. The lower half is 4, 7, 9, 10 with median 8, and the upper half is 12, 13, 15, 40 with median 14, so Q1 = 8 and Q3 = 14.

IQR = 14 − 8 = 6. The lower fence is 8 − 9 = −1 and the upper fence is 14 + 9 = 23. The value 40 is above 23, so it is an outlier.

Why 1.5

The factor 1.5 is a convention. It comes from the box plot whiskers and works well as a screening rule. Use 3 to pick out only extreme outliers.

Where 1.5 IQR Rule Is Used

Screening data

Flag unusual values before an analysis.

Box plots

Find where the whiskers end and which points are drawn as outliers.

Statistics coursework

Check outlier answers with the quartile and fence steps shown.

Common 1.5 IQR Rule Mistakes to Avoid

  • Look at the box plot as well as the numbers.
  • Check flagged values for typing errors before anything else.

1.5 IQR Rule Terms and Definitions

IQR
The interquartile range, the spread of the middle half of the data.
Fence
A cut-off beyond which values are flagged as outliers.

1.5 IQR Rule FAQs

What is the 1.5 IQR rule?

Values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR are called outliers.

Why 1.5?

It is a widely used convention, not a law. It flags unusual points without catching too many ordinary ones.

Should I remove outliers?

Not automatically. Check whether they are errors or real, and report what you did.

What does multiplying by 3 do?

It widens the fences so only extreme outliers are flagged.

Related calculators

Last updated 2026-11-09. See our disclaimer.