Pay Off Mortgage or Invest — Should spare money go to the mortgage, or be invested?
Enter what is on your mortgage statement and the money in question. See which path leaves you with more, after tax and in today’s dollars, and how often investing wins when markets swing.
- Free to start
- No sign-up to try
- A lump sum or extra each month

Everything in one answer
What your statement says, the two rates that decide it, which path ends with more in today’s dollars, and the things a number can’t weigh for you.
Your mortgage
Three numbers from your statement, and the money you are deciding about.
What you still owe, the rate and the monthly payment. Then a lump sum toward the loan now, or an extra amount each month, and where it would go instead: savings, Treasury bills, bonds, a balanced fund or stocks. Your tax bracket and inflation sit in their own fold, already filled in.
$300,000 owed at 5.5%, $1,980 a month · $500 more a month, or into a balanced fundThe “An extra $500 a month” example
- A lump sum now, or extra each month
- Five places the money could go, each at planin30’s planning return
- Federal bracket, state tax and whether you itemize, in one fold


Your mortgage 1/2

Which comes out ahead
One answer, in today’s dollars, with the two rates that decide it.
Both paths spend the same money every month until the day the loan would have ended. Paying the loan earns its rate for sure. Investing earns what the money makes after tax, which for funds that swing can be more or less, so the calculator runs 1,000 markets and says how often investing came out ahead.
“Paying it off comes out ahead. About $9,000 more in today’s dollars.” · Paying it off earns 5.5%; investing is expected to earn 4.8% after tax.The same example
- The loan’s rate against the investment’s, both after tax
- How often investing wins, for funds that swing
- A plain “about even” when the gap is too small to matter


What changes if you pay
The interest you’d stop paying, and how much sooner the loan is gone.
Next to the answer: the interest you would no longer owe, how many years sooner the loan ends, or for a full payoff the payment you would be free of, and what each path ends with in today’s dollars and in the dollars of then.
“Interest you’d no longer pay: $74,936.” · Loan paid off 6 years, 11 months sooner.Paying $500 more a month
- Interest saved, in the dollars you would actually pay
- Months and years sooner, or the payment freed
- Both paths’ end, in today’s dollars and in future dollars


Year by year
Watch the two paths part, year by year.
The chart shows what each path is worth every year: the money invested, less what is still owed. Switch between today’s dollars and future dollars. Under it, the things a number can’t weigh: an emergency fund first, an employer’s 401(k) match first, and money paid into a house is hard to get back out.
“Money paid into the house is hard to get back out. Keep an emergency fund of three to six months of spending before paying down the loan.”Beyond the numbers
- Both paths on one chart, from today to the loan’s last month
- Today’s dollars or future dollars, one tap
- What to do before either: the match and an emergency fund



Know what your spare money does best before you send it anywhere.
Free to start. No sign-up to try.
Check your own mortgage →About the pay-off-mortgage-or-invest calculator
Money put toward the mortgage earns exactly the loan’s rate, guaranteed: every dollar of principal you pay off stops costing interest. Money invested earns whatever it makes, less the tax on it. So the question comes down to two rates, and to how sure you need to be.
Enter what is on your mortgage statement and the money in question: a lump sum now, or an extra amount each month. The calculator runs two paths that spend the same money every month until the day the loan would have ended. On one, the money pays down the loan and the payment it frees is invested. On the other, the money is invested and the loan runs its course. Whichever ends with more, in today’s dollars, is the better use of the money.
Taxes are counted the way they work: interest from savings and bonds is taxed every year, stock funds mostly as capital gains, Treasury bills free of state tax, and the mortgage interest deduction only if you itemize, which about 9 in 10 households don’t. For investments that swing, it runs 1,000 markets and says how often investing actually came out ahead, because a higher average return is not the same as winning most of the time.
What you can do
- A lump sum now or extra each month, against investing the same money
- Five places the money could go, from savings to a stock fund, at planin30’s planning returns
- After-tax rates for both sides, with the rate investing has to beat
- How often investing came out ahead across 1,000 markets
- Interest you would no longer pay, and how much sooner the loan ends
- Year-by-year chart of both paths, in today’s or future dollars
Frequently asked questions
Is it better to pay off the mortgage or invest?
Compare what paying it off earns, the loan’s rate (less any tax the deduction saves), with what investing is expected to earn after tax. A loan at 6% or more is hard to beat safely. A loan at 3% is usually beaten by stocks on average, though not every time. Keep an emergency fund and take any employer 401(k) match first either way.
Does the mortgage interest deduction change the answer?
Only if you itemize. Since the standard deduction roughly doubled in 2018, about 9 in 10 households take it instead, so their mortgage interest saves no tax and the loan costs its full rate. If you itemize, the deduction lowers what the loan really costs and makes keeping it more attractive.
How can investing be ahead on average but lose most of the time?
Stock returns are lopsided: a few very good markets pull the average up, while the typical market does a little worse than the average. When the loan’s rate is close to what stocks are expected to earn after tax, investing can win on average yet come out behind in more than half of the markets. The calculator shows both.
Related calculators and planners
Other calculators and planners that pair well with the Pay Off Mortgage or Invest Calculator.





