How do I calculate the mean and standard deviation in Excel?

To calculate the mean and standard deviation in Excel, first input the data set into a column or row. Then, use the “AVERAGE” function to find the mean and the “STDEV” function to find the standard deviation. Alternatively, you can use the “AVERAGEIF” and “STDEV.S” functions for more advanced calculations. These functions can be found under the “Formulas” tab in the toolbar. The mean represents the average of all the numbers in the data set, while the standard deviation measures the amount of variation or dispersion in the data. By utilizing these functions, Excel can quickly and accurately calculate these important statistical measures for any given data set.

Calculate the Mean and Standard Deviation in Excel


The represents the average value in a dataset. It gives us a good idea of where the center of a dataset is located.

The represents how spread out the values are in a dataset. It gives us an idea of how closely the observations are clustered around the mean.

Using only these two values, we can understand a great deal about the distribution of values in a dataset.

To calculate the mean of a dataset in Excel, we can use the =AVERAGE(Range) function where Range is the range of values.

To calculate the standard deviation of a dataset, we can use the =STDEV.S(Range) function, where Range is the range of values.

This tutorial explains how to use these functions in practice.

Technical Note

 

Both the STDEV() and STDEV.S() function calculate the sample standard deviation. 

 

You can use the STDEV.P() function to calculate the population standard deviation if your dataset represents the entire population of values.

 

However, in most cases we’re working with sample data rather than an entire population so we use the STDEV.S() function.

Example 1: Mean & Standard Deviation of a Single Dataset

The following screenshot shows how to calculate the mean and standard deviation of a single dataset in Excel:

mean and standard deviation in Excel

The mean of the dataset is 16.4 and the standard deviation is 9.13.

Example 2: Mean & Standard Deviation of Multiple Datasets

Suppose we have multiple datasets in Excel:

To calculate the mean and standard deviation of the first dataset, we can use the following two formulas:

  • Mean: =AVERAGE(B2:B21)
  • Standard Deviation: =STDEV.S(B2:B21)

Mean and standard deviation of multiple datasets in Excel

Additional Resources

x