Mortgage vs. Invest Calculator

You've got an extra $500 a month. Do you attack the mortgage or feed your investments? This tool runs both scenarios with your actual numbers so you can compare.

Your inputs

$
%
$
%

🏠 Prepay the mortgage

Interest saved
—

Mortgage gone — early

Payoff in —

📈 Invest it instead

Investment gains
—

Portfolio value —

Of — contributed

The bottom line

—

Wealth effect of each choice, year by year

Cumulative interest saved (prepay) Investment gains (invest)

The core insight: prepaying earns a guaranteed return

Here's the mental model that cuts through the whole debate: every extra dollar you put toward your mortgage earns a guaranteed, risk-free return equal to your mortgage rate. With a 6.5% mortgage, prepaying is like buying a 6.5% bond with zero volatility. Investing that dollar instead might earn 8% — or 2%, or −15% in a bad year. The question is whether the expected extra return is worth the risk and the lost liquidity.

The math in this calculator

Prepay path: we amortize your mortgage twice — once with the scheduled payment only, once with the extra added — and the difference in total interest is your savings. The loan also ends sooner.

monthly payment = B × (i(1+i)n) / ((1+i)n − 1), i = APR/12, n = months left
interest saved = total interest (scheduled) − total interest (with extra)

Invest path: the extra amount is invested monthly at your expected return for the same horizon (until the scheduled payoff date), using standard monthly compounding. Gains = final value − total contributed.

Worked example

$350,000 balance, 6.5% rate, 28 years left, $500/month extra, 8% expected investment return. Prepaying saves about $168,000 in interest and kills the mortgage roughly 10 years early. Investing the $500/month for 28 years at 8% grows to about $624,000 — roughly $456,000 of it gains. On pure expected dollars, investing wins here — but read the caveats before deciding that settles it.

Caveats worth knowing

Background: the Consumer Financial Protection Bureau's mortgage guides (consumerfinance.gov) explain amortization and prepayment clearly.

Mortgage vs. Invest Calculator — questions

Should I prepay my mortgage or invest the extra money?

It depends on rates, risk, and liquidity. The calculator compares interest saved by prepaying against investment gains from investing the same monthly amount, so you can see both paths with your own numbers.

What return does prepaying a mortgage earn?

Every extra dollar toward your mortgage earns a guaranteed, risk-free return equal to your mortgage rate. With a 6.5% mortgage, prepaying is like buying a 6.5% bond with zero volatility.

What are the downsides of prepaying a mortgage?

Prepaid dollars become illiquid home equity that is hard to access in an emergency. Taxes also change the answer: mortgage interest may be deductible if you itemize, while investment gains face capital-gains or income tax depending on the account.

Does the prepay-vs-invest debate apply to credit card debt?

No. This debate is for mortgages specifically. Credit-card debt at 20% or more should be paid off first, always.

Educational purposes only — not financial advice. Simplified model ignoring taxes, fees, and risk differences. Consult a qualified professional.