Median

The median is the value in the very middle when you list the data from smallest to largest. With an odd number of values, the single middle value is the median. With an even number, the median is the mean of the two middle values.

Chalcack concept card · Reviewed by the Chalcack team ·

After sorting, take the middle value for an odd count, or the mean of the two middle values for an even count.

Formulas

  • odd number of values: median=middle value\text{odd number of values: median} = \text{middle value}
  • even number of values: median=sum of the two middle values2\text{even number of values: median} = \frac{\text{sum of the two middle values}}{2}

When to use it

Use it when you need one value that represents a data set, especially when a few very large or very small values make the mean misleading.

Worked example

Find the median of 8, 3, 5, 10, 4, 6. First put them in order: 3, 4, 5, 6, 8, 10. There are 6 values (an even number), so take the mean of the two middle values 5 and 6: (5+6)÷2=5.5(5 + 6) \div 2 = 5.5.

Common mistake

A common mistake is to pick the middle value in the order the numbers were given instead of sorting them. Always sort from smallest to largest first, then find the middle.

Related concepts

All 181 math concepts