Smart Unit ConvertersSmart Unit Converters

Standard Deviation Calculator

Calculate mean, variance, and sample/population standard deviation.

?What is the Standard Deviation Calculator?

Standard deviation measures how spread out the values in a data set are from their mean. This calculator returns the mean, the variance, and both the population standard deviation (σ) and the sample standard deviation (s), along with the count of values. Standard deviation is one of the most important tools in statistics, science, quality control, and finance — wherever you need to quantify variability, uncertainty, or risk. Two data sets with the same mean can look completely different; standard deviation captures that difference in a single number.

The Formula

Population SD: σ = √[Σ(x − μ)² / N]. Sample SD: s = √[Σ(x − x̄)² / (N − 1)]. Variance = SD².

Each data point's deviation from the mean is squared (to convert negatives to positives without canceling) and averaged. Taking the square root returns the result to the original units of measurement, which is why standard deviation — not variance — is normally reported. The critical difference between population and sample SD is the divisor: population uses N (when you have all possible values), while sample uses N − 1 (Bessel's correction) to provide an unbiased estimator when your data is a sample of a larger population.

Practical Examples

1

Data [2, 4, 4, 4, 5, 5, 7, 9]: Mean 5, Population SD 2.0, Sample SD 2.14 — slightly higher sample SD reflects Bessel's correction.

2

Test scores [70, 75, 80, 85, 90]: Mean 80, Sample SD ≈ 7.91 — a tight cluster around the mean, typical of a well-taught class.

3

Quality control: if a process produces parts with SD near zero, it is very consistent; a large SD indicates variability and potential defects.

4

Finance: the standard deviation of a stock's historical daily returns is the standard measure of its volatility and risk.

5

Weather: the SD of daily temperatures over a month tells you whether the month was climatically stable or volatile.

6

Sports: batting averages in cricket can hide variability — two players can share an average while one is consistent and the other swings wildly; SD reveals it.

Frequently Asked Questions

Population SD (divide by N) is used when your data represents the entire group of interest — every student in a class, every product made in a batch. Sample SD (divide by N − 1) is used when your data is a sample from a larger population — a survey of 100 voters meant to represent millions. Sample SD is slightly larger to compensate for the bias of using a sample mean.