Outliers Explained with Worked Examples

A common rule of thumb says a value is an outlier if it is below or above .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Outliers (rule of thumb) means

An outlier is a value that is unusually far from the rest of the data. The interquartile range (IQR) is , the spread of the middle half of the data.

Calculate the upper and lower fences and . Any value beyond a fence is flagged as an outlier.

Outliers should be investigated, not automatically removed; they may be errors or genuine extreme values. They are flagged with the interquartile range from the five-number summary, and they affect the range and the standard deviation strongly.

This page is part of Charts and diagrams in Statistics. Topics that work alongside it: Quartiles and interquartile range, Five-number summary (box plot), Range, Frequency density (histograms), Moving average and Pie chart angle.

What is it used for?

A common rule of thumb marks a value as an outlier if it is more than 1.5 × IQR below the lower quartile or above the upper quartile.

How to use outliers (rule of thumb)

  1. Find and .
  2. Calculate the IQR.
  3. Find the upper and lower fences.
  4. Compare each value with the fences.

Graph

A box plot with the upper fence051015202530354000.511.522.53A box plot with the upper fencevalueGraph with x from 0 to 40 and y from 0 to 3. Shows a box plot from 8 to 28 with median 16; outlier (1).

With Q₁ = 12 and Q₃ = 20 the IQR is 8, so the upper fence is 20 + 1.5 × 8 = 32. The value 35 is above it, so it is an outlier.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: test for an outlier

For a data set, and . Is 50 an outlier?

Worked example
Answer
50 is an outlier50\ \text{is an outlier}
  1. IQR
  2. Upper fence
  3. Compare
    Since , the value 50 is an outlier.

Example 2: the lower fence

With the same quartiles, find the lower fence.

Worked example
Answer
−5-5
  1. Lower fence
  2. Meaning
    Any value below would be an outlier.

Example 3: the upper fence

A data set has and . Is 35 an outlier?

Worked example
Answer
yes, 35 is an outlier\text{yes, 35 is an outlier}
  1. IQR
  2. Upper fence
  3. Compare

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Q₁ = 10, Q₃ = 20

IQR

10.

same

lower fence Q₁ − 1.5 IQR

−5.

same

upper fence Q₃ + 1.5 IQR

35.

Q₁ = 12, Q₃ = 18

upper fence

27.

Word problems

A value is a (suspected) outlier if it is below Q₁ − 1.5 IQR or above Q₃ + 1.5 IQR.

IQR

Q₃ − Q₁.

  1. 20 − 10
  2. Check: ✓10

Lower fence

Q₁ − 1.5 × 10.

  1. 10 − 15
  2. Check: ✓-5

Upper fence Higher

Q₃ + 15.

  1. 20 + 15
  2. Check: 40 is an outlier ✓35

Another data set Higher

Q₁ = 12, Q₃ = 18.

  1. 18 + 9
  2. Check: ✓27

Common mistakes

Using the range

range ✗

IQR ✓

Fence rule.

Forgetting 1.5

IQR only ✗

1.5 × IQR ✓

Convention.

Fence from the median

median ✗

from the quartiles ✓

Q₁ and Q₃.

Removing outliers automatically

always remove ✗

investigate first ✓

Judgement.

Exam tips

  1. IQR = Q₃ − Q₁.
  2. Fences ±1.5 IQR.
  3. Compare each value.
  4. Investigate before removing.
  5. State the rule used.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. IQR: Q₁ = 5, Q₃ = 17 Foundation

12

2. Upper fence: Q₃ = 17, IQR = 12 Foundation

35

3. Lower fence: Q₁ = 5, IQR = 12 Foundation

-13

4. Upper fence: Q₁ = 30, Q₃ = 40 Higher

55

5. Lower fence: Q₁ = 30, Q₃ = 40 Higher

15

6. Upper fence: Q₁ = 2, Q₃ = 6 Higher

12

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Outlier
Unusual value.
Quartile
Q₁, Q₃.
IQR
Q₃ − Q₁.
Fence
Cut-off.
Boxplot
Shows outliers.
Skewness
Asymmetry.

Frequently asked questions

What is the outlier rule?

Below Q₁ − 1.5 IQR or above Q₃ + 1.5 IQR.

How do I find the IQR?

Q₃ − Q₁.

Should outliers be removed?

Not automatically.

Where are outliers shown?

On a boxplot.

Which page covers quartiles?

quartiles and IQR.

Which page covers the five-number summary?

five-number summary.

More in Statistics and the formula sheets.