Standard Deviation Calculator
Standard deviation measures how spread out data is around its mean. A small value means the data is close together; a large value means it is spread out. This calculator finds the standard deviation and variance for a whole population or for a sample, showing each squared deviation.
How to use the standard deviation calculator
- Type or paste your data values.
- Choose population (all the data) or sample (part of it).
- Press Calculate to see the standard deviation, variance and steps.
Formula
Worked example: 2, 4, 4, 4, 5, 5, 7, 9 (population)
- Data values: 2, 4, 4, 4, 5, 5, 7, 9
- Data type: Population (all data)
✓ Answer checked
- Variance
- Mean
- Count
- 8
- Sum of squared deviations
Step-by-step working (5 steps)
Find the mean
Add the 8 values and divide by 8.
Find each deviation and square it
Subtract the mean from each value, then square the result.
Add the squares
This is the sum of squared deviations.
Divide by N Variance
For a whole population, divide by the count.
Take the square root
The standard deviation is the square root of the variance.
Formulas used
How this was checked
- ✓ A different one-pass method (Welford’s algorithm) gives the same standard deviation.
Treated as a whole population (divides by N). Decimal rounded to 10 significant figures.
Frequently asked questions
What is the difference between sample and population standard deviation?
Population standard deviation divides by N, the number of values. Sample standard deviation divides by n − 1, which corrects for estimating from part of the data.
How do I calculate standard deviation?
Find the mean, subtract it from each value, square the results, add them, divide by N (or n − 1), and take the square root.
What is variance?
Variance is the standard deviation squared: the average of the squared deviations from the mean.
Related calculators
Mean, Median & Mode Calculator
Find the mean, median, mode and range of a data set.
Average Calculator
Find the average (mean) of a list of numbers, or a weighted average with your own weights.
Square Root Calculator
Find the square root of any number, simplified exactly (like √50 = 5√2) with the decimal value.
