Opportunity Cost Calculator

Calculate the investment gains forgone when spending today or compare the net benefits of two alternatives.

Result
—

How to calculate

Compound the purchase amount at the assumed annual return, tax any positive gains at the end, then adjust the ending balance for inflation. Subtract the initial purchase amount to see the real change. In the two-choice comparison, compute each net benefit and subtract the chosen option’s net benefit from the alternative’s.

Worked example

Use Currency USD · Comparison Buy now or invest · Purchase amount 1000 · Effective annual return (%) 10 · Investment years 1 · Tax on capital gains (%) 20 · Annual inflation (%) 0. The result is 80 USD.

Input and result notes

The investing comparison assumes one initial investment and no cash flows during the term. The two-choice form shows both net benefits and the difference between them.

St. Louis Fed opportunity cost examples

SEC Investor.gov compound interest

Related calculators