Do The Math
Calculator

Habit cost calculator

Enter what a habit costs and how often. See the yearly cost, what you'd put in over time, and what it could grow to if invested.

Cost per year
—
Total you'd spend
—
If invested instead
—
Of which growth
—

How this is calculated

The calculator turns your habit into a yearly amount (daily × 365, workdays × 250, weekly × 52, monthly × 12) and assumes that amount is invested once a year at the return you choose. The result is the future value of those yearly deposits:

FV = yearly amount × ((1 + r)ⁿ − 1) ÷ r

The dashed line on the chart is what you'd spend; the green line is what the same money could become.

A few examples at 7% for 20 years

HabitPer yearSpent in 20 yearsCould grow to
$5 coffee every day$1,825$36,500≈ $74,817
$10 extra for lunch, 250 workdays$2,500$50,000≈ $102,489
$75 a month of subscriptions$900$18,000≈ $36,896

The point isn't to cut everything you enjoy. It's to know the real price tag, then keep what you love and cut what you don't notice.

Questions

Is 7% a realistic return?

7% a year is a common long-term assumption for a diversified stock index after inflation is ignored. Real returns vary year to year and some years are negative. Try 4–5% for a conservative view.

Why invested yearly and not daily?

Yearly deposits keep the math simple and slightly conservative. Investing monthly would give a somewhat higher result.

Does this account for inflation?

No. Use a lower 'real' return (for example 4–5%) if you want results in today's dollars.

Do The Math publishes educational examples based on simple math. Returns used in examples are hypothetical and not guaranteed; investing involves risk, including loss of principal. Nothing on this site is financial, investment, tax or legal advice. Consider speaking with a licensed professional about your situation.

Read more