Standard Deviation Calculator
Enter your data values and calculate the standard deviation with a complete step-by-step breakdown. Choose between population () and sample () modes.
- Population standard deviation () — divides by N; use when your data IS the entire population
- Sample standard deviation () — divides by ; use when your data is a sample from a larger group
Divides by n−1 — use when your data is a sample from a larger population.
Formulas Used
Population standard deviation
Sample standard deviation
Population variance
Sample variance
How to Use This Calculator
- Choose your mode — population or sample (when in doubt, use sample)
- Enter your data as comma-separated numbers (e.g., 4, 8, 6, 5, 7)
- See the result with count, mean, variance, and standard deviation
- Review the steps — see each deviation, squared deviation, and the final calculation
Population vs Sample — Which Should I Use?
- Population (): Use when you have data for every member of the group (e.g., all 30 students in a class, all 12 months of the year)
- Sample (): Use when your data is a subset of a larger group (e.g., 50 patients out of 5,000, a week of measurements representing a full year). The correction compensates for the fact that a sample tends to underestimate the true variability.
When in doubt, use sample — it is the safer choice and the more common one in practice.
Related
Want to understand the math behind these calculations? Read our Range and Standard Deviation tutorial for a complete explanation with worked examples and practice problems.