Home / Statistics Topics

Module 1 · Descriptive Statistics · Topic 5

Quartiles & IQR

Quartiles. Quartiles divide sorted data into four equal parts. Q1 (25th percentile) is the median of the lower half. Q2 is the overall median (50th percentile). Q3 (75th percentile) is the median of the upper half.

Outlier Detection. A data point is a suspected outlier if it falls below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. These boundaries are called the lower and upper fences.

Open the interactive lesson (free)All topics

Key formulas

Interquartile Range

IQR = Q3 − Q1

From the Descriptive Statistics formula sheet

  • Mean: xbar = sum(x_i) / n — The arithmetic average of a data set.
  • Sample Variance: s^2 = sum((x_i - xbar)^2) / (n - 1) — Average squared distance from the sample mean with Bessel correction.

See the full formula reference

Worked example

Worked Example

Data: {1, 3, 5, 7, 9, 11, 13}. Lower half: {1, 3, 5}, Q1 = 3. Upper half: {9, 11, 13}, Q3 = 11. IQR = 11 − 3 = 8. Lower fence = 3 − 12 = −9. Upper fence = 11 + 12 = 23. No outliers.

When to use it

Five-Number Summary

The five-number summary - minimum, Q1, median, Q3, maximum - gives a quick picture of the data’s center, spread, and range. It is the basis for box plots.

Related glossary terms

  • Outlier: A data point that is unusually far from the rest of the data. Example: In 2, 4, 5, 6, 50, the value 50 is a likely outlier.

Browse the full glossary

Go interactive

Work this topic in StatRise

The interactive lesson for this module is free — track your progress, then keep going with practice questions and calculators.

Descriptive Statistics lessonDescriptive Statistics calculators (free)Practice questions

Free statistics guides

Related in-depth guides

  • Understanding Standard Deviation: What It Measures and Why It Matters7 min read
  • How to Choose the Right Statistical Test8 min read

Keep reading

More topics

Previous: Measures of SpreadNext: Skewness & ShapeAll statistics topics
CalculatorsLessonsPracticeGuidesTopicsPremiumRestore purchasePrivacyTerms

© 2026 StatRise. Statistics calculators, lessons, practice, and simulations — progress stays in your browser, no account required.

More study tools: CalcRef · Discretica · ScoreMint · PhysRef