Mortgage Payoff vs. Invest Calculator

Compare paying off a mortgage today with keeping the loan and investing available cash instead. The result shows modeled net wealth over the remaining mortgage term — not a personal recommendation.

Assumptions

Shared mortgage and market assumptions for both paths. Adjust these once and both scenarios update instantly.

Used both as the payoff amount and the day-0 lump sum investment comparison. Range $50,000 to $800,000.
27 years
2.5%
Monthly mortgage payment resolves to $1,232 / mo.
Return assumption mode
Choose manual planning assumptions or a historical market reference.
7.0%
Adjust expected annual return for planning scenarios.

Option 1

Pay off mortgage today

Use available savings to clear the mortgage balance now. The mortgage payment disappears, and the freed monthly cash flow can be invested over time.

$1,200 / mo
Monthly amount invested after the mortgage is fully gone, over time.
Mortgage payment$0 / mo
Monthly investing$1,200 / mo
Total monthly outflow$1,200 / mo

The mortgage is cleared immediately, so the portfolio starts from zero and grows from monthly contributions after the payoff.

Final portfolio

$1,148,528

Monthly investing

$1,200 / mo

Mortgage interest cost

$0

Net value

$1,148,528

Option 2

Keep mortgage and invest

Keep the mortgage in place and invest the available lump sum instead. Mortgage payments continue, so the model tracks both the investment portfolio and the interest paid over the remaining term.

$400 / mo
Monthly amount invested while the mortgage payment continues.
Mortgage payment$1,232 / mo
Monthly investing$400 / mo
Total monthly outflow$1,632 / mo

The mortgage stays in place while the same cash is invested upfront and tracked both gross and net of mortgage interest paid.

Final gross portfolio

$2,291,947

Monthly investing

$400 / mo

Mortgage interest cost

$109,094

Net value

$2,182,853

Option 2 wins on net wealth

$1,034,326

Keeping the mortgage and investing upfront ends at $2,182,853 net versus $1,148,528 for paying off the mortgage first.

This comparison is based on the assumptions above. It does not measure liquidity, risk tolerance, taxes, refinancing options, or the emotional value of being debt-free.

Portfolio comparison over time

Blue shows the payoff-first portfolio. Green dashed subtracts cumulative mortgage interest from the gross investment path.

How to interpret this result

This calculator compares two paths over the same remaining mortgage term:

  1. Pay off the mortgage now — the debt is cleared immediately, then freed monthly cash flow is invested.
  2. Keep the mortgage and invest — the mortgage continues, while the available lump sum is invested instead.

The winner is based on modeled net wealth at the end of the term. That is useful, but it is not the whole decision.

What to watch

Mortgage rate vs. investment return

This is the main driver. Paying off debt is closer to a certain return equal to the mortgage rate. Investing offers a higher expected return only if the market performs well enough.

Net value, not gross portfolio value

A large investment portfolio can look attractive, but the mortgage path also includes interest paid over time. Net value is the fairer comparison.

Liquidity

Money used to pay off a mortgage becomes home equity. That can reduce stress, but it is less flexible than cash or investments.

Risk

Mortgage interest savings are relatively predictable. Investment returns are not. A result that favors investing under a 7% return may look very different at 4% or 5%.

Taxes and local rules

Mortgage deductions, capital gains taxes, and investment account rules can change the result. Treat tax inputs as simplified planning assumptions.

A simple way to use this calculator

Run the comparison three times:

  • your baseline investment return
  • a lower return assumption
  • a higher mortgage rate or after-tax mortgage cost

If investing only wins under optimistic assumptions, the payoff path may deserve more weight.

Related reading

Methodology

Want the formulas and assumptions?

Read the full methodology for this calculator

FAQ

Is paying off a mortgage the same as investing?

No. Paying off debt reduces interest costs. Investing keeps money in the market and introduces market risk.

Why does the investment path often look stronger?

Because a lump sum invested early has more time to compound. But that assumes the return is actually achieved.

Should I always choose the higher net wealth result?

No. Liquidity, risk tolerance, income stability, taxes, and peace of mind matter too.

Does this include taxes?

Only if tax assumptions are supported in the calculator. Real tax treatment depends on local rules and account type.

What if I do not have enough cash to pay off the mortgage?

Then this is not the right comparison. You would need an extra-payment-vs-investing calculator instead of a full payoff comparison.

Is this financial advice?

No. It is a planning model based on your assumptions.