Standard Deviation Calculator
Enter up to six values and get the mean, variance, and sample and population standard deviation.
About this tool
Standard deviation measures spread around the mean. Subtract the mean from each value, square, sum, divide by n (population) or n-1 (sample), then take the square root. For 4, 8, 15, 16, 23, 42 the mean is 18 and the sample SD is about 13.43.
FAQ
Sample or population standard deviation?
Use population if your data is the entire group, sample if it is a subset used to estimate a larger group.
Why divide by n-1?
Bessel's correction removes the bias from estimating the mean from the same data.
Worked example
Data: 2, 4, 4, 4, 5, 5, 7, 9. Mean = 5. Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16 sum to 32. Population variance = 32 / 8 = 4, so population SD = 2. Sample variance divides by n-1 = 7: 4.57, sample SD = 2.14. Use sample SD when your data is a subset of a larger group.