Population standard deviation
For 2, 4, 4, 4, 5, 5, 7, and 9, the population mean is 5, the variance is 4, and σ = 2.
Values stay on your device
Measure the spread of a number list
Calculate population or sample standard deviation, variance, mean, count, and sum from one list of values.
Calculated in your browser
Formula and steps included
No account. No signup.
Formula
Population: σ = √(Σ(x − μ)² / N); Sample: s = √(Σ(x − x̄)² / (n − 1))
Standard deviation measures the typical distance of values from their mean. Squaring deviations prevents positive and negative differences from canceling and gives more weight to larger distances.
Use the population formula when the values are the entire group of interest. Use the sample formula when the values are a sample used to estimate a larger population; dividing by n − 1 corrects the sample variance estimate.
Decide whether the entered values are the complete population or a sample from a larger group.
Add every value and divide by the number of values.
Subtract the mean from each value, square each difference, and add the squared differences.
Divide by N for a population or n − 1 for a sample, then take the square root to get standard deviation.
Worked examples
For 2, 4, 4, 4, 5, 5, 7, and 9, the population mean is 5, the variance is 4, and σ = 2.
For 10, 12, and 14, the sample mean is 12. The squared deviations total 8, so s = √(8 / 2) = 2.
Common questions
Choose population when your data contains every member of the group you want to describe. Choose sample when the data is only part of a larger population you want to estimate.
It means every value in the list is identical, so no value differs from the mean.
Standard deviation uses the same units as the original data. Variance uses squared units because it averages squared deviations.
Your data list is not saved by default or uploaded. You can opt into Remember on this device or download a local JSON backup.