Standard Deviation Calculator
Find the standard deviation and variance of a data set. Choose between population and sample standard deviation — both shown with complete step-by-step working.
Mean
5.4
Variance
5.84
Std Dev (σ)
2.416609
How it works
Calculate the mean
Mean = sum ÷ count = 27 ÷ 5 = 5.4.
Result:5.4Find deviations from the mean
Subtract the mean (5.4) from each value: -1.4, 1.6, -3.4, 3.6, -0.4.
Square each deviation
Squared deviations: 1.96, 2.56, 11.56, 12.96, 0.16.
Calculate the variance (population)
Sum of squared deviations = 29.2. Divide by 5 (N for population) = 5.84.
Result:5.84Take the square root for standard deviation
Standard deviation = √variance = √5.84 = 2.416609.
Result:2.416609
Standard Deviation
Example substitution
For {2, 5, 8}: mean = 5, sum of squared deviations = 18, variance = 6, SD ≈ 2.449.
Worked examples
Calculate the population standard deviation of: 2, 4, 4, 4, 5, 5, 7, 9.
- 1Find the mean: Sum = 40, n = 8. Mean = 40 ÷ 8 = 5
- 2Find deviations from mean: −3, −1, −1, −1, 0, 0, 2, 4
- 3Square each deviation: 9, 1, 1, 1, 0, 0, 4, 16
- 4Sum squared deviations and divide by n: Sum = 32. Variance = 32 ÷ 8 = 4
- 5Take the square root: SD = √4 = 2
Frequently asked questions
What is standard deviation?+
Standard deviation measures how spread out data values are from the mean. A low SD indicates values clustered near the mean; a high SD indicates they are spread out.
What is the difference between population and sample standard deviation?+
Population SD divides by n; sample SD divides by n−1. Use sample SD when your data is a sample from a larger population.
How do you calculate standard deviation step by step?+
1. Find the mean. 2. Subtract mean from each value and square the result. 3. Find the average of these squared differences (variance). 4. Take the square root.
What does a high standard deviation mean?+
A high standard deviation means data is widely spread around the mean. A low standard deviation means data is clustered close to the mean.