The median is another type of center for a list of numbers. To calculate the median of n numbers, first order the numbers from least to greatest; if n is odd, the median is defined as the middle number, whereas if n is even, the median is defined as the average of the two middle numbers. In the example above, the numbers, in order, are 4, 4, 6, 7, 10, and the median is 6, the middle number.For the numbers 4, 6, 6, 8, 9, 12, the median is (6 + 8)/2=7.