entekhab.netentekhab.nettrilingual encyclopedia

Variance

ENGLISHVariancereference
فارسیواریانسEstablished equivalent
کوردیواریانسEnglish term retained
Category
Quantitative Finance
Level
Professional

Simple definition

The average of the squared distances of the numbers from their own average. It grows fast when values spread out, and its square root is the standard deviation.

Professional definition

The second central moment of a distribution. Divide the summed squared deviations by N when you have the whole population and by n minus 1 when you have a sample, because the sample mean has already been fitted to the data and one degree of freedom is spent.

Technical definition

Expected squared deviation from the mean. Variances of independent variables add, which is why portfolio risk is built on variance rather than standard deviation. The squared units make it uninterpretable on its own; it exists as the algebraically convenient object from which standard deviation, covariance and regression coefficients are all derived.

Academic definition

The second central moment of a random variable, defined as the expectation of its squared deviation from the mean, finite only where that expectation converges.

Mechanism

Squaring removes the sign, so deviations cannot cancel, and it weights large deviations more than small ones. Dividing a sample's squared deviations by n leaves them systematically too small, because they are measured from the sample mean, which sits closer to the data than the true mean does. Dividing by n minus 1 corrects exactly that.

In practice

Who uses it
Portfolio constructors, risk managers, regression users and anyone computing a standard deviation, which is variance under a square root.
Why it matters
It is the additive building block of portfolio risk: the variance of a combination is built from the variances and covariances of its parts, which standard deviations alone cannot give you.
Limitations
It treats an upside deviation and a downside deviation as equally bad, and it is as fragile as the mean it is measured around when tails are heavy.

Common mistakes

  • Using the population divisor N on a sample and reporting the result as an estimate.
  • Comparing variances of series measured over different period lengths.
  • Treating a sample standard deviation as unbiased because the sample variance is.

Examples

numeric

Five daily returns in percent: 2, minus 1, 3, 0, minus 4. The mean is zero and the squared deviations sum to 30. Dividing by 5 gives a population variance of 6; dividing by 4 gives a sample variance of 7.5.

Given
  • observations in percent: 2, -1, 3, 0, -4
  • n = 5
  • mean = 0
Steps
  1. squared deviations: 4, 1, 9, 0, 16
  2. sum of squared deviations = 30
  3. population variance = 30 / 5 = 6, so population standard deviation = 2.449
  4. sample variance = 30 / 4 = 7.5, so sample standard deviation = 2.739
population variance 6 (sd 2.449%), sample variance 7.5 (sd 2.739%)

Verified numerically. The 25% gap between the two variance figures on only five observations is why the divisor must always be stated; it shrinks as n grows but never disappears.

market

A risk system reports annualised volatility by scaling daily variance by the number of trading days and then taking the square root. The scaling works on variance, not on standard deviation, which is the main practical reason variance is carried through the calculation at all.

Mathematical foundation

\sigma^2 = \frac{1}{N}\sum_{i=1}^{N}(x_i-\mu)^2, \qquad s^2 = \frac{1}{n-1}\sum_{i=1}^{n}(x_i-\bar{x})^2

Variables

\sigma^2Population variance: deviations measured from the true mean, divided by Nsquared unit of the data
s^2Sample variance: deviations measured from the sample mean, divided by n minus 1squared unit of the data
\muPopulation mean, assumed known in the population formulasame unit as the data
\bar{x}Sample mean, itself estimated from the same datasame unit as the data
N, nPopulation size and sample sizecount

Procedure

Decide first whether the data are the entire population or a sample from something larger. Compute the relevant mean, subtract it from each observation, square the deviations and add them. Divide by N for a population and by n minus 1 for a sample. Take the square root only at the end, and only if you want a figure in the original units.

Worked example

Given
  • returns in percent: 2, -1, 3, 0, -4
  • n = 5
  • mean = (2 - 1 + 3 + 0 - 4)/5 = 0
Steps
  1. squared deviations 4, 1, 9, 0, 16; sum = 30
  2. population: 30/5 = 6
  3. sample: 30/(5-1) = 7.5
  4. square roots: sqrt(6) = 2.449, sqrt(7.5) = 2.739
sigma^2 = 6 and sigma = 2.449%; s^2 = 7.5 and s = 2.739%

Interpretation

Bessel's correction is not a fudge factor. Deviations taken from the sample mean are too small on average, because that mean was chosen to minimise exactly those squared deviations. Dividing by n minus 1 instead of n makes the sample variance an unbiased estimator of the population variance — though its square root, the sample standard deviation, remains slightly biased.

Assumptions

  • The population divisor N applies only when the data genuinely are the whole population; on a sample it produces a downward-biased estimate.
  • Bessel's correction makes s squared unbiased for sigma squared. It does not make s unbiased for sigma, because the square root of an unbiased estimator is generally biased.
  • The second moment must exist. For distributions with a tail index below 2 the population variance is infinite, and a sample variance then grows with sample size instead of settling.
Limits of the formula
  • Squared units have no direct interpretation, which is why standard deviation is reported in practice even though variance is what the algebra needs.
  • A single extreme observation moves the variance a great deal, so on fat-tailed series the figure is unstable and understates how bad the worst case can be.

Related terminology

related
Standard Deviation Covariance Volatility Expected Value Probability Distribution Normal Distribution Sample versus Population Correlation Value at Risk Modern Portfolio Theory
Commonly confused with

Standard Deviation

Standard deviation is the square root of variance. Variance adds across independent sources of risk and scales with time; standard deviation is what you report, because it carries the original units.

Sources

Portfolio Risk and Return: Part II (refresher reading)
CFA Institute · sections on measuring dispersion of returns
https://www.cfainstitute.org/insights/professional-learning/refresher-readings/2026/portfolio-risk-return-part-2 URL verified

Editorial status

Draftconsensusv1.02026-11-05

Written, not yet reviewed.

Both divisors are standard and serve different purposes; the entry states which is which rather than presenting one as correct. The point that Bessel's correction makes the sample variance unbiased but not the sample standard deviation is stated explicitly because it is routinely elided. The Kurdish headword retains the English term, which is what Sorani-speaking practitioners use; a descriptive alternative is listed in aka.