CT Calc Tools

Standard Deviation Calculator — Sample & Population

Free standard deviation calculator with sample and population formulas, variance, standard error, coefficient of variation and a step-by-step table.

🔒 Runs entirely in your browser — nothing is uploaded

Sample standard deviation (s)

—

Sample variance (s²)

—

Mean

—

Count (n)

—

Sum of squares

—

Standard error of mean

—

Coefficient of variation

—

Population standard deviation (σ)

—

Paste at least one number.

Advertisement

What standard deviation measures

Standard deviation describes how spread out a set of numbers is around its mean. A small value means the numbers cluster tightly together; a large value means they are widely scattered. Two classes can both average 70 % on a test, yet one has scores between 65 and 75 and the other between 40 and 100. The mean cannot tell them apart, but the standard deviation can. Because it is expressed in the same units as the data, it is easy to interpret, which is why it appears in science, finance, quality control and everyday statistics.

Sample versus population

The only difference between the two versions is the divisor. The population standard deviation σ divides the sum of squared deviations by n and applies when you have every value in the group. The sample standard deviation s divides by n − 1 and is used when your numbers are a sample drawn from a bigger group. This calculator shows both at once and highlights the one you select. A sample needs at least two values, because with a single number there is no spread to measure.

The deviation table lists each value, its distance from the mean and that distance squared, so you can follow the working by hand or copy it into a report. Alongside the standard deviation you get the variance, the sum of squares, the standard error of the mean and the coefficient of variation.

Reading the result

For data that follows a bell curve, roughly 68 % of values fall within one standard deviation of the mean, 95 % within two and 99.7 % within three. Values far outside that range are candidates for outliers worth checking. Remember that standard deviation is sensitive to extreme values, because the differences are squared. All the maths runs locally in your browser, so your data is never uploaded.

How to use

  1. Enter your dataPaste the numbers separated by commas, spaces or new lines.
  2. Pick sample or populationChoose sample if your numbers are a subset of a larger group, or population if they are every value in the group.
  3. Read the resultsSee the standard deviation, variance, mean, standard error and the full table of deviations from the mean.

Frequently asked questions

What is the formula for standard deviation?
Find the mean, subtract it from each value, square the differences, add them up, divide by n (population) or n − 1 (sample) and take the square root.
Should I use sample or population standard deviation?
Use population when your data covers the whole group you care about, for example every student in one class. Use sample when your data is only a subset used to estimate a larger group, which is the common case in surveys and experiments.
Why does the sample formula divide by n − 1?
A sample's values sit closer to their own mean than to the true population mean, so dividing by n would underestimate the spread. Dividing by n − 1 (Bessel's correction) corrects that bias.
What is a good or bad standard deviation?
There is no universal good value. It is measured in the same units as your data, so compare it with the mean: the coefficient of variation shown here expresses the standard deviation as a percentage of the mean.
What is the standard error of the mean?
It is the sample standard deviation divided by √n and shows how precisely the sample mean estimates the true mean. It shrinks as the sample gets larger.
Advertisement