Math & Education

Standard Deviation Calculator

Calculate mean, variance, and standard deviation from your data.

Enter a list of numbers to calculate the mean, variance, and both sample and population standard deviation.

Enter at least two comma-separated numbers.

Sample Standard Deviation

Mean

Population SD

Variance (Sample)

Count (n)

How to Use This Tool

  1. Enter your data set as comma-separated numbers.
  2. Click Calculate to see the mean, variance, and standard deviation (both sample and population versions).

Sample vs. Population Standard Deviation

Population SD is used when your data represents the entire population you're interested in. Sample SD is used when your data is a sample drawn from a larger population — this is the more commonly used version in most real-world statistics, since we rarely have data for an entire population.

The Formulas

Population SD = √[Σ(x − mean)² ÷ n]

Sample SD = √[Σ(x − mean)² ÷ (n − 1)]

Why Sample SD Divides by (n − 1)

This adjustment, known as Bessel's correction, compensates for the fact that a sample's mean is itself an estimate, which tends to make the sample's variance slightly underestimate the true population variance. Dividing by (n−1) instead of n corrects for this bias, giving a more accurate estimate of the population's actual variability.

What Standard Deviation Tells You

Standard deviation measures how spread out your data is from the mean — a small SD means data points cluster tightly around the mean, while a large SD means they're more spread out. It's foundational to many statistical methods, from confidence intervals to hypothesis testing.

Frequently Asked Questions

Should I use sample or population standard deviation?

Use sample SD if your data is a subset drawn from a larger population (the far more common case). Use population SD only if your data represents literally every member of the population you care about.

What does a standard deviation of 0 mean?

A standard deviation of 0 means all values in your data set are identical — there is no variation at all.

This calculator is provided for general informational and estimation purposes only. Results should not be treated as professional financial, tax, legal, medical, or engineering advice. Always verify critical calculations with a qualified professional or official source before making decisions.