Median Calculator

Published on: June 22, 2025
Final Answer: Free | Full Steps: Plus

This Median Calculator finds the middle of a list of numbers and shows the working 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. Sort the values from smallest to largest.
  3. Find the middle position or positions.
  4. Add the values at those positions.
  5. Divide by how many middle values there were.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together 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. Sort the values from smallest to largest.
  3. Find the middle position or positions.
  4. Add the values at those positions.
  5. Divide by how many middle values there were.

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 - 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 3

Step 3 - Find the middle position or positions.

In this problem: There are \(4\) values, which is an even count, so no single value sits in the middle. The two closest to it are at positions \(2\) and \(3\).

\(\text{middle positions} = 2,\; 3\)

Step 4

Step 4 - Add the values at those positions.

In this problem: Adding the two middle values gives \(8 + 12 = 20\).

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

Step 5

Step 5 - Divide by how many middle values there were.

In this problem: There were two middle values, so the total is halved: \(20 \div 2 = 10\).

\(\text{Median} = \frac{20}{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. Sort the values from smallest to largest.
  3. Find the middle position or positions.
  4. Add the values at those positions.
  5. Divide by how many middle values there were.

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 - 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 3

Step 3 - Find the middle position or positions.

In this problem: There are \(4\) values, which is an even count, so no single value sits in the middle. The two closest to it are at positions \(2\) and \(3\).

\(\text{middle positions} = 2,\; 3\)

Step 4

Step 4 - Add the values at those positions.

In this problem: Adding the two middle values gives \(6 + 7 = 13\).

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

Step 5

Step 5 - Divide by how many middle values there were.

In this problem: There were two middle values, so the total is halved: \(13 \div 2 = 6.5\).

\(\text{Median} = \frac{13}{2} = 6.5\)

Final Answer

\(\text{Median} = 6.5\)

Example Problems

Click one to load it into the box and solve it.