Median Notes

Published on: September 29, 2026

These Median Notes explain how to find the middle of a list of numbers, with the working shown line by line. The values are sorted first, because the middle only means something once they are in order. An odd count leaves one value in the middle; an even count leaves two, which are added and halved. Unlike the mean, a single extreme value barely moves it. Following the same pattern every time is what makes the median easy to check and repeat.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Sort the values from smallest to largest.
  4. Count the values.
  5. Substitute the count into the formula to find the middle position.
  6. Take the middle value, or the mean of the two middle values.

Formula: Median Position Formula

This formula gives where the median sits in a sorted list of n values. A position ending in .5 means the median is halfway between the two values either side of it.

\(\text{middle position} = \frac{n + 1}{2}\)

Useful Tips to Remember

The median is the middle value once the data is in order from smallest to largest. With an odd number of values, it is the middle one; with an even number, it is the mean of the two middle values. Forgetting to order the data first is the most common mistake. The median is not affected by extreme values.

Required knowledge

Where Is the Median Used?

The median is the middle value when data is put in order, so half the values lie below it and half above. It is the preferred average for skewed data, which is why governments report median income and median house prices, since a few very high values would make the mean misleading. Doctors use median survival times, researchers use medians for reaction and waiting times, and the median is the centre line of every box plot. It gives a fair picture of what is typical when the data is uneven.

  • Reporting median household income
  • Describing typical house prices in an area
  • Measuring median waiting times in hospitals
  • Reporting median survival times in medical studies
  • Finding the typical value in data with outliers

Median Practice Problems

Example 1 finds the median of 5, 8, 12 and 15, and Example 2 finds it for 6, 6, 7 and 10, both with an even number of values. Examples 3 and 4 give you two more of the same kind to try, \(4,\; 9,\; 11,\; 16\) and \(13,\; 2,\; 21,\; 8,\; 17\). Try averaging the middle two yourself first.

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

\(5,\; 8,\; 12,\; 15\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Sort the values from smallest to largest.
  4. Count the values.
  5. Substitute the count into the formula to find the middle position.
  6. Take the middle value, or the mean of the two middle values.

Formula

Formula: Median Position Formula

This formula gives where the median sits in a sorted list of n values. A position ending in .5 means the median is halfway between the two values either side of it.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the middle of the values \(5,\; 8,\; 12,\; 15\).

\(5,\; 8,\; 12,\; 15\)

Step 2

Step 2 - Write the formula.

In this problem: Once the values are in order, the median sits at this position along the list.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 3

Step 3 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(5,\; 8,\; 12,\; 15\).

\(5,\; 8,\; 12,\; 15\)

Step 4

Step 4 - Count the values.

In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).

\(n = 4\)

Step 5

Step 5 - Substitute the count into the formula to find the middle position.

In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).

\(\text{middle position} = \frac{4 + 1}{2} = 2.5\)

Step 6

Step 6 - Take the middle value, or the mean of the two middle values.

In this problem: The two middle values are \(8\) and \(12\), so the median is their mean.

\(\text{Median} = \frac{8 + 12}{2} = 10\)

Final Answer

\(\text{Median} = 10\)
See Example 2 Hide Example 2

Problem

\(6,\; 6,\; 7,\; 10\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Sort the values from smallest to largest.
  4. Count the values.
  5. Substitute the count into the formula to find the middle position.
  6. Take the middle value, or the mean of the two middle values.

Formula

Formula: Median Position Formula

This formula gives where the median sits in a sorted list of n values. A position ending in .5 means the median is halfway between the two values either side of it.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the middle of the values \(6,\; 6,\; 7,\; 10\).

\(6,\; 6,\; 7,\; 10\)

Step 2

Step 2 - Write the formula.

In this problem: Once the values are in order, the median sits at this position along the list.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 3

Step 3 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(6,\; 6,\; 7,\; 10\).

\(6,\; 6,\; 7,\; 10\)

Step 4

Step 4 - Count the values.

In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).

\(n = 4\)

Step 5

Step 5 - Substitute the count into the formula to find the middle position.

In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).

\(\text{middle position} = \frac{4 + 1}{2} = 2.5\)

Step 6

Step 6 - Take the middle value, or the mean of the two middle values.

In this problem: The two middle values are \(6\) and \(7\), so the median is their mean.

\(\text{Median} = \frac{6 + 7}{2} = 6.5\)

Final Answer

\(\text{Median} = 6.5\)
See Example 3 Hide Example 3

Problem

\(4,\; 9,\; 11,\; 16\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Sort the values from smallest to largest.
  4. Count the values.
  5. Substitute the count into the formula to find the middle position.
  6. Take the middle value, or the mean of the two middle values.

Formula

Formula: Median Position Formula

This formula gives where the median sits in a sorted list of n values. A position ending in .5 means the median is halfway between the two values either side of it.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the middle of the values \(4,\; 9,\; 11,\; 16\).

\(4,\; 9,\; 11,\; 16\)

Step 2

Step 2 - Write the formula.

In this problem: Once the values are in order, the median sits at this position along the list.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 3

Step 3 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(4,\; 9,\; 11,\; 16\).

\(4,\; 9,\; 11,\; 16\)

Step 4

Step 4 - Count the values.

In this problem: Counting along the sorted list reaches \(4\) at the last value, so \(n = 4\).

\(n = 4\)

Step 5

Step 5 - Substitute the count into the formula to find the middle position.

In this problem: Replacing \(n\) with \(4\) gives position \(2.5\), which is halfway between positions \(2\) and \(3\).

\(\text{middle position} = \frac{4 + 1}{2} = 2.5\)

Step 6

Step 6 - Take the middle value, or the mean of the two middle values.

In this problem: The two middle values are \(9\) and \(11\), so the median is their mean.

\(\text{Median} = \frac{9 + 11}{2} = 10\)

Final Answer

\(\text{Median} = 10\)
See Example 4 Hide Example 4

Problem

\(13,\; 2,\; 21,\; 8,\; 17\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Sort the values from smallest to largest.
  4. Count the values.
  5. Substitute the count into the formula to find the middle position.
  6. Take the middle value, or the mean of the two middle values.

Formula

Formula: Median Position Formula

This formula gives where the median sits in a sorted list of n values. A position ending in .5 means the median is halfway between the two values either side of it.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the middle of the values \(13,\; 2,\; 21,\; 8,\; 17\).

\(13,\; 2,\; 21,\; 8,\; 17\)

Step 2

Step 2 - Write the formula.

In this problem: Once the values are in order, the median sits at this position along the list.

\(\text{middle position} = \frac{n + 1}{2}\)

Step 3

Step 3 - Sort the values from smallest to largest.

In this problem: Putting the values in order from smallest to largest gives \(2,\; 8,\; 13,\; 17,\; 21\).

\(2,\; 8,\; 13,\; 17,\; 21\)

Step 4

Step 4 - Count the values.

In this problem: Counting along the sorted list reaches \(5\) at the last value, so \(n = 5\).

\(n = 5\)

Step 5

Step 5 - Substitute the count into the formula to find the middle position.

In this problem: Replacing \(n\) with \(5\) gives position \(3\), so one value sits in the middle.

\(\text{middle position} = \frac{5 + 1}{2} = 3\)

Step 6

Step 6 - Take the middle value, or the mean of the two middle values.

In this problem: The value at position \(3\) of the sorted list is \(13\).

\(\text{Median} = 13\)

Final Answer

\(\text{Median} = 13\)

Calculator and Practice Mode