Investment Theory

Portfolio Theory: If Investing Has Exactly One Free Lunch

Nov 15, 2026Jungmin Suh10 min read

Mix two risky things and the result can be less risky. Returns average out by weight, but risk comes out below the average. It is about the only gain in investing that comes without a price.

Prologue: two shops on the beach

A seaside town has two shops. One sells ice cream. The other sells umbrellas.

In a sunny summer the ice cream shop makes 30% and the umbrella shop loses 10%. In a rainy summer it is the other way round: umbrellas make 30% and ice cream loses 10%. Nobody knows what this summer's weather will be.

Ella puts everything into the ice cream shop. Each year swings between +30% and −10%. The average is 10% a year, but rainy years mean sleepless nights.

Ben puts half into each. In a sunny year the ice cream half makes 15% and the umbrella half loses 5%, leaving 10%. A rainy year gives exactly the same 10%. Whatever the weather, Ben makes 10% a year.

Their average returns are identical. But after one sunny year and one rainy year, Ella's 1,000 dollars has become 1,170 (1.3 × 0.9), while Ben's has become 1,210 (1.1 × 1.1). The one who swung less ended up with more.

Two shops, each risky on its own, and once combined the risk disappeared. In 1952 Harry Markowitz, then a doctoral student at the University of Chicago, turned that intuition into mathematics. This article is about what the mathematics says, and how far it holds up in practice.

1. Return and risk: why the average is not enough

An investment's record comes down to two numbers: how much it makes on average, and how far it swings around that average.

"Don't put all your eggs in one basket" is older than Markowitz. But without a way to measure risk, how many baskets to use was a matter of feel. Markowitz measured risk as the standard deviation of returns, or volatility: a number for how widely each year's return scatters around the average.

Here are 98 years (1928 to 2025) of annual returns on US stocks and Treasury bonds.

Average annual return Volatility Actual growth rate Worst year
US stocks (S&P 500, with dividends) 11.9% 19.4% 10.0% a year 1931, −43.8%
US Treasuries (10-year) 4.8% 7.9% 4.5% a year 2022, −17.8%

Stocks earned more and swung far more. Taking more risk in exchange for more return is the basic bargain of investing.

The column to notice is the actual growth rate, which sits below the average. As with Ella in the prologue, the more an investment swings, the less money it leaves behind for the same average. Fall 50% and then rise 50%, and the average is zero while a quarter of the money is gone.

The gap is roughly half the volatility squared. For stocks, half of 19.4% squared is about 1.9 points, almost exactly the difference between 11.9% and 10.0% in the table. It is the same force that ate away at leveraged ETFs in the random walk article. Lowering risk is not just easier on the nerves. For the same average, it leaves more money.

2. Mixing lowers risk: correlation

Mix two assets and the return is their weighted average, but the risk comes out below the weighted average. How far below depends on how closely the two move together: their correlation.

A correlation runs from −1 to +1. At +1 two assets always move the same way, at 0 they are unrelated, and at −1 they always move in opposite directions. The two beach shops had a correlation of −1.

σp2=w2σA2+(1−w)2σB2+2 w(1−w) ρ σAσB\sigma_p^2 = w^2\sigma_A^2 + (1-w)^2\sigma_B^2 + 2\,w(1-w)\,\rho\,\sigma_A\sigma_B

Here w is the weight in asset A, each σ is an asset's volatility, and ρ is the correlation. Only the last term matters for the story. At ρ = 1 the portfolio's risk is simply the weighted average of the two risks. The lower ρ goes, the further below that average it falls. At ρ = −1 there is a mix with no risk at all.

Over the 98 years, the correlation between US stocks and Treasuries was 0.02, essentially unrelated. So a mix of 60% stocks and 40% bonds had a volatility of 12.1%, not the 14.8% a simple average would suggest. It collected the full weighted return while carrying 2.7 points less risk.

Try it: mixing two baskets

Change the share in stocks and the correlation. The solid line shows risk and return for every mix, the dot is the mix you picked, and the dashed line is the case where mixing does not lower risk at all (correlation 1).

Average returns and volatilities for stocks and bonds come from US annual returns, 1928 to 2025 (Damodaran). Moving the correlation slider changes only the correlation and keeps everything else fixed.

Slide the correlation toward −1 and the solid line bends sharply to the left. The same return becomes available for less risk. That bend is the gift of diversification.

It leads to Markowitz's most important insight. You cannot tell whether an asset is good by looking at it alone. You have to look at how it moves with what you already own. An asset that is unappealing on its own can improve the whole portfolio if it moves against the rest, like the umbrella shop.

3. The efficient frontier: the most return for each level of risk

Among all possible mixes, the line joining those with the highest return for each level of risk is called the efficient frontier. A rational investor picks somewhere on that line.

Adding 10% stocks to bonds raised the return and lowered the swings

Average annual return and volatility of US stock and Treasury mixes, 1928 to 2025 (rebalanced every year)

4%6%8%10%12%68101214161820Risk: annual volatility (%)10% stocks · 90% bonds7.9: 4.82%7.41: 5.53%7.48: 6.23%8.1: 6.93%9.17: 7.64%10.54: 8.34%12.12: 9.04%13.83: 9.75%15.63: 10.45%17.5: 11.15%19.4: 11.86%100% stocks
Dots run from 100% bonds at the lower left to 100% stocks at the upper right, adding 10 points of stocks each step. Data: Damodaran, Historical Returns on Stocks, Bonds and Bills (S&P 500 with dividends, US 10-year Treasury). ZapyLab calculations.

Someone holding only bonds who added 10% in risky stocks saw the return rise from 4.8% to 5.5% a year and volatility fall from 7.9% to 7.4%. Adding something risky made the whole less risky. The least volatile mix was around 14% stocks.

So 100% bonds is not efficient: another mix earns more for the same risk. Further up the curve, the free part ends. More return means more risk. Where on the line to sit is not something the mathematics decides. It depends on how large a swing you can live with, and when you will need the money.

Markowitz published the idea in 1952 in a paper called "Portfolio Selection". At his dissertation defense in 1955, Milton Friedman is said to have remarked, in effect, that the mathematics was fine but they could not give a PhD in economics for a dissertation that was not about economics. The degree was awarded anyway, and in 1990 Markowitz shared the Nobel prize in economics with William Sharpe and Merton Miller. He closed his prize lecture with the story, observing that portfolio theory was not part of economics when he defended his dissertation, but now it is.

"Diversification is the only free lunch in investing" is also widely attributed to Markowitz. The sentence does not appear in the 1952 paper, though, and its exact source has not been confirmed.

4. Risk you can remove, and risk you cannot

Add stocks and risk falls quickly, then stops falling. Risk that comes from one company's circumstances diversifies away. Risk from the whole market moving together stays.

Any stock's movements can be split in two. One part is market risk: the economy, interest rates, wars, things that move every company at once. The other is company-specific risk: a failed product, an accounting scandal, a factory fire, things that happen to that company alone.

Company-specific risk is different for every stock, so the more stocks you hold, the more it cancels out. On the day one company's factory burns, another may launch a hit product. Market risk, though, is shared by every stock, so no number of holdings removes it.

Try it: adding stocks one at a time

Pick stocks at random, one at a time, from 500 imaginary stocks. Watch how much the portfolio swings when each holding gets the same amount of money.

Each stock combines the market's movement (19.4% annual volatility) scaled by a beta between 0.6 and 1.4 with company-specific movement of 25% to 45% a year. These are simulated stocks built on assumptions, not real ones.

One stock swings 40% a year, ten stocks 23%, and after that it barely falls

Annual volatility of a portfolio by number of randomly chosen stocks, 4,000 simulations for each count

20%30%40%50%11020304050Stocks heldAll 500 stocks: 19.8%Median
Stocks are drawn at random from 500 imaginary stocks built on the same assumptions as the experiment above. The two dashed lines show the range that luck alone produces for the same number of stocks (10th to 90th percentile). ZapyLab calculations.

A single stock swings around 40% a year. Ten stocks bring that down to 23%, thirty to 21%, and beyond that more stocks change almost nothing. The roughly 20% that remains is market risk.

It was once widely accepted that about ten stocks capture nearly all the benefit (Evans & Archer, 1968). Statman (1987) revisited the question and argued that a well-diversified portfolio needs at least 30 to 40. The dashed lines show one reason. On average ten stocks look like enough, but with bad luck the same ten swing a good deal more.

This split leads to the next question in investment theory. If someone carries risk that diversification would remove for free, why should the market pay them extra for it? The idea that the market pays only for the risk you cannot diversify away is where the CAPM comes from.

5. Where it breaks: when diversification lets you down

Portfolio theory's arithmetic assumes past averages, volatilities and correlations will hold in the future. In reality all three shift, and correlations shift precisely when they matter most.

Correlations do not stay put

The stock–bond correlation has ranged from −0.86 to +0.74

Correlation between US stocks and Treasuries over the previous 10 years of annual returns, 1937 to 2025

-1-0.500.5119401960198020002020Year
Each value comes from only ten annual returns, so the estimates are noisy. Look at the broad pattern. Data: Damodaran. ZapyLab calculations.

Over the full 98 years the correlation was zero, but it varied a great deal from period to period. In the 1980s and 1990s stocks and bonds moved together. From 2000, for close to twenty years, they moved in opposite directions. Over the latest ten years the figure is back up at +0.66.

The difference showed up plainly in crisis years.

US stocks US Treasuries 60% stocks · 40% bonds
2008 −36.5% +20.1% −13.9%
2022 −18.0% −17.8% −18.0%

In 2008 bonds covered much of the stock loss. In 2022, with inflation and interest rates rising together, both fell, and the mixed portfolio lost as much as stocks alone. How much diversification helps depends on correlation, and correlation changes with the inflation and interest rate backdrop.

Stocks behave similarly among themselves. Research finds that national stock markets that usually move independently tend to fall together in down markets (Longin & Solnik, 2001). Diversification is weakest exactly when it is needed most.

The paradox of precise optimization

"Optimal" weights calculated from past data often turn out not to be optimal in the future.

Drawing an efficient frontier requires each asset's expected return, and expected return is the hardest number to estimate. Even with 98 years of data, the margin of error on the average return of US stocks is close to ±4 points.

Optimization magnifies that error, because it piles weight onto whatever happened to do well in the past. Richard Michaud (1989) called mean–variance optimizers "estimation-error maximizers". It is the same trap as the fake-strategy experiment in the efficient market hypothesis article: picking whatever looked best in the past.

DeMiguel, Garlappi and Uppal (2009) put it to the test. They applied 14 optimization models to seven real datasets and compared each with the 1/N rule, which simply splits money equally across all assets. None of the 14 consistently beat 1/N on risk-adjusted return (the Sharpe ratio). Estimation error ate up the gains from optimizing.

Markowitz himself did not optimize at first. When he first joined his university retirement plan in the 1950s, he split his contributions 50/50 between stocks and bonds. He later explained that he pictured his grief if stocks soared without him, or crashed with him fully in, and wanted to minimize his future regret (Zweig, 1998). He later moved to spreading money across asset classes instead.

None of this makes portfolio theory wrong. Mixing still lowers risk. What is easy to get wrong is the answer to "exactly what percentage?".

6. Rules for using diversification well

  1. Do not concentrate in one stock, one industry or one country. Company-specific risk can be removed at no cost, and the market does not pay you for carrying risk you could have removed.
  2. Look at correlation, not the number of holdings. Ten companies in the same industry are not ten separate bets. Risk falls when you combine things that move differently.
  3. Judge a new asset by how it moves with what you own. Look less at what it earns alone and more at how adding it changes the risk and return of the whole portfolio.
  4. Do not trust precise optimal weights. Given estimation error, a simple, even split often beats an elaborate calculation.
  5. Assume correlations rise in a crisis. The worst case calculated from normal-times correlations is milder than the real worst case.
  6. Rebalance to your target weights on a schedule. Whatever has risen grows as a share of the portfolio, and the portfolio's risk grows with it. Bringing weights back is how diversification is maintained.
  7. Start from the swings you can live with. The mathematics does not choose your spot on the frontier. First ask whether you could hold on through a repeat of the worst year (stocks −43.8%).

Coming next

The next article steps back from what to hold and looks at the cost hidden in the act of buying and selling itself: market microstructure. What the market pays for the market risk that remains however many stocks you hold, William Sharpe's CAPM and beta, gets its own in-depth treatment once this first tour of investment theory is complete.

This article explains investment principles and is not a recommendation to buy or sell any product.

References