Opportunity Cost Calculator
See what any purchase, recurring expense, or investment alternative would have grown to if invested instead. Compare today's spending against the future value if put in stocks, bonds, or savings — turn dollars into decision data.
| Year | Amount Spent | If Invested (FV) |
|---|
What Is Opportunity Cost?
Opportunity cost is the value of the next-best alternative you give up when making any spending or investment decision. Per SEC investor education, every dollar spent today represents a dollar that could have been invested for future growth. The compounding power over 20-40 years means small recurring expenses ($5/day coffee, $200/month subscription, $500 annual vacation upgrade) can represent six-figure opportunity costs over a working lifetime — assuming the money would otherwise be invested at average market returns. The calculator quantifies this trade-off so you can see, in real dollars, what each spending decision is "costing" your future self in lost compound growth.
The Real Cost of Recurring Expenses
The 7% real return assumption (S&P 500 long-term real return) means money doubles every ~10 years (Rule of 72). Over 30 years, $1 grows to roughly $7.61. That mathematical reality makes recurring expenses far more expensive than they appear: $5/day spent on coffee = $1,825/year × 30 years = $54,750 spent, but invested at 7% real, that same daily contribution would grow to $184,000 in today's purchasing power — a $130K opportunity cost per person over a working career. $200/month gym membership = $2,400/year × 30 years = $72,000 spent, opportunity cost $245,000 at 7%. $500/year cable upgrade = $15,000 spent over 30 years, opportunity cost $50,000. The framing isn't to argue you shouldn't have coffee or gym membership — it's to make the trade-off visible. Source: Federal Reserve historical S&P 500 real return data.
Common Opportunity Cost Mistakes
(1) Comparing to checking account return (~0%): opportunity cost only applies if you would actually have invested the money. For someone who would otherwise let cash sit, the opportunity cost is closer to inflation loss than 7% growth. (2) Ignoring tax drag: 7% real returns assume tax-advantaged accounts. In a taxable brokerage, after-tax real return is closer to 5-6% for most investors, lowering opportunity costs by 30-40%. (3) Forgetting non-monetary value: opportunity cost analysis ignores the utility of consumption today (memories from a vacation, health from a gym, social connections from dining out). The frame is "what would my future self have if I delayed this?" — not "I should never spend on enjoyment." (4) Comparing to lottery returns: 12-15% returns assume aggressive single-stock picks or leveraged strategies that most retail investors fail to achieve. Use 7% real or 10% nominal as the benchmark, not optimistic projections.
When Opportunity Cost Doesn't Apply
Opportunity cost applies when the spending money would otherwise be invested. It does NOT apply meaningfully when: (1) the money is already in cash you would have spent on something else, (2) the decision is between two consumption alternatives (vacation A vs vacation B), (3) the spending is an investment in human capital that itself produces returns (skill training, networking, coaching), or (4) the spending creates compounding non-monetary value (relationships, health, mental capital). The calculator is most useful for evaluating recurring expenses you can change — subscriptions, dining patterns, transportation choices, housing decisions — and for testing large one-time decisions against the same dollars compounded. Last updated May 2026.
Frequently Asked Questions
What is opportunity cost in finance?
Opportunity cost is the value of the next-best alternative you give up when making a spending or investment decision. For finance, it usually means the future value the dollars would have grown to if invested at typical market returns (~7% real long-term S&P 500) instead of being spent.
What return rate should I use?
Use 7% real return (S&P 500 long-term real average) for tax-advantaged retirement accounts, or 5-6% real for taxable brokerage after tax drag. Use 4-5% for high-yield savings or short-term Treasuries. Avoid using 12-15%+ — those assume aggressive returns most investors don't achieve net of taxes and fees.
What's the opportunity cost of a daily coffee?
$5/day × 365 = $1,825/year. Invested at 7% real return for 30 years, $1,825/year grows to about $184,000 in today's purchasing power. The opportunity cost is roughly $130,000 ($184K future value minus $55K total spent over 30 years).
Is opportunity cost the same as sunk cost?
No. Sunk cost is money already spent that cannot be recovered — irrelevant to forward decisions. Opportunity cost is forward-looking: the value of alternatives you give up by choosing a particular use of money. Sunk cost fallacy is letting past spending influence future decisions; opportunity cost analysis is about quantifying future trade-offs.
Should I never spend money based on opportunity cost?
No. Opportunity cost analysis is a framing tool, not a budgeting rule. Spending creates utility (memories, health, relationships) that compound non-monetarily. Use opportunity cost to identify recurring expenses you don't actually value, and large one-time purchases where the joy decays faster than the financial cost compounds.
How does inflation affect opportunity cost?
In real (inflation-adjusted) terms, only your real return matters. The 7% real S&P 500 return already accounts for inflation. If you use 10% nominal return, you must apply 3% inflation to convert future values to today's purchasing power for an apples-to-apples comparison.