define median in math terms
1 The median of a set of numbers is the number in the middle. 2  For example, in the set of numbers {4,6,25}, the median is 6. 3  However the numbers must be in order for the median to be in the middle. 4  If there are an even number of numbers, then the median is the average of the last 2 middle numbers.