Two-Asset Portfolio Risk Calculator

Investing

Portfolio volatility8.71 %
Portfolio variance75.9 %^2
Weighted average volatility10.40 %
Diversification benefit1.69 %
How this was calculated
  1. Variance terms: 0.60^2 x 12^2 = 51.84 and 0.40^2 x 8^2 = 10.24.
  2. Covariance term: 2 x 0.60 x 0.40 x 0.3 x 12 x 8 = 13.824.
  3. Portfolio variance: 51.84 + 10.24 + 13.824 = 75.9.
  4. Portfolio volatility: square root of 75.9 = 8.71 %.

Two investments held together are not simply as risky as their average. When one zigs while the other zags, the swings partly cancel, and the portfolio's volatility falls below the weighted average of the two volatilities. The size of that gift - the diversification benefit - depends on one number most investors never look up: the correlation between the two assets. This calculator works the two-asset case exactly, from weights, volatilities and correlation.

The two-asset formula is the seed of all modern portfolio theory: Markowitz's insight was that risk lives in the covariance term, not in the assets separately. With two assets the whole story fits in one line - w1^2 s1^2 + w2^2 s2^2 + 2 w1 w2 rho s1 s2 - and every term is visible. Enter the weight in the first asset, both volatilities and the correlation, and you get the portfolio variance, its volatility, and the benefit measured against the undiversified average.

Worked examples

60/40 mix, rho 0.3, 8.71 %

(60 % · 12 % · 8 % · 0.3)

Portfolio volatility8.71 %
Portfolio variance75.9 %^2
Weighted average volatility10.40 %
Diversification benefit1.69 %

50/50 mix, rho -0.2, 12.65 %

(50 % · 20 % · 20 % · -0.2)

Portfolio volatility12.65 %
Portfolio variance160.0 %^2
Weighted average volatility20.00 %
Diversification benefit7.35 %

80/20 mix, rho 0.6, 13.30 %

(80 % · 15 % · 10 % · 0.6)

Portfolio volatility13.30 %
Portfolio variance176.8 %^2
Weighted average volatility14.00 %
Diversification benefit0.70 %

The variance formula and the covariance term

Portfolio variance has three parts. The first two are the assets' own contributions, each volatility squared and weighted by the squared weight - note the squaring: a 60 % position contributes 0.36 of its variance, not 0.6, which is why splitting a portfolio mechanically dampens each asset's own swings. The third part, twice the product of the weights times the covariance (correlation x s1 x s2), is where the assets interact. In the first worked example the own-terms are 51.84 and 10.24 and the covariance term adds 13.824, for a variance of 75.9.

Correlation scales the interaction from full addition to full cancellation. At rho = 1 the three terms complete a perfect square and portfolio volatility equals the weighted average - diversification does nothing. At rho = -1 they can cancel entirely at the right weights. Everything real lies between, and the examples span it: rho of 0.3, -0.2 and 0.6.

A note on units: volatilities enter as percentages and variance comes out in percent-squared, which is why the secondaries report 75.9 %^2 alongside the 8.71 % volatility. The square root is not cosmetic - variance is the quantity that adds and combines, volatility is the quantity humans can feel. Every portfolio formula in the literature is written in variance for the first reason and quoted in volatility for the second, and this page follows the same convention.

  • Variance: w1^2 s1^2 + w2^2 s2^2 + 2 w1 w2 rho s1 s2
  • Volatility = square root of variance
  • Diversification benefit = weighted average volatility - portfolio volatility
  • At rho = 1 the benefit is exactly zero

Worked examples: low, negative and high correlation

The balanced case: 60 % in an asset with 12 % volatility, 40 % in one with 8 %, correlation 0.3. The weighted average volatility is 10.40 %, but the portfolio actually delivers 8.71 % - a diversification benefit of 1.69 percentage points, earned purely by combination. Nothing about either asset changed; the risk reduction is a property of the pair.

Negative correlation is where the magic compounds. Two assets each at 20 % volatility, held 50/50 with correlation -0.2, produce a portfolio of 12.65 % volatility - a 7.35 point benefit, and a variance of 160.0 against the 400 an undiversified holder would face. The third example shows the opposite pole: correlation 0.6 shrinks the benefit to 0.70 points (13.30 % against a 14.00 % average), because assets that mostly move together mostly fall together.

Mix (w1)s1 / s2rhoVarianceVolatilityBenefit
60 %12 % / 8 %0.375.98.71 %1.69 pts
50 %20 % / 20 %-0.2160.012.65 %7.35 pts
80 %15 % / 10 %0.6176.813.30 %0.70 pts

Diversification benefit, defined

The benefit is measured against the weighted average volatility - what the portfolio's risk would be if the assets moved in lockstep. It is the honest yardstick because it isolates the correlation effect from the trivial effect of holding a lower-volatility asset. In the first example, moving from 100 % of the 12 % asset to the 60/40 mix cuts volatility by 3.29 points in total, but only 1.69 of those points are diversification; the rest is just owning some of an 8 % asset.

This distinction matters when comparing strategies. A mix that reaches 8.71 % by holding a dull asset is different from one that reaches it through negative correlation, because the correlation route can keep the higher expected return of the livelier assets. The calculator reports both the volatility and the benefit so the two effects are never confused.

What correlation really does to risk

Correlation is estimated from history and is not a constant of nature: it drifts, and it notoriously rises in crashes, exactly when diversification is wanted most. The 0.6 example is therefore the prudent planning case for equity-like assets, and the -0.2 case is realistic mainly for genuinely different exposures - equities against long bonds in some regimes, or a business against a hedge. Treat any single correlation input as the centre of a range and re-run the calculator at the ends of that range.

Volatility also is not the whole of risk: it says nothing about skewness, liquidity or permanent loss. But for the question this page answers - how much do two return streams damp each other - the variance formula is exact, and its lesson generalises to many assets, where the average covariance, not the average variance, comes to dominate.

Expected return, for completeness, does none of this: the portfolio's expected return is simply the weighted average of the two expected returns, with no covariance term and no benefit. That asymmetry - return averages, risk does not - is the entire economic argument for diversification. Two portfolios can promise the same expected return while one carries 8.71 % volatility and the other 10.40 %, and the first is unambiguously better for any risk-averse holder. The calculator quantifies the risk side of that comparison; pairing it with your own return estimates for the two assets completes the picture Markowitz drew.

From two assets to a portfolio mindset

The two-asset result teaches the habit that matters: judge an addition by what it does to the whole, not by its own volatility. A 20 % volatility asset sounds risky alone, yet the 50/50 example shows it producing a 12.65 % portfolio when paired against an uncorrelated twin - calmer than either asset's reputation. Conversely, adding a second bank stock to a first rarely changes portfolio risk at all, because their correlation sits near the 0.6 example or above, where the benefit shrinks toward 0.70 points.

This is also why risk questionnaires that score assets one by one mislead. The calculator's three inputs are the minimal honest description of a holding: how much, how volatile, and how it moves with what you already own. Extend the idea and you get the efficient frontier; but the frontier's curvature - the free lunch of diversification - is already fully visible in the gap between 10.40 % and 8.71 % in the first example.

Finally, remember that correlation is measured between return series over a chosen window, in chosen intervals - daily, weekly, monthly - and the answers differ. Long-horizon investors should estimate it on long-horizon returns; a pair of assets can look loosely related day to day and tightly related month to month, because the common economic factor asserts itself at the longer interval. The calculator accepts whichever correlation your analysis supports; the worked examples use round values (0.3, -0.2, 0.6) precisely so the arithmetic can be followed and the sensitivity judged by re-running with your own.

Limits: two assets, constant volatilities

Two assets are the teaching case, not the destination. With many assets the formula becomes a full covariance matrix, but the structure is identical: squared-weight variance terms on the diagonal, covariance terms everywhere else. If you understand why the 50/50, -0.2 example lands at 12.65 %, you understand the engine of every portfolio optimiser.

The inputs are also snapshots. Volatilities and correlations estimated over one window will differ over another, and the calculator cannot know which window is right. Use it to compare candidate mixes on a consistent set of assumptions - that comparative use is robust even when the absolute level of volatility is uncertain.

A portfolio's volatility can be below both assets' weighted average but never below zero: the floor at perfect negative correlation and matched weights (s1 w1 = s2 w2) is exactly zero variance.

FAQs

60 % in a 12 % volatility asset and 40 % in an 8 % one, correlation 0.3: portfolio risk?

Variance 75.9, so volatility 8.71 % - below the 10.40 % weighted average.

How much diversification benefit does that mix earn?

1.69 percentage points: 10.40 % weighted average minus 8.71 % portfolio volatility.

Two assets both at 20 % volatility, correlation -0.2, equal weights?

Variance 160.0 and volatility 12.65 %, a 7.35 point benefit.

Why is the benefit only 0.70 points in the 80/20 example?

Correlation is 0.6 there, so the covariance term stays large: variance 176.8 and volatility 13.30 % against a 14.00 % average.

What happens at correlation 1?

The covariance term completes the square and volatility equals the weighted average - 10.40 % in the first example's weights - with zero benefit.

Which input matters more, weights or correlation?

Both: the first example's 1.69 point benefit at correlation 0.3 grows to 7.35 points in the -0.2 example at the same kinds of weights.

Sources

Related calculators

Sharpe Ratio Calculator
How much extra return an investment paid for each unit of volatility — the excess return over the risk-free rate divided by its standard deviation.
Sortino Ratio Calculator
Return per unit of bad risk: like the Sharpe ratio, but it only penalises downside volatility below your target instead of all volatility.
Value at Risk (VaR) Calculator
Parametric (variance-covariance) VaR: the loss a portfolio is not expected to exceed over a chosen horizon at 90%, 95% or 99% confidence, assuming normally distributed returns.