What Is the Correlation Coefficient? Definition and Example
What the correlation coefficient measures, which levels count as good for diversification, and why correlations change when markets fall.
Covariance measures how two investments move together. Here is the formula, a worked example with real fund data, and why correlation is usually easier to read.
What is your own portfolio exposed to? Check it with Exent →
Covariance is a statistic for how two variables move together. In investing, it describes whether two holdings tend to have good and bad months at the same time. The sign tells the direction; the size mixes strength of the link with how volatile each asset is.
See how this applies to your own holdings with an Exent portfolio check.
From returns: average the products of each period’s deviations from the mean. In practice, it is easiest as Cov(A,B) = ρ × σA × σB, where ρ is the correlation coefficient and σ is volatility. For a two‑asset portfolio, variance = wA²σA² + wB²σB² + 2·wA·wB·Cov(A,B).
| Pair | Correlation | Volatilities | Covariance |
|---|---|---|---|
| SPY and QQQ | 0.92 | 15.7% and 20.9% | 0.92 × 0.157 × 0.209 ≈ 0.030 |
| SPY and GLD | 0.17 | 15.7% and 17.2% | 0.17 × 0.157 × 0.172 ≈ 0.005 |
Exent’s data: 5‑year annualized volatility and 60‑month correlation, as of Sep 30, 2026. Gold’s covariance with the S&P 500 was about one‑sixth of the Nasdaq‑100’s, which is why it did more to lower a stock portfolio’s risk.
Every portfolio risk number, from volatility to the efficient frontier, is built from covariances between holdings. Understanding it explains why adding a volatile but unrelated asset can make a portfolio calmer. See portfolio correlation.
Correlation is covariance divided by both volatilities, so it is scaled from -1 to 1. Covariance keeps the units and is harder to compare.
The two assets have tended to move in opposite directions, so holding both lowers portfolio volatility.
A table of the covariance between every pair of holdings, with each holding’s variance on the diagonal. Portfolio optimizers use it to estimate risk.
Upload a screenshot of your holdings and get concentration, overlap, crash exposure and a risk-matched benchmark in about a minute.
Educational content, not investment advice. Examples are illustrative; past performance does not guarantee future results.