Interquartile Range Notes

Published on: November 26, 2026

These Interquartile Range Notes explain how to measure the spread of the middle half of a list of numbers, with the working shown line by line. The method finds the lower and the upper quartile and takes one away from the other. Because the smallest and the largest quarter of the values are left out, one unusually big or small value barely changes the answer, unlike the range. The result is then drawn as the width of the box on a box plot, so the pattern can be seen as well as worked out.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the lower and the upper quartile.
  4. Substitute the quartiles into the formula.
  5. Subtract to get the interquartile range.
  6. Show the interquartile range on a box plot.

Formula: Interquartile Range Formula

This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.

\(IQR = Q_3 - Q_1\)

Useful Tips to Remember

The interquartile range is the upper quartile minus the lower quartile, \(\text{IQR} = Q_3 - Q_1\). Put the data in order before finding the quartiles. The IQR describes the spread of the middle half of the data and is not affected by extreme values. It is used to find outliers with the \(1.5 \times \text{IQR}\) rule.

Required knowledge

Where Is the Interquartile Range Used?

The interquartile range is the difference between the upper and lower quartiles, showing the spread of the middle half of the data. Because it ignores the lowest and highest quarters, it is not affected by extreme values, which makes it more reliable than the range for skewed data like incomes and house prices. It is used to compare consistency between groups, to draw box plots, and to detect outliers with the \(1.5 \times \text{IQR}\) rule. Researchers, doctors and analysts use it to describe typical variation.

  • Comparing the consistency of test scores between classes
  • Describing the spread of incomes and house prices
  • Finding outliers with the \(1.5 \times \text{IQR}\) rule
  • Setting the length of the box on a box plot
  • Reporting typical ranges in medical measurements

Interquartile Range Practice Problems

Example 1 uses eight ordered values, and Example 2 uses nine unordered values. Examples 3 and 4 give you two more problems of the same kind to try. Try finding both quartiles yourself before opening each example.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the lower and the upper quartile.
  4. Substitute the quartiles into the formula.
  5. Subtract to get the interquartile range.
  6. Show the interquartile range on a box plot.

Formula

Formula: Interquartile Range Formula

This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.

\(IQR = Q_3 - Q_1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the spread of the middle half of \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).

\(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\)

Step 2

Step 2 - Write the formula.

In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.

\(IQR = Q_3 - Q_1\)

Step 3

Step 3 - Find the lower and the upper quartile.

In this problem: The quartiles of the list are \(Q_1 = 2.5\) and \(Q_3 = 6.5\).

\(Q_1 = 2.5,\; Q_3 = 6.5\)

Step 4

Step 4 - Substitute the quartiles into the formula.

In this problem: Replacing \(Q_3\) with \(6.5\) and \(Q_1\) with \(2.5\) gives \(IQR = 6.5 - 2.5\).

\(IQR = 6.5 - 2.5\)

Step 5

Step 5 - Subtract to get the interquartile range.

In this problem: Subtracting gives \(6.5 - 2.5 = 4\).

\(IQR = 6.5 - 2.5 = 4\)

Step 6

Step 6 - Show the interquartile range on a box plot.

In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).

Box plot with the interquartile range marked

Final Answer

\(IQR = 4\)
See Example 2 Hide Example 2

Problem

\(3,\; 7,\; 8,\; 5,\; 12,\; 14,\; 21,\; 13,\; 18\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the lower and the upper quartile.
  4. Substitute the quartiles into the formula.
  5. Subtract to get the interquartile range.
  6. Show the interquartile range on a box plot.

Formula

Formula: Interquartile Range Formula

This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.

\(IQR = Q_3 - Q_1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the spread of the middle half of \(3,\; 7,\; 8,\; 5,\; 12,\; 14,\; 21,\; 13,\; 18\).

\(3,\; 7,\; 8,\; 5,\; 12,\; 14,\; 21,\; 13,\; 18\)

Step 2

Step 2 - Write the formula.

In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.

\(IQR = Q_3 - Q_1\)

Step 3

Step 3 - Find the lower and the upper quartile.

In this problem: The quartiles of the list are \(Q_1 = 6\) and \(Q_3 = 16\).

\(Q_1 = 6,\; Q_3 = 16\)

Step 4

Step 4 - Substitute the quartiles into the formula.

In this problem: Replacing \(Q_3\) with \(16\) and \(Q_1\) with \(6\) gives \(IQR = 16 - 6\).

\(IQR = 16 - 6\)

Step 5

Step 5 - Subtract to get the interquartile range.

In this problem: Subtracting gives \(16 - 6 = 10\).

\(IQR = 16 - 6 = 10\)

Step 6

Step 6 - Show the interquartile range on a box plot.

In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).

Box plot with the interquartile range marked

Final Answer

\(IQR = 10\)
See Example 3 Hide Example 3

Problem

\(10,\; 20,\; 30,\; 40,\; 50\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the lower and the upper quartile.
  4. Substitute the quartiles into the formula.
  5. Subtract to get the interquartile range.
  6. Show the interquartile range on a box plot.

Formula

Formula: Interquartile Range Formula

This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.

\(IQR = Q_3 - Q_1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the spread of the middle half of \(10,\; 20,\; 30,\; 40,\; 50\).

\(10,\; 20,\; 30,\; 40,\; 50\)

Step 2

Step 2 - Write the formula.

In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.

\(IQR = Q_3 - Q_1\)

Step 3

Step 3 - Find the lower and the upper quartile.

In this problem: The quartiles of the list are \(Q_1 = 15\) and \(Q_3 = 45\).

\(Q_1 = 15,\; Q_3 = 45\)

Step 4

Step 4 - Substitute the quartiles into the formula.

In this problem: Replacing \(Q_3\) with \(45\) and \(Q_1\) with \(15\) gives \(IQR = 45 - 15\).

\(IQR = 45 - 15\)

Step 5

Step 5 - Subtract to get the interquartile range.

In this problem: Subtracting gives \(45 - 15 = 30\).

\(IQR = 45 - 15 = 30\)

Step 6

Step 6 - Show the interquartile range on a box plot.

In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).

Box plot with the interquartile range marked

Final Answer

\(IQR = 30\)
See Example 4 Hide Example 4

Problem

\(6,\; 47,\; 49,\; 15,\; 42,\; 41,\; 7,\; 39,\; 43,\; 40,\; 36\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Find the lower and the upper quartile.
  4. Substitute the quartiles into the formula.
  5. Subtract to get the interquartile range.
  6. Show the interquartile range on a box plot.

Formula

Formula: Interquartile Range Formula

This formula gives the spread of the middle half of the data. Take the lower quartile away from the upper quartile.

\(IQR = Q_3 - Q_1\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the spread of the middle half of \(6,\; 47,\; 49,\; 15,\; 42,\; 41,\; 7,\; 39,\; 43,\; 40,\; 36\).

\(6,\; 47,\; 49,\; 15,\; 42,\; 41,\; 7,\; 39,\; 43,\; 40,\; 36\)

Step 2

Step 2 - Write the formula.

In this problem: The interquartile range is the gap between the upper and the lower quartile, which holds the middle half of the values.

\(IQR = Q_3 - Q_1\)

Step 3

Step 3 - Find the lower and the upper quartile.

In this problem: The quartiles of the list are \(Q_1 = 15\) and \(Q_3 = 43\).

\(Q_1 = 15,\; Q_3 = 43\)

Step 4

Step 4 - Substitute the quartiles into the formula.

In this problem: Replacing \(Q_3\) with \(43\) and \(Q_1\) with \(15\) gives \(IQR = 43 - 15\).

\(IQR = 43 - 15\)

Step 5

Step 5 - Subtract to get the interquartile range.

In this problem: Subtracting gives \(43 - 15 = 28\).

\(IQR = 43 - 15 = 28\)

Step 6

Step 6 - Show the interquartile range on a box plot.

In this problem: The interquartile range is the width of the box, from \(Q_1\) to \(Q_3\).

Box plot with the interquartile range marked

Final Answer

\(IQR = 28\)

Calculator and Practice Mode