To find the standard deviation in Excel, follow these steps:
- Enter your data into a column or row of cells in the spreadsheet.
- Select a cell where you want the standard deviation result to appear.
- Use the appropriate function depending on your data type:
-
For a sample of a population, use:
=STDEV.S(range)
-
For the entire population , use:
=STDEV.P(range)
-
Here, range
is the range of cells containing your data, for example,
B2:B31
.
- Press Enter , and Excel will calculate and display the standard deviation.
Notes:
STDEV.S
calculates the sample standard deviation using the "n-1" method.STDEV.P
calculates the population standard deviation.- Older versions of Excel also support
STDEV
(equivalent toSTDEV.S
) andSTDEVP
(equivalent toSTDEV.P
) for compatibility.
Example:
If your data is in cells B2 through B31, the formula for sample standard deviation is:
=STDEV.S(B2:B31)
For population standard deviation:
=STDEV.P(B2:B31)
This method quickly gives you the measure of how spread out your data values are around the mean