What Covariance Actually Measures
Covariance is a statistical measure of how two variables move together over time. According to FCA guidance on investment risk, in investing, those variables are typically the returns of two assets — say, FTSE 100 shares and UK government gilts. A positive covariance means that when one asset's returns are above its average, the other's tend to be as well. A negative covariance means they tend to move in opposite directions.
The formula for sample covariance between two assets X and Y over n periods is:
Cov(X, Y) = Σ [(Xᵢ − X̄) × (Yᵢ − Ȳ)] / (n − 1)
Where Xᵢ and Yᵢ are the individual observations, X̄ and Ȳ are the means, and n is the number of observations. The denominator uses (n − 1) rather than n for sample covariance, applying what statisticians call Bessel's correction to produce an unbiased estimate.
It is important to understand that covariance on its own does not tell you the strength of the relationship — only the direction. A covariance of 0.013 between gilt yields and interest — see the DMO for current gilt data (dmo.gov.uk), part of GOV.UK rates is positive, but is that strong or weak? To answer that question you need correlation, which normalises covariance by dividing it by the product of the two standard deviations. We will return to this distinction later. For more on portfolio construction and diversification, see our dedicated guide.