# How do I calculate the Mean and Standard Deviation in Excel?

To calculate the mean and standard deviation in Excel, you must first enter your data into a column, and then use the AVERAGE and STDEV functions. The AVERAGE function will calculate the mean, or average, of the data and the STDEV function will calculate the standard deviation. After entering the data and the functions, the mean and standard deviation of the data will be displayed.


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

x