How we compare
Prepay: the extra cash goes to principal. Once the loan is paid off, the whole freed-up payment plus the extra is invested every month until the original payoff date. Invest: the extra cash goes into investments every month and the mortgage runs its normal course. We then compare the investment balance after tax on gains at the original payoff date, when both paths have no mortgage.
Worked example
$300,000 at 6.5% with 25 years left and $500 a month extra. Prepaying clears the loan in about 15 years 11 months. With a 7% return and 15% tax on gains, prepaying ends at about $367,549 and investing at about $366,780, almost a tie. With no tax (for example, in a Roth IRA), investing comes out ahead, about $405,036 vs $383,778.
The rule of thumb: prepaying earns a guaranteed return equal to your mortgage rate. Investing wins only if your after-tax return beats that rate, and it comes with risk.
Second worked example: a low-rate mortgage
You owe $180,000 at 3.25% with 22 years left and have $400 a month extra. Assume a 6% annual return and 15% tax on gains. Prepaying clears the loan in about 13 years 9 months. After 22 years, investing first ends at about $201,557, compared with about $167,562 for prepaying first. When your mortgage rate is well below your expected after-tax return, investing tends to come out ahead, with more risk.
Who this calculator fits
- Homeowners with extra monthly cash who are torn between prepaying and investing.
- People with low locked-in rates wondering whether prepaying is worth it.
Pros and cons
Prepaying: a guaranteed return equal to your mortgage rate and a debt-free date, but the money is illiquid. Investing: potentially higher growth and easier access to cash, but returns vary. Investor.gov describes risk tolerance as your ability and willingness to lose some or all of your investment in exchange for potentially greater returns. [source]
Common mistakes
- Using an optimistic return. Test a lower one and see whether the answer flips.
- Ignoring taxes. The IRS says the tax rate on most net capital gain is no higher than 15% for most individuals, and some gains are taxed at 0%. [source] Retirement accounts can change this.
- Assuming the mortgage interest deduction applies. It only matters if you itemize. [source]
- Skipping the emergency fund. Neither strategy replaces cash savings. [source]
How the comparison works
Both strategies spend exactly the same amount each month. In the prepay path, the extra goes to principal until the loan is paid off, and then the full freed-up payment plus the extra is invested until the original payoff date. In the invest path, the extra is invested every month while the mortgage runs its normal schedule. At the original payoff date both households own the home outright, so the only difference is the invested balance, shown after the tax rate you enter.
How to use it well
- Start with a conservative return and your realistic tax rate on gains.
- Run it again with a lower return. If the winner changes, the decision is close, and liquidity and peace of mind should decide.
- Share the scenario with a partner or adviser using the share button, so you're both looking at the same assumptions.
The calculator holds the return steady every year, which real markets never do. Treat the result as a way to see how the answer depends on your assumptions, not as a forecast.