Skip to main content
/
opportunity cost calculatordaily coffee cost investedtrue cost of spendingopportunity cost economicscompound interest spendinginvestment vs spending
//// Financial · Economics

Opportunity Cost Calculator

Every choice has a cost — the best alternative you didn't take. See what your daily habits could become if invested instead. The math will surprise you.

Where this fits

This tool lives inside Cash Flow and is most useful for households.

401(k) Limit 2024$23,000
Roth IRA Limit$7,000
S&P 500 Avg Return~10%/yr

The core idea: Every financial choice has an opportunity cost �� the value of the best alternative you didn't take. That daily coffee isn't just $5. It's whatever that $5 could have grown to over decades. This calculator makes that trade-off visible.

Quick Scenarios

Your Numbers

Annual Cost

$1,825

per year

Total Spent

$54,750

over 30 years

If Invested Instead

$172,391

at 7% return

Opportunity Cost

$117,641

growth you forgo

What Each Daily Coffee Really Costs

$5.00

you pay today

$38

what it could be in 30 years

73.0 hrs

of work per year at $25/hr

“Every $5.00 is a $38 investment in 30 years. That's not to say don't spend — just understand the trade-off.”

Growth Over Time

YearTotal SpentIf InvestedOpportunity Cost
Year 1$1,825$1,825$0
Year 5$9,125$10,495$1,370
Year 10$18,250$25,215$6,965
Year 15$27,375$45,860$18,485
Year 20$36,500$74,817$38,317
Year 25$45,625$115,429$69,804
Year 30$54,750$172,391$117,641
1

Annual Cost

Per Day cost × annual occurrences

= $1,825/year

$5 × 365 occurrences

2

Total Spent Over Time

Annual Cost × Years

= $54,750

$1,825/yr × 30 years = $54,750

3

Future Value if Invested (Annuity)

Annual Amount × [(1+r)^n − 1] / r

= $172,391

$1,825 × 94.46 (FV factor at 7% over 30 yrs)

4

Opportunity Cost

Invested FV − Total Spent

= $117,641

The growth you forgo: $172,391 − $54,750 = $117,641

5

Cost Per Single Day If Invested

Single unit cost × (1+r)^n

= $38

$5 invested today grows to $38 in 30 years at 7%

#ShowYourWork