Standard deviation and variance calculator
How do you calculate standard deviation?
Find the mean, subtract it from each value, square the results, add them, divide by n (population) or n − 1 (sample) to get the variance, then take the square root.
What is the standard deviation of 10, 12, 23, 23, 16, 23, 21, 16?
Mean 18. Sample variance 27.4286, so s = 5.2372; population σ = 4.899.
When do you use sample or population SD?
The table below gives ready answers for common values; the calculator above works for any value.
Sample vs population SD
| Data | Sample SD | Population SD |
|---|---|---|
| 1, 2, 3, 4, 5 | 1.5811 | 1.4142 |
| 10, 10, 10 | 0 | 0 |
| 2, 4, 4, 4, 5, 5, 7, 9 | 2.1381 | 2 |
| 1, 100 | 70.0036 | 49.5 |
| 50, 52, 48, 51, 49 | 1.5811 | 1.4142 |
Use sample SD when the data are a sample of a bigger group.
How does this calculator work?
It uses s = √(Σ(x − mean)² / (n − 1)) and σ = √(Σ(x − mean)² / n). Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.
For more, see the math, statistics and date calculators page, statistics calculator, standard error of the mean calculator, Z-score calculator with percentile and permutation and combination calculator (nPr, nCr).
Related searches
People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.
- standard deviation in the calculator
- standard deviation calculation
- find standard deviation calculator
- formula for the sample standard deviation
- how to calculate variance in excel
- average and standard deviation calculator
- calculate standard deviation calculator
- standard deviation in excel formula
- sample variance calculator
- how to calculate standard deviation on excel
Sources and further reading
Questions people ask
Sample or population standard deviation?
What does a high SD mean?
What is variance?
What is the 68-95-99.7 rule?
Can SD be negative?
What is standard deviation in Excel?
Results are estimates for information only, not financial advice. Read the full disclaimer.