The mean of a data set can be calculated in two steps. We need to find the sum of all values and then divide it by the number of values. The result is known as the mean of the data set.