Diversification and the correlation floor
Spreading money equally over more assets lowers risk, quickly at first and then more and more slowly. The risk never falls below a floor set by how correlated the assets are.
01The formula
- the volatility of an equal-weight portfolio
- the volatility of each asset (assumed the same for all)
- the number of assets
- the average correlation between any two of them
- the floor: the market-wide risk that remains however many assets you add
02See it move
03Where it is used
- Portfolio managerDecides how many positions are enough: past a few dozen, extra names barely lower risk if they are correlated.
- Quant researcherCombines many weakly correlated signals, because low correlation is what lets the floor drop and the Sharpe ratio rise.
- Retail traderLearns that ten tech stocks are not ten bets: high correlation keeps the risk close to a single stock's.
04Why traders use it
It shows which risk you can remove and which you cannot. The stock-specific part shrinks like 1/N; the shared part, set by ρ, stays. That is why investors are paid for market risk but not for risk they could have diversified away.
05Worked example
Assets with volatility 30% each and average correlation 0.25: an equal-weight portfolio of 10 has volatility 17.10%. However many you add, it cannot fall below 15.00%. With 10 assets you have already removed 86.0% of the risk that can be removed.
06How it is built
- Give each of the assets weight .
- The variance has own terms and cross terms .
- Add them: .
- As grows the first term vanishes and .
07The common mistake
Counting holdings instead of independent bets. Correlations also rise in a crash, so the floor jumps exactly when you need diversification most.
08In Python and LaTeX
import numpy as np sigma, rho, n = 0.30, 0.25, 10 vol = sigma * np.sqrt(1/n + (1 - 1/n) * rho) print(round(vol, 4), 'floor', round(sigma*np.sqrt(rho), 4))
\sigma_p = \sigma\sqrt{\frac{1}{N} + \Big(1 - \frac{1}{N}\Big)\rho} \;\xrightarrow{N \to \infty}\; \sigma\sqrt{\rho}09Where it fits
Rather not code the maths yourself? Describe your trading idea and let AI build the bot.
Build a bot with AgenKitThe worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.