BedrockCalculator
Verified Primary-Source MathematicsVerified by Aapt Dubey, MBA (Marketing & Finance) Last verified August 30, 2026

Efficient Frontier Calculator (Two-Asset Portfolio)

Quick Answer: Pairing an asset returning 8.5% with 16% volatility against one returning 4.5% with 6% volatility, at a correlation of 0.15, the minimum-variance portfolio is 8.21% in the first and 91.79% in the second, with a volatility of 5.85% and an expected return of 4.83%. That mix is less volatile than either asset held on its own -- diversification in its strongest form. Among the 21 weights sampled, the highest Sharpe mix is 70% / 30%, returning 7.30% at 11.61% volatility for a Sharpe of 0.284 against a 4% risk-free rate.

Assumptions

Loading
%
%
%
%
ρ
%

Preset scenarios

Minimum-Variance Portfolio Volatility
5.85%

Every period in the schedule below reconciles to the exact penny.

Minimum-Variance Mix
8.21% A / 91.79% B
Return at the Minimum-Variance Mix
4.83%
Volatility of a 50/50 Mix
8.96%
Highest Sharpe Mix (Sampled)
70.00% A / 30.00% B
Volatility at That Mix
11.61%
Return at That Mix
7.30%
Sharpe at That Mix
0.284
Diversification Reading
The minimum-variance mix is less volatile than either asset held alone, which is the diversification result in its strongest form

Risk and Return Across the Frontier

Remaining balanceCumulative principalCumulative interest
21 periods, peak $9

The Frontier, Weight by Weight

Showing 21 rows.

#% in Asset AExpected Return %Volatility %
0$0.00$4.50$6.00
1$5.00$4.70$5.87
2$10.00$4.90$5.86
3$15.00$5.10$5.95
4$20.00$5.30$6.16
5$25.00$5.50$6.45
6$30.00$5.70$6.84
7$35.00$5.90$7.29
8$40.00$6.10$7.80
9$45.00$6.30$8.36
10$50.00$6.50$8.96
11$55.00$6.70$9.58
12$60.00$6.90$10.24
13$65.00$7.10$10.91
14$70.00$7.30$11.61
15$75.00$7.50$12.31
16$80.00$7.70$13.03
17$85.00$7.90$13.76
18$90.00$8.10$14.50
19$95.00$8.30$15.25
20$100.00$8.50$16.00
Quick Answer: Pairing an asset returning 8.5% with 16% volatility against one returning 4.5% with 6% volatility, at a correlation of 0.15, the minimum-variance portfolio is 8.21% in the first and 91.79% in the second, with a volatility of 5.85% and an expected return of 4.83%. That mix is less volatile than either asset held on its own -- diversification in its strongest form. Among the 21 weights sampled, the highest Sharpe mix is 70% / 30%, returning 7.30% at 11.61% volatility for a Sharpe of 0.284 against a 4% risk-free rate.

Overview

Combining two assets does something that combining two of anything else does not: the risk of the combination can be lower than the risk of either component. Returns blend linearly -- a 70/30 mix earns 70% of one return plus 30% of the other, always. Risk does not, and the whole of modern portfolio theory lives in that gap.

The reason is that variance depends on how the two assets move together, not just on how much each moves. When one asset is down and the other is flat or up, the losses partly cancel, and the more independently they move the more cancellation there is. Correlation is the parameter that governs it, and it is the only input on this page that bends the curve. At a correlation of exactly 1 the assets are redundant, the frontier straightens into a line, and no mix beats a weighted average of the two.

This calculator traces the frontier across 21 weightings from 0% to 100% in one asset, and identifies three points on it: the minimum-variance portfolio, the equal-weighted mix for reference, and the highest-Sharpe mix among the weights sampled. It also tells you whether the minimum-variance mix beats both standalone assets on volatility, which is the sharpest statement diversification makes.

Only the arc above the minimum-variance point is efficient. Below it, every portfolio is dominated: there is another mix with the same volatility and a higher expected return. That is why the minimum-variance point matters far beyond being the calmest option.

How This Is Calculated

σp2=wA2σA2+wB2σB2+2wAwBρσAσB\sigma_p^2 = w_A^2 \sigma_A^2 + w_B^2 \sigma_B^2 + 2 w_A w_B \rho \sigma_A \sigma_B
E(Rp)=wARA+(1wA)RBSharpe=E(Rp)RfσpE(R_p) = w_A R_A + (1 - w_A) R_B \qquad \text{Sharpe} = \frac{E(R_p) - R_f}{\sigma_p}
wA=σB2ρσAσBσA2+σB22ρσAσBw_A^* = \frac{\sigma_B^2 - \rho \sigma_A \sigma_B}{\sigma_A^2 + \sigma_B^2 - 2 \rho \sigma_A \sigma_B}

Step 1 -- Convert the percentage volatilities into decimals. Each volatility input is divided by 100 before any variance arithmetic.

Step 2 -- Compute the covariance. Correlation multiplied by both volatilities. This single number carries the whole interaction between the two assets.

Step 3 -- Solve for the minimum-variance weight in closed form. Asset B's variance less the covariance, divided by the sum of both variances less twice the covariance. The result is clamped into the range 0 to 1, so the calculator never reports a short position. When the denominator is exactly zero it falls back to a 50/50 split.

Step 4 -- Compute the volatility at that weight. The two-asset variance formula is applied to the minimum-variance weights, and the square root taken.

Step 5 -- Compute the return at that weight. The weighted average of the two expected returns. Return is always linear in the weight, whatever the correlation is.

Step 6 -- Sweep the frontier. The same two calculations are repeated for 21 weights running from 0% to 100% in the first asset, in 5-point steps.

Step 7 -- Compute a Sharpe ratio at each sampled weight. Expected return less the risk-free rate, divided by that mix's volatility. The risk-free rate enters the calculation here and nowhere else.

Step 8 -- Pick the highest-Sharpe point among those sampled. The calculator scans the 21 sampled weights and reports the best. This is a grid search over the sampled weights, not an analytic solution for the tangency portfolio, so the reported mix will always land on a 5-point increment.

Step 9 -- Compute the equal-weighted volatility. The same variance formula at a 50/50 split, reported for reference.

Step 10 -- Test whether the minimum-variance mix beats both assets. Its volatility is compared against the lower of the two standalone volatilities, and the reading is set accordingly.

Each frontier point also carries an efficiency flag: points below the minimum-variance weight, on the side away from the higher-returning asset, are marked as dominated.

Worked Example

Defaults: asset A returns 8.5% with 16% volatility, asset B returns 4.5% with 6% volatility, correlation 0.15, risk-free rate 4%.

Step 1 -- Compute the covariance. 0.15 × 0.16 × 0.06 = 0.00144

Step 2 -- Compute the minimum-variance numerator. 0.06² − 0.00144 = 0.0036 − 0.00144 = 0.00216

Step 3 -- Compute the denominator. 0.16² + 0.06² − (2 × 0.00144) = 0.0256 + 0.0036 − 0.00288 = 0.02632

Step 4 -- Solve for the minimum-variance weight. 0.00216 ÷ 0.02632 = 0.08207, so 8.21% in asset A and 91.79% in asset B

Step 5 -- Compute the variance at that mix. (0.08207² × 0.0256) + (0.91793² × 0.0036) + (2 × 0.08207 × 0.91793 × 0.00144) = 0.00017243 + 0.00303305 + 0.00021698 = 0.00342246

Step 6 -- Take the square root. √0.00342246 = 0.05850, or 5.85% volatility

Step 7 -- Note that this beats both assets alone. 5.85% is below asset B's own 6.00%, so a small allocation to the riskier asset lowered total risk

Step 8 -- Compute the return at the minimum-variance mix. (0.08207 × 8.5%) + (0.91793 × 4.5%) = 0.70% + 4.13% = 4.83%

Step 9 -- Compute the 50/50 mix for contrast. Variance = (0.25 × 0.0256) + (0.25 × 0.0036) + (2 × 0.25 × 0.00144) = 0.00802, so volatility = 8.96%, well below the 11.00% simple average of 16% and 6%

Step 10 -- Find the best Sharpe among the sampled weights. At 70% A / 30% B: return = 7.30%, volatility = 11.61%, and (7.30% − 4.00%) ÷ 11.61% = 0.284

Step 7 is the result worth pausing on. Adding 8.21% of a 16%-volatility asset to a 6%-volatility asset made the portfolio calmer than the calm asset alone. Nothing about the individual assets changed; only their low correlation made it possible.

What This Does Not Account For

  • Exactly two assets. This is the two-asset case, with one correlation. It does not build a covariance matrix, does not accept three or more assets, and cannot express the correlation structure of a real multi-asset portfolio.
  • No short selling and no leverage. The minimum-variance weight is clamped to the 0-to-100% range, and the frontier sweep runs only over long-only weights. Portfolios that short one asset to buy more of the other are outside the model.
  • The tangency portfolio is sampled, not solved. The highest-Sharpe mix is the best of 21 weights on a 5-point grid. The true tangency portfolio generally lies between grid points, so the reported Sharpe is a floor on the achievable one.
  • No capital market line. The risk-free rate is used only to rank mixes by Sharpe. The calculator does not build combinations of the risk-free asset with the tangency portfolio.
  • Expected returns, volatilities and correlation are inputs with no authority. Nothing on this page is sourced from a data provider. Optimisers are notoriously sensitive to expected return estimates, and a small change in an input you guessed at can move the optimal mix substantially.
  • Correlation is treated as stable. It is not. Correlations between risky assets typically rise sharply in market stress, which removes diversification exactly when it is needed. The calculator will show you that regime if you enter it, but it will not predict it.
  • Volatility as the only risk measure. Standard deviation treats upside and downside symmetrically and says nothing about skew, fat tails or drawdown depth.
  • Single period, no rebalancing, no costs and no taxes. There is no multi-period compounding, no rebalancing drag or benefit, and no transaction cost on reaching the target weights.
  • The square root is taken in floating point, so volatility figures carry ordinary double precision rather than exact decimal arithmetic.

Common Pitfalls

Confusing the minimum-variance portfolio with the best portfolio. It is the calmest, not the best. It sits at the far left of the curve, and every point above it on the arc offers more return for more risk. Which of those you want depends on your risk tolerance, not on the mathematics.

Holding a portfolio below the minimum-variance point. Any mix with less of the higher-returning asset than the minimum-variance weight is dominated: there is another mix with identical volatility and higher expected return. Those points are on the curve but they are never rational to hold.

Assuming correlation is a fixed property. At 0.15 the minimum-variance mix here is calmer than either asset. Push correlation to 0.8 and most of that benefit vanishes. Crisis correlations are typically far higher than long-run averages, which is why backtested diversification often disappoints in the events it was meant to survive.

Treating a correlation of 1 as a special case worth avoiding. It is worth understanding: at a correlation of exactly 1 the frontier collapses into a straight line, the minimum-variance mix becomes 100% of the calmer asset, and no combination beats a weighted average. That is the baseline against which every diversification claim should be read.

Over-trusting an optimiser fed with guessed returns. The weights are extremely sensitive to expected returns. Nudging one return input by a point can move the highest-Sharpe mix by tens of percentage points, which is why practitioners often anchor on the minimum-variance portfolio, since it does not use expected returns at all.

Forgetting that negative correlation goes further. At −0.3 the curve bends further left and the minimum-variance mix is calmer still. Genuinely negatively correlated pairs are rare and their correlations are unstable.

Frequently Asked Questions

What is the efficient frontier?
The set of portfolios offering the highest expected return for each level of risk. In the two-asset case it is the arc running from the minimum-variance point up toward whichever asset has the higher expected return. Everything below that point is dominated and should never be held.
How can a portfolio be less volatile than both of its components?
Because portfolio variance includes a covariance term that can be small or negative. When the assets do not move together, part of one's fluctuation offsets the other's. At a correlation of 0.15 here, an 8.21% slice of the 16%-volatility asset actually pulls total volatility below the 6%-volatility asset's own level.
What is the minimum-variance portfolio and why does it matter?
It is the weighting that minimises portfolio variance, computed in closed form rather than by search. It matters because it is the leftmost point of the frontier and the boundary of efficiency: no rational investor holds a mix on the other side of it.
What does the correlation input actually change?
Only the covariance term, but that term controls the entire curvature. At a correlation of 1 the frontier is a straight line and diversification produces nothing. As correlation falls the curve bows further left, the minimum-variance volatility drops, and the diversification benefit grows. Returns are unaffected at every weight.
Is the tangency portfolio the same as the highest-Sharpe mix reported here?
Not exactly. The true tangency portfolio is the analytic maximum of the Sharpe ratio over all weights; this page reports the best of 21 sampled weights on a 5-point grid. The two are usually close, but the reported figure is a lower bound on the achievable Sharpe rather than the exact optimum.
Why does the risk-free rate appear at all?
Only to compute Sharpe ratios and therefore to rank mixes. It does not affect the shape of the frontier, the minimum-variance mix, or any volatility or return figure on the page.

Sources

This page contains no statutory or published data. All figures come from engine/primitives/portfolio-correlation.ts (twoAssetRisk, twoAssetFrontier) and are covered by golden vectors.

  • Two-asset portfolio variance: $\sigma_p^2 = w_A^2\sigma_A^2 + w_B^2\sigma_B^2 + 2 w_A w_B \rho \sigma_A \sigma_B$.
  • Minimum-variance weight: $w_A^* = (\sigma_B^2 - \text{cov}) / (\sigma_A^2 + \sigma_B^2 - 2\,\text{cov})$, clamped to $[0, 1]$.
  • Portfolio expected return: the weighted average of the component returns, linear in the weight at every correlation.
  • Sharpe ratio: (expected return − risk-free rate) / portfolio volatility.
  • Expected returns, volatilities, correlation and the risk-free rate are all user inputs with no authoritative source. The defaults are illustrative only.

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews

Related calculators in this suite

Complementary financial planning tools