Runs in your browser · No account required
Standard Deviation Calculator
Measure how spread out a set of numbers is. Choose whether your data describes a complete population or a sample drawn from a larger group.
How to use this calculator
Paste a data list, select Sample or Population, then calculate. Use Population when the list is the entire group of interest; use Sample when estimating the spread of a larger population from observations. A comma is always a separator, so enter one thousand as 1000, not 1,000.
Calculation rules and limits
Population σ = √(Σ(xᵢ − μ)²/n). Sample s = √(Σ(xᵢ − x̄)²/(n − 1)). Standard deviation has the same units as the input. Repeated values are retained, and a constant list has standard deviation zero. The tool uses a scaled online variance algorithm and floating-point arithmetic, with up to 14 significant digits displayed. It does not remove outliers or infer missing observations.
Worked examples
For 2, 4, 4, 4, 5, 5, 7, 9, n = 8 and mean = 5. Squared deviations sum to 32. Population variance is 32/8 = 4, so σ = 2. If treated as a sample, divide by 7 instead: s = √(32/7) ≈ 2.1380899352994.