Budgeting & Income
Cost of a Habit Calculator
Small recurring spends add up quietly. Enter what a habit costs and how often you indulge to see the monthly and yearly total — plus the eye-opening number: what that money could become if you invested it instead over the years.
The 'opportunity cost' — what the money could earn in the market instead.
If invested instead
$158,596
What the money could grow to over 30 years.
- Costs you per month
- $130
- Costs you per year
- $1,560
- Total spent over the years
- $46,800
Before any investment growth.
How this calculator works
Yearly cost = cost each time × times per week × 52. Monthly cost is that ÷ 12. The invested value treats the monthly cost as a monthly contribution compounded at your chosen return for the given years.
A simplified projection at a constant return, before taxes and inflation. It's meant to make opportunity cost vivid, not to predict an exact balance — real returns vary, and the point is the order of magnitude.
Try an example
Frequently asked questions
What is the 'latte factor'?
It's the idea, popularized by author David Bach, that small daily expenses like a coffee add up to serious money over time — and even more if invested instead. A $6 coffee five days a week is about $1,560 a year; invested at 7% for 30 years, that stream could grow to well over $140,000.
Should I really give up small pleasures to save?
Not necessarily — the point isn't to eliminate every joy, it's awareness. Cutting a habit you don't value frees money for goals you do. But your biggest wins usually come from large recurring costs (housing, cars, insurance), so tackle those too rather than only sweating the small stuff.
How is the invested value calculated?
It treats the money you'd otherwise spend as a monthly investment, compounded at the return you enter. So it's not just the sum of what you'd save — it's that saving plus decades of growth. That compounding is why the final number dwarfs the raw spending total.
Does this account for inflation?
No — it uses a fixed nominal return, so the future figure is in future dollars. To think in today's purchasing power, use a real (after-inflation) return, roughly your expected return minus about 3%. Either way, the comparison between spending and investing the same money holds.
Related calculators
Compound Interest Calculator
See how your savings grow with compound interest and monthly contributions — final balance, interest earned, and a year-by-year growth table.
Investment Calculator
Project an investment portfolio's growth with monthly contributions — final value, your money vs market growth, and the year-by-year path.
Savings Rate Calculator
Find your savings rate — the share of your income you keep — and see what it means for financial independence. The single number that predicts how fast you build wealth.
50/30/20 Budget Calculator
Split your after-tax income the 50/30/20 way — needs, wants, savings — with monthly dollar targets and the yearly savings it produces.
Disclaimer: DayCents provides this calculator for educational purposes only. Results are estimates based on your inputs and the stated assumptions — they are not financial advice, a quote, or an offer of credit. Consult a qualified financial professional before making major money decisions.