📊 Standard Deviation Calculator free & instant

Sample, population and variance

For educational use. Double-check results that matter — rounding and input assumptions can shift an answer.
📊

Standard Deviation Calculator

Sample, population and variance

📊Enter values and click Calculate
Related Calculators
📏
Average Calculator
Mean, median & mode
%
Percentage Calculator
Percent of, change & more
Ratio Calculator
Simplify & scale ratios
🎓
GPA Calculator
Weighted grade average

What standard deviation measures

Standard deviation describes how spread out a set of numbers is around its mean. A small value means the data clusters tightly; a large one means it is widely dispersed.

It is what the average alone cannot tell you. Two datasets can share a mean of 50 while one runs 49–51 and the other 0–100. The mean is identical; the standard deviation immediately distinguishes them.

The formula, step by step

Population: σ = √( Σ(x − μ)² ÷ N )
Sample: s = √( Σ(x − x̄)² ÷ (n − 1) )

Worked through, the procedure is:

  1. Find the mean of all values.
  2. Subtract the mean from each value to get its deviation.
  3. Square each deviation — this removes negative signs and gives larger deviations more weight.
  4. Average the squared deviations. That average is the variance.
  5. Take the square root, returning the figure to the original units.

The square root in the final step is why standard deviation is preferred over variance for interpretation: variance is in squared units (squared dollars, squared centimetres), which is hard to reason about.

Sample versus population, and Bessel's correction

The two formulas differ only in the denominator: N for a population, n − 1 for a sample. That subtraction is called Bessel's correction, and it exists for a real reason.

When you calculate deviations from a sample mean rather than the true population mean, those deviations are systematically slightly too small — the sample mean sits, by construction, at the centre of the sample. Dividing by n − 1 rather than n inflates the result just enough to correct that bias.

Use the population formula only when your data genuinely includes every member of the group you care about — all 30 students in one class, if the class is the entire population of interest. Use the sample formula whenever the data is a subset used to infer something wider, which covers most real situations.

The difference shrinks as n grows. With 5 values it is substantial; with 500 it is negligible.

The empirical rule

For data that is approximately normally distributed:

If test scores have a mean of 75 and a standard deviation of 8, roughly two-thirds of students scored between 67 and 83, and about 95% between 59 and 91. A score of 99 sits three standard deviations out — genuinely unusual.

This only holds for roughly bell-shaped distributions. For heavily skewed data the rule breaks down, which is one more reason to look at your data rather than only its summary statistics.

Where it is used

Finance. Standard deviation of returns is the standard measure of volatility, and therefore of risk. A fund returning 8% with a deviation of 5% is a very different proposition from one returning 8% with a deviation of 25%.

Quality control. Manufacturing tolerances are expressed in standard deviations; the “six sigma” methodology takes its name directly from this.

Research. Results are commonly reported as mean ± standard deviation, and statistical significance tests are built on it.

Education. Standardised test scores and grading curves both rely on it to place an individual result in context.

A caution

Standard deviation assumes the mean is a meaningful centre. For strongly skewed data it can be misleading in the same way the mean is, and interquartile range is often the better description of spread. As with averages, calculating the number is the easy part — deciding whether it is the right number for your data is the real work.

Frequently Asked Questions

What is the difference between sample and population standard deviation?

The population formula divides by N; the sample formula divides by n minus 1. The correction compensates for the fact that deviations measured from a sample mean are systematically slightly too small. Use the sample formula unless your data covers the entire population of interest.

Why is it called Bessel's correction?

It is named after Friedrich Bessel. Dividing by n minus 1 rather than n removes the downward bias that arises when the sample mean, rather than the true population mean, is used to compute deviations.

What does a high standard deviation mean?

That values are widely spread around the mean. In finance that indicates volatility; in manufacturing it indicates inconsistency; in test scores it indicates a wide range of performance.

What is the difference between variance and standard deviation?

Variance is the average squared deviation from the mean. Standard deviation is its square root, which returns the figure to the original units and makes it far easier to interpret.