How many stocks do you need?

Adding stocks to a portfolio cancels out company-specific shocks, so volatility falls quickly at first. It never reaches zero: the risk that every stock shares with the market stays. Below, that textbook curve is rebuilt from five years of real weekly returns.

Risk falls fast, then hits a floor

Each point is the average volatility of 600 portfolios picked at random from the stocks. Drag the slider or click the chart. The stock axis uses a square-root scale so the steep early drop is visible.

Average random portfolio (real data) Your portfolio (built below)

Build your own portfolio

Tap stocks to add or remove them. Your portfolio appears as the orange dot on the curve above. The number on each chip is that stock's own volatility.

Growth of $1

Grey lines are the individual stocks you picked. Log scale, so equal distances mean equal percentage moves.

Your portfolio S&P 500 (SPY, dividends reinvested) Individual stocks

The math behind the curve

σ²N = c̄ + (v̄ − c̄) / N

For an equal-weighted portfolio of N stocks, variance is the average covariance c̄ between stocks plus a slice of the average variance v̄ that shrinks with 1/N. In this data v̄ is and c̄ is . Those two numbers alone predict the curve: at 10 stocks the formula gives , against from the random portfolios.

Why there's a floor

As N grows, the 1/N term vanishes and only c̄ is left: volatility. That is the systematic, market-wide risk every stock shares. Rates, recessions and pandemics hit all of them at once, so adding more of them can't cancel it out. The S&P 500 itself ran at over the same period.

Read with care

These are large companies that are in the S&P 500 today, so firms that failed or shrank out of the index are missing (survivorship bias) and the true single-stock risk was higher. Companies with big spin-offs during the period were left out because their price history is distorted. Portfolios are rebalanced weekly. Past volatility is a guide, not a forecast.

Table view of the curve