Standard deviation and variance calculator

Updated 30 November 2026 · ClearCost USA · 4 min read

Standard deviation measures spread around the mean. For 2, 4, 4, 4, 5, 5, 7, 9 the population SD is 2 and the sample SD is 2.138.
Advertisement

How do you calculate standard deviation?

Find the mean, subtract it from each value, square the results, add them, divide by n (population) or n − 1 (sample) to get the variance, then take the square root.

What is the standard deviation of 10, 12, 23, 23, 16, 23, 21, 16?

Mean 18. Sample variance 27.4286, so s = 5.2372; population σ = 4.899.

Advertisement

When do you use sample or population SD?

The table below gives ready answers for common values; the calculator above works for any value.

Sample vs population SD

DataSample SDPopulation SD
1, 2, 3, 4, 51.58111.4142
10, 10, 1000
2, 4, 4, 4, 5, 5, 7, 92.13812
1, 10070.003649.5
50, 52, 48, 51, 491.58111.4142

Use sample SD when the data are a sample of a bigger group.

How does this calculator work?

It uses s = √(Σ(x − mean)² / (n − 1)) and σ = √(Σ(x − mean)² / n). Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the math, statistics and date calculators page, statistics calculator, standard error of the mean calculator, Z-score calculator with percentile and permutation and combination calculator (nPr, nCr).

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • standard deviation in the calculator
  • standard deviation calculation
  • find standard deviation calculator
  • formula for the sample standard deviation
  • how to calculate variance in excel
  • average and standard deviation calculator
  • calculate standard deviation calculator
  • standard deviation in excel formula
  • sample variance calculator
  • how to calculate standard deviation on excel

Sources and further reading

Questions people ask

Sample or population standard deviation?
Use the sample (n − 1) unless you have every member of the group.
What does a high SD mean?
The values are spread out.
What is variance?
SD squared; you can check it with the standard deviation tool above.
What is the 68-95-99.7 rule?
In a normal distribution about 68% of values lie within 1 SD of the mean.
Can SD be negative?
No; you can check it with the standard deviation tool above.
What is standard deviation in Excel?
STDEV.S for sample, STDEV.P for population.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement