Finance and Budgeting

Two Asset Portfolio Calculator

Mix two assets and see the expected return, the portfolio risk and the weights that give the lowest risk.

Your numbers

Asset B gets the rest, so the two weights always add up to 100%.

Example figures, not forecasts. Use your own assumptions.

From -1 (move in opposite directions) to 1 (move together).

Result

Expected return

6.4%

Risk (standard deviation) is 9.99% for a 60% / 40% mix.

Weights (A / B)
60% / 40%
Portfolio risk (std. dev.)
9.99%
Portfolio variance
99.72
Weighted average of the two risks
11.4%
Risk removed by mixing
1.41%
Lowest risk mix (A / B)
4.35% / 95.65% at 5.97% risk

Other mixes with the same inputs

Weights A / BExpected returnRisk
0% / 100%4%6%
10% / 90%4.4%6.02%
20% / 80%4.8%6.38%
30% / 70%5.2%7.02%
40% / 60%5.6%7.87%
50% / 50%6%8.87%
60% / 40%6.4%9.99%
70% / 30%6.8%11.17%
80% / 20%7.2%12.41%
90% / 10%7.6%13.69%
100% / 0%8%15%
How this was calculated
  1. Expected return = wA x rA + wB x rB, where wB = 1 - wA.
  2. Variance = wA^2 x sA^2 + wB^2 x sB^2 + 2 x wA x wB x correlation x sA x sB. Risk is the square root of the variance.
  3. The lowest risk weight of A = (sB^2 - correlation x sA x sB) / (sA^2 + sB^2 - 2 x correlation x sA x sB), limited to 0% through 100% here because short positions are not modeled.
  • Every return, risk and correlation figure is an assumption you enter. Past results do not guarantee future results. Fees, taxes, rebalancing and changes in correlation are not modeled. This is an educational calculation, not investment advice.

Calculated using SumPanda.com · https://sumpanda.com/two-asset-portfolio-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the two asset portfolio calculator

  1. Enter the weight of asset A as a percent. Asset B automatically gets the rest, so the two always add up to 100%.
  2. Enter each asset's expected return and risk (standard deviation), both as percents a year. These are assumptions of yours, so the starting values are examples to replace.
  3. Enter the correlation between the two assets, from -1 (they move in opposite directions) to 1 (they move together).
  4. Read the expected return and risk of your mix, the risk removed by mixing, and the weights that would give the lowest risk. The table below shows the same inputs at 0%, 10% up to 100% in asset A. Use Copy, Print or CSV to keep it.

Formula

Expected return = wA x rA + wB x rB

Variance = wA^2 x sA^2 + wB^2 x sB^2 + 2 x wA x wB x correlation x sA x sB

Risk = square root of the variance

Lowest risk weight of A = (sB^2 - correlation x sA x sB) / (sA^2 + sB^2 - 2 x correlation x sA x sB)

wA and wB are the weights as fractions, with wB = 1 - wA. The lowest risk weight is limited to 0% through 100% because short positions are not modeled.

60% in A and 40% in B

Take asset A with an expected return of 8% and risk of 15%, asset B with 4% and 6%, and a correlation of 0.3. At 60% in A and 40% in B, the expected return is 0.6 x 8 + 0.4 x 4 = 6.4%.

The variance is 0.36 x 225 + 0.16 x 36 + 2 x 0.6 x 0.4 x 0.3 x 15 x 6 = 81 + 5.76 + 12.96 = 99.72, so the risk is the square root, 9.99%. The two risks averaged by weight would be 11.4%, so mixing removes 1.41 points of risk. The lowest risk mix is 4.35% in A and 95.65% in B, at 5.97% risk.

Why mixing two assets can lower risk

Risk adds up less than return does because the assets do not always move together. When one falls the other may hold steady or rise, and the ups and downs partly cancel. The lower the correlation, the larger the effect. At a correlation of 1 there is no benefit, and risk is just the weighted average of the two risks. At -1 the risks can cancel completely, as two equal-risk assets at 50% each do.

This is the idea behind diversification, and it is why the table of mixes often shows risk falling as you move away from 100% in the riskier asset before it rises again. The curve is not a forecast of what will happen, only the arithmetic of the numbers you entered.

What the inputs really mean

Expected return and risk come from your own assumptions, often based on past data. Past data changes with the period you pick, so two careful people can reach different numbers. Correlation also shifts, and it tends to rise when markets are under stress. To explore the risk number on its own, use the standard deviation calculator, and to compare growth of two investments over time use the investment return comparison calculator.

Risk here is the standard deviation of yearly returns. It describes how spread out results tend to be, not the chance of losing money or the worst case, so a low number is not a guarantee.

Assumptions and limits

  • All returns, risks and the correlation are inputs you enter. They are examples at first and are not forecasts or averages of any market.
  • Returns are treated as a single yearly figure and the mix is held at fixed weights. Rebalancing, contributions, fees and taxes are not modeled.
  • Short selling and leverage are not modeled, so the lowest risk weight is limited to between 0% and 100%.
  • The calculation is educational and is not investment advice.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

What does correlation of 0.3 mean?

It means the two assets tend to move in the same direction a little, but only loosely. A value near 0 means no consistent link, 1 means they move in lockstep and -1 means they move in opposite directions.

Why is the portfolio risk lower than the weighted average of the two risks?

Because the two assets do not rise and fall together on every occasion, some of the swings offset each other. The difference between the two numbers is shown as the risk removed by mixing.

Can the lowest risk mix be 100% in one asset?

Yes. If one asset has much lower risk and the correlation is high, mixing in the riskier asset only adds risk, and the lowest risk weight is limited to 0% or 100% in that asset.

Is a higher expected return always better?

Not on its own. A higher expected return usually comes with higher risk, and what suits you depends on your goals and how much variation you can accept. The table lets you compare the pairs side by side.