CalcGallery

Standard Deviation Calculator

Calculate variance and standard deviation for a population or sample.

Built by AbhiLast reviewed September 19, 2026

Population spreadvariance = 4.000standard deviation = 2.000

Your numbers

Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Row 7
Row 8

At least two values are retained so sample standard deviation is defined.

Result

Standard deviation: 2

Population divides by n; sample divides by n − 1.

Variance
4
Mean
5
Sum of squared deviations
32
Number of values
8
Report a problem with this calculator
Your entries are kept on this device only.

Results follow the mathematical operation and values shown. Check that you selected the intended operation, convention and dataset type before relying on the result. Read the full disclaimer

How to use the Standard Deviation Calculator

  1. Choose population when the entered values are the entire group, or sample when they are observations from a larger group.
  2. Enter one finite value per row; at least two rows are retained.
  3. Review the mean, variance and standard deviation together.

Population or sample is a real choice

First calculate the mean and each value’s squared distance from it. The divisor depends on what the entered list represents:

population variance = Σ(x − mean)² ÷ nsample variance = Σ(x − mean)² ÷ (n − 1)standard deviation = √variance

Choosing sample is not a way to obtain a preferred answer. It is appropriate only when the entered values are a sample used to estimate a larger population.

See OpenStax measures of spread.

With your numbers

  1. Mean = 5; squared deviations total 32.
  2. Population variance = 4; standard deviation = 2.

Quick reference

Population divides by n; sample divides by n − 1.

Common math examples, worked out with this calculator's starting values.
ExampleStandard deviation
Population with standard deviation 22
Sample 1 through 51.581139
Equal population values0
Two-value sample7.071068
Decimal population0.816497
Negative population1.632993

Common questions about the Standard Deviation Calculator

What does standard deviation measure?
It measures spread around the mean in the same units as the original values.
What is the difference between population and sample?
Population variance divides squared deviations by n. Sample variance divides by n minus 1 to estimate spread in a larger population.
Why is variance in squared units?
The formula squares each deviation before averaging. Standard deviation takes the square root to return to the original units.
Can standard deviation be negative?
No. Squared deviations and their square root cannot produce a negative value.

Report a problem with this calculator