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.

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