Skip to content
XUtilHub

Standard Deviation Calculator – Sample & Population

Calculate sample or population standard deviation and variance for a data set, plus the mean, sum of squares and coefficient of variation.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded

About the Standard Deviation Calculator

Measure how spread out your data is. Choose sample (n − 1) or population (N) standard deviation and get the variance, mean, sum of squares and coefficient of variation.

Key features

  • Sample (n − 1) or population (N) standard deviation
  • Variance, mean, count and sum
  • Sum of squared deviations
  • Coefficient of variation
  • Paste data from spreadsheets
  • Accurate for decimals and negatives

Measure how spread out your data is

Two data sets can have the same average but very different consistency. Standard deviation measures that spread. It's used in quality control, finance (volatility), science, grading and A/B testing.

Formulas

Population standard deviation:

σ = √( Σ(xᵢ − μ)² ÷ N )

Sample standard deviation:

s = √( Σ(xᵢ − x̄)² ÷ (n − 1) )

Worked example

Data: 2, 4, 4, 4, 5, 5, 7, 9 (mean = 5)

StepResult
Squared deviations9, 1, 1, 1, 0, 0, 4, 16
Sum of squares32
Population variance32 ÷ 8 = 4 → σ = 2
Sample variance32 ÷ 7 ≈ 4.571 → s ≈ 2.138

The 68–95–99.7 rule

For normally distributed data:

RangeShare of values
Mean ± 1 SD≈ 68%
Mean ± 2 SD≈ 95%
Mean ± 3 SD≈ 99.7%

Get the mean, median and mode with the Average Calculator, or round results with the Rounding Calculator.

How to use the Standard Deviation Calculator

  1. Enter your numbers in the fields above. Units and options can be changed at any time.
  2. The result updates instantly as you type; there's no calculate button to press.
  3. Check the breakdown under the main result for the details behind the number.
  4. Adjust the inputs to compare scenarios, for example a different rate or term.

Frequently asked questions

Sample or population: which should I use?

Use population when your data includes every member of the group you care about. Use sample (the default) when your data is a subset used to estimate a larger group; dividing by n − 1 corrects the bias (Bessel's correction).

What does standard deviation tell me?

How spread out values are around the mean. In roughly normal data, about 68% of values fall within 1 standard deviation of the mean and 95% within 2.

What's the relationship between variance and standard deviation?

Standard deviation is the square root of variance. It's in the same units as your data, which makes it easier to interpret.

What is the coefficient of variation?

Standard deviation divided by the mean, as a percentage. It lets you compare variability between data sets with different units or scales.

Are these calculators accurate?

They use standard, published formulas (for example the amortization formula for loans, Mifflin-St Jeor for calories and the U.S. Navy method for body fat) and are tested against known reference values. Results are estimates for planning, not professional advice.

Is my data stored?

No. All calculations run in your browser and nothing you enter is sent to a server.

Do the calculators work on my phone?

Yes. Every calculator is designed for mobile, tablet and desktop.

Last updated:

Related Calculators tools