Categories

Mortgage & Real EstateDebt & LoansInvestments & CryptoRetirement & SavingsTax & BusinessCareerReal EstateCost GuidesHome ImprovementLegal & BusinessAuto & VehicleEducationPetsImmigrationMilitary

Related Calculators

Mortgage Calculator 2026: Your Exact Monthly Payment →Compound Interest Calculator →
HomeReal EstatePay Off Mortgage vs Invest Calculator

Pay Off Mortgage vs Invest Calculator

Compare paying off your mortgage early vs investing the extra money. See which strategy builds more wealth.

Auto-updated May 8, 2026 · Verified daily against IRS, Fed & Treasury sources

Instant resultsNo signupVerified formula
Free · No signup · Verified
Pay Off Mortgage vs Invest Calculator

Enter your numbers below

$
%
years
$
%
%
%

Assumptions· 2026

  • ·After-tax mortgage rate = mortgage rate × (1 − marginal rate) if interest deductible
  • ·Mortgage interest deductible only if itemizing (Schedule A) and loan ≤ $750k acquisition debt (IRC §163(h))
  • ·Investment returns compounded at entered CAGR over remaining mortgage term
  • ·Break-even return: investment rate that exactly offsets mortgage payoff benefit shown
When this is wrong
  • ·Sequence-of-returns risk: paying off mortgage locks in historically reliable return; investing carries volatility
  • ·TCJA doubled standard deduction — most homeowners no longer itemize, making mortgage rate comparison pre-tax not after-tax
  • ·Tax drag on taxable investment account returns reduces effective yield
  • ·Liquidity difference: home equity is illiquid; investment portfolio is accessible
Assumptions· 2026▾
  • ·After-tax mortgage rate = mortgage rate × (1 − marginal rate) if interest deductible
  • ·Mortgage interest deductible only if itemizing (Schedule A) and loan ≤ $750k acquisition debt (IRC §163(h))
  • ·Investment returns compounded at entered CAGR over remaining mortgage term
  • ·Break-even return: investment rate that exactly offsets mortgage payoff benefit shown
When this is wrong
  • ·Sequence-of-returns risk: paying off mortgage locks in historically reliable return; investing carries volatility
  • ·TCJA doubled standard deduction — most homeowners no longer itemize, making mortgage rate comparison pre-tax not after-tax
  • ·Tax drag on taxable investment account returns reduces effective yield
  • ·Liquidity difference: home equity is illiquid; investment portfolio is accessible
Example: $200k windfall at 5.5% mortgage vs S&P▾

Patricia, 52, physician in St. Louis, MO, receives $200,000 after-tax from selling a practice stake. Her mortgage has $200,000 remaining at 5.5%, 15 years left. She's deciding: pay off the mortgage entirely vs invest in a taxable brokerage.

  • Mortgage balance: $200,000 @ 5.5%, 15 years remaining
  • Historically reliable return (payoff): 5.5% risk-free (mortgage rate)
  • Invest option: S&P 500 historical avg: 10% nominal, ~7.5% real
  • Patricia's marginal tax rate: 37% federal + 5.4% MO = 42.4%
  • After-tax investment return (LTCG 15%): ~5.8% effective
  • MO mortgage interest deduction benefit: Minimal (near standard deduction)
15-year outcome (invest vs payoff)
Invest: ~$538k · Payoff + redeploy: ~$468k · Investing wins by ~$70k

Takeaway: Mathematically, investing edges payoff at historical S&P returns after tax — but the margin is thin at 5.5%. For Patricia at 52 approaching retirement, sequence-of-returns risk and the psychological benefit of a paid-off home by 67 are real factors. A hybrid approach: pay off the mortgage and maximize all tax-advantaged space ($30,500 in 401k at 52 + HSA) before taxable investing is worth modeling. At 6%+ mortgage rates, payoff often wins mathematically.

When this calculator is wrong▾
  • Risk-adjusted comparison: historically reliable return vs. expected return

    Paying off a 6.5% mortgage earns a historically reliable, risk-free 6.5% return. Equity investing at an expected 7–8% involves sequence risk, behavioral risk, and volatility. For risk-averse investors within 10 years of retirement, the certainty premium of mortgage payoff may outweigh the expected-value case for investing. This calc typically uses arithmetic mean expected returns, which overstate geometric returns under volatility.

  • Mortgage interest deduction reduces the effective rate

    If you itemize (requires exceeding $29,200 MFJ standard deduction in 2025), the mortgage interest deduction reduces the effective after-tax mortgage cost. At a 22% bracket with $15,000 in deductible interest, the net cost is 78% of 6.5% = 5.07%. The break-even point for investing vs. payoff shifts meaningfully — though most homeowners do not itemize.

  • Investment account type changes the after-tax return comparison

    Investing in a Roth IRA or 401k (tax-advantaged) produces very different after-tax returns vs. a taxable brokerage account. A 7% expected return in a Roth yields 7% after-tax; in a taxable account at 24% bracket, expected after-tax return is ~5.5–6%. Taxable brokerage investing only marginally beats mortgage payoff in a normal rate environment.

    Roth IRA Calculator
  • Liquidity is destroyed by prepayment but preserved by investing

    Extra mortgage payments are illiquid — you cannot access prepaid principal without a new loan or HELOC. Invested assets are liquid within 3 business days. For households without 6+ months emergency reserves, deploying surplus cash into mortgage prepayment before building investment accounts creates a liquidity trap.

    Emergency Fund Calculator
  • Psychological value of debt-free status is real but unquantifiable

    Research (Amar et al., 2011; Van Rooij & Lusardi, 2012) shows that debt freedom reduces financial stress in ways that produce measurable wellbeing gains independent of net worth. For some households, paying off the mortgage is the "right" financial decision even if the expected-value calculation favors investing — this tool only shows the expected-value frame.

Related Calculators

Mortgage Calculator 2026: Your Exact Monthly Payment →Compound Interest Calculator →
Your Results

Based on your inputs

ℹ️Demo numbers — replace inputs to see yours
🏆 Investing Wins By
$243,200positivepositive trend
Interest Saved (Payoff)
$125,588
Investment Value (After Tax)
$368,789

📈 Investing the extra money wins

Investing $500/month at 7% produces $368,789 after tax, beating the $125,588 interest saved by $243,200.

Wealth Building Comparison

Monthly Mortgage Payment$2,026
Extra Monthly Amount$500
Effective Mortgage Rate6.5%
Years to Payoff (with extra)15.9 years
Total Interest (normal)$307,686
Total Interest (early payoff)$182,098
Interest Saved$125,588
Investment Value (gross)$407,399
Investment Value (after tax)$368,789
Net AdvantageInvest: $243,200

Reality Score:save 3 numbers across housing, debt & cash to see how your full picture holds up (0–100). One calc alone can't tell you that.

Stays in your browser. Never sent to us.

More actions
Embed

Your next step

📊 Analyze 3+ calcs to unlock your Financial Picture dashboard (cross-analysis of all your numbers).

Continue with Mortgage Affordability Calculator 2026: Your Limit
Email a copy of this result →

Email a copy of this result to yourself. We don't store it server-side; the email is the only copy.

Decision guides

How Much House Can I Afford?
Real income-to-mortgage math before you shop.
Rent vs. Buy: The Full Picture
Break-even timeline + hidden costs compared.
First-Time Homebuyer Checklist
Step-by-step from offer to close.

Deep-dive articles

⚡ Key Takeaways

  • If your investment return exceeds your after-tax mortgage rate, investing wins mathematically. A 3.5% mortgage with 24% deduction = ~2.66% effective rate vs 7% stock returns
  • Paying off a mortgage is a historically reliable, risk-free return equal to your interest rate. Investing carries market risk but historically outperforms
  • The emotional value of being debt-free is real and valid — math doesn't capture the peace of mind from owning your home outright
  • Tax implications matter: mortgage interest deduction lowers your effective rate; investment gains may be taxed at 15-20% LTCG
  • Best of both worlds: Make normal payments, invest the difference, then use the investment to pay off the mortgage when the math is right

The Math: When Investing Wins

The core comparison is simple: what's your mortgage interest rate vs your expected investment return?

If your mortgage is 3.5% and stocks return 7%, every dollar you invest instead of paying extra on the mortgage earns an extra 3.5% per year. Over 20 years, this compounds significantly.

But it's not quite that simple. You may want to consider:

• Tax deduction: If you itemize, mortgage interest is deductible. A 3.5% rate at 24% bracket = 2.66% effective rate
• Investment taxes: Investment gains are taxed at 15-20% when realized. 7% gross ≈ 6% after tax
• Risk: Mortgage payoff is historically reliable. Stock returns are not — you might earn -20% in a bad year
• Inflation: Your mortgage is fixed. Inflation makes future payments cheaper in real terms

The Emotional Case for Paying Off

The math usually favors investing, but numbers don't tell the whole story:

• No mortgage payment = dramatically lower monthly expenses
• Job loss or income disruption is far less scary without a mortgage
• You can downshift to part-time work or retire earlier
• The psychological weight of debt is real for many people

A Hybrid Strategy

Consider: make minimum mortgage payments, invest the extra in a brokerage account. When the investment exceeds the remaining mortgage balance, you can pay it off in full with investments to spare.

If your mortgage rate (after tax deduction) is lower than your expected investment return (after taxes), investing wins mathematically. But risk tolerance and peace of mind matter too.

Historically, the S&P 500 returns ~10% nominal (~7% after inflation). A conservative assumption of 7% nominal is common for long-term planning.

Yes. The deduction lowers your effective mortgage rate. A 6% mortgage with 24% tax deduction = 4.56% effective rate, making investing more attractive.

Paying off a 6% mortgage gives you a historically reliable 6% return (risk-free). Investing at 7% expected return carries risk. For risk-averse people, the historically reliable return may be preferred.

On a $300,000 mortgage at 6.5 percent over 30 years, adding $500 per month in extra payments saves over $150,000 in total interest and cuts roughly 12 years off the loan term.

Make normal mortgage payments and invest the extra money in a brokerage account. Once the investment balance exceeds the remaining mortgage balance, you can pay off the mortgage in full and keep the surplus invested.

Inflation works in favor of keeping the mortgage because you repay with cheaper future dollars. A fixed-rate mortgage payment stays the same while your income and investments grow, making the real cost of the mortgage decrease over time.

Generally no. If your mortgage rate is below 4 percent, investing the extra money historically produces significantly higher returns. The gap between a 3.5 percent mortgage and 7 percent investment returns compounds dramatically over decades.

Being mortgage-free dramatically reduces monthly expenses, provides security during job loss or income disruption, and eliminates the psychological burden of debt. For many people, the peace of mind outweighs the mathematical advantage of investing.

Investment gains in a taxable account face capital gains tax of 15 to 20 percent when realized. Reduce your expected investment return by the tax drag to get a fair comparison. Tax-advantaged accounts like 401(k)s defer this cost.

Compare: Interest saved from early payoff vs investment growth (after taxes)

Effective mortgage rate = Rate × (1 − Tax Bracket) if itemizing deductions

Investment after tax = Growth − (Gains × Capital Gains Rate)

Published byJere Salmisto· Founder, CalcFiReviewed byCalcFi EditorialEditorial standardsMethodologyLast updated May 9, 2026

Primary sources & authoritative references

Every formula on this page traces to a federal agency, central bank, or peer-reviewed institution. We cite the rule-makers, not secondhand blogs.

  • IRS Publication 936 — Home Mortgage Interest Deduction — Internal Revenue ServiceAfter-tax mortgage cost depends on deductibility; Publication 936 governs. (opens in new tab)
  • FRED — 30-Year Fixed Rate Mortgage Average — Federal Reserve Bank of St. LouisBenchmark mortgage rate for opportunity-cost comparison. (opens in new tab)
  • SEC Investor.gov — Compound Interest Calculator — U.S. Securities and Exchange CommissionInvestment growth side of the payoff vs. invest trade-off. (opens in new tab)

Found an error in a formula or source? Report it →

Calculations are for educational purposes only. Consult a qualified financial advisor for personalized advice.