It is natural to wonder why the sum of the squared deviations is divided by $n − 1$ rather than $n$. The purpose in computing the sample standard deviation is to estimate the amount of spread in the population from which the sample was drawn.
Ideally, therefore, we would compute deviations from the mean of all the items in the population, rather than the deviations from the sample mean.
However, the population mean is in general unknown, so the sample mean is used in its place.
**It is a mathematical fact that the deviations around the sample mean tend to be a bit smaller than the deviations around the population mean and that _dividing by $n − 1$ rather than $n$ provides exactly the right correction._**