The median is the value in a set of ordered data that divides the data into two parts. It is frequently called the ‘middle value’.

Where the number of observations is odd, the median is the middle value.

For example, for the following ordered data set with an odd number of observations, the median value is five.

1 3 3 4 5 6 8 9 9

Where the number of observations is even, the median is calculated as the mean of the two central values.

For example, in the following ordered data set, the two central values are 5 and 6, and median value is the mean of these two values, 5.5

1 3 3 4 5 6 8 9 9 10

The median provides a measure of location of a data set that is suitable for both symmetric and skewed distributions and is also relatively insensitive to outliers.