in probability theory and statistics, the median of a data set "formula_1", sometimes written as formula_2, is a number describing the data set. this number has the property that it divides a set of observed values in two equal halves, so that half of the values are below it and half are above.