Portfolio variance and diversification are linked by a formula that shows exactly why spreading money across holdings can reduce the ups and downs of a whole portfolio. Variance is a statistical measure of how widely returns scatter around their average, and it is the quantity diversification actually works on.
This article walks through that formula step by step with round hypothetical numbers. Earlier articles on wealthlyn.com explain variance and correlation on their own; here the focus is on how the pieces combine inside a portfolio, and why the benefit of adding holdings eventually flattens out.
Why Variance Is the Number Diversification Changes
When people say diversification “reduces risk,” they usually mean it reduces the variability of portfolio returns. Variance captures that variability by averaging the squared distance of each return from the mean. Its square root, the standard deviation, expresses the same idea in ordinary percentage terms.
Diversification does not change the return each holding is expected to earn. A portfolio’s expected return is simply the weighted average of its holdings’ expected returns. If one asset is expected to earn 6 percent and another 8 percent, a hypothetical half-and-half mix is expected to earn 7 percent, nothing more.
Risk behaves differently. A portfolio’s standard deviation is usually less than the weighted average of its holdings’ standard deviations, because holdings rarely move in perfect lockstep. When one zigs while another zags, part of the movement cancels out before it reaches the portfolio total.
That gap between averaged returns and less-than-averaged risk is the mathematical heart of diversification. It explains why two risky assets combined can produce a smoother ride than either one alone, without necessarily giving up expected return. The rest of this article shows where that gap comes from and how large it can become.
Single Holdings Versus a Combined Portfolio
For one stock, variance depends only on how that stock’s returns swing. Suppose a hypothetical stock has a standard deviation of 20 percent. Squaring that, written as a decimal, gives a variance of 0.04. Every calculation below works in decimals, then converts back to percentages at the end.
Once two or more holdings sit together, a new ingredient appears: covariance. Covariance measures whether two holdings tend to move above and below their own averages at the same time. Positive covariance means they usually rise and fall together; negative covariance means one tends to rise when the other falls.
Correlation is covariance rescaled to sit between minus one and plus one. A correlation of plus one means perfect co-movement, zero means no consistent linear relationship, and minus one means perfectly opposite movement. Correlation is easier to interpret, while covariance is what the variance formula actually uses.
The key insight is that a portfolio’s variance depends on each holding’s own variance and on every pair of holdings’ covariance. In a portfolio of many holdings, the pairs vastly outnumber the individual holdings. That is why relationships between holdings, not the riskiness of any single one, end up dominating the result.
The Two-Asset Formula, Term by Term
The simplest case to study has two holdings, A and B. The formula is: portfolio variance equals wA squared times variance A, plus wB squared times variance B, plus two times wA times wB times the covariance of A and B. Each part tells its own story.
The Weight-Squared Terms
The weights, written wA and wB, are the fractions of the portfolio held in each asset, and they add up to one.
Because each weight is squared, a holding’s own variance is scaled down sharply as its weight shrinks. A weight of 0.5 squared becomes 0.25, so only a quarter of that asset’s variance passes through.
This is the first mechanism behind diversification: smaller positions contribute disproportionately less of their individual volatility to the total.
The Covariance Term
The final term, two times wA times wB times the covariance, captures how the holdings interact.
Covariance can be rewritten as correlation multiplied by the two standard deviations. When correlation is high, this term is large and adds variance back. When correlation is low or negative, the term shrinks or even subtracts, which is where diversification gains most of its power.
Putting Hypothetical Numbers In
Suppose assets A and B each have a standard deviation of 20 percent, or a variance of 0.04, and the portfolio splits them half and half.
The two weight-squared terms each equal 0.25 times 0.04, or 0.01, adding up to 0.02.
The covariance term equals 2 times 0.5 times 0.5 times the correlation times 0.2 times 0.2, which simplifies to 0.02 times the correlation.
Total variance is therefore 0.02 plus 0.02 times the correlation.
How Correlation Changes the Answer
Using the same hypothetical pair, the correlation between A and B is the only input left to vary. Plugging different values into “0.02 plus 0.02 times correlation” shows how sensitive the result is. Each line converts variance back into standard deviation by taking the square root.
- Correlation of plus one: variance is 0.02 plus 0.02, or 0.04, a standard deviation of 20 percent. No diversification benefit at all.
- Correlation of 0.5: variance is 0.02 plus 0.01, or 0.03, a standard deviation of about 17.3 percent.
- Correlation of zero: variance is 0.02, a standard deviation of about 14.1 percent.
- Correlation of minus 0.5: variance is 0.02 minus 0.01, or 0.01, a standard deviation of 10 percent.
- Correlation of minus one: variance is zero. The two holdings cancel each other perfectly in this idealized case.
The expected return of the mix stays the same in every line; only the variability changes. That is why correlation, rather than the number of holdings, is often described as the real currency of diversification.
In practice, perfectly negative correlation between two ordinary investments is extremely rare, and correlations shift over time. These figures are a teaching device for understanding the formula, not a description of how any real pair of assets behaves.
Adding More Holdings: The Equal-Weight Shortcut
With many holdings, writing out every pair becomes tedious. A useful shortcut applies when a portfolio holds N assets in equal weights. Its variance equals one divided by N, times the average individual variance, plus one minus one divided by N, times the average covariance between pairs.
Suppose every hypothetical stock has a variance of 0.04 and every pair has a covariance of 0.01. Working through the shortcut for different portfolio sizes gives these results:
- One stock: variance is 0.04, a standard deviation of 20 percent.
- Two stocks: 0.02 plus 0.005 equals 0.025, about 15.8 percent.
- Ten stocks: 0.004 plus 0.009 equals 0.013, about 11.4 percent.
- Twenty stocks: 0.002 plus 0.0095 equals 0.0115, about 10.7 percent.
- One hundred stocks: 0.0004 plus 0.0099 equals 0.0103, about 10.1 percent.
The first term, driven by individual variance, falls quickly as N grows. The second term, driven by covariance, rises toward the full average covariance of 0.01. The early additions do most of the work, while later ones change the result only slightly.
Why the Covariance Floor Remains
In the shortcut, the first term approaches zero as the number of holdings grows very large. The second term, however, approaches the average covariance itself. In the hypothetical example, that floor is 0.01, a standard deviation of 10 percent, and no number of similar stocks can push variance below it.
That floor represents risk the holdings share. Economic slowdowns, interest rate changes and shifts in investor sentiment tend to affect many companies at once. Earlier wealthlyn.com articles call this systematic or nondiversifiable risk. The variance formula simply shows where it lives: inside the covariance terms, not the individual variance terms.
This has a practical implication. Adding more of the same kind of holding mainly chips away at the shrinking first term. Lowering the floor requires holdings whose covariance with the rest of the portfolio is genuinely lower, which usually means different kinds of assets rather than more names within one market.
Even then, the floor rarely disappears. Diversification can reduce the share of variance that comes from company-specific events, but some exposure to broad market movements generally remains in any portfolio that seeks a return above cash.
Where the Math Can Mislead
The formula is exact, but its inputs are not. Variances and covariances are usually estimated from past returns, and different time periods can produce noticeably different estimates. A calculation that looks precise to several decimal places can rest on numbers that will not hold in the future.
Correlations are especially unstable. Holdings that appeared to move independently during calm periods can start moving together during periods of stress, raising covariance just when diversification is most wanted. A portfolio built on optimistic correlation estimates may therefore prove more volatile than its spreadsheet suggested.
Variance also treats upside and downside surprises the same way. An investor worried mainly about losses may find measures such as downside deviation or maximum drawdown, covered in separate wealthlyn.com articles, more relevant to how risk actually feels. Variance remains useful, but it is one lens among several.
The shortcut also assumes equal weights and similar holdings. Real portfolios often carry a few large positions, and those dominate the result. A portfolio with fifty holdings but one position worth half the total behaves far more like a concentrated portfolio than the count suggests.
Using Variance Thinking When Reviewing Your Portfolio
Most individual investors will never calculate portfolio variance by hand, and they do not need to. The value of the formula lies in the questions it prompts. Each one can be answered with ordinary account statements and fund documents rather than statistical software.
Start with weights. Since weights are squared in the formula, the largest positions deserve the most attention. Ask whether any single holding is large enough that its own swings could dominate the portfolio’s results, regardless of how many other positions surround it.
Next, think about covariance in plain language. Ask whether your holdings are likely to fall for the same reasons at the same time. Several funds focused on the same market, sector or style may behave like one large position, even when their names differ.
Last, treat any variance estimate, including those shown in online tools or fund reports, as an approximation built on past data. If you want help interpreting such figures for your own situation, a qualified, fiduciary financial professional can explain how they were calculated and what they leave out.