Skip to content

A CLEARER WAY TO WORK IT OUT

Standard Deviation Calculator

Two sets of numbers can have the same average and still look very different. Standard deviation describes that spread, while the mean and other statistics help put it in context.

Two sets of numbers can have the same average and still look very different. Standard deviation describes that spread, while the mean and other statistics help put it in context.

Your result will appear here.

Your calculation runs in this browser. After changing a value, select Calculate to update the answer.

Your inputs stay in this browser. Change a value, then calculate again to update the result.

How to use the standard deviation calculator

The input is a list of numbers separated by commas or spaces. Population mode describes the entire group you entered. Sample mode is useful when those observations stand in for a larger group, because its variance uses a different denominator.

An average alone can hide a wide spread. Two classes can have the same average score while one has scores clustered closely and the other has a much broader range. Standard deviation measures spread around the mean in the same unit as the original values. Choose population mode when the list is the whole group you want to describe; choose sample mode when the observations represent a larger population.

What the result tells you

Population standard deviation treats your list as the whole group. Sample standard deviation uses a different divisor when the list represents a sample. Choose the interpretation that matches your data; neither is automatically the right choice for every list.

A calculation you can check

For 2,4,4,4,5,5,7,9 the mean is 5, population standard deviation is 2 and sample standard deviation is approximately 2.13809.

Try it in the calculator ↑

Formula and calculation method

Population variance divides squared deviations by N; sample variance divides by N−1. Standard deviation is the square root of variance. Welford’s updating method reduces cancellation error.

Check the assumptions

Repeated values are real observations and are kept. Sample standard deviation needs at least two numbers. A small standard deviation means a tighter spread in the same units as the original measurements.

Up to 1,000 finite inputs, each within an absolute value of one trillion. A sample standard deviation needs at least two observations. Duplicate values are retained. Floating-point precision limits still apply.

Frequently asked questions

Why do sample and population answers differ?

The population variance uses the number of observations. The sample version uses one less, which produces a larger variance for the same list when there is variation.

Can I use one value in sample mode?

No meaningful sample standard deviation can be calculated with a divisor of zero. Sample mode requires at least two observations; population spread for a single value is zero.

Something looks wrong? Send the calculator name and a non-sensitive example so the issue can be checked.