How to Find Standard Deviation Step by Step (Formula + Examples)
Skip the manual work: use the Standard Deviation Calculator to check any answer with full steps.
The idea
Standard deviation is a typical distance from the mean. You measure how far every value is from the mean, average those distances in a way that treats highs and lows alike, and bring the answer back to the original units with a square root.
The 5 steps
- Find the mean.
- Subtract the mean from each value to get the deviations.
- Square each deviation.
- Add the squares (the sum of squares) and divide by n − 1 for a sample or n for a population. This is the variance.
- Take the square root of the variance.
Worked example: 2, 4, 4, 4, 5, 5, 7, 9
The mean is 40 ÷ 8 = 5.
| x | x − mean | (x − mean)² |
|---|---|---|
| 2 | -3 | 9 |
| 4 | -1 | 1 |
| 4 | -1 | 1 |
| 4 | -1 | 1 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 7 | 2 | 4 |
| 9 | 4 | 16 |
The sum of the squares is 32.
- Population: variance = 32 ÷ 8 = 4, so σ = √4 = 2.
- Sample: variance = 32 ÷ 7 = 4.5714, so s = √4.5714 = 2.1381.
A smaller example: 3, 5, 7
The mean is 5. The deviations are −2, 0 and 2, and their squares are 4, 0 and 4, which add to 8. As a sample, the variance is 8 ÷ 2 = 4, so s = 2.
Common mistakes
- Forgetting to take the square root at the end (that gives the variance).
- Dividing by n when the data is a sample. See sample vs population standard deviation.
- Squaring the sum of the deviations instead of summing the squared deviations.
Check your work
Paste your numbers into the standard deviation calculator to see each step and the bell curve. To lay the working out in columns, read the table method.
Frequently asked questions
What is the standard deviation formula?
For a sample, s = √[Σ(x − x̄)² ÷ (n − 1)]. For a whole population, σ = √[Σ(x − μ)² ÷ N].
Why do we square the differences?
Differences above and below the mean would cancel out, and squaring makes every difference positive and gives larger differences more weight.
What does a larger standard deviation mean?
The values are more spread out around the mean.
Try it yourself
Standard Deviation Calculator
Free standard deviation calculator. Paste your numbers to get the sample or population standard deviation, mean, variance and every step of the working.

