Efficient Frontier Calculator
This two-asset efficient frontier calculator finds the minimum-variance blend of two assets and compares its risk and return with a 50/50 split.

What it does
The Efficient Frontier Calculator applies two-asset mean-variance analysis to show how mixing two investments changes a portfolio's expected return and its volatility. It finds the blend that carries the least risk and compares it with a simple 50/50 split.
Data sources & parameters
This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.
We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.
The formula
w = (s2^2 - p*s1*s2) / (s1^2 + s2^2 - 2*p*s1*s2); minvar_vol = sqrt(w^2*s1^2 + (1-w)^2*s2^2 + 2*w*(1-w)*s1*s2*p)
How it works
Enter the expected return and volatility of each asset plus the correlation between them. The tool computes the minimum-variance weighting in closed form, then reports that portfolio's return and volatility alongside the equal-weight portfolio so you can see the diversification benefit.
Where it is used
- Finding the least-risky blend of a growth and a defensive asset
- Seeing how correlation drives the diversification benefit
- Comparing a minimum-variance mix against a naive 50/50 split
Worked example
An asset returning 8% with 15% volatility is blended with one returning 4% at 10% volatility, correlation 0.3. The minimum-variance portfolio holds … in the first asset, returning … at … volatility — below the … of an equal-weight split.
What the efficient frontier calculator does
The efficient frontier calculator applies a central idea of modern portfolio theory to two assets. You describe each asset by its expected return and volatility, add the correlation between them, and the tool works out how to blend them. Its main answer is the minimum-variance portfolio, the mix that carries the least risk of any combination of the two. Alongside it, the tool shows a 50/50 split so you can see how much the weighting improves on a naive one.
The calculator looks at how the assets behave together, which turns diversification into something you can measure.
The idea behind the efficient frontier
Every portfolio can be plotted on a chart with risk on one axis and expected return on the other. Combining two assets in different proportions traces out a curve of possible portfolios. The upper edge of that curve is the efficient frontier: for any level of risk, it marks the highest return available from those two assets.
Points below the frontier are inefficient, because another mix offers more return for the same risk, or the same return for less risk. An investor's job is to pick the point on the frontier that matches their appetite for risk.
The lowest-risk point on the curve is the minimum-variance portfolio, the safest blend available and the anchor for the whole analysis.
How the maths works
For two assets the frontier has an exact solution, so no simulation is needed. Let the assets have volatilities s1 and s2 and a correlation p. The weight w placed in the first asset that minimises portfolio variance is:
w = (s2² − p·s1·s2) / (s1² + s2² − 2·p·s1·s2)
The remaining 1 − w goes into the second asset. The portfolio's expected return is the weighted average of the two returns, and its volatility comes from the two-asset variance formula:
minvar_vol = √(w²·s1² + (1 − w)²·s2² + 2·w·(1 − w)·s1·s2·p)
The calculator evaluates these expressions directly and computes the 50/50 portfolio with the same volatility formula at w = 0.5.
The role of correlation
Correlation ranges from −1 to +1 and describes how the two assets tend to move relative to each other. At +1 they move in lockstep, and blending them reduces risk no further than a straight average. As correlation falls, their movements increasingly offset one another, and the blended volatility drops below that average.
At low or negative correlation, a portfolio of both assets can be less volatile than either asset held alone. This is the "free lunch" diversification is often said to offer. Hold the returns and volatilities fixed, lower the correlation, and watch the minimum-variance volatility fall.
How to use the calculator
- Enter the expected return and volatility of your first asset.
- Enter the expected return and volatility of your second asset.
- Enter the correlation between them, somewhere between −1 and 1.
- Read off the minimum-variance return, its volatility, and the weight held in each asset.
- Compare those figures with the equal-weight portfolio shown alongside.
If the minimum-variance volatility sits well below the equal-weight volatility, the two assets diversify each other effectively. If the gap is small, they are too similar, often because of high correlation, and mixing them buys little protection.
Reading the results
The minimum-variance portfolio is the least risky blend, but it is not automatically the best one for you. Because it minimises risk, it can lean heavily toward the lower-return asset. An investor with a long horizon and tolerance for swings might choose a point further along the frontier, accepting more volatility for more expected return. The tool reports return as well as volatility for both portfolios so you can weigh that trade-off.
Limits
Expected returns are notoriously hard to forecast, and small changes in your assumed returns can move the frontier substantially. Volatility and correlation are more stable but still shift over time, and they tend to change most in the market conditions when diversification matters most.
The model also covers only two assets. Real portfolios hold many, and adding assets can push the frontier further out, offering better return for the same risk. Use the calculator to build intuition about how return, volatility and correlation interact, and as a first pass before multi-asset analysis.
Running scenarios
Pair a volatile growth asset with a steadier one and see how much the blend reduces the swings. Lower the correlation and watch the benefit grow; raise it toward one and watch it vanish. Risk is a property of the whole portfolio, not of its parts.
This article is for general information only and does not constitute financial advice.
About This Efficient Frontier Calculator
Use this efficient frontier calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.
