FinanceFacts101

Quit-and-invest calculator

Take a recurring habit and see what redirecting its cost into an index fund would build. The default $6 habit, 5 times a week, invested at 7% for 30 years, grows to $152,029 — real money, though not from the coffee alone. The formula, every assumption and a worked example are below the worksheet.

Worksheet

▾
$
/wk
%
yrs
Invested after 30 years $152,029
Cost per year
$1,560
Total spent over 30 years
$46,800
Just the growth
$105,229
Cost per month
$130
One occurrence, invested to year 30
$46

How the formula works

The idea is old enough to have a nickname — the latte factor — and simple enough to write down in two lines. Take a recurring habit that costs \(c\) each time and happens \(f\) times a week. Its cost per month is that weekly spend rescaled to an average month:

\[ C \;=\; c\,f\cdot\frac{52}{12} \qquad\text{(annual cost }= c\,f\cdot 52\text{)} \]

Now redirect that monthly amount into an index fund instead of the habit. Deposited at the end of every month and left to compound at the expected annual return \(r\), the stream grows to an ordinary-annuity future value:

\[ \mathrm{FV} \;=\; C\cdot\frac{(1+i)^{12t}-1}{i} \qquad i \;=\; (1+r)^{1/12}-1 \]

Here \(i\) is the effective monthly rate: the monthly growth that compounds to exactly \(r\) over a year, so a 7% return means a dollar grows 7% in twelve months and no more. The same rate values a single indulgence left to compound for the whole period — one purchase of \(c\), untouched for \(t\) years:

\[ \text{one occurrence at year }t \;=\; c\,(1+i)^{12t} \]

The honest version. The point of this page is not that skipping a coffee makes you a millionaire — run the defaults and it plainly does not. Small habits, invested, grow into a nice-but-not-life-changing sum over decades. What is real is the mechanism: a modest recurring cost, compounded for thirty years, becomes several times the money that was spent — and the exact same arithmetic, pointed at the recurring costs that are genuinely large (a car payment you could halve, a subscription stack, rent you could trim by moving), scales straight up. The coffee is a teaching example. The pattern is the point.

What each input means

Habit
A convenience only: picking one sets a typical cost per occurrence so you can start from something familiar. Every habit runs through the identical math — change the cost and frequency to match yours and the label stops mattering.
Cost per occurrence — \(c\)
What one instance of the habit costs today: a single coffee, one pack, one takeout order. Enter what you actually pay, not a rounded-up guilt figure — the result is only as honest as this number.
Times per week — \(f\)
How often it happens in a typical week. A five-day work-week coffee is 5; a pack-a-day habit is 7. The tool turns this into a monthly cost with the \(52/12\) factor rather than assuming a tidy four-week month.
Expected annual return — \(r\)
The return you assume the redirected money earns, after nothing is deducted. A long-run, stock-heavy portfolio has historically returned something like 7% after inflation and before fees — a common planning figure, and nothing like a guarantee. Lower it to see a more cautious picture.
Years — \(t\)
How long you keep the habit swapped and the money invested. This is the input doing the heavy lifting: the future-value factor grows with \(t\) in the exponent, so the last decade of a thirty-year run adds far more than the first.

A worked example

The worksheet's defaults: a $6 habit, 5 times a week, invested at 7% a year for 30 years.

  • Weekly cost is $6 × 5 = $30. Rescaled to a month, that is $30 × 52/12 = $130 a month, or $1,560 a year.
  • The effective monthly rate is \(i = 1.07^{1/12} - 1 = 0.005654\), and over 30 years there are \(12t = 360\) months, so the growth factor is \((1+i)^{360} = 7.612\).
  • The monthly stream compounds to $130 × (7.612 − 1) / 0.005654 = $152,029. Over those 30 years you would have simply spent $46,800 on the habit — so the compounding added $105,229 on top of the money itself.
  • The shock line: a single $6 purchase, invested once and left alone for 30 years, becomes $6 × 7.612 = $46. Real, but notice it is tens of dollars, not thousands — one coffee was never going to be the story.

So the redirected $130 a month is worth $152,029 after 30 years: meaningful money, roughly 3.2× what was spent, and enough to matter — but not a fortune, and not from the coffee alone. The lesson is the leverage of the pattern, which is why the same worksheet is worth re-running with your biggest recurring expense in the cost box.

$0$50k$100k$150k$200k051015202530yearsInvested$152kJust spent$47k
Fig. 1 — The default habit, year by year. The red line is the money invested and compounding; the dashed line is the same dollars merely spent. The gap is the growth: $105,229 by year 30, nearly all of it earned in the back half.

Assumptions and limits

  • It assumes you actually invest the money — every skipped purchase, every month — and earn the return. Skipping the habit and letting the cash drift into other spending builds nothing; the discipline is the hard part, not the math.
  • The habit's real value to you is not counted. Coffee, a night out, the small ritual that makes a day better — those may be worth every cent. This page prices the money, not the pleasure, and cannot tell you the trade is a good one.
  • The return is constant and after inflation is your responsibility to set. Markets swing, fees and taxes bite, and prices rise — a habit that costs $6 today will cost more later, so the amount you would need to redirect drifts up and the spent total here is understated.
  • This is about the pattern, not shaming one purchase. A single latte proves nothing either way; the arithmetic only becomes interesting across a recurring cost held for decades.
  • It is arithmetic on your assumptions, not advice. It shows what redirecting the money would build; it cannot know your return, your discipline, or what the habit is worth to you.

Questions people ask

Does skipping my daily coffee actually make me rich?

Honestly, no — not on its own. On the defaults a $6 coffee 5 times a week, invested at 7% for 30 years, grows to about $152,029. That is real money and worth having, but it is not wealth, and it took three decades of unbroken discipline to get there. Anyone selling the coffee as the secret to a fortune is overselling it. What the number does show is that a small recurring cost is not nothing once it compounds — and that the same move applied to a genuinely large recurring expense is where the life-changing figures live.

Isn't the whole 'latte factor' a bit of a myth?

The critique is fair and worth stating plainly: the phrase has been used to imply that people are poor because they buy coffee, which is false and a little insulting — housing, healthcare, transport and income dwarf discretionary treats, and no amount of skipped lattes offsets a structural budget gap. So take the honest half and leave the moralizing. The honest half is that recurring costs compound, small ones modestly and large ones enormously, and that noticing a recurring expense at all is the first step to redirecting it. Use this tool on the big recurring lines, not to feel guilty about a $6 treat.

What return should I assume?

There is no right answer, only a reasonable range. A stock-heavy portfolio has historically returned roughly 7% a year after inflation over long periods, which is why this page defaults to 7%; a more cautious planner uses 4–5%, and a savings account far less. The number here is treated as an effective annual return, so 7% means your money grows 7% in a year — not a monthly rate compounded to something higher. Run it at several rates and treat the spread between the answers as the uncertainty, not the highest one as a promise.

Does this work for bigger habits than coffee?

Yes, and that is really the point. The math does not care what the habit is — put a $15 daily takeout, a $12-a-day pack, a pair of subscriptions or a car payment you could cut in half into the cost and frequency boxes, and the future value scales right up with the monthly amount. A $400-a-month expense redirected for thirty years dwarfs the coffee example many times over. The coffee is just the smallest, most familiar version of a lever that gets far stronger as the recurring cost gets bigger.

Is it even worth giving up things I enjoy?

That is a values question, not a math one, and the calculator deliberately does not answer it. It prices only the money — it has no way to weigh the pleasure, the ritual, or the social value of the thing you would give up, and some of those are worth every dollar. A useful way to read the result is not 'quit everything' but 'here is the price tag of this habit over decades' — then you decide, with the number in front of you, which trades are worth making and which small joys you would rather keep. Cutting the ones you do not actually miss is where this pays off painlessly.

See also