Covariance matrix
Last updated 30 November 2026
Glossary · Topics: Value at Risk, Risk and performance measures
The table of the covariances between each pair of a set of variables, such as the returns of the assets in a portfolio, with each variable's variance on the diagonal.
Calculation. The covariance of two returns is their correlation times their two standard deviations. The variance of a portfolio is the sum of all the entries of the matrix, each multiplied by the weights of its two assets. A valid covariance matrix is symmetric and positive semi-definite: no portfolio can have a negative variance.
Formula. With correlations and standard deviations , the covariances are . A portfolio with weights has the variance .
Use. It holds what a risk measure based on volatility needs to know about how the assets move together. It gives a portfolio volatility and a parametric VaR, and its Cholesky decomposition generates correlated moves in a Monte Carlo simulation.
In our models. Portfolio volatility takes a covariance matrix, or a correlation matrix with volatilities, from which the covariance matrix is built. See Risk and performance measures: portfolio volatility. See also Correlation and Standard deviation and variance.
