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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Amount, in dollars: enter 0 or more.
- Years: enter 0 or more.
- Annual return of the option you choose, in percent: enter a number.
- Annual return of the best alternative, in percent: enter a number.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Amount | $ | |
| Years | ||
| Annual return of the option you choose | % | |
| Annual return of the best alternative | % | |
| Value with your choice | $ | |
| Value with the alternative | $ | |
| Opportunity cost | $ |
Worked example
| Amount | $10,000 |
|---|---|
| Years | 5 |
| Annual return of the option you choose | 3% |
| Annual return of the best alternative | 7% |
| Value with your choice ($) | $11,592.74 |
|---|---|
| Value with the alternative ($) | $14,025.52 |
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.