FREE ยท PRIVATE ยท NO LOGIN

Should You Pay Off Your Mortgage or Invest?

Your mortgage is at 6.5%. The market averages 7โ€“10%. See a real month-by-month simulation of both strategies โ€” and it works for student loans, auto loans, and credit cards too.

โœ“ Any Loan Type
โœ“ 100% Private
โœ“ Month-by-Month Simulation
โœ“ No Sign Up Required

๐Ÿ’ก Pay Off Debt vs. Invest Calculator

Enter your loan and situation below to see which strategy builds more wealth

๐ŸŽฏ Your employer match is now factored into the numbers below. A 401(k) employer match is a guaranteed 50โ€“100% instant return โ€” no investment comes close. It's applied whenever money is actually going into an investment account in either strategy: every month in Strategy B, and starting the month debt is paid off in Strategy A.
Your Loan
%
$
$
$
Your Situation
$
%
Based on your numbers
Strategy A
Pay Off Debt First, Then Invest
Final portfolio value
Debt paid off in
Total interest paid
Investing starts
Strategy B
Invest Now While Paying Minimum
Final portfolio value
Debt paid off in
Total interest paid
Monthly invested
Portfolio Growth Over Time
Key Milestones

Should You Pay Off Your Mortgage Early or Invest Instead?

It's one of the most common personal finance dilemmas: you have extra money each month, and two good options for it. Pay down your mortgage faster and save on interest, guaranteed. Or invest it and let compounding work in your favor, with more upside but real risk. There's no single right answer for everyone โ€” but there is real math behind the decision.

The Simple Rule of Thumb

Compare your loan's interest rate to your realistic expected investment return. If your mortgage rate is higher than what you'd reasonably expect to earn investing, paying it off first is usually the mathematically stronger move โ€” every dollar toward the loan is a guaranteed "return" equal to the interest you stop paying. If your expected return is meaningfully higher than your rate, investing tends to build more wealth over the same time horizon โ€” but unlike a guaranteed debt payoff, the market can underperform in any given stretch of years.

Your Loan RateLikely Stronger StrategyWhy
Above 7%Pay off debt firstHard to beat that guaranteed a return investing
5% โ€“ 7%Depends on risk toleranceClose enough to average market returns that either can work
Below 5%Investing often winsHistorical market returns tend to outpace low, locked-in rates

These are general patterns, not guarantees โ€” use the calculator above with your actual rate and a realistic expected return to see your specific numbers.

๐Ÿ“Š One number to double-check before you compare rates: if you itemize your taxes, your mortgage's real cost is lower than the rate on paper โ€” but usually by less than people assume. See the real 2026 math on the mortgage tax deduction โ†’, including a common mistake that overstates the benefit.

Don't Skip Your Employer Match

Before running this comparison, make sure you're capturing your full 401(k) or similar employer match if one is available. A typical match is an instant 50-100% return on that contribution โ€” no investment or debt payoff can compete with that. Get the full match first, then use this calculator to decide what to do with anything extra beyond it.

Why This Isn't Just About Math

The numbers point to a mathematically optimal answer, but real financial decisions include factors a calculator can't fully capture:

  • Peace of mind: Some people value being debt-free enough that it's worth choosing even if investing would technically build slightly more wealth.
  • Job stability: If your income is unpredictable, an emergency fund and lower fixed debt payments may matter more than optimizing returns.
  • Tax treatment: Mortgage interest may be deductible depending on your situation, and investment gains have their own tax rules โ€” both can shift the real numbers.
  • Liquidity: Money paid toward a mortgage is harder to access later than money in a typical investment account.

๐Ÿ”’ Your Numbers Are Completely Private

Every number you enter โ€” your balance, your rate, your income assumptions โ€” is processed entirely in your browser. Nothing is ever transmitted to a server, stored in a database, or shared with any lender, advisor, or financial institution. Your numbers stay on your screen alone.

Frequently Asked Questions

Should I pay off my mortgage early or invest the extra money?
It usually comes down to comparing your mortgage's interest rate against your realistic expected investment return. If your mortgage rate is higher than what you'd reasonably expect to earn investing, paying it off first tends to win mathematically. If your expected return is meaningfully higher than your rate, investing tends to build more wealth over time โ€” but that comes with market risk a guaranteed debt payoff doesn't have.
What interest rate makes paying off debt the better choice?
There's no single universal number, but many people use their expected long-term investment return (often 7-10% for a diversified stock portfolio) as the line. Debt above that rate is often worth prioritizing paying off, since it's a guaranteed "return" equal to the interest you stop paying. Debt below that rate leaves more room for investing to come out ahead, though it's never a guarantee.
Should I get my employer's 401(k) match before paying off debt?
Yes, in almost every case. An employer match is typically an instant 50-100% return on that contribution, which is far higher than any realistic investment return or any interest rate you're likely paying. Contribute enough to capture your full match first, then use this calculator to decide what to do with any money beyond that.
Does this calculator work for loans other than a mortgage?
Yes. While it's built with mortgage paydown vs. investing as the most common use case, it also supports student loans, auto loans, personal loans, credit cards, and any other fixed-rate debt โ€” just select your loan type and enter your balance and payment directly.