What Is Opportunity Cost?
Opportunity cost is the value of the next-best alternative you give up when you make a choice. In personal finance, every dollar you spend on a habit is a dollar that isn't invested — and over time, that uninvested dollar compounds into a much larger number. The “true cost” of any habit isn't just what you pay; it's what that money would have grown to if put to work instead.
This concept is especially powerful for small recurring expenses. A single $6 coffee feels trivial. But a daily $6 coffee habit amounts to $2,190 per year — and $2,190 invested annually at 7% for 30 years grows to roughly $220,000. That's the real price of the habit, not $6.
The Latte Factor Explained
The “latte factor” — coined by financial author David Bach — is the idea that small daily expenses, redirected into investments, can build significant wealth over time. While the concept has been debated (cutting coffee alone won't make you rich), the underlying math is sound: consistent investing of any amount, compounded over decades, produces results that feel disconnected from the small amounts involved.
The power of this calculator is that it moves beyond a single habit. When you stack your daily coffee with weekly food delivery and a few streaming subscriptions, the combined monthly cost often surprises people. Stack those habits into an investment account and the numbers become genuinely life-changing.
FV = PMT × ((1 + r)^n − 1) / r
Future value of regular monthly investments (annuity formula)
How to Use This Calculator Effectively
Be honest with your actual spending
The default amounts are national averages, but your real numbers might be higher or lower. Check your bank statements for the last 2-3 months and enter what you actually spend — not what you think you spend. Most people underestimate recurring expenses by 20-40%.
Stack multiple habits for the real picture
The biggest insight often comes from combining habits. A daily coffee + weekly food delivery + streaming bundles can easily add up to $300-400/month. Over 20 years at 7%, that's $190,000–$250,000 in foregone wealth. Add each habit to see the combined impact.
Use the cutback slider — not the quit button
You don't have to quit anything to benefit from this tool. Reducing food delivery from weekly to twice a month, or brewing coffee at home three days a week, still produces meaningful savings. The slider shows you the math of partial changes, which are far more sustainable than cold turkey.
Adjust the time horizon to match your goal
If you're 25, a 35-year horizon shows the full compound effect. If you're saving for a house in 7 years, set it to 7. The calculator works for any savings goal, not just retirement.
Actually redirect the money
The calculator only matters if you act on it. If you cut $150/month in habits, open a brokerage account and set up a $150 automatic transfer on the same day. The hardest part of the latte factor isn't cutting the latte — it's making the redirect automatic and permanent.
Small Changes, Big Numbers
To make the math concrete, here's what redirecting common habit spending to a 7% investment account looks like over 20 and 30 years:
| Habit | Monthly | 20 Years | 30 Years |
|---|---|---|---|
| Daily coffee ($6/day) | $180 | $47,400 | $113,000 |
| Food delivery ($45/week) | $195 | $51,300 | $122,400 |
| Streaming bundles | $45 | $11,900 | $28,300 |
| Lunch out (weekdays, $15) | $325 | $85,500 | $203,800 |
| All of the above combined | $745 | $196,100 | $467,500 |
Assumes 7% average annual return, monthly compounding. Values are rounded.