Free online tools

Standard Deviation Calculator

Paste a list of numbers and choose whether they represent your full population or a sample. The calculator shows the standard deviation and its underlying variance.

Enter your values

Separate values with commas, spaces, semicolons or new lines. Use a decimal point and skip thousands separators.

This tool processes your input in your browser.

Result

Work out how far values spread from the mean

For the numbers 12, 15, 15 and 18, the mean is 15. The deviations from 15 are −3, 0, 0 and 3. Their squared deviations sum to 18. Divide by your selected divisor to get variance, then take its square root to return to the original unit.

Use the divisor that matches your data

For the whole population of four values, divide 18 by 4 to get a variance of 4.5 and standard deviation of about 2.1213. When the four values are a sample used to estimate a population’s variance, divide by 3. The sample variance is 6 and the sample standard deviation is about 2.4495. NIST’s engineering statistics handbook uses this sample formula.

Check how a large observation changes the result

Squared deviations give distant values more influence. Adding a very large observation can increase standard deviation even when the typical values stay close together. Check the input and use a median-based measure of spread when you need a separate view that is less sensitive to extremes.

Frequently asked questions

Can I use a single value?

A population of one value has standard deviation zero. Sample standard deviation needs at least two values because its divisor is n − 1.

Why is variance different from standard deviation?

Variance uses squared units. If your data are in seconds, variance is measured in seconds squared and standard deviation in seconds.

Do equal values and negative numbers count?

Yes. Each entry is an observation, including repeats. Negative numbers contribute through their distance from the mean, just like positive ones.