Build your retirement plan for free.Explore Plan Builder →

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 the expected returns for both assets

    Set Expected Return of Asset A and Expected Return of Asset B as annual percentages, such as 7 for 7%.

  2. 2

    Enter weights, portfolio value, and benchmark rate

    Set Weight of Asset A and Weight of Asset B, then enter Total Portfolio Value and Risk-Free Rate. The calculator normalizes the two weights to 100% if their total is positive.

  3. 3

    Review projected return and dollar contribution

    Compare the weighted expected return, projected annual dollar return, each asset's contribution, and excess return over the risk-free rate. The calculator does not estimate volatility.

Example Calculation

An investor compares a $100,000 portfolio with 60% in an asset expected to return 7% and 40% in an asset expected to return 5%, using a 4.5% risk-free benchmark.

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%

Asset A Contribution

4.20%

Asset B Contribution

2.00%

Dominant Asset

Asset A

Tips

A 40% / 60% mix projects a 5.80% return

Change Weight of Asset A to 40% and Weight of Asset B to 60%. The expected return falls to 5.80%, and projected annual dollar return falls to $5,800 on a $100,000 portfolio.

A 4.5% expected return matches the benchmark

Set both asset returns to 4.5% while keeping the risk-free rate at 4.5%. Excess Return Over Risk-Free becomes 0%; the calculator does not account for volatility or fees.

Double the portfolio value to scale projected dollars

Change Total Portfolio Value from $100,000 to $200,000 without changing returns or weights. The projected dollar return doubles, while the expected percentage return stays at 6.20%.

What this calculator estimates

Expected portfolio return is the weighted average of the returns you enter for two assets. This calculator also estimates the annual dollar gain at a fixed portfolio value and compares the expected return with a risk-free rate.

The calculation does not model volatility, correlations, fees, taxes, or changing returns. Its excess return is a simple percentage-point spread, not a risk-adjusted performance measure.

How the calculation works

The calculator first normalizes the two weights, then computes the weighted return and its dollar equivalent:

Normalized weight A = Weight A ÷ (Weight A + Weight B)
Normalized weight B = Weight B ÷ (Weight A + Weight B)
Expected portfolio return = (Normalized weight A × Return A) + (Normalized weight B × Return B)
Projected annual dollar return = Portfolio value × Expected portfolio return
Excess return = Expected portfolio return − Risk-free rate

For the example, the weights already total 100%, so the normalized weights are 60% and 40%. Expected return is (0.60 × 7%) + (0.40 × 5%) = 4.20% + 2.00% = 6.20%. The annual dollar projection is $100,000 × 0.062 = $6,200, and the excess return is 6.20% − 4.50% = 1.70 percentage points.

How the weights affect return and projected dollars

The table keeps the asset returns, $100,000 portfolio value, and 4.5% benchmark unchanged. It changes only the allocation.

Weight A / B Expected return Projected annual dollar return Excess over 4.5%
80% / 20% 6.60% $6,600 2.10 percentage points
60% / 40% 6.20% $6,200 1.70 percentage points
40% / 60% 5.80% $5,800 1.30 percentage points

A larger weight in Asset A raises the modeled return here because its assumed return is higher. It does not prove that Asset A will outperform, or that an 80% allocation suits your risk tolerance. Use the optimal asset allocation calculator to include standard-deviation assumptions for three asset classes, while noting that its risk model has its own limitations.

What the benchmark does—and does not—tell you

The risk-free rate is a comparison input, not a guarantee that the portfolio will earn more than that rate. A portfolio's expected return can exceed the benchmark while its actual return falls below it, and this calculator does not measure that risk. The SEC's introduction to investment risk explains why return assumptions should be considered alongside the possibility of loss.

Before acting on an allocation, check whether the expected returns use the same time horizon and whether they are before or after fees and taxes. For more context on matching investments to goals and risk, FINRA's asset allocation and diversification guide discusses allocation and concentration.

When to use a different calculator

Frequently Asked Questions

How do I calculate expected portfolio return?

1. Convert each allocation weight to a fraction of the total. 2. Multiply each asset's expected return by its normalized weight. 3. Add the weighted returns. If weights total more or less than 100%, this calculator normalizes them before calculating.

What does excess return over the risk-free rate mean?

It is the expected portfolio return minus the risk-free rate you enter. A positive result means the assumed portfolio return exceeds that benchmark, but it does not mean the portfolio will outperform or that it offers better risk-adjusted performance.

Is this calculator's excess return a Sharpe ratio?

No, it reports the percentage-point difference between expected return and the risk-free rate, without dividing by portfolio volatility. A conventional Sharpe ratio requires a measure of return variability, which this calculator does not calculate.

What if both allocation weights are zero?

The calculator uses a 50% / 50% split when the total weight is zero. Enter positive weights to model a deliberate allocation; otherwise, the displayed return and dollar projection use that fallback.

How should I compare an investment with a Treasury benchmark?

Compare returns over the same time period and account for risk, fees, and taxes; a portfolio with a higher expected return can also have a higher chance of loss. Treasury securities are backed by the U.S. government as described by TreasuryDirect, but their yields and terms differ from a diversified portfolio.