› statisticsStatistics and Probability Worksheets - Math-Drills To calculate the mean, add all of the numbers in the set together and divide that sum by the number of numbers in the set. To calculate the median, first arrange the numbers in order, then locate the middle number. In sets where there are an even number of numbers, calculate the mean of the two middle numbers.