Investing

How to Calculate Opportunity Cost Without Confusing the Return Gap

Learn how to calculate opportunity cost, value the best alternative you give up, and distinguish that value from an investment return difference.

A branching decision path selecting one investment while highlighting the single best forgone alternative

Information checked November 7, 2026. Examples describe hypothetical choices by US investors using US dollars. Rates are assumptions, not current offers or guaranteed outcomes. This is general education.

Learning how to calculate opportunity cost begins with one question: what is the best realistic alternative you must give up? The answer is the value of that alternative, not a bill you necessarily pay and not the combined value of everything you could imagine doing instead.

The Federal Reserve Bank of St. Louis defines the concept as “the value of the next-best alternative when a decision is made.” For investors, a common source of confusion is mixing that value with the difference between two investments’ returns.

Define the choice before using a formula

Start with the resource that cannot serve both purposes at once: perhaps $10,000, a spare room, or five hours. Then identify alternatives you could actually choose with that resource. An investment requiring $100,000 is not a feasible alternative for a $10,000 budget unless realistic financing or partial participation is available.

Use this sequence:

  1. State the chosen action. What will you do with the money or time?
  2. List feasible alternatives. Include keeping the money available if that is genuinely an option.
  3. Identify the best forgone option. Evaluate its value using your goals and constraints, not just the largest advertised percentage.
  4. Measure the benefit you give up. State the period, costs, risk assumptions, and units.
  5. Calculate any outcome gap separately. This tells you how the chosen option compares with the alternative.

The key relationship is opportunity cost = value of the best forgone alternative. For a simple investment-income comparison, you can value that alternative by its estimated net earnings. A separate calculation is return gap = alternative’s net earnings − chosen option’s net earnings.

One example, three different numbers

Suppose a US investor can allocate $10,000 for one year. Assume three hypothetical choices, no fees or taxes, no withdrawals, and that all stated outcomes occur. For this arithmetic exercise only, assume their risk and access conditions are equally acceptable.

Choose A; B is the best forgone alternative, and C is another rejected option. Returns and earnings below cover one year.

Option Return Earnings
A 4% $400
B 6% $600
C 3% $300

Including the original principal, ending balances are $10,400 for A, $10,600 for B, and $10,300 for C.

Here is how to calculate opportunity cost without hiding the distinction:

  • Forgone earnings from B: $10,000 × 6% = $600.
  • Earnings gap between B and A: $600 − $400 = $200.
  • Return-rate gap: 6% − 4% = 2 percentage points.

The $600 is the alternative’s earnings value sacrificed in this defined comparison. The $200 is the incremental earnings shortfall relative to what A earns. The $10,600 ending value includes the original $10,000 principal; it is not all income. State whether you are comparing earnings or total ending wealth, and use the same basis on both sides.

Some finance explanations call the return difference the opportunity cost. Rather than arguing over a label, write down both quantities. “I gave up an estimated $600 earning opportunity to earn $400, a $200 shortfall” is clearer than an unlabeled formula.

Do not add C’s $300 to B’s $600. The same $10,000 cannot earn both full amounts simultaneously. If splitting the money is feasible and useful, compare an explicitly defined portfolio instead.

Match the period and acknowledge risk

Real investments rarely have identical risks. A volatile stock investment with a forecast 6% return is not interchangeable with a low-risk account paying 4%. The stock can lose money, and the cash may be needed before any hoped-for recovery.

Investor.gov’s asset-allocation guidance explains that investment choices depend on time horizon and willingness and ability to bear losses. A higher potential return usually comes with more risk. A raw percentage difference is not a risk adjustment.

Compare the same starting capital and end date. Subtract relevant fees on each side; if using after-tax outcomes, apply the appropriate tax treatment consistently. A one-year estimate and a five-year cumulative gain cannot be subtracted meaningfully without first putting them on a comparable basis. Likewise, an income yield is not total return: our dividend-yield guide shows why price changes matter too.

For uncertain choices, write a weaker-outcome scenario as well as a base case. If B loses 10% instead of gaining 6%, its ending value would be $9,000. Relative to A’s assumed $10,400, that is $1,400 less. This sensitivity check is not a probability estimate; it shows why a forecast earnings gap should not be described as money certain to be lost by choosing A.

Include time, but exclude unrecoverable past spending

The resource need not be cash. If a five-hour task prevents a feasible paid shift worth $25 an hour after relevant costs, the forgone earnings are $125. If the next-best use is rest, its value is personal rather than automatically equal to an hourly wage.

For a business, comparing accounting profit with economic profit applies this idea to resources the owner supplies. A two-product absolute-versus-comparative-advantage example shows the trade-off in output rather than dollars.

Keep this forward-looking. An already-paid, nonrefundable fee that cannot be recovered is a sunk cost, not a reason to keep investing. If an asset can be sold, however, its current sale proceeds are an alternative you sacrifice by keeping it. The University of Victoria economics text distinguishes next-best uses of time from unrecoverable payments.

Conclusion

Knowing how to calculate opportunity cost means naming the best feasible alternative, valuing what you forgo, and labeling any return gap separately. Match time periods and resources, account for risk and access, and use the comparison to clarify a decision—not to manufacture certainty about future returns.

Frequently Asked Questions

Do I add up every investment I did not choose?

No. Identify the best feasible alternative use of the same resources. Adding mutually exclusive alternatives counts benefits you could not have received together. If the realistic alternative is a portfolio, evaluate that feasible portfolio as one alternative.

Is a sunk cost an opportunity cost?

An unrecoverable past payment is a sunk cost and does not change between today's choices. A recoverable resale value does matter because keeping the item means giving up the proceeds you could receive now.

Does money sitting in cash have an opportunity cost?

Yes, if another feasible use offers value you give up. But cash also provides access and flexibility. A risky investment's forecast return is not a guaranteed cost of holding cash, especially for money needed soon.

Can I calculate the cost of my time?

Yes. Value the best realistic alternative use of those hours. If that is paid work, use earnings after relevant costs. If it is rest or family time, a dollar estimate may be subjective; acknowledge that rather than assigning a false wage.

Should I use expected or actual returns?

Use information reasonably available when making a decision, and label forecasts as estimates. Actual returns can support a later comparison, but knowing afterward which investment won does not mean its outcome was certain beforehand.

Disclaimer: This article is for educational purposes only and is not financial advice. Consider your own situation and speak with a qualified professional before making financial decisions. How we write and review content.

Written by

FinTechAi Editorial Team

Research & Editorial

The FinTechAi editorial team researches, writes and fact-checks every guide on investing, crypto, AI, banking and personal finance.