Standard Deviation Calculator
Measure dataset spread with population or sample standard deviation.
How it works
Population: σ = √[Σ(x − μ)² ÷ N]. Sample: s = √[Σ(x − x̄)² ÷ (n − 1)].
standardDeviationExplanation
Standard deviation is the square root of variance. It describes spread around the mean in the dataset's original units. Zero means all observations are equal. Sample standard deviation uses n − 1 under the square root.
Variables and units
Enter a complete dataset and select the population or sample formula. The output is in the same units as the observations.
How to calculate
- Enter data and choose Population or Sample.
- Calculate the appropriate variance.
- Take its square root.
Worked example
For 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5. Population standard deviation is 2; sample standard deviation is √(32/7) ≈ 2.13809.
A few things you might wonder.
Is sample standard deviation always larger for the same data?
For nonconstant data with at least two observations, yes, because the variance denominator is n − 1 rather than n. Both are zero for constant data.
Are my inputs saved?
No. Calculations run on your device. Your input values and datasets are not sent to the server.