The median is also the number that is halfway into the set. To find themedian, the data should be arranged in order from least to greatest. If there is an even number of items in the dataset, then the median is found by taking the mean (average) of the two middlemost numbers.