Math & Statistics

Standard Deviation Calculator

Calculate population or sample standard deviation with the selected denominator shown in the result.

Private, in-browser calculationUpdated

Let’s work it out

Enter your numbers. We’ll show the working.

Separate numbers with commas, spaces, or new lines; no thousands separators. Up to 1,000 values, each from -1 trillion to 1 trillion.
Choose the convention for your inputs.

How to use this calculator

  1. Enter values and the remaining values.
  2. Check the selected units and the counting or calculation convention described below.
  3. Select Calculate to review the result and breakdown. Reset restores the example.

The formula

Population SD = √(sum((x − mean)²)/N); sample SD uses N − 1

Values are shifted before the mean and squared deviations are calculated, reducing avoidable loss of precision when a small spread sits on a large offset. Compensated summation improves accumulation. Sample mode requires at least two observations.

PUTTING IT INTO PRACTICE

A worked example

The default eight values have mean 5 and squared deviations totaling 32. Population SD is √(32/8) = 2; sample SD is √(32/7), about 2.13809.

How to interpret your result

Standard deviation uses the original measurement unit. Choose population for the complete set you intend to describe and sample when estimating population spread from sampled observations.

Assumptions and limitations

Numeric observations share one unit; the basis is explicitly selected.

No normal-distribution assumption is needed to calculate SD. The result alone does not establish a confidence interval, normality, or representativeness.