Statistics & Probability · Formula v1.0

Standard Deviation Calculator

Calculate population and sample standard deviation for six values.

Use sample deviation for a subset of a larger population, population deviation for the whole thing. At the worked-example inputs, the population standard deviation is 4.5. Standard deviation measures how spread out the values are around the mean, in the same units as the data. On the example, six values have a population standard deviation of 4.51 and a sample standard deviation of 4.94. For roughly bell-shaped data, about two thirds of the values fall within one standard deviation of the mean and about 95% within two. A small value means the data clusters tightly, and a large one means it is scattered. It returns population standard deviation, sample standard deviation.

FreeNo sign-upInputs stay in-browserCSV exportReviewed August 28, 2026
LAST REVIEWEDAugust 28, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Population standard deviation4.5
Sample standard deviation4.9
Sensitivity check

What if value 1 changes?

-10% input4.7
0% input4.5
+10% input4.4

Transparent method

The formula

Population σ = √(Σ(x−mean)²÷n); sample s = √(Σ(x−mean)²÷(n−1))

Worked example

Population standard deviation4.5
Sample standard deviation4.9

Example inputs

Value 112
Value 218
Value 39
Value 422
Value 515
Value 620

How to interpret the result

Population and sample standard deviation use slightly different formulas on purpose, and picking the wrong one systematically understates the spread. Sample deviation divides by one less than the count specifically because a sample tends to underestimate the true variation in the full population it's drawn from, and that adjustment corrects for it.

Before you rely on it

What to check

Decide first whether your six values are the entire population you care about or a sample drawn from something larger. That choice determines which of the two formulas applies.

The common error

Where people go wrong with standard deviation calculator

Defaulting to population deviation out of habit regardless of which situation actually applies. On a genuine sample, that choice understates the real variability, sometimes by a meaningful margin.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the standard deviation calculator.
InputValue used
Value 112
Value 218
Value 39
Value 422
Value 515
Value 620
Population standard deviation4.5
Sample standard deviation4.9

Where the inputs come from

Enter the values in your list. Decide whether the data is the whole population or a sample from a larger group. For a population, divide the sum of squared deviations by n, and for a sample, divide by n minus 1, which corrects the tendency of a sample to understate variability. Most real data are samples, so the sample standard deviation is usually the right choice. Check the values for typing errors.

When the result stops applying

Standard deviation is sensitive to outliers, and it can mislead for skewed data or very small samples. It is not a measure of error unless the data are repeated measurements of one quantity. Population and sample versions differ noticeably when n is small. Units matter: the value is in the same units as the data.

What to compare it with

See the mean and median calculator for the center, the range calculator for a simple spread, and the z-score page to place a value relative to the mean. The confidence interval and sample size calculators use it for estimation. Investment volatility on the investing pages is a standard deviation.

People also ask

Frequently asked questions

What is the difference between population and sample standard deviation?

The population version divides by n, and the sample version divides by n minus 1 to correct for estimating the mean from the same data.

What does a large standard deviation mean?

The values are spread far from the mean, so the data is more variable and the mean is a less reliable summary of a typical value.

How is standard deviation used in investing?

As a measure of volatility: the higher the standard deviation of returns, the more the investment's value swings.

Common statistics & probability questions

Sources and evidence