Portfolio Diversification and Correlation: The Math Explained

Portfolio Diversification and Correlation: The Math Explained

Diversification lowers portfolio risk by combining holdings that don’t move in lockstep, and correlation measures how closely they move together, from +1 (identical) to −1 (opposite). Two stocks that each swing 30% a year form a 50/50 portfolio that swings 30% if they’re perfectly correlated, about 21% if they’re uncorrelated, and about 15% if their correlation is −0.5. The benefit fades as you add more similar stocks, and correlations tend to rise in market selloffs, exactly when diversification is needed most.

Key takeaways

  • Correlation, not the number of holdings, decides how much diversification you actually get.
  • Most of the volatility reduction among similar stocks comes from the first 10–20 holdings.
  • Market risk can’t be diversified away within stocks alone; that takes other asset classes.
  • Correlations change: in sharp selloffs many stocks fall together, so diversification is weaker in a crisis.

What correlation means

Correlation (ρ)MeaningExample pair (illustrative)
+0.8 to +1.0Move almost togetherTwo large banks; a stock and its sector ETF
+0.3 to +0.7Often move togetherStocks from different sectors
−0.2 to +0.2Little relationshipStocks and some commodities
Below 0Tend to move oppositeAt times, stocks and high-quality government bonds

The math: how correlation cuts risk

For two assets: σp = √(w₁²σ₁² + w₂²σ₂² + 2·w₁·w₂·ρ·σ₁·σ₂), where σ is volatility (standard deviation), w is the portfolio weight and ρ is correlation.

Hypothetical example: two stocks, each with 30% annual volatility, held 50/50. With ρ = 0: √(0.25 × 0.09 + 0.25 × 0.09) = √0.045 ≈ 21.2%, almost a third less risk with the same expected return.

Figure. Same two stocks, same weights. The only thing that changes is how they move together.

How many stocks is “diversified”?

Adding stocks helps, but with fading returns. Using an equal-weighted portfolio of stocks that each have 30% volatility and an average pairwise correlation of 0.3:

Figure. Going from 1 to 10 stocks cuts volatility from 30% to 18.2%; going from 10 to 50 only trims it to 16.8%. The floor is the market risk all the stocks share.

That floor is systematic (market) risk. Owning more stocks can’t remove it; only assets with lower correlation to stocks can. That’s why many portfolios combine stocks with bonds, cash and other assets. See bonds and interest rates.

Correlation is not constant

Correlations measured in calm markets often rise sharply in crises, as investors sell broadly. A portfolio that looked well diversified can behave like a single position for a few weeks. Practical implications:

  • Stress-test using correlations from a bad period, not just recent averages.
  • Cap sector and theme exposure, not just individual positions.
  • For traders, count correlated open positions as one risk when computing portfolio heat.

Building a diversified stock portfolio

Figure. A practical sequence. Broad index funds handle the first three steps automatically for many investors.

Step-by-step: checking your own diversification

  1. List holdings by weight. Flag any position above 10% of the portfolio.
  2. Group by sector and theme. Five semiconductor stocks plus a tech ETF is one large bet, not six.
  3. Check correlations. Many portfolio tools show a correlation matrix; pairs above about 0.8 offer little diversification.
  4. Look through funds. An S&P 500 fund plus a large-cap growth fund can hold many of the same companies.
  5. Stress-test. Ask how the portfolio would behave if all stocks fell together, as they often do in sharp selloffs.
  6. Rebalance on a schedule (for example annually) back to target weights.

Diversification at different levels

LevelExampleRisk it reduces
Across companies20+ stocks instead of 3Single-company blowups
Across sectorsTech, health care, industrials, consumer, financialsIndustry-specific shocks
Across regionsU.S. plus internationalCountry-specific risk
Across asset classesStocks, bonds, cashBroad market declines
Across timeInvesting regularlyBad timing of a single lump sum

Frequently asked questions

How does diversification reduce risk?

By combining holdings whose prices don’t move perfectly together. When one falls, others may hold up or rise, so the portfolio’s overall swings are smaller than those of its individual parts.

What is a good correlation for diversification?

The lower the better, all else equal. Correlations near zero or negative give the most risk reduction; holdings with correlations above about 0.8 add little diversification.

How many stocks do you need to be diversified?

Studies and the math above suggest most of the reduction in company-specific risk comes from the first 10 to 20 holdings, as long as they are spread across sectors. Market-wide risk remains no matter how many stocks you own.

Does diversification work in a market crash?

Partly. Correlations between stocks tend to rise in sharp selloffs, so a stock-only portfolio diversifies less in a crash. Assets with lower correlation to stocks, such as high-quality bonds or cash, can help more.

What is the formula for two-asset portfolio volatility?

σp = √(w₁²σ₁² + w₂²σ₂² + 2·w₁·w₂·ρ·σ₁·σ₂), where w are the weights, σ the volatilities and ρ the correlation between the two assets.

Sources

Educational content only, not financial advice. Examples are hypothetical and use round numbers for clarity. Trading involves substantial risk of loss. Reviewed by the TradeRiskMath Editorial Team.