Standard Deviation Calculator
Calculate sample and population standard deviation, variance and mean of a data set, with steps.
- Instant results
- Step-by-step working
- Private: runs in your browser
Enter your numbers
Result
Based on: Data set 10, 12, 23, 23, 16, 23, 21, 16 · Data is a Sample (divide by n − 1)
- Variance
- 27.428571
- Mean
- 18
- Count (n)
- 8
- Sum of squared deviations
- 192
- Population SD (n)
- 4.898979
Results are estimates for general information. Check important figures before relying on them. Report a calculation error
Standard Deviation Calculator by CalculatorPulse ↗
Formula and how it works
s = √(Σ(x − x̄)² ÷ (n − 1)); σ = √(Σ(x − μ)² ÷ n)
Dividing by n − 1 (Bessel's correction) makes the sample estimate unbiased.
Assumptions
- Numeric data, equally weighted.
Your working
- Mean = 18
- Σ(x − mean)² = 192
- Variance = 192 ÷ 7 = 27.428571
- SD = √27.428571 = 5.237229
Worked example
| Data set | 10, 12, 23, 23, 16, 23, 21, 16 |
| Data is a | Sample (divide by n − 1) |
- Mean = 18
- Σ(x − mean)² = 192
- Variance = 192 ÷ 7 = 27.428571
- SD = √27.428571 = 5.237229
Sample standard deviation (s): 5.237229
Press Try example to load these numbers.
About this calculator
Standard deviation measures how spread out numbers are around the mean. Use the sample version when your data is a sample from a larger group, and the population version when you have every value.
How to use it
- Press Try example or type your own numbers.
- The result, breakdown and working update the moment you type.
- Save it to favorites, copy it, print it, or share a link with your numbers.
Understanding your result
Roughly 68% of normally distributed data lies within one standard deviation of the mean.
Common mistakes to avoid
- Using population formulas for sample data.
Deviations
| x | x − mean | (x − mean)² |
|---|---|---|
| 10 | -8 | 64 |
| 12 | -6 | 36 |
| 23 | 5 | 25 |
| 23 | 5 | 25 |
| 16 | -2 | 4 |
| 23 | 5 | 25 |
| 21 | 3 | 9 |
| 16 | -2 | 4 |
Frequently asked questions
Should I use sample or population standard deviation?
Use population only when the data includes every member of the group you care about. Survey results and experiments are almost always samples.
What does a high standard deviation mean?
The values are widely spread from the mean.
What is the sample standard deviation (s) for data set 10, 12, 23, 23, 16, 23, 21, 16?
5.237229. Working: SD = √27.428571 = 5.237229.