the median is the mean of the middle two numbers: this is (4 + 5) Ã· 2, which is 4.5 or 4 1/2. (In more technical terms, this interprets the median as the fully trimmed mid-range). The formula used to find the middle number of a data set of n numerically ordered numbers is (n + 1) Ã· 2.