Divide sum by the number of samples. The result is the mean. Typically you dont you go the other way.
This formula is used to compute the average of the data collected.
The sample mean is represented by x bar. To find the sample variance follow these steps. Because a population is usually very large or unknown the population mean is usually an unknown constant. The sample mean is the average of all the items in a sample a group of observations.