Population and sample statistics

Variance and standard deviation change their divisor depending on whether the numbers are the whole population or a sample from a larger one.

The mean is the sum divided by the count. The population variance divides the squared distances from the mean by that same count. The sample variance divides by the count minus one, which is Bessel’s correction.

Standard deviation is the square root of the variance you chose. The standard deviation tool shows both population and sample results, including the matching variance, so there is not a second page that asks for the same list of numbers.

A sample of one number has no sample standard deviation, because the divisor would be zero. The page says so instead of printing zero. The list is only the numbers you typed. The page does not run a hypothesis test, and it does not print a p-value or a confidence interval.

All guides