Build your retirement plan for free.Explore Plan Builder →

Opportunity Cost of Capital Calculator

Enter your capital amount, project return rate, alternative return rate, and time horizon to calculate the opportunity cost of choosing one investment over another.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter the capital and time horizon

    Set Capital Amount ($) to the amount you could allocate and Time Horizon (years) to how long you expect to invest it.

  2. 2

    Enter both expected annual returns

    Set Project Return Rate (%) for your current project and Alternative Return Rate (%) for the next-best use of the same capital. The calculator compounds both rates annually.

  3. 3

    Compare the results

    Review each final value and the opportunity cost. A positive cost means the alternative grows to a higher value; a negative cost means the current project does.

Example Calculation

A business compares investing $100,000 in a project expected to return 7% a year with an alternative expected to return 10% over 10 years.

Capital Amount ($)

100,000

Time Horizon (years)

10

Project Return Rate (%)

7

Alternative Return Rate (%)

10

Results

Opportunity Cost of Capital

$62,659.11

Opportunity Cost %

62.7%

Project Final Value

$196,715.14

Alternative Final Value

$259,374.25

Better Allocation

10% return

Annual Spread

$3,000.00

Insights card shows the difference between the two allocation outcomes.

Tips

A 3-percentage-point return gap compounds to $62,659.11 over 10 years

Change Alternative Return Rate (%) from 10 to 8 while keeping the other inputs fixed. The alternative value falls to $215,892.50, narrowing the gap with the 7% project.

A shorter horizon reduces the effect of compounding

Change Time Horizon (years) from 10 to 5. At 7% and 10%, the final values become $140,255.17 and $161,051.00, respectively.

The Annual Spread is not the same as the final opportunity cost

Change Capital Amount ($) to $200,000 to see both the annual rate spread and the compounded difference scale with capital. The Annual Spread uses the starting amount; the final-value comparison includes compounding.

What this calculator estimates

Opportunity cost of capital is the projected value you forgo by allocating money to one use instead of the next-best alternative. This calculator compounds both return rates annually and compares their ending values; it does not estimate the probability of either return or adjust for taxes, fees, inflation, or risk.

How the calculation works

Project final value = Capital × (1 + project rate)^years
Alternative final value = Capital × (1 + alternative rate)^years
Opportunity cost = Alternative final value − Project final value
Opportunity cost % = Opportunity cost / Capital × 100

Rates are entered as percentages and converted to decimals in the calculation. For the example, the project value is $100,000 × 1.07^10 = $196,715.14. The alternative value is $100,000 × 1.10^10 = $259,374.25. Subtracting gives $259,374.25 − $196,715.14 = $62,659.11.

The calculator's Annual Spread is a separate measure: $100,000 × (10% − 7%) = $3,000. It is the simple return difference on the starting capital for one year, not the total opportunity cost over 10 years.

How the return gap changes the result

The following comparison keeps capital at $100,000, the project return at 7%, and the horizon at 10 years. It changes only the alternative return.

Alternative return Project final value Alternative final value Difference
8% $196,715.14 $215,892.50 $19,177.36
10% $196,715.14 $259,374.25 $62,659.11
12% $196,715.14 $310,584.82 $113,869.68

A small annual rate difference can produce a large ending-value gap over a long horizon because each year's returns also earn returns in later years. The SEC's compound interest calculator can help illustrate this effect.

Treat projected rates as assumptions, not guarantees. Before choosing, compare fees, liquidity, time horizon, and the possibility of losing principal. The FINRA guide to asset allocation and diversification explains how spreading investments across asset types can help manage risk.

When to use a different calculator

Frequently Asked Questions

What is the opportunity cost of capital?

The opportunity cost of capital is the return you give up by choosing one investment instead of the next-best alternative. Compare options with similar risk and time horizons; a higher projected return alone does not make an investment a better choice.

How do I calculate the opportunity cost of capital?

1. Compound the capital at the project rate: capital × (1 + project rate)^years. 2. Compound it at the alternative rate using the same formula. 3. Subtract the project value from the alternative value. A positive difference means the alternative has the higher projected ending value.

Does this calculator account for investment risk?

No, it treats both return rates as fixed annual assumptions and does not adjust for risk, fees, taxes, or inflation. Compare the uncertainty and liquidity of each option as well as its projected return; the SEC's guide to risk and return explains why investments with higher potential returns can carry higher risks.

Why can the project be the better allocation even when its opportunity cost is positive?

Under this calculator's definition, a positive opportunity cost means the alternative's projected final value is higher. That comparison does not establish which option is preferable after accounting for risk, strategic benefits, or other constraints.

What does Annual Spread mean?

Annual Spread is the absolute difference between the two annual rates multiplied by the starting capital. It is a one-year comparison, not the total compounded difference over the full time horizon.