Opportunity Cost

Opportunity cost is what you give up by choosing one option over the next best one. Money tied up in a losing or idle position, for example, cannot be used for a better trade.

Every decision about money is also a decision about what not to do with it. Opportunity cost puts a value on that road not taken. It never shows up on a brokerage statement, yet it shapes every choice between holding cash, keeping a stuck position or moving capital to a better idea. This entry explains the idea, how to estimate it and how traders use it.

Category
Trading Basics
Reading time
5 min
Also called
Cost of the forgone alternative, Alternative cost
Updated

Opportunity cost in plain words

Opportunity cost is the value of the next-best alternative you give up when you make a choice.1 If only one option exists, the alternative is doing nothing, and the opportunity cost is zero.2

Because money spent or committed once cannot be used again, every purchase or position has an opportunity cost, even if no cash leaves your account.1

A simple way to estimate it: opportunity cost ≈ return of the best alternative − return of the option you chose.

How to weigh opportunity cost, step by step

  1. Name your choice

    For example: keep $10,000 in an open position.

  2. List the alternatives

    Cash, a money market fund, another trade, paying down debt.

  3. Pick the next best one

    Only the best alternative counts, not all of them added up.

  4. Estimate both returns

    Use the same time period and similar risk where possible.

  5. Compare

    Opportunity cost ≈ best alternative’s return − chosen option’s return.

  6. Ignore sunk costs

    Money already lost cannot be recovered by any choice. See Sunk Cost Fallacy.

Worked examples

Example 1 — Idle cash

Forgone income

A trader leaves $10,000 in a cash balance paying nothing for a year, while a hypothetical money market fund pays 4%.

Example 1 — Idle cash — calculation
Return on idle cash0% × $10,000 = $0
Return in the fund4% × $10,000 = $400
Opportunity cost$400 − $0 = $400

Cash feels safe, but leaving it idle has a real cost. See Money Market Fund.

Example 2 — A stuck position

Missed gain

$5,000 sits in a stock that ends the year flat. A hypothetical alternative setup the trader passed on returned 8%.

Example 2 — A stuck position — calculation
Stuck position0% × $5,000 = $0
Alternative setup8% × $5,000 = $400
Opportunity cost$400 − $0 = $400

A position that only breaks even can still cost money compared with the next-best use of the capital.

Example 3 — Accounting vs. economic gain

Small edge

A strategy earns $3,000 in a year on $50,000. A hypothetical Treasury bill yield of 4% was the safe alternative.

Example 3 — Accounting vs. economic gain — calculation
Accounting gain$3,000
Safe alternative4% × $50,000 = $2,000
Economic gain$3,000 − $2,000 = $1,000

Subtracting the forgone alternative turns accounting profit into economic profit.2 The strategy beat the safe option by only $1,000 while taking more risk. See Risk-Free Rate.

Opportunity cost vs. other costs

AspectWhat it isUse it in decisions?
Opportunity costValue of the best option given upYes
Explicit costCash actually paid, e.g. feesYes
Sunk costMoney already spent or lostNo

Why opportunity cost matters

  • Cutting dead positions

    Capital in a going-nowhere trade could be working elsewhere.

  • Judging a strategy

    Compare results with a simple, low-risk alternative before calling them good.

  • Holding cash

    Weigh safety and flexibility against the income cash could earn.

  • Spending vs. investing

    Money spent today cannot grow. See Compound Interest.

Advantages and disadvantages

Advantages

  • Forces you to compare against real alternatives.
  • Reveals the hidden cost of idle or stuck capital.
  • Helps you ignore sunk costs.
  • Works for money, time and attention alike.

Disadvantages

  • The alternative’s return is usually an estimate.
  • Alternatives often carry different risk.
  • Easy to inflate with hindsight. See Hindsight Bias.
  • Does not appear on any statement, so it is easy to forget.

Going deeper

Read as far as you need. Each level builds on the one before it.

Every choice gives something up

Beginner

Because resources are scarce, choosing one thing always means giving up another; saving trades spending now for more money later.1

Small habits add up

Intermediate

The St. Louis Fed shows that small, regular spending can carry a larger opportunity cost over time than a single large purchase, once the forgone savings are allowed to earn interest.3 For traders, the same logic applies to recurring fees and capital left idle.

Opportunity cost and discount rates

Advanced

In valuation, opportunity cost enters through the discount rate in a net present value calculation, and when projects exclude each other the one with the highest NPV wins.2 See Net Present Value (NPV).

Common mistakes

  1. Adding up every alternative

    Only the single best alternative counts.

  2. Comparing unequal risk

    A risky trade’s return is not the opportunity cost of a safe bond.

  3. Using hindsight

    Judge alternatives by what you could reasonably expect at the time.

  4. Confusing it with sunk cost

    Past losses are sunk and should not drive the next choice.2

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1You keep $20,000 in cash at 0% when a 5% safe option is available. What is the one-year opportunity cost?
Q2Which cost should be ignored when deciding whether to keep a position?

Key points to remember

  1. Opportunity cost is the value of the next-best option you give up.
  2. It is never on your statement, but it is real.
  3. Compare alternatives over the same period and at similar risk.
  4. Idle cash and stuck positions both carry opportunity cost.
  5. Sunk costs are different and should be ignored.

Frequently asked questions

Is opportunity cost a real cost if no money is paid?

Yes in economic terms. It is income or gain you could have had but chose not to take.

Can opportunity cost be negative?

The cost itself is the value of what you gave up, so it is not negative. If your choice beat the best alternative, the comparison simply shows you came out ahead.

Does opportunity cost apply to time?

Yes. Hours spent watching one market are hours not spent on research, rest or another opportunity.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Federal Reserve Bank of St. Louis (Page One Economics). Money and Missed Opportunities (opens in a new tab) Checked .
  2. Corporate Finance Institute. Opportunity Cost - Overview, Formula, Use (opens in a new tab) Checked .
  3. Federal Reserve Bank of St. Louis. Real-Life Examples of Opportunity Cost (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.