Standard Deviation Calculator
Enter a list of numbers to get the sample and population standard deviation, variance and mean.
Standard Deviation Calculator
Separate numbers with commas or spaces. At least two numbers are needed.
How it works
Standard deviation measures how spread out the numbers are around their mean. A small value means they are close together, a large value means they are spread out.
Use the population version when your numbers are the whole group, and the sample version when they are a sample taken from a larger group. The sample version divides by n − 1.
Formula
Mean = Sum ÷ n
Population SD = √(Σ(x − mean)² ÷ n)
Sample SD = √(Σ(x − mean)² ÷ (n − 1))
Worked examples
| Situation | Measure | Result |
|---|---|---|
| 2, 4, 4, 4, 5, 5, 7, 9 | Sample standard deviation | 2.1381 |
| 10, 12, 23, 23, 16, 23, 21, 16 | Sample standard deviation | 5.2372 |
| 1, 2, 3, 4, 5 | Sample standard deviation | 1.5811 |
Frequently asked questions
Sample or population?
Use sample if your data is a subset of a bigger group. Use population if you have every value.
Why divide by n − 1?
It corrects the tendency of a small sample to understate the spread of the full group.
Can standard deviation be negative?
No. It is a square root, so it is zero or positive.
Related calculators
Results are for general information only. The calculators are tested, but please double-check anything important before relying on it for financial, tax, legal or medical decisions.