Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Calculate sample or population standard deviation for any data set.
Standard deviation measures how spread out a data set is from its mean. This tool computes both the sample version (Bessel's correction, n-1 denominator -- used when your data is a sample of a larger population) and the population version (n denominator -- used when your data is the entire population).
Enter your data set, then choose sample or population. Standard deviation and variance appear instantly.
Variance (population) = Σ(x - mean)² / n
Variance (sample) = Σ(x - mean)² / (n - 1)
Standard Deviation = √variance
The tool starts with the hypothetical data set 2, 4, 4, 4, 5, 5, 7, 9. Here is how both versions are calculated by hand.
Population: variance = 32 / 8 = 4, standard deviation = √4 = 2
Sample: variance = 32 / 7 ≈ 4.5714, standard deviation ≈ 2.1381
Toggle between Sample and Population in the tool to see both results for the same numbers. The sample answer is always slightly larger for the same data because it divides by a smaller number.
The standard deviation is expressed in the same units as your data. A standard deviation of 2 on a data set centered at 5 means that values typically sit about 2 units away from the mean. A small standard deviation means the values cluster tightly around the mean, and a large one means they are widely scattered.
Two data sets can share the same mean and look completely different. The values 4, 5, 5, 6 and the values 0, 5, 5, 10 both average 5, but the second set has a much larger standard deviation. That is exactly the information the mean alone hides.
If your data is roughly bell-shaped, a common rule of thumb says most values fall within two standard deviations of the mean. That rule does not hold well for heavily skewed or unusual distributions, so treat it as a guide only.
The tool requires at least 2 numbers for the sample version, since dividing by n - 1 needs n to be greater than 1. The population version accepts a single value and reports a standard deviation of 0. As the data set grows larger, the gap between the two versions shrinks.
Standard deviation is descriptive. For formal conclusions such as confidence intervals or hypothesis tests, use a dedicated statistical method or consult a statistician.
Use "sample" when your data is a subset used to estimate a larger population's spread (the common case in research/surveys); use "population" only when your data set is genuinely the entire population being studied.
Bessel's correction -- dividing by n-1 instead of n corrects a known bias where sample variance would otherwise systematically underestimate population variance.
Standard deviation is just the square root of variance -- see the standalone Variance Calculator.
No. It is the square root of an average of squared values, so it is always zero or positive. It equals zero only when every value in the data set is identical.
Every value is exactly the same, so there is no spread around the mean at all.
The sample formula divides by n - 1. With one value that would mean dividing by zero, and a single value carries no information about spread.
Not by itself. It just means more variability. Whether that is good or bad depends on context, such as consistency in manufacturing versus diversity in a survey.
Reference: NIST Weights and Measures