Opportunity Cost Calculator

Calculate the opportunity cost of any decision. Compare alternatives side by side and quantify the value of the next-best option forgone.

$

Chosen Option

%

Foregone Alternative

%
years
Annual Opportunity Cost
$4,000.00
Foregone option earns more
Cumulative OC (5 yr)
$29,301.36
Compounded difference
Chosen: Total Gain
$46,932.81
Ending value: $146,932.81
Foregone: Total Gain
$76,234.17
Ending value: $176,234.17

⚠ $29,301.36 Opportunity Cost

By choosing the 8.00% option over the 12.00% alternative, you forgo $4,000.00 per year in the first year, growing to $29,301.36 over 5 years with compounding.

Value Growth Comparison

Chosen (8.00%)
$146,932.81
Foregone (12.00%)
$176,234.17

Gap: $29,301.36 after 5 years

Year-by-Year Compounding

YearChosen ValueForegone ValueCumulative OC
0$100,000.00$100,000.00$0.00
1$108,000.00$112,000.00$4,000.00
2$116,640.00$125,440.00$8,800.00
3$125,971.20$140,492.80$14,521.60
4$136,048.90$157,351.94$21,303.04
5$146,932.81$176,234.17$29,301.36

Return Gap Sensitivity

How the opportunity cost changes as the return gap between options varies (chosen rate fixed at 8.00%).

GapForegone RateAnnual OC (Yr 1)5-Year Cumulative OC
-4%4.00%$4,000.00$25,267.52
-2%6.00%$2,000.00$13,110.25
-1%7.00%$1,000.00$6,677.63
+0%8.00%$0.00$0.00
+1%9.00%$1,000.00$6,929.59
+2%10.00%$2,000.00$14,118.19
+4%12.00%$4,000.00$29,301.36
+6%14.00%$6,000.00$45,608.65
+8%16.00%$8,000.00$63,101.36
Planning notes, formulas, and examples

About the Opportunity Cost Calculator

Opportunity cost is the value of the next-best alternative you give up when making a decision. Unlike explicit costs that show up on invoices, opportunity costs are implicit—they represent what you could have earned, saved, or gained by choosing differently. Fully accounting for opportunity costs leads to better capital allocation, smarter time management, and more rational business strategy.

This calculator helps you compare two alternatives side by side: the option you're choosing and the option you're giving up. By quantifying returns, time horizons, and risk levels, you can see exactly what the decision costs you in forgone value. Whether you're weighing an investment, a career move, a business project, or a simple purchase, it makes the hidden cost visible.

Every resource—money, time, labor, factory space—has at least one alternative use. Rational decision-making requires comparing not just the merits of the chosen path, but the merits of the road not taken. This calculator makes that comparison concrete and data-driven.

When This Page Helps

Most decisions involve trade-offs, yet many businesses and individuals ignore opportunity cost because it doesn't appear on financial statements. This oversight can lead to over-investment in suboptimal projects, under-utilization of assets, and persistent misallocation of scarce resources. By putting a number on what you sacrifice, you can make informed, deliberate choices that maximize overall value.

How to Use the Inputs

  1. Enter the expected return or value of Option A (the chosen alternative).
  2. Enter the expected return or value of Option B (the foregone alternative).
  3. Optionally enter the investment amount required for each option.
  4. Optionally enter the time horizon for each option.
  5. Review the opportunity cost—the difference in value between the two options.
  6. Use the scenario table to see how changing returns affects the trade-off.
Formula used
Opportunity Cost = Return on Best Foregone Option − Return on Chosen Option. If investing capital: Opportunity Cost = (Rate of Return B − Rate of Return A) × Investment. A positive opportunity cost means the foregone option was objectively better; a negative value means you chose wisely.

Example Calculation

Result: $4,000/year opportunity cost

You invest $100,000 in Option A earning 8% ($8,000/year). Option B would have earned 12% ($12,000/year). The opportunity cost is $12,000 − $8,000 = $4,000 per year. Over 5 years, the cumulative opportunity cost is $20,000 in simple terms, or more with compounding.

Tips & Best Practices

  • Always identify at least two realistic alternatives before calculating opportunity cost.
  • Include non-monetary factors (risk, flexibility, learning) as qualitative notes alongside the numbers.
  • Opportunity cost of capital is the minimum return a business should demand from any project.
  • Time has opportunity cost too—hours spent on one project can't be spent on another.
  • Revisit opportunity cost calculations periodically as market conditions and alternatives change.
  • Don't confuse sunk costs (already spent, unrecoverable) with opportunity costs (forward-looking alternatives).

Opportunity Cost in Business Strategy

Every strategic decision a business makes—entering a new market, launching a product, hiring a team—carries an opportunity cost. The capital, labor, and management attention devoted to one initiative cannot be deployed elsewhere. Companies that rigorously evaluate opportunity costs tend to allocate resources more efficiently and avoid the trap of continuing mediocre projects simply because they've already started.

Opportunity Cost in Personal Finance

Individuals face opportunity costs daily. Buying a car means those funds can't be invested. Taking a lower-paying job with flexible hours trades income for time freedom. Even paying down a mortgage early has an opportunity cost if you could earn a higher return investing the extra payments.

The Role of Compounding

Over long time horizons, even small differences in returns compound dramatically. A 2% gap in annual return on $100,000 grows to over $30,000 after 10 years with compounding. This is why opportunity cost analysis is especially powerful for long-term investment and capital budgeting decisions.

Limitations of Opportunity Cost Analysis

Quantifying opportunity cost requires estimating future returns, which are inherently uncertain. Risk levels may differ between alternatives, making direct comparison tricky. Qualitative factors—brand value, employee morale, strategic positioning—may outweigh purely financial metrics. Use opportunity cost as one input among many, not the sole decision criterion.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Opportunity cost is the benefit you miss out on when choosing one alternative over another. It's not a cash expense—it's the value of the next-best use of your resources. Economists consider it part of the true, or economic, cost of any decision.