Skip to content
FinanceFree · No signup · 33K+/month

Pay-Off Mortgage Early vs Invest Calculator — Where Should the Extra $500/mo Go?

Math the trade-off between dumping extra cash on the mortgage vs sending it to the market — over your real horizon, after capital-gains tax, with the risk asymmetry called out.

  • Instant result
  • Private — nothing saved
  • Works on any device
  • AI insight included
Reviewed by CalcBold EditorialLast verified Methodology

Pay-Off Mortgage Early vs Invest Calculator

Used for display only — math is currency-agnostic.

What you still owe on the mortgage today.

Current APR on your loan.

Years remaining on your current schedule.

The amount under decision — to mortgage or to investing.

Long-run S&P 500 average ≈ 7% real, 10% nominal. Be conservative.

How many years out you're comparing wealth at. Long horizons tilt toward investing.

0% if held in a Roth/ISA, 15% US long-term capital gains, ~20-30% in higher brackets.

Wealth crossover by horizon

Adjust any input. The grid shows after-tax wealth on each path at common horizons. The crossover row is where the winning path switches — useful when you're uncertain how long you'll stay invested or in the home.

Monthly P&I
$1,836
Path A payoff
16.3 yr
with $500/mo extra
Crossover horizon
25 yr
Winning path flips around this horizon
After-tax wealth by horizonTax on gains: 15%
HorizonPath A — payoff firstPath B — invest firstΔ (B − A)Winner
5 yr$0$-222,536−$222,536Pay off
10 yr$0$-143,737−$143,737Pay off
15 yr$0$-34,994−$34,994Pay off
20 yr$117,585$115,783−$1,802Pay off
25 yr⟵ crossover$323,255$325,575+$2,320Invest
30 yr$606,040$617,699+$11,660Invest

Path A wealth at short horizons can be lower than Path B because the early years are spent retiring the mortgage, leaving little compounding window. Path B suffers the inverse drag — if your horizon ends before mortgage payoff (when 16.3-year payoff exceeds your window), the still-owed balance is subtracted from Path B's wealth, which is why short horizons often favour paying off.

Embed builderDrop the Payoff vs Invest on your site →Free widget · 3 sizes · custom theme · auto-resizes · no signupGet embed code

What This Calculator Does

The Pay-Off Mortgage vs Invest calculator answers one of the highest-stakes personal-finance questions a homeowner faces: “I have $500/month I could either pay extra on the mortgage or invest. Which builds more wealth?” Most online comparisons stop at “the rate spread tells you everything” — they don’t. The horizon, after-tax math, and the redirect of freed payments after the mortgage clears all materially change the answer. This calculator models all three.

It runs both paths fully. Path Adumps the extra cash on the mortgage every month, retires it early, then redirects the freed monthly P&I plus extra into a brokerage account at your expected return for the remainder of the horizon. Path Bkeeps the mortgage on its natural schedule and invests the extra cash from day one; if the horizon outlasts the mortgage, the freed P&I joins the investing stream.

Both paths apply long-term capital-gains tax to the gains (default 15% — typical US bracket; set to 0 for Roth IRA / UK ISA). When the horizon ends before the mortgage payoff, the still-owed balance is subtracted from Path B’s wealth — a step most online comparisons quietly skip.

The Math: Two Paths Compared After-Tax

Three numbers drive the answer: the rate spread (expected return − mortgage rate), the horizon, and the tax assumption. The verdict line above the panel summarises which path wins in dollar terms and explicitly flags the risk asymmetry (mortgage save is guaranteed; investment return is expected, not promised).

A Worked Example — “Should I send $500/mo to my 6.5% mortgage or to the S&P?”

Suppose you have a $280,000 mortgage at 6.5% with 27 years left. You have $500/monthof extra cash. Long-run S&P expectation: 7% nominal. Tax on gains: 15%. Horizon: 20 years.

  • Monthly P&I: $1,791 (pmt formula).
  • Path A: pay $2,291/month → mortgage closes at year 18.7 → invest $2,291/month for 1.3 years at 7%. Final after-tax wealth ≈ $36K.
  • Path B: pay $1,791/month, invest $500/month for 20 years at 7% = $259K portfolio, gains ~$139K, tax $20.9K. Mortgage owed at year 20: ~$132K. Net after-tax wealth: $259K − $20.9K − $132K ≈ $106K.
  • Difference: ~$70K for Path B (invest) over 20 years.

On the surface, investing wins by a substantial margin. But notice what the numbers don’t say: Path A’s mortgage save is guaranteed by your loan contract. Path B’s 7% return is an average — the actual realised return over any 20-year window can be 4% or 11%, with all the emotional whiplash that implies.

Run the same scenario at a 10-year horizon and the ranking flips for many spread/rate combinations — Path A wins because Path B hasn’t had time for compounding to overcome the still-owed mortgage. The horizon-by-horizon panel below the verdict shows exactly where the crossover lands for your inputs.

When Investing Wins (and When It Doesn’t)

Investing wins clearly

  • Mortgage rate < 4%. A 3.5% lockdown-era mortgage is nearly free money in nominal terms. Investing the difference at 7% over 20+ years builds six figures of extra wealth. The only reason to accelerate a sub-4% mortgage is psychological.
  • Horizon > 20 years. Long horizons amplify whichever path has the higher rate. Compounding asymmetry over 25+ years buries the rate-spread effect of even small differences.
  • Tax-advantaged account available. If the investing leg goes into a Roth IRA, 401(k), or UK ISA at 0% tax on gains, the after-tax math tilts further toward investing. Always max tax-advantaged space before deciding.

Paying off wins clearly

  • Mortgage rate ≥ expected return.If your mortgage is at 7.5% and you’re comparing to a 6% conservative-portfolio return, paying off is simply higher guaranteed save than expected investment yield. No risk.
  • Horizon < mortgage payoff.If you’re comparing wealth at year 7 on a 27-year mortgage, the still-owed balance dominates Path B’s number. Path A clears the loan inside the horizon and lets the freed P&I compound.
  • You’re risk-averse.If a 30% drawdown in year 5 would make you panic-sell, Path B’s realised return is much lower than the 7% expected. The mortgage payoff is a guarantee that survives all market conditions.

Genuinely close — split the cash

  • Rate spread between 0.5pp and 2pp, horizon 10–15 years. Sensitivity to assumptions is high; the “right” answer is mostly your risk tolerance. Many financial planners recommend a 50/50 split here — half on extra mortgage payments, half invested — to capture both effects without committing fully to either side.

Reading the Crossover Panel

Below the verdict, the panel shows after-tax wealth on both paths at six common horizons (5, 10, 15, 20, 25, 30 years). Three things to watch:

  • The crossover row.The horizon at which the winning path switches. If your real horizon is uncertain (e.g., you’ll move at some point in the 10–15-year window), the crossover row tells you whether the answer is robust or fragile inside your range.
  • The δ column.Magnitude of the difference. If the winning path leads by <5% of mortgage balance, the answer is not robust — sensitivity to expected return and tax assumptions is high. If it leads by >25%, the call is solid.
  • Path A’s short-horizon underperformance. Path A often loses at short horizons because the early years are spent retiring the mortgage with little compounding window. This isn’t a flaw in Path A — it’s the structure of the decision. Long-horizon investors should not penalise Path A for this.

Common Mistakes (and How to Avoid Them)

  • Comparing pre-tax investment return to after-tax mortgage save.The mortgage rate IS the after-tax equivalent (you can’t deduct mortgage payments — and most people can’t deduct mortgage interest post-2017 TCJA). So you must compare the mortgage rate to the AFTER-TAX investment return. A 7% nominal return at 15% LTCG is a 5.95% effective return. That’s the apples-to-apples comparison. The calculator does this automatically.
  • Forgetting the “will I actually invest?” test.If the extra cash sits in checking instead of getting deployed, Path B’s return is 0% — not 7%. Set up an automatic transfer the same day you decide to take Path B, or the math evaporates. For people who lack the discipline, paying off the mortgage is forced savings.
  • Using the headline expected return without haircuts.Fees (expense ratios, advisory fees) drag 0.5–1.5% off net annual returns. Behaviour (selling in downturns) drags another 1–3% in many studies. The 7% you see in long-run charts is the index, not what most investors actually realise. Use 6% nominal as a more honest planning assumption if you’re self-managing without strict discipline.
  • Skipping the 401(k) match step.Always max your employer 401(k) match (often 50–100% return on your contribution) AND HSA contributions (triple tax advantage) BEFORE deciding between extra mortgage payments and taxable investing. This calculator assumes both are already maxed; if they’re not, the right answer is “neither — fund the match first”.
  • Ignoring the inflation hedge of fixed mortgages. A fixed-rate mortgage is implicitly an inflation hedge — your nominal payment stays constant while your nominal income rises. If sustained inflation runs at 4%, a 6% mortgage has only a 2% real rate. The calculator uses nominal rates throughout (clean comparison); to model real returns, subtract long-run inflation (~3%) from BOTH the mortgage rate and the expected return.

How to Use the Save / Share / Print Actions

Click Savebelow the verdict to store the scenario in your browser (up to 5 saved scenarios per calculator). Useful for naming variations: “Conservative — 5% return,” “Aggressive — 9% Roth,” “10-year horizon.” Click Share to copy a URL with your inputs encoded — useful for sending to a partner, financial advisor, or forum thread for a second opinion. Click Print for a clean 1-page summary of the comparison.

How This Differs From Other Calculators

The Compound Interest Calculator models the investing leg only — useful for stress-testing what $500/mo at 7% becomes over various horizons. The Refinance Calculator is the third path in this decision: sometimes the right move is neither “pay off faster” nor “invest” but “refinance to a lower rate first.” The Loan EMI Calculator has the extra-payment slider showing exactly when each extra dollar shaves time off the payoff date. Use them in concert.

Related Tools

Frequently Asked Questions

The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.

  • Should I pay off my mortgage early or invest the extra money?
    It depends on three things: the rate spread (mortgage rate vs expected investment return), your time horizon, and whether you'll actually invest the difference. As a heuristic — if your mortgage rate is at or above the long-run real return on stocks (~7%), paying off usually wins risk-adjusted; if your mortgage is well under 5%, investing the difference usually wins by a wide margin over 15+ years. Between 5% and 7% it's genuinely close, and 'sleep at night' is the deciding factor for most people.
  • How is this calculator different from a generic 'should I pay off mortgage' calculator?
    Three differences. (1) It models BOTH paths fully — Path A pays off the mortgage early, then redirects the freed monthly to investing for the rest of the horizon (most calcs ignore this 'redirect' phase). (2) It applies long-term capital gains tax to investment gains, so the after-tax wealth is what's actually compared, not pre-tax illusions. (3) The verdict explicitly calls out the risk asymmetry — your mortgage save is guaranteed; the expected return is not — most calcs let you pretend they're the same.
  • What does 'mortgage save is guaranteed but investment return is expected' mean?
    Paying extra on a 6.5% mortgage saves 6.5% — period, every dollar, every month. The investment side at 7% expected return is an average; your actual return over 10-20 years could be 4% or 11%. Behavioral finance research shows that risk-averse people derive disproportionate utility from guaranteed gains. So even when investing wins on expected math, paying off can win on lived experience. The calculator surfaces both numbers; you pick the one that matches your psychology.
  • What's a realistic expected return to use?
    For a diversified US stock-index portfolio held 15+ years, 7% real (after inflation) and 10% nominal are the long-run averages back to 1928. Shorter horizons widen the dispersion — a 5-year window can deliver anywhere from -8% to +20% annualized. For mixed portfolios (60/40 stocks/bonds) use 5-6% nominal. For bond-heavy or cash-heavy, 3-4%. Always be conservative — overestimating return inflates the case for investing in a way that won't survive contact with reality.
  • Why does my horizon matter so much?
    Compounding asymmetry. Over 30 years, a 0.5% rate spread compounds to roughly 16% wealth difference; over 5 years, the same spread is ~2.5%. Long horizons amplify whichever path has the higher rate. Also: investment return is more volatile over short windows, so over a 5-year horizon the chance you actually get the expected 7% is roughly 50%; over 25 years, it's much closer to 95%. Long horizons stabilize the case for investing AND amplify the math.
  • What if my horizon is shorter than my mortgage term?
    If you compare over 10 years on a 27-year mortgage, the calculator subtracts the still-owed balance from the Path B (invest) wealth at the horizon — because you'd have to pay it off (or sell into it) at that point. Path A has paid the mortgage off entirely, so its wealth is just the post-payoff portfolio. This is the apples-to-apples comparison most online calcs skip; they show the portfolio gain on Path B but quietly hide the still-pending mortgage liability.
  • Should I include the mortgage interest deduction?
    Almost no one itemizes anymore (post-2017 TCJA the standard deduction is $30,000+ for married couples, $15,000 for single — most homeowners don't clear it). For the ~15% of US filers who do itemize, the mortgage interest deduction reduces the effective mortgage rate by your marginal bracket × interest portion of payments. Practical effect on this calc: it tilts the answer slightly toward 'invest' (effective mortgage rate is lower than headline rate). Currently the calculator uses the headline rate — conservative for non-itemizers, slightly pessimistic for itemizers.
  • What about employer 401(k) match — should I do that before either?
    Yes — 401(k) match is free money (often 50-100% return on your contribution) and dwarfs both options here. Always max the match first. THEN decide between extra mortgage payment vs taxable investing for the cash beyond the match. Same for HSA contributions if you have a high-deductible health plan — triple tax advantage, even better than 401(k) match in many cases. This calculator assumes you've already maxed those.
  • What if I'm risk-averse and just want certainty?
    Then pay off the mortgage. The math may give investing a $50K edge over 20 years on paper, but if a 30% market drop in year 5 would make you panic-sell, the actual realized return is much worse than the expected one. The mortgage payoff is guaranteed. For risk-averse people, the right move is almost always to pay off the mortgage AS LONG AS you'd genuinely keep investing during the down years if you went the other way. Self-honest answer required.
  • What about inflation? Doesn't a fixed mortgage become cheaper over time?
    Yes — a fixed-rate mortgage is implicitly an inflation hedge. If inflation runs 4% and your mortgage is 6%, your real mortgage rate is only 2%. Investments roughly track inflation in nominal terms, so the real return spread changes less than you'd think. The calculator uses nominal rates throughout (mortgage rate AND expected return) so the comparison stays clean. If you want to model real returns, subtract long-run inflation (~3%) from both.
  • What if my mortgage is at 3% from the 2020-21 lockdown era?
    Don't accelerate it. A 3% mortgage is nearly free money in nominal terms (and below recent inflation it's actually negative real). The calculator will show investing wins by a massive margin — usually $100K+ over a 20-year horizon at 7% expected return. The only reason to pay off a 3% mortgage early is psychological (you hate debt), and the cost of that psychological comfort is six figures of forgone wealth.
  • Can I save and share scenarios?
    Yes — click Save under the result to store the scenario in your browser (up to 5 per calculator). Click Share to copy a URL with all your inputs encoded; useful for sending to your spouse, advisor, or a forum thread. Click Print for a clean 1-page summary of the wealth-by-path comparison.