Pay Extra on the Mortgage or Invest? — Same Money, Two Paths

← Back to Tools
Month 0 / 60
Free calculator · How it works

Pay extra on the mortgage or invest?

This calculator puts the same extra money to two uses every month: onto the mortgage principal, or into an investment account while the mortgage takes only its minimum. It shows the year the loan disappears either way, the interest the extra payments save, and what the invested alternative grows to.

Enter the balance, rate and years left on the mortgage, how much extra you could pay each month, and the return you expect from investing. The left side sends the extra to principal every month and, the month the loan is gone, starts investing the whole payment it no longer owes. The right side pays only the required amount and invests the extra from month one. Both sides spend identical cash every month, so the comparison is fair.

Red is interest paid, blue is principal paid, green is investments. The house itself is worth the same on both sides and is left out. What differs is how much interest you paid the lender and how much the invested money grew.

A toggle at the top says where the invested dollars go, because it changes the answer. In a taxable account, gains are taxed each year. In a 401(k) with a match, each take-home dollar becomes its pre-tax equivalent, the employer adds the match up to the salary cap, nothing is taxed until withdrawal, and a gold tank shows the match on its own. In a Roth, growth is never taxed. With the defaults, the taxable account is nearly a tie with paying extra; a 401(k) with a 50% match is not close.

Two worked examples, one per winner

A $350,000 balance with 27 years left, $500 extra a month, 20% capital gains tax. The cases differ in the mortgage rate and the return, which is the whole question.

Case A

Paying extra wins when the mortgage is dear and the return is modest (7.5% against 5%)

The extra payments clear the loan in year 18 instead of year 27 and save $193,276 of interest; the investing side earns only 5% on its extra.

27 yearsPrincipal + investmentsInterest paidLoan gone
Pay extra on the mortgage$784,449saves $193,276Year 18
Pay minimum, invest the extra$641,733Year 27

Same money in both sides. Paying extra ends $142,715 ahead.

Run these numbers →
Case B

Investing wins when the mortgage is cheap (3.5% against 8%)

Same loan and extra, but the mortgage costs 3.5% and investments return 8%. The extra payments still save $67,989 of interest and clear the loan in year 19.

27 yearsPrincipal + investmentsInterest paidLoan gone
Pay extra on the mortgage$658,703saves $67,989Year 19
Pay minimum, invest the extra$784,960Year 27

Investing the extra ends $126,257 ahead, and the money stayed available the whole time.

Run these numbers →

The lever. The mortgage rate against the after-tax return you can honestly expect. At 6.5% and 8% with 20% tax on gains it is nearly a tie: paying extra ends $2,811 ahead over 27 years. A point either way decides it, and the invested money is the only one of the two you can get back in an emergency.

What the calculator assumes

Questions people ask

Is it better to pay off my mortgage early or invest?

It depends on the rate. Paying extra earns a guaranteed return equal to the mortgage rate, tax-free. If your expected after-tax investment return is clearly higher, investing wins on paper; if the mortgage rate is higher, paying extra wins. Near the line, the tie-breaker is liquidity: invested money can be withdrawn, prepaid principal cannot.

How much interest does paying $500 extra a month save?

On a $350,000 balance at 6.5% with 27 years left, about $156,510, and the loan is gone nine years early. At 3.5% the saving is $67,989. The calculator states your own figure in the line under the summary.

What about the mortgage interest deduction?

It is not modelled, because since 2018 most households take the standard deduction and get no benefit from it. If you do itemize, your effective mortgage rate is lower than the stated one, which tilts the answer toward investing. Lower the rate slightly to approximate it.

Should I pay off the mortgage before investing in a 401(k)?

Capture any employer match first; a 50% match beats any mortgage rate. Set the toggle to "401(k) with match" and the calculator shows it: with the defaults, $500 a month of extra payments ends at $849,602 of principal and investments over 27 years, while the same $500 into a 401(k) with a 50% match up to 6% of a $75,000 salary ends at $1,087,617 after withdrawal tax, $60,750 of it employer money. The mortgage still gets paid off, nine years later.

Does a Roth change the answer?

Less than a match does, but yes: tax-free growth is worth about $136,000 over 27 years on the default numbers, which turns the near-tie into a win for investing. Pick "Roth" on the toggle to see it with your own figures.

Free here. Your real accounts in the app.

Every number above is yours to change, with no account and no limit. The MoneyRecon app runs this same comparison on your real accounts, with your actual balances, rates, and payments already filled in, and never stores or sells your data.

Get MoneyRecon on the App Store
Point your iPhone camera here to open this calculator instantly, no install.

Run a site for a bank, credit union, advisory practice or publication? Put this calculator on your own site, free, with your own presets.

The other calculators

These are hypothetical examples for education, not financial advice. Results depend on the assumptions shown. Change the numbers to your own situation and talk to a professional about your decision. Numbers in the examples were produced by this calculator's engine on 2026-11-14 from the exact link values; results on your screen may differ if defaults or tax limits have changed since. How the calculators work and where the data comes from.