FreeCalculators

Opportunity Cost Calculator

Every purchase has a second price: what the money would have grown to. Put your own number on it.

Planning & Life · Reviewed by FreeCalculators Editorial · Updated 2026-08-21

How it works

Every purchase has two prices: the number on the tag and what that money would have become. Opportunity cost is the second price, and this calculator makes it concrete — enter a purchase price, a time horizon and a return rate, and it compounds the amount into the future you gave up. A $25,000 car paid in cash does not cost $25,000; over twenty years at 8% it costs about $116,500 of foregone portfolio. That does not make the car a mistake. It makes $116,500 the honest benchmark the car has to beat in value delivered — utility, safety, pleasure, time saved — and many purchases clear that bar easily. The tool is built for the ones that do not: the upgrade bought because the payment fit, the gadget cycle, the boat. Two disciplines make the number useful rather than paralysing. Compare like with like: the alternative to a purchase is rarely investing the full price, so run the difference between the expensive option and the adequate one — the new car against the three-year-old one, not against walking. And respect the horizon: opportunity cost at twenty years funds retirement, but money needed in two years should never be invested at stock-market risk in the first place. Used that way, the calculator does not talk you out of spending — it prices the trade so the decision is deliberate.

Formula


                True cost = purchase price x (1 + return)^years
              

Tips

  • Use 7% for the answer in today's purchasing power, 10% for the nominal market average.
  • Compare the expensive option against the adequate one, not against investing the whole price.
  • Money needed within a few years does not belong at market risk — use a savings rate for short horizons.
  • Run large and recurring spends only; on small ones the tool produces guilt, not information.
  • The goal is deliberate spending, not zero spending — many purchases beat their future price easily.

Frequently asked questions

What is opportunity cost?
The value of the best alternative you give up when you choose. For spending, the alternative is investing: a $25,000 purchase does not cost $25,000 — it costs what $25,000 would have become, roughly $116,500 over twenty years at 8%. That second price is the one the tag never shows.
How do I calculate the opportunity cost of a purchase?
Compound the price forward: amount times (1 + return) to the power of years. The calculator does this for you. Use 7% for an inflation-adjusted answer in today's purchasing power, or 10% for the nominal historical stock-market average.
Does opportunity cost mean I should never spend?
No — it means the real price is the benchmark the purchase has to beat in value delivered, and many purchases clear it easily. The tool exists for the ones that do not: the upgrade bought because the payment fit, the third streaming bundle, the boat. Deliberate spending is the goal, not zero spending.
What return rate should I assume?
About 7% for a diversified portfolio after inflation, 10% nominal. For money you would realistically have left in a savings account, use that account's rate instead — the honest opportunity cost is the alternative you would actually have chosen.
Should I run opportunity cost on small purchases?
No — the framing pays on large and recurring spends, and on small ones it produces guilt rather than information. Run it on cars, renovations, gadgets and habits. The twenty-year cost of a coffee is trivia; the twenty-year cost of the new-car cycle is a retirement.