Quartiles Notes

Published on: November 26, 2026

These Quartiles Notes explain how to split a list of numbers into four equal parts, with the working shown line by line. The method sorts the values, finds the median of the whole list as the middle quartile, and then splits the sorted list into a lower half and an upper half. With an odd number of values the median itself is left out of both halves. The median of each half gives the lower and the upper quartile, so the same pattern of sorting and finding medians gives all three.

Step-by-step method

  1. Set up the problem.
  2. Sort the values from smallest to largest.
  3. Find the median of the whole list.
  4. Split the sorted list into a lower half and an upper half.
  5. Find the median of each half.

Useful Tips to Remember

Quartiles split ordered data into four equal parts. The lower quartile \(Q_1\) is the median of the lower half, the median \(Q_2\) is the middle, and the upper quartile \(Q_3\) is the median of the upper half. Always order the data first. Methods differ on whether the median is included in each half, so small differences between answers are normal.

Required knowledge

Where Are Quartiles Used?

Quartiles split ordered data into four equal parts, with the lower quartile, median and upper quartile marking the boundaries. They show how data is spread out, not just where its centre is, which is why they are used to compare groups and draw box plots. Schools use quartiles to group students by results, analysts use them to describe incomes and prices, and researchers use them to report typical ranges in data. They also give the interquartile range, which is used to find outliers.

  • Grouping students into top, middle and bottom quarters
  • Describing how incomes and prices are spread out
  • Marking the edges of the box on a box plot
  • Comparing performance between teams or branches
  • Finding the interquartile range and outliers

Quartiles Practice Problems

Example 1 uses eight ordered values, and Example 2 uses nine unordered values that must be sorted first. Examples 3 and 4 give you two more problems of the same kind to try. Try splitting the data into halves yourself before checking.

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. Sort the values from smallest to largest.
  3. Find the median of the whole list.
  4. Split the sorted list into a lower half and an upper half.
  5. Find the median of each half.

Step 1

Step 1 - Set up the problem.

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

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

Step 2

Step 2 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(1,\; 2,\; 3,\; 4,\; 5,\; 6,\; 7,\; 8\).

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

Step 3

Step 3 - Find the median of the whole list.

In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 4.5\).

\(Q_2 = 4.5\)

Step 4

Step 4 - Split the sorted list into a lower half and an upper half.

In this problem: There is an even number of values, so the sorted list splits straight down the middle.

\(\underbrace{1,\; 2,\; 3,\; 4}_{\text{lower half}},\; \underbrace{5,\; 6,\; 7,\; 8}_{\text{upper half}}\)

Step 5

Step 5 - Find the median of each half.

In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.

\(\text{lower half} = 1,\; 2,\; 3,\; 4 \qquad \text{upper half} = 5,\; 6,\; 7,\; 8\)

Step 5a

Step 5a - Find the median of the lower half.

In this problem: The median of \(1,\; 2,\; 3,\; 4\) is \(2.5\).

\(Q_1 = 2.5\)

Step 5b

Step 5b - Find the median of the upper half.

In this problem: The median of \(5,\; 6,\; 7,\; 8\) is \(6.5\).

\(Q_3 = 6.5\)

Final Answer

\(Q_1 = 2.5,\; Q_2 = 4.5,\; Q_3 = 6.5\)
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. Sort the values from smallest to largest.
  3. Find the median of the whole list.
  4. Split the sorted list into a lower half and an upper half.
  5. Find the median of each half.

Step 1

Step 1 - Set up the problem.

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

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

Step 2

Step 2 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(3,\; 5,\; 7,\; 8,\; 12,\; 13,\; 14,\; 18,\; 21\).

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

Step 3

Step 3 - Find the median of the whole list.

In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 12\).

\(Q_2 = 12\)

Step 4

Step 4 - Split the sorted list into a lower half and an upper half.

In this problem: There is an odd number of values, so the median \(12\) is left out and the values either side of it make the two halves.

\(\underbrace{3,\; 5,\; 7,\; 8}_{\text{lower half}},\; 12,\; \underbrace{13,\; 14,\; 18,\; 21}_{\text{upper half}}\)

Step 5

Step 5 - Find the median of each half.

In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.

\(\text{lower half} = 3,\; 5,\; 7,\; 8 \qquad \text{upper half} = 13,\; 14,\; 18,\; 21\)

Step 5a

Step 5a - Find the median of the lower half.

In this problem: The median of \(3,\; 5,\; 7,\; 8\) is \(6\).

\(Q_1 = 6\)

Step 5b

Step 5b - Find the median of the upper half.

In this problem: The median of \(13,\; 14,\; 18,\; 21\) is \(16\).

\(Q_3 = 16\)

Final Answer

\(Q_1 = 6,\; Q_2 = 12,\; Q_3 = 16\)
See Example 3 Hide Example 3

Problem

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

Approach

Step-by-step method

  1. Set up the problem.
  2. Sort the values from smallest to largest.
  3. Find the median of the whole list.
  4. Split the sorted list into a lower half and an upper half.
  5. Find the median of each half.

Step 1

Step 1 - Set up the problem.

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

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

Step 2

Step 2 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(10,\; 20,\; 30,\; 40,\; 50\).

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

Step 3

Step 3 - Find the median of the whole list.

In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 30\).

\(Q_2 = 30\)

Step 4

Step 4 - Split the sorted list into a lower half and an upper half.

In this problem: There is an odd number of values, so the median \(30\) is left out and the values either side of it make the two halves.

\(\underbrace{10,\; 20}_{\text{lower half}},\; 30,\; \underbrace{40,\; 50}_{\text{upper half}}\)

Step 5

Step 5 - Find the median of each half.

In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.

\(\text{lower half} = 10,\; 20 \qquad \text{upper half} = 40,\; 50\)

Step 5a

Step 5a - Find the median of the lower half.

In this problem: The median of \(10,\; 20\) is \(15\).

\(Q_1 = 15\)

Step 5b

Step 5b - Find the median of the upper half.

In this problem: The median of \(40,\; 50\) is \(45\).

\(Q_3 = 45\)

Final Answer

\(Q_1 = 15,\; Q_2 = 30,\; Q_3 = 45\)
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. Sort the values from smallest to largest.
  3. Find the median of the whole list.
  4. Split the sorted list into a lower half and an upper half.
  5. Find the median of each half.

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the three quartiles 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 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(6,\; 7,\; 15,\; 36,\; 39,\; 40,\; 41,\; 42,\; 43,\; 47,\; 49\).

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

Step 3

Step 3 - Find the median of the whole list.

In this problem: The middle quartile \(Q_2\) is the median of the whole list, \(Q_2 = 40\).

\(Q_2 = 40\)

Step 4

Step 4 - Split the sorted list into a lower half and an upper half.

In this problem: There is an odd number of values, so the median \(40\) is left out and the values either side of it make the two halves.

\(\underbrace{6,\; 7,\; 15,\; 36,\; 39}_{\text{lower half}},\; 40,\; \underbrace{41,\; 42,\; 43,\; 47,\; 49}_{\text{upper half}}\)

Step 5

Step 5 - Find the median of each half.

In this problem: The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.

\(\text{lower half} = 6,\; 7,\; 15,\; 36,\; 39 \qquad \text{upper half} = 41,\; 42,\; 43,\; 47,\; 49\)

Step 5a

Step 5a - Find the median of the lower half.

In this problem: The median of \(6,\; 7,\; 15,\; 36,\; 39\) is \(15\).

\(Q_1 = 15\)

Step 5b

Step 5b - Find the median of the upper half.

In this problem: The median of \(41,\; 42,\; 43,\; 47,\; 49\) is \(43\).

\(Q_3 = 43\)

Final Answer

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

Calculator and Practice Mode