Median
What Is the Median?
The median is an average of a set of numbers.
The median is the middle number in a set of numbers that has been arranged in order. (If there are an even number of numbers in a set, the median is the mean of the middle two numbers).
Dictionary Definition
The Oxford English Dictionary defines the median as "the middle term of a discrete series arranged in order of magnitude (or, if there is no middle term, the mean of the middle two terms)."
Interactive Widget
Use this interactive widget to see the mean, median, and mode averages of your data set.
Oops, it's broken!
Turn your phone on its side to use this widget.
Understanding the Median
The median is the middle number in a set. Half of the numbers are less than the median. Half of the numbers are more than the median.
Imagine you wanted to find the median height of a group of friends.
You would line the friends up in height order, from shortest to tallest. The friend in the middle would have the median height.
There are an equal number of friends shorter than the median and friends taller than the median.
Finding the Median
Imagine we wanted to find the median of the numbers given below:
To find the median, order the numbers in numerical order and find the middle number:
3 2 4 5 1 → 1 2 3 4 5
Median = 3
In the example above, there were an odd number of numbers in the set.
Imagine we wanted to find the median of the even number of numbers given below:
To find the median, order the numbers in numerical order, find the middle two numbers and take the mean of those numbers:
3 2 4 5 1 6 → 1 2 3 4 5 6
Middle two numbers = 3 4
Mean of middle two numbers = (3 + 4) ÷ 2 = 3.5
Median = 3.5
Don't forget: The mean of two numbers is found by adding them together and dividing by 2.
A Formula for Finding the Middle Number
The median is the middle number in an ordered set. If you know how many numbers there are in a set, which is the middle number?
The formula for finding the middle number is:
In this formula, n is how many numbers there are in the set.

If there are 5 numbers in a set (n = 5), the middle number is the 3^{rd} number:
Middle number = (n + 1) ÷ 2 = (5 + 1) ÷ 2 = 6 ÷ 2 = 3
The median of 3 2 4 5 1 is the 3^{rd} number when they are ordered:
3 2 4 5 1 → 1 2 3 4 5
Median = 3

If there are 6 numbers in a set (n = 6), the middle number is the 3.5^{th} number:
Middle number = (n + 1) ÷ 2 = (6 + 1) ÷ 2 = 7 ÷ 2 = 3.5
The median of 3 2 4 5 1 6 is the 3.5^{th} number when they are ordered, which means halfway between the 3^{rd} and 4^{th} numbers:
3 2 4 5 1 6 → 1 2 3 4 5 6
Halfway between 3^{rd} and 4^{th} numbers = (3 + 4) ÷ 2 = 3.5
Median = 3.5