Definition of Median. Median is the middle data value of an ordered data set. 1  If there are two middle values, then the median is the mean of the two numbers.  There will be two middle values when the number of values in the data set is even.