Estimates the spread of a population from a sample. Dividing by count − 1 instead of the count gives the unbiased sample variance. At least two values are needed.
When your data is a sample drawn from a larger population, the unbiased sample variance is what estimates that population's spread.
The key is dividing by rather than . That quantity is called the number of degrees of freedom.
The deviations are measured from the sample mean , and the sample mean sits as close to its own data as possible. The sum of squared deviations therefore comes out systematically too small compared with measuring from the true population mean.
Dividing by would understate the population variance. Dividing by the slightly smaller cancels that bias exactly, so that on average the estimate is right. That is what "unbiased" means.
For 10, 20, 30, 40, 50 the mean is 30 and the sum of squared deviations is .
Dividing by instead would have given a variance of 200 and a standard deviation of 14.1421. The unbiased estimate is a little larger.
When in doubt, use the sample variance. Nearly every statistics package defaults to .