Standard Deviation Calculator — Mean & Variance
Enter any list of numbers to instantly calculate the mean, variance, and both population and sample standard deviation ā with the formula shown.
📊 Enter Your Data Set
📊 Result
Disclaimer: This tool performs standard mathematical calculations for educational and reference purposes. Always double-check results independently for graded coursework, exams, or safety-critical applications.
What Standard Deviation Measures
Standard deviation tells you how spread out a set of numbers is from the average. A small standard deviation means most values cluster tightly around the mean; a large one means the values are spread widely. It's the square root of variance, which puts the result back into the same units as your original data (variance is squared units, which is harder to interpret directly).
Population vs. Sample Standard Deviation
Use population standard deviation (divides by n) when your data set already represents the entire group you care about — every student in a class, every transaction in a month. Use sample standard deviation (divides by n−1) when your data is a sample drawn from a larger population and you're estimating that population's spread — a survey of 200 customers out of 50,000, for example. The n−1 adjustment (Bessel's correction) corrects for the fact that a sample slightly underestimates the true population variance.
Worked Example
Data set: 2, 4, 4, 4, 5, 5, 7, 9 (8 values).
- Step 1 — Mean: (2+4+4+4+5+5+7+9) / 8 = 40 / 8 = 5
- Step 2 — Squared differences from mean: 9, 1, 1, 1, 0, 0, 4, 16 (sum = 32)
- Step 3 — Population variance: 32 / 8 = 4, so population SD = √4 = 2
- Step 4 — Sample variance: 32 / 7 ≈ 4.571, so sample SD ≈ 2.138