ShadeKit.ioLoading…

Standard Deviation Calculator

Enter a numeric dataset to calculate mean, variance and standard deviation, with population and sample results shown separately.

Calculator arithmetic runs locally in your browser and does not require an API.

The interactive calculator loads here when JavaScript is enabled.

How to use Standard Deviation Calculator

Separate values with commas, spaces or newlines. Choose the interpretation that matches your data: the complete population or a sample used to estimate population spread. Sample results require at least two values.

Formula and method

Mean = sum/N. Population variance = Σ(x−mean)²/N. Sample variance = Σ(x−mean)²/(N−1). Each standard deviation is the square root of its corresponding variance.

Understanding the results

Standard deviation uses the original data’s units; variance uses squared units. The sample denominator gives a larger value for the same nonconstant dataset. These descriptive results do not by themselves establish statistical significance.

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9, N = 8 and mean = 5. Squared deviations sum to 32: population variance is 4 and deviation is 2; sample variance is 32/7 and deviation is about 2.13809.

Statistics retain internal floating-point precision; displayed values use up to 15 significant digits.

Frequently asked questions

Which result should I use?

Use population spread for the full population of interest; use the sample convention when estimating population variance from a sample.

Why is sample deviation unavailable for one value?

Its variance denominator is N−1, which is zero when N is one.

What if every value is identical?

All deviations from the mean are zero, so population deviation is zero; sample deviation is also zero when at least two values are supplied.