What Is Opportunity Cost? The Hidden Cost of Every Trade
Opportunity cost is what you give up when choosing one investment over another. Learn how it shapes investing decisions and why quality investors track it.
Opportunity cost is the return you forgo by choosing one investment over the best available alternative. Every dollar invested in Stock A is a dollar that can't be invested in Stock B. If Stock B would have returned 15% while Stock A returns 8%, your opportunity cost is 7%. You didn't lose money in absolute terms — but you lost money relative to what you could have earned.
This concept sounds academic, but it has profound practical implications for how you build and manage a portfolio. Opportunity cost is the invisible force that should drive every buy, hold, and sell decision you make.
How Opportunity Cost Applies to Investing
Buying Decisions
Every stock you buy means money not invested in something else. Before adding a new position, ask: is this genuinely the best use of this capital? If you have cash and two stocks on your watchlist — one offering a 20% expected return and one offering 12% — buying the 12% stock when the 20% option is available costs you 8% annually. The 12% stock isn't a bad investment in isolation; it's a bad choice relative to the alternative.
Holding Decisions
Opportunity cost also applies to existing holdings. If you own a stock with 5% expected forward return and you've identified a quality business with 15% expected return, holding the 5% stock has a 10% annual opportunity cost. This is the rational basis for selling a fully valued position to buy a more attractively valued one — even if the current position isn't "doing badly."
However, opportunity cost must be weighed against real costs: selling triggers capital gains taxes and transaction costs, and the new investment might not perform as expected. Opportunity cost provides the motive for switching; the practical frictions determine whether switching is actually worthwhile.
Cash Drag
Cash in your brokerage account earns minimal returns — far below what stocks or bonds would provide. Every dollar sitting in cash has an opportunity cost equal to the return you'd earn if it were invested. Over long periods, this "cash drag" compounds significantly. $100,000 sitting in cash for five years at 0% when it could have been invested at 10% costs you roughly $61,000 in forgone gains.
This doesn't mean cash is always wrong — holding cash for deployment during market downturns has its own expected return. But holding excessive cash indefinitely out of fear or indecision has a real and compounding cost.
Opportunity Cost and Quality Investing
We think about opportunity cost constantly, even if they don't use the term. Buffett's concept of a "hurdle rate" is opportunity cost in disguise: every new investment must offer returns above what the capital could earn elsewhere. If Berkshire can earn 12% in Treasury bonds, a stock must offer meaningfully more than 12% to justify the additional risk.
The quality investor's portfolio should contain only their highest-conviction, highest-expected-return ideas. Every position that's merely "okay" is occupying capital that could be deployed in something excellent. This is why concentration works: by eliminating mediocre positions (high opportunity cost) and concentrating in the best ideas (lowest opportunity cost), you maximize the portfolio's expected return.
Opportunity cost also explains why quality investors are patient. Buying a mediocre stock today because "cash is earning nothing" ignores the opportunity cost of not having that capital available when a wide-moat stock goes on sale during the next correction. Sometimes the best use of your capital is waiting for a better use.
Related Posts
See these ideas in action
MoatScope uses the same frameworks you just read about — moat analysis, quality scores, and fair value estimates — across 2,600+ stocks.
Open MoatScope — Free