A $6 coffee doesn't feel like a financial decision — it feels like a small, harmless treat. But small recurring expenses compound in a way that's easy to underestimate: multiplied across weeks, months, and decades, they add up to real money, and the money not spent could have been growing the whole time. This calculator turns any recurring habit into its full weekly, monthly, annual, and lifetime cost, and — the part most habit trackers skip — shows what that same money could have become if it had been invested instead.
Why small numbers become big numbers
The math behind the 'latte factor' popularized by author David Bach is deliberately simple: take the cost of one instance of a habit, multiply by how often it happens in a week, then multiply by 52 weeks in a year. A $6 coffee five days a week is only $30 in a given week — easy to dismiss. But annualized it's $1,560, and over a 35-year working life it's $54,600 spent on coffee alone. The calculator's Formula Strip shows this chain explicitly: weekly, then annual, then the multi-decade total, so the scale of a habit is never hidden behind a single small number.
The opportunity cost most people never see
Spending money on a habit isn't just "losing" that money — it's also losing whatever that money could have earned if it had been invested instead. This calculator applies the standard future-value-of-an-annuity formula, compounded monthly, to project what your annual habit spend would grow to if it were invested at your chosen return rate every year until retirement. Because investment growth compounds — each year's gains earn their own gains — the gap between simply spending the money and investing it widens dramatically over long time horizons. That gap is reported as the "Opportunity Gain" percentage: a positive figure of +300% or more is common over a multi-decade span, meaning the invested total ends up several times larger than the amount actually spent.
Choosing a realistic return rate
The 7% default used here is a widely cited estimate for the long-run, inflation-adjusted average return of a diversified U.S. stock portfolio (the S&P 500's historical nominal average is closer to 10%, with roughly 3% attributed to inflation). It is a planning assumption, not a guarantee — actual returns vary year to year and can be negative. Lowering the rate in the Investment Parameters section shows a more conservative projection; raising it shows a more optimistic one. The calculator's math handles a 0% rate too, falling back to simple multiplication since there is no growth left to compound.
Awareness, not deprivation
The point of running the numbers on a daily habit is not to argue that every small pleasure should be eliminated. Some habits provide real, ongoing value — social connection, enjoyment, convenience, or health benefits — that a dollar figure doesn't capture. The goal is to replace an accidental, unexamined expense with an intentional one: once you can see that a habit costs $1,560 a year and could represent $230,000+ by retirement if redirected, you're in a position to decide, with full information, whether it's worth it to you. The Multi-Habit Tracker tab extends this same lens across several habits at once, so you can see which ones are quietly adding up the fastest.