Compoundify › Calculators › Habit Cost Calculator

Habit cost calculator: what a regular expense adds up to

Small regular costs are easy to ignore. Enter what you spend and how often to see the total over the years, and what that money could become if it were saved instead.

Updated October 2026 · Amounts in US dollars · Hypothetical estimates, not forecasts

The habit

$
$1$50
121
150

What-if assumptions

%
0%12%
%
0%8%

Calculating…

How this calculator works

The calculator multiplies the cost by the number of times each week, adds a yearly price rise, and totals it over the years. It then shows what the same monthly amounts could grow to at a pretend investment return.

Real investment returns are not steady and are not guaranteed, so treat the second number as a what-if.

Worked example

A $5 habit five times a week costs about $1,300 in the first year. Over 20 years, with prices rising 2% a year, you would spend about $31,587. The same money invested at a pretend 5% a year could be about $51,734.

Things to keep in mind

Frequently asked questions

Is this telling me to stop buying coffee?

No. It shows the long-run size of a regular cost so you can decide if it is worth it to you.

Why include a price rise?

Prices of most habits rise over time, so the real total is usually higher than today’s price times the years.

Is the investment figure realistic?

It uses a steady pretend return. Real returns go up and down and can be lower, or negative in some years.

Which habits should I check?

Anything regular: takeout, coffee, snacks, rides, games, subscriptions or impulse buys.

Related calculators and guides

Sources and further reading

Educational estimates only, not financial, tax or legal advice. Rules, limits and rates change; confirm details with your lender, employer or the relevant authority. Example values are placeholders, not quotes or averages.