← Statistics and probability

Range and outliers

How spread out the data is, and what counts as unusual.

Start this lesson

The range is max − min. To decide if a value is an outlier, use the 1.5 × IQR rule: anything above Q3 + 1.5 × IQR or below Q1 − 1.5 × IQR is an outlier.

Example: Q1 = 20, Q3 = 32: the upper fence

  1. 32 + 1.5 × (32 − 20) — Q3 + 1.5 × IQR
  2. 32 + 1.5 × 12 — IQR = 12
  3. 32 + 18
  4. 50 — Anything above 50 is an outlier

Why it works: The range measures the gap from smallest to biggest. An outlier sits far from the rest, so it stretches the range a lot.

Tip: Fences aren’t data values; they’re cut-off lines.