Standard Deviation Calculator

Calculate population or sample standard deviation with an explicit convention.

Calculations happen in your browser. Entries are not submitted or saved by this tool.

How the standard deviation calculator works

Paste your numbers separated by commas or spaces and choose population or sample. The calculator gives the standard deviation and variance.

Population variance = Σ(x − mean)² ÷ n
Sample variance = Σ(x − mean)² ÷ (n − 1)
Standard deviation = √variance

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9:

  1. Mean: 40 ÷ 8 = 5
  2. Squared differences add up to 32
  3. Population: 32 ÷ 8 = 4, so SD = 2
  4. Sample: 32 ÷ 7 ≈ 4.571, so SD ≈ 2.138

Frequently asked questions

Should I use sample or population?

Use population when your data covers the whole group. Use sample when it is a subset of a bigger group.

What does a high standard deviation mean?

The values are spread far from the average.

What is variance?

The square of the standard deviation.

Other calculators you may need

Last reviewed: 30 October 2026