The Markowitz lesson: risk doesn’t average
In “Portfolio Selection” (Journal of Finance, 1952), Harry Markowitz formalized the idea that launched modern portfolio theory: what matters is not how risky each holding is on its own, but how the holdings move together. A portfolio’s expected return is the plain weighted average of its parts, but its standard deviation is dragged below the weighted average whenever the correlation ρ is less than 1 — the swings partially cancel. You give up no expected return to get that risk reduction, which is why diversification is called the only free lunch in investing. At ρ = 1 the lunch disappears (risk averages exactly), and at ρ = −1 a specific mix cancels risk to zero.
The two-asset formulas
E(Rp) = wARA + wBRB
σp² = wA²σA² + wB²σB² + 2wAwBρσAσB
wA* = (σB² − ρσAσB) ÷ (σA² + σB² − 2ρσAσB)
where wA, wB are the portfolio weights (summing to 1), R the expected returns,σ the standard deviations, and ρ the correlation between the two assets. σp is the square root of the variance, and wA* is the weight in A that minimizes it — undefined only when the denominator is zero (two effectively identical assets).
Worked example
Take the classic stock-bond mix: 60% in stocks (10.00% expected, 18.00% risk) and 40% in bonds (5.00% expected, 7.00% risk), correlation 0.2. Step by step:
| Step | Amount |
|---|---|
| Expected return E(Rp)60% × 10.00% + 40% × 5.00% | 8.00% |
| Portfolio variance σp²wA²σA² + wB²σB² + 2wAwBρσAσB with ρ = 0.2 | 136.58 %² |
| Portfolio risk σp = √variancethe standard deviation the mix actually carries | 11.69% |
| Naive weighted-average risk60% × 18.00% + 40% × 7.00% — what risk would be if it simply averaged | 13.60% |
| = Diversification benefit of 1.91pprisk the ρ = 0.2 correlation cancels away — return unchanged, risk lower | −1.91pp |
| Minimum-variance mixwA* = (σB² − ρσAσB) ÷ (σA² + σB² − 2ρσAσB) = 7.38% in A | σp = 6.87% |
Computed with this calculator's default settings — open the tool above and you'll see the same numbers, then swap in your own assets.
The minimum-variance point, and why correlation is everything
Plot every possible mix from 100% bonds to 100% stocks and you get the opportunity-set curve the calculator draws. When ρ < 1 the curve bows to the left, and its leftmost point — the minimum-variance portfolio — usually holds some of the riskier asset: with the defaults above, a dash of stocks makes a bond portfolio less risky, not more. Slide ρ toward 1 and the bow flattens into a straight line: no cancellation, no benefit. Slide it toward −1 and the bow sharpens until it touches zero risk. Real asset pairs live in between, which is why estimating correlation honestly — and stress-testing it upward — matters more than fine-tuning the weights.
This tool prices the risk side of the trade-off; pair it with theexpected return calculatorto build the return inputs from scenarios, judge whether the extra return per unit of risk is worth it with theSharpe ratio calculator, or work out the trades needed to get back to your target mix with theportfolio rebalance calculator.
Frequently asked questions
How do I calculate the return and risk of a two-asset portfolio?
The expected return is the easy half: weight each asset’s expected return by its share of the portfolio and add, E(Rp) = wA·RA + wB·RB. Risk needs the full Markowitz formula: the portfolio variance is wA²σA² + wB²σB² + 2wAwBρσAσB, and the portfolio standard deviation is its square root. The third term carries the correlation ρ between the assets — it is what makes portfolio risk depend on how the pieces move together, not just on how risky each piece is alone.
Why isn’t portfolio risk just the weighted average of the two risks?
Because the assets don’t move in perfect lockstep. The weighted average wAσA + wBσB is what risk would be if ρ = 1 — every wiggle in one asset matched by the other. Whenever ρ < 1, some of one asset’s bad days land on the other’s good days and partially cancel, so the combined standard deviation comes out below the average. That gap is the diversification benefit, and it costs nothing in expected return — the reason diversification is often called the only free lunch in investing.
What is the minimum-variance portfolio?
It is the mix with the lowest possible risk given the two assets’ volatilities and correlation: wA* = (σB² − ρσAσB) ÷ (σA² + σB² − 2ρσAσB). Counterintuitively, it usually is not 100% of the safer asset — with the defaults here, holding about 7% stocks alongside bonds is less risky than holding bonds alone, because low-correlation stock swings offset some bond swings. When the formula lands outside 0–100%, the long-only answer clamps to the nearer endpoint.
What correlation should I use?
Estimate it from history — the correlation of monthly or annual returns over a period you consider representative — or take a published figure for your asset pair. US stocks and Treasury bonds have historically ranged roughly from −0.3 to +0.4 depending on the decade and inflation regime, so a value near 0 to 0.3 is a common baseline. Be humble about it: correlations drift, and they famously rise toward 1 in crises, exactly when you want diversification most. Test a pessimistic (higher) ρ to see how much benefit survives.
Does this scale beyond two assets?
Yes — the same mathematics generalizes to any number of assets: expected return stays the weighted sum, and variance becomes wᵀΣw, the weight vector times the covariance matrix, so an n-asset portfolio sums n² covariance terms. Nothing conceptual changes: pairwise co-movement still drives total risk, and as n grows, the covariances — not the individual variances — dominate. The two-asset case is the standard classroom version because every effect is visible by hand, but real optimizers solve exactly this problem in matrix form.
Sources
- Markowitz, H. (1952). "Portfolio Selection." Journal of Finance, 7(1), 77–91 (JSTOR)
- The Sveriges Riksbank Prize in Economic Sciences 1990 — Markowitz, Miller, Sharpe (NobelPrize.org)
The official figures this page quotes are drawn from the primary sources above — check them (or a qualified professional) before relying on a result.
Disclaimer: This calculator is foreducation and illustration only. It takes your expected returns, volatilities, and correlation as given — in practice all three are estimates that drift over time, and correlations tend to rise in market crises exactly when diversification is needed most. Results are a textbook mean–variance calculation, not a forecast or a recommendation, and nothing here is investment, financial, or tax advice.