Standard deviation and variance
Last updated 30 November 2026
Glossary · Topics: Value at Risk, Risk and performance measures
The variance of a set of values is the average of their squared distances from their mean; the standard deviation is its square root, in the units of the values themselves.
Calculation. The sample variance is the sum of the squared differences between each observation and the mean, divided by the number of observations less one. Dividing by one less than the number of observations corrects for the mean having been estimated from the same observations.
Formula. For observations with mean , the sample variance is .
Use. A volatility is the standard deviation of returns, annualized. The variances of independent returns add up over time, so a standard deviation grows with the square root of time (square-root-of-time rule). The variances of the assets in a portfolio add up only together with their covariances (covariance matrix).
In our models. Volatility is the sample standard deviation of the changes, with the number of observations less one as the divisor. See Risk and performance measures: volatility.
