Optimal Portfolio Calculator

Enter your asset returns, portfolio weights, total value, and risk-free rate to calculate your portfolio's expected return, projected annual gains, and how your allocation compares to the risk-free benchmark.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter Expected Return of Asset A

    Input the anticipated annual return (in %) for your first asset, for example, 7%.

  2. 2

    Enter Expected Return of Asset B

    Input the anticipated annual return (in %) for your second asset, for example, 5%.

  3. 3

    Specify Weight of Asset A

    Enter the percentage of your total portfolio allocated to Asset A, for example, 60%. Weights are automatically normalized.

  4. 4

    Specify Weight of Asset B

    Enter the percentage of your total portfolio allocated to Asset B, for example, 40%. Weights are automatically normalized.

  5. 5

    Input Total Portfolio Value

    Provide your total investment portfolio value in dollars, such as $100,000.

  6. 6

    Enter Risk-Free Rate

    Input the current return on a risk-free investment (e.g., Treasury bill) as a benchmark, such as 4.5%.

  7. 7

    Review Your Portfolio Performance

    The calculator displays your Expected Portfolio Return, Projected Annual Dollar Return, and Excess Return Over Risk-Free. The insights panel shows asset contributions, dollar allocations, and a risk-free comparison.

Example Calculation

An investor with a $100,000 portfolio allocates 60% to Asset A (7% return) and 40% to Asset B (5% return), with a risk-free rate of 4.5%.

Expected Return of Asset A (%)

7

Expected Return of Asset B (%)

5

Weight of Asset A (%)

60

Weight of Asset B (%)

40

Total Portfolio Value ($)

$100,000

Risk-Free Rate (%)

4.5

Results

Expected Portfolio Return

6.20%

Projected Annual Dollar Return

$6,200

Excess Return Over Risk-Free

1.70%

Tips

Diversify Beyond Two Assets

While this calculator focuses on two assets, real-world portfolios should include multiple asset classes. For three-asset analysis, use our Optimal Asset Allocation Calculator which supports bonds, equities, and alternatives.

Compare Against Risk-Free Benchmark

With a 4.5% risk-free rate, your portfolio needs at least that return to justify the risk. The default 60/40 split earns 1.70% excess — if this premium seems too small, consider increasing the weight of the higher-returning asset.

Factor in Taxes and Fees

Expected returns are gross of taxes and fees. Subtract advisory fees (0.5-1.0%) and estimated taxes to see true net returns. A 6.20% gross return may become 5.0% net after a 0.7% fee and tax drag.

Use History to Test Allocations

Click the clock icon to recall previous calculations. Compare 60/40 vs 70/30 vs 50/50 splits to find the allocation that best balances return and risk comfort.

Strategic Asset Allocation for Investment Growth

The Optimal Portfolio Calculator helps investors analyze the expected return and dollar gains of a two-asset portfolio, comparing performance against a risk-free rate.

With a 60/40 allocation between a 7% and 5% returning asset, the calculator shows a 6.20% expected return — generating $6,200/yr on a $100,000 portfolio with a 1.70% risk premium above the 4.5% risk-free benchmark.

This analysis is essential for making informed allocation decisions in 2026.

Why a Thoughtful Portfolio Mix Drives Success

Asset allocation is the cornerstone of successful long-term investing.

By strategically dividing capital between different asset categories, investors establish the fundamental risk-return profile of their portfolio.

Research consistently shows that asset allocation accounts for approximately 90% of long-term portfolio performance, making it far more important than individual security selection.

The Mathematics of Portfolio Expected Return

The calculation uses a weighted average of individual asset returns:

Step 1: Normalize weights:

Normalized Weight (A) = Weight of Asset A / (Weight of Asset A + Weight of Asset B)

Step 2: Calculate expected return:

Expected Portfolio Return = (Normalized Weight A x Return A) + (Normalized Weight B x Return B)

Step 3: Calculate projected dollar return:

Projected Annual Dollar Return = Total Portfolio Value x Expected Portfolio Return / 100

Step 4: Calculate excess return:

Excess Return = Expected Portfolio Return - Risk-Free Rate
💡 For a deeper dive into how your assets are distributed across various categories, our Investment Portfolio Allocation Calculator can provide a detailed breakdown.

Worked Example: A Two-Asset Portfolio

An investor evaluates a $100,000 portfolio:

  1. Asset A: 7% expected return, 60% weight
  2. Asset B: 5% expected return, 40% weight
  3. Risk-Free Rate: 4.5%

Step 1: Normalize weights.60 + 40 = 100.

Normalized: 0.6 and 0.4.

Step 2: Calculate expected portfolio return.(0.6 x 7) + (0.4 x 5) = 4.2 + 2.0 = 6.20%

Step 3: Calculate projected annual dollar return.$100,000 x 0.062 = $6,200

Step 4: Calculate excess return over risk-free.6.20% - 4.5% = 1.70%

The portfolio yields 6.20% annually ($6,200 on $100,000) with a 1.70% risk premium above Treasury bills.

Asset A contributes 4.20% (60% x 7%) while Asset B contributes 2.00% (40% x 5%).

💡 To align your investment strategy with your long-term objectives, our Investment Horizon Calculator helps define appropriate timeframes for your goals.

When to Adjust Your Portfolio Allocation

Several factors should prompt rebalancing in 2026:

  • Rising risk-free rates: With Treasury yields around 4-5%, the bar for portfolio returns is higher. A 6.20% portfolio return with a 4.5% risk-free rate provides only 1.70% excess — consider whether this premium justifies the risk.
  • Market drift: If Asset A outperforms, its weight may drift from 60% to 70%, concentrating risk. Annual rebalancing keeps your allocation aligned with targets.
  • Changing goals: As retirement approaches, shifting from a growth-heavy to a conservative allocation (e.g., 40/60 instead of 60/40) preserves capital.

Limitations of a Two-Asset Model

This calculator provides a valuable overview but has limitations.

Most diversified portfolios include more than two asset classes (international equities, real estate, commodities).

It also does not account for asset correlation — when both assets move in the same direction, actual risk is higher than implied.

For complex portfolios, use our Optimal Asset Allocation Calculator which supports three asset classes with risk analysis, or consult a financial advisor for full correlation-based optimization.

Frequently Asked Questions

What is an optimal portfolio in investment?

An optimal portfolio maximizes expected returns for a given risk level or minimizes risk for a target return. This calculator shows a 60/40 split with 7% and 5% returns generates a 6.20% portfolio return — a 1.70% excess over the 4.5% risk-free rate, producing $6,200/yr on a $100,000 portfolio.

How does the risk-free rate affect portfolio evaluation?

The risk-free rate (typically Treasury bills, around 4.5% in 2026) is the benchmark for evaluating risk-taking. A portfolio returning 6.20% earns only 1.70% excess — meaning the investor earns $1,700/yr more than risk-free on a $100,000 portfolio. If this premium seems insufficient for the risk, consider adjusting the allocation.

Why is asset allocation more important than stock picking?

Asset allocation accounts for approximately 90% of a portfolio's long-term returns and risk. The decision to put 60% in equities vs 40% has far more impact than which individual stocks you pick within each class. This calculator helps optimize that high-level allocation decision.

What is 'excess return over risk-free' and why does it matter?

Excess return (also called risk premium) measures the additional return earned above the risk-free rate. With defaults, 6.20% - 4.5% = 1.70% excess. On $100,000, that's $1,700/yr extra for taking market risk. If this premium is negative, risk-free assets outperform your portfolio — a signal to reassess.