Mortgage Buyout vs Investing
Compare the long-term financial benefits of paying off part of your mortgage vs. investing the same amount in the market.
“Pay down the mortgage or invest the difference?” is one of the most common and least resolvable questions in personal finance, because the correct answer depends on numbers (your rate, expected returns, tax treatment) and on psychology (how you sleep at night with debt versus risk). This calculator runs a side-by-side 30-year simulation of both strategies, including the often-overlooked question of what you do with your cash flow after the mortgage is paid off — which is frequently where the whole comparison is decided.
The core trade-off
Paying down a mortgage is a guaranteed, risk-free return equal to your mortgage interest rate. Every extra euro you put in saves you every future interest payment that euro would have generated. Investing is an expected, risk-weighted return — higher on average over long horizons, but volatile and never guaranteed.
The mathematical comparison is roughly:
- Mortgage rate
r_m(after-tax if mortgage interest is deductible) - Expected net investment return
r_i(after taxes and fees) - If
r_i > r_mconsistently over the horizon, investing wins the expected value - If
r_m ≥ r_ior you want certainty, paying down wins
But that’s only the first layer. Four other factors meaningfully change the answer.
Factor 1: taxes
Mortgage interest and investment returns are rarely taxed the same way.
- Mortgage interest deductibility. In the US, itemized mortgage interest is deductible on primary residences up to certain caps; in the UK and much of Europe, it is not. A deductible mortgage at 5% effectively costs about 3.5% for a 30% marginal-rate taxpayer, which lowers the “guaranteed return” of paying it off.
- Investment tax wrappers. A tax-advantaged account (US 401(k)/IRA, UK ISA, Estonian III pillar) changes the investment side dramatically. Ten years of tax-deferred compounding easily swings the comparison in favor of investing.
- Capital gains on taxable investments. In a regular brokerage account, long-term capital gains in most jurisdictions are taxed at 15–25%. That drops a 7% gross return to roughly 5.25% net.
Use the calculator’s tax-rate inputs to model your actual situation rather than defaulting to pre-tax numbers.
Factor 2: inflation
Inflation is the silent ally of anyone holding fixed-rate debt. If your mortgage is at 3% and inflation averages 3%, the real cost of your debt is zero — you pay back money that is worth less than the money you borrowed. On a 30-year mortgage, a decade of 4% inflation can shrink the real value of the remaining balance by a third.
The same force erodes nominal investment returns, but because returns compound, inflation’s impact is usually smaller in relative terms. The calculator includes an optional inflation rate so you can view results in today’s purchasing power rather than inflated future euros.
Factor 3: the reinvestment question
This is the factor most simple calculators ignore, and it is often the decisive one.
Scenario A: pay down the mortgage first. You throw extra money at the mortgage for 15 years, finish it 10 years early, then have a large monthly cash flow for the remaining 15 years. The comparison only makes sense if you actually invest that cash flow after payoff. If you absorb it into lifestyle spending, the comparison collapses and the “invest first” strategy wins by a wide margin.
Scenario B: invest extra money continuously. You put the extra monthly amount into an investment account for the full 30 years, and the mortgage runs its full term.
Both scenarios end up with a combined net worth (investment portfolio + home equity). The calculator models both faithfully — and you will often see that the result depends as much on discipline as on interest-rate math. People who are excellent savers can afford to invest; people who struggle with discipline may find the forced austerity of extra mortgage payments a better real-life strategy.
Factor 4: risk tolerance and liquidity
A paid-off house is illiquid — you cannot slice off a 10% piece to handle an emergency. A brokerage account is liquid. Moving cash into the mortgage is not reversible on short notice, even with a HELOC or re-advance feature.
Ask yourself:
- Do I have 3–6 months of expenses in cash already? If not, prioritize that before either extra payments or aggressive investing.
- Is my job or income volatile? More liquidity matters more.
- Would a 40% market drawdown during a recession make me sell at the bottom? If yes, the “invest” strategy’s expected value is overstated because your actual behaviour will underperform the model.
How to use this calculator
- Enter your mortgage details — current balance, rate (base rate plus margin on variable-rate loans), remaining term.
- Set your extra monthly contribution — the amount you could either shovel into the mortgage or into investments.
- Set expected investment return — be conservative. Historical equity returns of 7–10% nominal are gross; after fees and taxes in a regular brokerage account, 5–6% is a more defensible planning number.
- Set inflation and tax rates to see real, after-tax outcomes.
- Pick a reinvestment strategy — after the mortgage is paid off in Scenario A, does the freed cash flow get invested or spent?
- Compare the ending net worth of both scenarios over a horizon long enough to capture the post-payoff phase (typically 25–30 years).
Worked example
€150,000 remaining mortgage at 4.5% over 20 years. €500/month in extra cash. Expected net investment return 6%. 3% inflation. 25-year horizon.
- Scenario A — extra to mortgage, then invest. Mortgage paid off in about year 14. The €500 plus the freed monthly payment of roughly €950 (~€1,450/month) is then invested for 11 years. Ending net worth ≈ €340,000 (nominal).
- Scenario B — invest extra throughout. The mortgage runs its full 20 years. The €500/month compounds at 6% for 25 years. Ending net worth ≈ €360,000 (nominal), but only if the €500 gets invested every single month without fail.
In this example investing wins on paper by ~€20,000, but the margin is small enough that psychology, tax treatment, and consistency can flip the result.
When paying down the mortgage is clearly better
- Your after-tax mortgage rate is higher than your realistic after-tax investment return.
- You have poor savings discipline and are likely to spend rather than invest the difference.
- You’re close to retirement and value the certainty of a paid-off home.
- You already have an emergency fund and a fully funded retirement account.
When investing is clearly better
- You have access to tax-advantaged accounts with matching contributions (leaving a 401(k) match on the table is almost always the wrong move).
- Your mortgage rate is low (< 4%) and fixed, and you have 20+ years until retirement.
- You have a stable income and the discipline to actually invest the money.
- You have sufficient liquidity elsewhere.
Frequently asked questions
My mortgage is 2.5% and the market “always” returns 7%. Why would I ever pay it down?
If those assumptions hold, you wouldn’t, mathematically. But the “always” in “always returns 7%” is doing a lot of work — the long-run average hides the fact that the actual path includes 40% drawdowns and decade-long flat stretches. If a big drop would force you to sell at the bottom or lose sleep for a year, the behavioural return is lower than the nominal one. For most people with rates under 4%, invest. For rates above 6%, paying down is increasingly attractive.
Should I refinance instead?
Often, yes — especially if rates have dropped since origination. Refinancing from 6% to 4% saves interest without requiring any behavioural change. Run the refinance costs against the savings before committing.
Does this apply to buy-to-let or investment properties?
The math is different because mortgage interest on investment properties is typically deductible as a business expense, and the property itself generates income. This calculator is built around a primary residence.
What about paying down high-interest debt instead?
Credit-card debt at 18–25% is almost always the top priority. Neither a mortgage at 4% nor an investment portfolio at an expected 7% competes with the guaranteed return of eliminating 20% interest.
Are there partial strategies?
Yes. Many people split: hit the match on retirement accounts, maintain an emergency fund, invest in a tax-advantaged account, and throw modest extra amounts at the mortgage as a hedge. The “all or nothing” framing is rarely the right one in practice.
Privacy note
All calculations happen in your browser. No figures, scenarios, or mortgage details ever leave your device.
Disclaimer: This tool is for educational purposes only and does not constitute financial advice. Consult a qualified financial advisor before making decisions about debt, investing, or mortgage prepayment.