Standard Deviation Calculator
Sample or population standard deviation with mean and variance.
Best for: Comparing the consistency of two datasets, quality control, measuring investment volatility, and interpreting test scores.
Input
How it's calculated & sources
- Sample or population as selected
Free & no sign-up · runs entirely in your browser. Results are estimates for general information, not professional advice — verify important decisions with a qualified expert. Last reviewed June 2026.
How it works
Sample: s = √( Σ(xᵢ − x̄)² / (n − 1) )
Population: σ = √( Σ(xᵢ − μ)² / n )
Example
2,4,4,4,5,5,7,9 → mean 5, σ = 2, s ≈ 2.138
Frequently asked questions
When to use sample vs population?+
Use sample (n−1) when data is a sample of a larger group; population (n) when you have every member.
Continue your journey
Where people usually head next.