Skip to content
FiftyCalc Free calculators for all 50 states

Opportunity Cost Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Compare what an amount grows to in the option you chose and in the best alternative you gave up.

Result

Sample figures

Opportunity cost—

Value with your choice ($) —

  • Value with the alternative ($)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Opportunity Cost Calculator

Amount, in dollars: enter 0 or more. Prefilled example: 10,000.

Years: enter 0 or more. Prefilled example: 5.

Annual return of the option you choose, in percent: enter a number. Prefilled example: 3.

Annual return of the best alternative, in percent: enter a number. Prefilled example: 7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Amount, in dollars: enter 0 or more.
  2. Years: enter 0 or more.
  3. Annual return of the option you choose, in percent: enter a number.
  4. Annual return of the best alternative, in percent: enter a number.
  5. Read the result: Opportunity cost; the panel also shows Value with your choice ($) and Value with the alternative ($).

How this calculator works

Opportunity cost = value of the best alternative forgone − value of the option chosen. Each value is the amount compounded once a year: A × (1 + r)^years.

A negative result means your choice beats the alternative. Returns are assumptions you enter; they are not forecasts.

The formula

  1. Fa=A×(1+r1÷100)y
  2. Fb=A×(1+r2÷100)y
  3. Oc=Fb−Fa
Symbols used in the formula
SymbolMeaningUnit
AAmount$
yYears
r1Annual return of the option you choose%
r2Annual return of the best alternative%
FaValue with your choice$
FbValue with the alternative$
OcOpportunity cost$

Worked example

Amount$10,000
Years5
Annual return of the option you choose3%
Annual return of the best alternative7%
Value with your choice ($)$11,592.74
Value with the alternative ($)$14,025.52
  1. Fa=10,000×(1+3÷100)5=11,592.74
  2. Fb=10,000×(1+7÷100)5=14,025.52
  3. Oc=14,025.52−11,592.74=2,432.78

Opportunity cost $2,432.78

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is opportunity cost?

The value of the best option you give up when you choose another one.

What is the opportunity cost of keeping $10,000 at 3% instead of 7% for 5 years?

About $2,432.78: $14,025.52 versus $11,592.74.

Can opportunity cost be something other than money?

Yes, such as time; this calculator measures it in dollars of foregone growth.

Questions answered

Related calculators