• Share
Send to a Friend via Email

### Your suggestion is on its way!

An email with a link to:

was emailed to:

Thanks for sharing About.com with others!

# How to Calculate a Standard Deviation

So you have a set of data and want to know how spread out it is. There are a few ways to do this, but one of the most useful is called the standard deviation. Your calculator may have a built in standard deviation button, which typically has a sx on it. But sometimes it’s nice to know what your calculator is doing behind the scenes. The steps below actually break down the formula for standard deviation into a process. If you're ever asked to do a problem like this on a test, know that sometimes it’s easier to remember a step by step process rather than memorizing a formula.

### The Process

1. Calculate the mean of your data set.
2. Subtract the mean from each of the data values and list the differences.
3. Square each of the differences from the previous step and make a list of the squares.
4. Add the squares from the previous step together.
5. Subtract one from the number of data values you started with.
6. Divide the sum from step four by the number from step five.
7. Take the square root of the number from the previous step. This is the standard deviation.
• You may need to use a basic calculator to find the square root.

### A Worked Example

Suppose you're given the data set 1,2,2,4,6. Work through each of the steps to find the standard deviation.
1. Calculate the mean of your data set.

The the mean of the data is (1+2+2+4+6)/5 = 15/5 = 3.

2. Subtract the mean from each of the data values and list the differences.

Subtract 3 from each of the values 1,2,2,4,6
1-3 = -2
2-3 = -1
2-3 = -1
4-3 = 1
6-3 = 3
Your list of differences is -2,-1,-1,1,3

3. Square each of the differences from the previous step and make a list of the squares.

You need to square each of the numbers -2,-1,-1,1,3
Your list of differences is -2,-1,-1,1,3
(-2)2 = 4
(-1)2=1
(-1)2=1
12=1
32=9
Your list of squares is 4,1,1,1,9

4. Add the squares from the previous step together.

5. Subtract one from the number of data values you started with.

You began this process (it may seem like awhile ago) with five data values. One less than this is 5-1 = 4.

6. Divide the sum from step four by the number from step five.

The sum was 16, and the number from the previous step was 4. You divide these two numbers 16/4 = 4.

7. Take the square root of the number from the previous step. This is the standard deviation.

Your standard deviation is the square root of 4, which is 2.

Tip: It’s sometimes helpful to keep everything organized in a table, like the one shown below.

 Data Data-Mean (Data-Mean)2 1 -2 4 2 -1 1 2 -1 1 4 1 1 6 3 9

Courtney Taylor