Standard Deviation Calculator
Sample and population standard deviation, variance and mean of a list of numbers.
How it works
Standard deviation shows how spread out the numbers are around the mean. Use the sample value when your numbers are a sample from a larger group, and the population value when they are the whole group.
Example
Numbers (separate with commas): 2, 4, 4, 4, 5, 5, 7, 9 → Standard deviation (sample): 2.14
Formula
s = √( Σ (x − mean)² ÷ (n − 1) )
Source
Standard arithmetic and compound-interest formulas.
Checked: 2026-11-19 · Results are for information only.
Common examples
| Numbers (separate with commas) | Standard deviation (sample) |
|---|---|
| 1, 2, 3, 4, 5 | 1.58 |
| 2, 4, 4, 4, 5, 5, 7, 9 | 2.14 |
| 10, 10, 10 | 0 |
| 70, 85, 90, 95 | 10.8 |
Select a row to load it into the calculator.
Good to know
- For data that follows a bell curve, about 68% of values lie within one standard deviation of the mean, about 95% within two and about 99.7% within three.
- The sample formula divides by one less than the count and the population formula divides by the count, so the sample value is always a little larger.
Questions and answers
Sample or population: which one do I use?
Use sample (divide by n − 1) when your data is part of a larger group, which is the usual case. Use population (divide by n) when you have every value.
What is variance?
The standard deviation squared: the average of the squared distances from the mean.