Skip to calculator

Mortgage Payoff vs Invest Calculator

Compare two ways to use the same extra monthly cash: (1) pay down your mortgage faster to reduce interest, or (2) invest the extra amount and let it compound. Results are estimates intended for planning and education.

Calculator

Enter your remaining mortgage details and the extra amount you can consistently apply each month. The calculator will estimate (a) how quickly the mortgage could be paid off if you add the extra payment and (b) what the extra amount could grow to if invested monthly for the full remaining term. For best results, use realistic inputs and treat the output as a comparison tool rather than a guarantee.

Remaining principal balance (not the original loan amount). Example: 275000.

Annual percentage rate, e.g., 6.5 for 6.5%.

How many years are left on your mortgage. Example: 23.

The additional amount you can pay (or invest) each month. Example: 250.

Assumed average annual return, e.g., 7 for 7%. Consider using a conservative estimate.

How the comparison works

The core idea is simple: you have the same extra monthly dollars either way. The question is whether those dollars are better used to reduce mortgage principal (saving interest and shortening the loan) or to build an investment balance (earning compound growth). This page explains what the calculator is doing so you can interpret the output correctly.

What the calculator compares

  • Mortgage strategy: It computes the standard monthly payment for the remaining balance, rate, and term, then adds your extra monthly amount. It simulates the loan month by month until the balance reaches zero (or until the original term ends). It reports the payoff time and the total interest paid during the simulated period.
  • Invest strategy: It assumes you invest the extra monthly amount for the full remaining term and estimates the future value using monthly compounding based on your annual return assumption.

Formulas used (plain‑English definitions)

The baseline monthly mortgage payment (without extra payments) uses the standard amortization formula:

M = P r 1 - ( 1 + r ) - n

In this formula, P is your current mortgage balance, r is the monthly interest rate (APR ÷ 12), and n is the number of remaining monthly payments (years remaining × 12). The calculator uses this payment as the starting point, then adds your extra monthly amount.

For investing, the calculator uses the future value of a series (a stream of equal monthly contributions) with monthly compounding:

FV = C ( 1 + i ) n - 1 i

Here, C is the monthly contribution (your extra amount), i is the monthly investment return (annual return ÷ 12), and n is the number of months invested.

Assumptions and limitations (what’s included and what’s not)

  • Constant rates: Mortgage APR and investment return are treated as constant averages. Real mortgages can change (ARM adjustments, refinancing), and markets fluctuate.
  • No taxes or deductions: The model does not account for mortgage interest deductions, capital gains taxes, dividend taxes, or tax‑advantaged accounts. These can materially change the “effective” return of each strategy.
  • No fees: Investment expense ratios, advisory fees, and trading costs are not included. Even small annual fees can reduce long‑term compounding.
  • Monthly timing: The model assumes monthly contributions and monthly compounding. In practice, contributions might be biweekly, and returns accrue continuously.
  • Risk and behavior: Paying extra on a mortgage is a relatively certain benefit (interest avoided), while investing involves volatility and the possibility of underperforming the assumed return—especially over shorter horizons.
  • Liquidity: Money invested in a brokerage account is generally more liquid than home equity. Liquidity can matter if you anticipate needing cash for emergencies or opportunities.

Worked example (illustrative numbers)

Imagine these inputs: a $300,000 remaining balance, 4% APR, 25 years remaining, and an extra $300 per month. If you invest instead, assume a 7% annual return. Under those assumptions, one possible comparison looks like this:

Example comparison of paying extra on a mortgage versus investing the extra amount
Scenario Time to Payoff Total Interest Paid Ending Balance / Investment
Extra to Mortgage 21.8 years $141,000 $0 balance
Invest the Extra 25 years $175,000 $242,000 invested

The example is not a promise; it’s a demonstration of sensitivity. If you change the expected return from 7% to 5%, the investment outcome can drop substantially. If your mortgage rate is 7% instead of 4%, the “guaranteed” savings from paying down principal becomes much more competitive.

How to use the output responsibly

Use the results as a directional guide. If the investment projection only slightly exceeds the interest savings, the decision may come down to risk tolerance, job stability, and how much you value being debt‑free. If the investment projection is dramatically higher, investing may be attractive—provided you can stay invested through market downturns. If the mortgage payoff time drops by many years with a manageable extra payment, that can be a meaningful lifestyle and cash‑flow improvement.

Pay Down the Mortgage or Invest?

The “pay off the mortgage early vs invest” question is common because both choices are reasonable. A mortgage is typically the largest debt a household carries, and investing is often the primary way households build long‑term wealth. The best answer depends on your numbers and your preferences, not on a one‑size‑fits‑all rule.

Think in terms of competing returns

Extra mortgage payments can be thought of as earning a return roughly equal to your mortgage interest rate because each extra dollar reduces future interest. That return is relatively predictable. Investing aims for a higher expected return, but it comes with uncertainty. In other words, paying down the mortgage is closer to a “risk‑free” return (though not perfectly risk‑free), while investing is a risk‑bearing return.

Risk tolerance and time horizon

If you have a long time horizon and can tolerate volatility, investing the extra amount may be appealing because compounding has more time to work. If you are closer to retirement, have variable income, or simply dislike debt, the certainty of reducing the mortgage balance can be more valuable than the possibility of higher market returns. The calculator helps you quantify the trade‑off, but it cannot measure your comfort level.

Liquidity and flexibility

Liquidity is often overlooked. Money sent to the lender becomes home equity, which is not as easy to access without a refinance, a home equity loan, or a HELOC. Money invested in a taxable brokerage account is generally more accessible (though selling can trigger taxes and may occur during a market downturn). If you do not yet have an emergency fund, many planners recommend building that first before accelerating mortgage payoff.

Taxes and account type can change the math

Taxes can tilt the decision. Mortgage interest may be deductible for some households who itemize, which reduces the effective cost of the mortgage. Investment returns may be taxed as dividends, interest, or capital gains depending on the account and holdings. If your extra dollars can go into a tax‑advantaged account (such as a 401(k) or IRA), the after‑tax benefit of investing may be stronger than investing in a taxable account. Conversely, if you are already maximizing tax‑advantaged contributions, paying down the mortgage can be a compelling next step.

Behavior matters more than perfect optimization

A strategy you can stick with often beats a theoretically optimal strategy you abandon. Some people invest aggressively but panic‑sell during downturns; others plan to pay extra on the mortgage but stop when expenses rise. Consider automating whichever choice you make: automatic extra principal payments or automatic investment transfers. If you are torn, a hybrid approach—splitting the extra amount between mortgage and investing—can reduce regret and diversify the outcome.

Common scenarios where paying extra can make sense

  • You have a high mortgage rate relative to realistic after‑tax investment returns.
  • You are close to retirement and want lower fixed expenses.
  • You value the psychological benefit of being debt‑free.
  • You have limited risk capacity (for example, unstable income or low cash reserves).

Common scenarios where investing can make sense

  • Your mortgage rate is low and you have a long time horizon.
  • You can invest in diversified, low‑cost funds and stay invested through volatility.
  • You still have access to employer matches or tax‑advantaged contributions.
  • You want liquidity and flexibility for future goals (education, business, relocation).

This calculator is intentionally simple: it focuses on the core mechanics (amortization vs compounding). If you want a more complete plan, consider running multiple scenarios: conservative return assumptions, higher return assumptions, and different extra payment amounts. The most useful output is often the range of outcomes, not a single number.

Frequently asked questions

Does paying extra always reduce the loan term?

In most standard amortizing mortgages, extra payments applied to principal reduce the balance faster, which reduces future interest and can shorten the payoff time. However, some lenders treat extra payments differently unless you specify “apply to principal.” Always confirm how your servicer applies additional payments.

Why does the calculator use monthly rates?

Mortgages are typically paid monthly and interest accrues monthly in common amortization models. Likewise, many people invest on a monthly schedule. Converting annual rates to monthly rates keeps the comparison consistent. The calculator divides the annual APR and annual expected return by 12 to estimate monthly rates.

What if my investment return is 0% or very low?

If the expected return is extremely low, investing may not outpace the interest savings from paying down the mortgage. In real life, returns can be negative in some years and positive in others. Consider testing multiple return assumptions (for example 4%, 6%, and 8%) to see how sensitive the result is.

Should I invest before paying extra on the mortgage?

Many people prioritize (1) high‑interest debt, (2) an emergency fund, and (3) capturing any employer retirement match before making extra mortgage payments. After that, the decision becomes more personal. If you are already investing consistently and have a stable financial base, extra mortgage payments can be a strong “guaranteed return” component of your plan.

Does the calculator include refinancing or prepayment penalties?

No. If you plan to refinance, the remaining term and interest rate can change, which changes the comparison. Some loans may have prepayment penalties (less common today, but still possible). If your loan has one, include that cost in your decision.

How should I choose an expected return?

A practical approach is to use a conservative long‑term estimate based on your asset allocation and fees. For a diversified stock‑heavy portfolio, some people use 6%–8% nominal as a planning range, while more conservative portfolios may use 3%–5%. The “right” number is the one that matches your risk level and time horizon. Running multiple scenarios is often more informative than picking a single rate.

Embed this calculator

Copy and paste the HTML below to add the Mortgage Payoff vs Invest Calculator | Compare Extra Payments vs Investing to your website.