Mortgage Overpayment vs Investing: Which Wins, and When
A clear, country-neutral comparison of mortgage overpayment vs investing, with the formula, a worked example, and the conditions under which each route tends to come out ahead.
FinToolSuite Editorial
An extra 500 a month directed at a 25-year mortgage at 5% cuts the term by roughly a decade and removes tens of thousands in interest. The same 500 a month invested at a 7% long-run return grows to a similar six-figure sum over the same window. The mortgage overpayment vs investing question comes down to the gap between those two figures once tax, risk, and the leftover mortgage balance are factored in.
This post walks through a plain-English formula, a worked example with country-neutral numbers, and the conditions under which each route tends to come out ahead. The mortgage overpayment calculator handles the arithmetic; the logic below makes the output interpretable.
What you will find on this page
- What is the choice between mortgage overpayment and investing?
- Why this matters
- How mortgage overpayment vs investing is calculated
- A worked example with real numbers
- How to use the mortgage overpayment calculator
- Common scenarios
- Things to watch for
- Related calculations and tools
- Frequently asked questions
- Sources and methodology
- Putting it together
What is the choice between mortgage overpayment and investing?
Mortgage overpayment vs investing is the decision of where to direct surplus monthly cash once essential spending and an emergency fund are covered. One path uses the surplus to pay down the mortgage faster, lowering lifetime interest and shortening the term. The other path puts the surplus into a diversified portfolio of stocks and bonds, aiming for long-run returns above the mortgage rate.
Overpayment delivers a known return at the mortgage interest rate. Investing is probabilistic: a higher expected return, but a wider range of outcomes, including stretches of loss.
Why this matters
For most homeowners, a mortgage is the single largest liability they will ever carry. Interest paid over a 25-year loan typically exceeds half the original loan amount at moderate rates, so small changes to the repayment trajectory compound into very large differences by the end.
Stock markets have historically delivered long-run real returns in the 4 to 7 percent range over multi-decade windows. The mortgage overpayment vs investing question is, basically, whether the certain saving from cutting interest beats the uncertain but typically higher return from a market portfolio over the same horizon.
Three factors push the answer either way: the mortgage rate, the expected investment return after tax and fees, and the time the money has to compound. Higher rates strengthen the overpayment case; longer horizons and lower rates strengthen the investing case. Tax treatment of gains shifts the breakeven further in either direction depending on the jurisdiction.
How mortgage overpayment vs investing is calculated
The comparison resolves to two end-of-window wealth figures, set side by side at the same date, using the same assumed return, the same tax rate, and the same monthly surplus.
For the investing path, the surplus is invested at an assumed return and taxed on the gain. The mortgage continues on its original schedule, so the remaining balance at the end of the window is subtracted from the investment pot to get net wealth. For the overpayment path, the calculation finds the date the mortgage clears, then invests the full freed-up cashflow for whatever time remains in the window.
Net wealth (investing path) = FV_invest_net_of_tax - Remaining_mortgage_balance
Net wealth (overpayment path) = FV_freed_cashflow_net_of_tax
Where FV_invest_net_of_tax is the future value of the monthly surplus invested for the full window, net of tax on the gain; Remaining_mortgage_balance is the debt still owed at the end of the window under the original schedule; and FV_freed_cashflow_net_of_tax is the future value of the full mortgage payment plus surplus, invested from payoff to the end of the window, net of tax.
The future value of a regular monthly contribution uses the standard annuity formula. Contribution C, monthly rate r, number of months n:
FV = C * (((1 + r)^n - 1) / r)
A worked example with real numbers
Unitless figures, applicable in any currency. A mortgage of 200,000 at 5% nominal over 25 years (300 months) gives a standard monthly payment of approximately 1,169. Surplus of 500 a month, 20-year comparison window. Illustrative tax on investment gains: 35%. Assumed equity return: 7% long-run nominal.
Investing path. The 500 surplus is invested every month for 240 months at 7%. By the annuity formula, gross future value is approximately 260,500. Total contributed is 120,000, so the gain is roughly 140,500. After 35% tax on the gain, the net pot is approximately 211,300. The mortgage continues on its original schedule, so at month 240 the outstanding balance is approximately 62,000. Net wealth: 211,300 minus 62,000, or approximately 149,300.
Overpayment path. Adding 500 to the monthly payment makes a new payment of approximately 1,669. The mortgage clears in approximately 166 months, or roughly 13.9 years. From month 167 to month 240, the full 1,669 a month is freed. Invested at 7% for the remaining 74 months, that flow accumulates to approximately 153,000 gross. The gain is approximately 30,000, so tax at 35% costs about 10,500, leaving roughly 142,500 net. No mortgage balance to subtract.
Investing produces approximately 149,300; overpayment produces approximately 142,500. The margin is around 6,800 over two decades, or roughly 5% — close enough that the result is sensitive to inputs and neither path clearly dominates.
The mortgage overpayment calculator runs both scenarios with personal inputs and shows the breakeven point at which the two paths converge.
How to use the mortgage overpayment calculator
The calculator takes the current mortgage balance, interest rate, remaining term, standard monthly payment, and proposed overpayment amount. It also takes an assumed investment return and a tax rate on gains for the comparison side.
Outputs include the revised mortgage term, total interest avoided, projected investment value over the chosen horizon, and a net-wealth comparison at the end of the window. The visual schedule shows the year-by-year balance under each path, making the crossover point easy to spot.
Running the mortgage overpayment calculator at three return rates — conservative, central, and optimistic — produces a sensitivity range that better reflects real-world uncertainty than a single point estimate.
Common scenarios
High mortgage rate, ordinary equity expectations
When the mortgage rate sits at or above the after-tax expected return on a diversified portfolio, overpayment usually wins on the numbers. A 7% mortgage against a 7% pre-tax equity return becomes a clear overpayment case once tax on gains is applied.
Low mortgage rate, long horizon
A 3% mortgage against a 7% expected equity return, with 20 years or more on the clock, produces more wealth on the investing path in most scenarios. The expected return gap is large enough that even after tax, the probability of investing producing a better outcome is high. The shorter the horizon, the smaller this edge becomes.
Tax-sheltered retirement account available
When the surplus can be directed into a tax-advantaged retirement account, the tax drag on investment gains shrinks substantially, shifting the breakeven materially in favor of investing.
Approaching retirement
Clearing a mortgage before retirement removes a major fixed cost from the post-work budget. Even when the math favors investing, many homeowners value the cashflow certainty of an owned home with no monthly housing payment.
Things to watch for
- Comparing the mortgage rate directly to the expected equity return. The relevant comparison is the mortgage rate against the expected return after tax and fees, not the headline market return.
- Ignoring the emergency fund. Cash directed at the mortgage cannot easily be retrieved. Neither path replaces a separate liquid reserve of three to six months of expenses.
- Treating the equity return as a fixed number. A 7% assumption is a long-run average. Twenty-year windows have historically produced annualized real returns from below 2% to above 10%, depending on the start date.
- Forgetting the remaining mortgage balance. Comparisons that look only at the investment pot at the end of the window, without subtracting the mortgage debt still owed under the investing path, systematically overstate the case for investing.
- Anchoring on certainty bias. Avoided interest feels concrete in a way that future investment gains do not. This is a perceptual asymmetry, not a financial one.
Related calculations and tools
Working out where to direct surplus cash usually pulls in more than one calculation. These tools complement the overpayment comparison:
- Mortgage overpayment calculator — model both paths with personal inputs and see the breakeven point
- Compound interest calculator — project how monthly contributions grow at different return rates
- FIRE calculator — frame the surplus decision against a retirement target rather than a fixed window
Frequently asked questions
Is it better to pay off mortgage or invest?
The answer depends on three variables: the mortgage rate, the expected investment return after tax, and the time horizon. When the after-tax expected return on a diversified portfolio comfortably exceeds the mortgage rate, investing usually produces more wealth at the end of the comparison window. When the rates are close, the certainty of overpayment often wins on a risk-adjusted basis. A 25-year horizon with a 3% mortgage and 7% expected return strongly favors investing. A 10-year horizon with a 6% mortgage and 5% expected return strongly favors overpayment. The calculator allows both paths to be modeled with personal inputs.
Does mortgage overpayment vs investing change with tax brackets?
Yes, materially. Investment gains are usually taxed at some rate, while avoided mortgage interest is effectively tax-free because the interest itself is paid from after-tax income. A higher marginal tax rate on investment gains reduces the net return from investing and shifts the breakeven toward overpayment. The shift is largest for taxable accounts and smallest for tax-advantaged retirement accounts, where gains may be deferred or exempt. Running the comparison with the correct tax rate applied to investment gains, rather than using gross return figures, produces a far more accurate result.
What investment return should be used for the comparison?
Long-run nominal returns for global equities have historically averaged in the 6 to 9 percent range, with real returns of about 4 to 7 percent after inflation. A balanced portfolio of stocks and bonds typically returns less than a pure equity portfolio. Using a single point estimate can be misleading because actual 20-year returns vary widely depending on the starting point. A more robust approach uses three figures — a conservative case (perhaps 4%), a central case (perhaps 6 to 7%), and an optimistic case (perhaps 8 to 9%) — and checks whether the conclusion holds across all three.
Should the mortgage be cleared before retirement?
The numerical case and the cashflow case can point in different directions. Numerically, if the after-tax expected return on investments exceeds the mortgage rate, carrying the mortgage into retirement and keeping the investment pot intact may produce more total wealth. From a cashflow perspective, a paid-off home removes a major fixed cost from the retirement budget and reduces sequence-of-returns risk in early retirement. A retiree forced to sell investments during a market downturn to cover mortgage payments is in a worse position than one with no housing payment to make. The numerical answer and the lived-experience answer can both be valid.
Can both paths be pursued at the same time?
Yes, and many homeowners do exactly this. Directing part of the surplus to overpayment and part to investments produces a blended outcome between the two pure strategies. This diversifies the risk of either approach being suboptimal in hindsight. The blended path produces less wealth than the winning pure strategy and more wealth than the losing one, with lower variance than either. A common split is to overpay up to any annual penalty-free limit on the mortgage and invest the remainder.
Sources and methodology
The formulas used here are standard time-value-of-money expressions. The future value of a regular contribution stream uses the ordinary annuity formula. Mortgage interest figures come from re-running the amortization schedule with the modified payment, and the remaining balance after a given number of payments is computed from the standard outstanding-balance expression.
Long-run equity return assumptions draw on multi-decade global return data summarized by:
- Organisation for Economic Co-operation and Development, Finance topic — household debt and saving data across member economies
- Bank for International Settlements statistical releases — mortgage debt outstanding and lending rates across major economies
The 7% long-run nominal equity return is a midpoint estimate consistent with historical global equity performance over rolling 20-year windows. The 35% tax assumption is illustrative and not tied to any specific jurisdiction.
Putting it together
The mortgage overpayment vs investing question rarely has a single correct answer that holds across all homeowners. The mathematics is unambiguous once the inputs are fixed, but the inputs themselves depend on the mortgage rate, the realistic after-tax investment return, the time horizon, and the homeowner's preference for certainty over expected value. At low mortgage rates with long horizons, investing the surplus typically produces more total wealth. At high rates or short horizons, overpayment typically wins. Around the breakeven, the choice is closer to a wash than the framing usually suggests, which means the decision can rest on factors beyond the spreadsheet — cashflow preferences, risk tolerance, and what each path makes possible in the years that follow.