Audited 05 Aug 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Mortgage Payoff vs Invest Calculator

Compare putting a lump sum against your mortgage with investing it: the mortgage side compounded monthly at the note rate, the investment at your return.

Mortgage Payoff vs Invest Calculator

%
%
years
Payoff-equivalent future value before tax effects
181,939.67
The lump sum compounded monthly at the mortgage note rate over the horizon, in dollars: what prepaying is worth at the end, before tax effects.
Expected investment future value before taxes and fees
196,715.14
Investment value minus payoff-equivalent value
14,775.46

Background.

Every dollar you put against a 6% mortgage earns exactly 6% for as long as the loan would otherwise have run. It is not a figure of speech: the dollar stops interest from being charged on itself, month after month, and that saving compounds at the loan's rate. No market move can take it away. The dollar you invest instead might earn 7%, 10% or minus 20% this year, and you will not know which until the year is over.

That is the trade the calculator lays out. It takes one lump sum — an inheritance, a bonus, the proceeds of selling a car — and grows it two ways over the same number of years: at the mortgage rate compounded monthly, as a stand-in for the interest you avoid by prepaying, and at the annual return you expect from investing. The first result is what the prepayment is worth at the end of the horizon; the second is what the investment would be worth if your expectation came true; the third is the difference.

The arithmetic is the easy part of the decision. The investment figure is a hope, not a promise, while the payoff figure is close to certain. Taxes treat the two differently: mortgage interest helps only if you itemize, and investment returns are taxed unless they sit in a tax-advantaged account. And money paid into a house cannot easily be taken back out. A prepaid mortgage still demands the full monthly payment, so a household that sends its savings to the lender and then loses an income can end up short of cash while owning more of its home.

Use the gap between the two results as a measure of how much extra return you are being paid to take on risk and give up flexibility. Whether that is enough is a judgement only you can make.

What is mortgage payoff vs invest calculator?

The comparison sets a prepayment's guaranteed return against an investment's expected one. When you prepay principal on a fixed-rate amortizing loan and keep making the same monthly payment, the balance at any later date is lower by the prepayment grown at the loan's interest rate, so the mortgage rate is the return on the money. Investing the same sum earns whatever the market delivers, which you can only estimate. Both results here are before tax. Prepayment saves interest that you might otherwise deduct — IRS Publication 936 for 2025 allows the deduction only if you itemize on Schedule A, and only on the first $750,000 of home acquisition debt taken out after December 15, 2017, or $375,000 if married filing separately. Investment gains are usually taxed when you receive dividends or sell, except inside retirement and other tax-advantaged accounts. Check your note for a prepayment penalty before counting on the full mortgage rate: Regulation Z permits one only on certain fixed-rate qualified mortgages, at no more than 2% of the amount prepaid in the first two years and 1% in the third, and none after that.

How to use this calculator.

  1. Enter the lump sum you are weighing. Keep an emergency reserve out of it: once money is in the house, getting it back means borrowing against the home or selling it.
  2. Enter your mortgage's note rate from your statement or Closing Disclosure; it is compounded monthly, as the loan accrues interest. If you itemize and deduct mortgage interest, multiply the rate by one minus your marginal tax rate to get your after-tax cost, and use that instead. On an adjustable-rate loan, the return on prepaying changes at every reset, so enter the average rate you expect over the horizon rather than today's.
  3. Enter the annual return you realistically expect after fund fees, and after taxes if the money would go into a taxable account. Run a low case and a high case as well as your central guess.
  4. Set the horizon no longer than the years left on your mortgage, and shorter still if the lump sum would pay the loan off early. The comparison only holds while the loan is still outstanding.
  5. Read the difference last. A positive figure means investing comes out ahead if your expected return arrives; a negative one means prepaying wins even on your own assumptions. Splitting the money is a legitimate answer too: because both sides grow in proportion to the sum, putting half towards each lands exactly halfway between the two results — $189,327.40 in the default case.

The formula.

payoff value = L x (1 + m/12)^(12n); investment value = L x (1 + r)^n; both over the same horizon n

Payoff-equivalent value = L × (1 + m ÷ 12)^(12n) and investment value = L × (1 + r)^n, where L is the lump sum, m the mortgage note rate and r the expected annual return, both as decimals, and n the horizon in years. The third output is the second minus the first. The mortgage side compounds monthly because a mortgage charges interest monthly; the investment side compounds annually because the return you enter is an annual figure. Both results ignore taxes, fees, inflation and risk.

The payoff side rests on a property of amortizing loans worth checking for yourself. Take a $400,000, 30-year loan at 6% with a monthly payment of $2,398.20. After ten years the balance is $334,742.90. Pay $100,000 off at the start, keep the same payment, and the balance after ten years is $152,803.23 instead. The difference, $181,939.67, is exactly $100,000 grown at 0.5% a month for 120 months, which is the payoff figure this calculator reports. Because of the monthly compounding, 6% a year is an effective 6.17% a year, so the investment must earn more than 6.17%, not 6%, to break even.

A prepayment behaves like a bond that pays the mortgage rate and cannot default, so the like-for-like comparison is with a safe investment of similar length, such as a Treasury security. Comparing a certain 6% with an expected 7% from stocks sets two different kinds of asset side by side; the extra return is a reward for risk, not free money.

The investment side is the uncertain one, and the formula’s smooth compounding hides that. A constant 7% a year is not how markets pay; the same average can arrive through very different paths, and the path matters when the money is invested all at once. The horizon matters too: the gap between the two results grows with n, so a one-point difference in returns is worth far more over 30 years than over 10, and so is any shortfall.

A worked example.

Example

Take a $100,000 lump sum, a 6% mortgage, an expected investment return of 7% and a ten-year horizon. Payoff side: 6% a year is 0.5% a month, and 1.005 raised to the 120th power is 1.819397, so the prepayment is worth 100,000 × 1.819397 = $181,939.67 at the end of ten years. Investment side: 1.07 to the tenth power is 1.967151, giving $196,715.14. Difference: 196,715.14 − 181,939.67 = $14,775.46 in favour of investing. So the edge of a 7% return over the loan’s effective 6.17% is worth about $14,800 over a decade on this sum, before tax. That is the reward on offer for accepting market risk and tying up the money in something you can sell, rather than in home equity you cannot easily reach. The break-even return is the loan’s effective annual rate, 6.17%: at that return both sides come to about $181,940 and the difference is close to zero. If fees and taxes on a taxable account took the realised return from 7% to 5.5%, the investment would grow to $170,814.45 and finish $11,125.23 behind the prepayment. Stretching the horizon magnifies whichever way the assumptions point. Over 20 years the same rates give $331,020.45 against $386,968.45, a gap of $55,948.00; over 30 years the gap is $158,967.98. Those longer horizons only apply while there is still a mortgage to prepay, though, and they also give an unlucky run of markets more time to matter.

option B Recurring800
periods12
option A Upfront10,000
option A Recurring500
option B Upfront5,000
mortgage Rate Percent6
comparison Years10
available Lump Sum100,000
expected Investment Return Percent7

Frequently asked questions.

Is paying down a mortgage really a guaranteed return?
Yes, in the sense that the interest you avoid is fixed by your loan's rate and cannot fall with the market. On a fixed-rate loan, each prepaid dollar keeps saving interest at that rate until the loan would have been paid off. The guarantee covers the return only; it does not make the money available to you again without borrowing against or selling the home.
Should I use my mortgage rate before or after the interest deduction?
After, if the deduction actually lowers your tax. Publication 936 allows mortgage interest only for taxpayers who itemize, so if you take the standard deduction, your after-tax rate is the note rate. If you itemize and your marginal rate is 24%, a 6% loan costs about 4.56% after tax, and the ten-year payoff value on $100,000 falls to $157,638.74.
What return should I enter for investing?
A figure you would be comfortable planning around, after fund fees and, for a taxable account, after tax — not the best decade you remember. Investor.gov notes that large-company stocks as a group have lost money on average about one year in three. Running a cautious case alongside your central one shows how much of the projected advantage depends on things going well.
Why is the mortgage side compounded monthly but the investment annually?
Because that is how each is quoted. A mortgage note rate is a nominal annual rate that the lender applies monthly, so $100,000 prepaid at 6% reduces the balance ten years later by $181,939.67, as the amortization schedule shows. An investment return is normally quoted as an annual figure, so it compounds once a year. If your investment is quoted as a monthly rate, convert it to an annual return first.
What if the market falls right after I invest the lump sum?
Then the smooth projection overstates what you end up with. If the $100,000 lost 30% in the first year and then earned 7% a year for the next nine, it would be worth $128,692.14 after ten years — an annualized return of about 2.55%, far below the 6% the prepayment would have locked in. Investing in stages narrows that risk at the cost of keeping some money idle.
Will a prepayment lower my monthly mortgage payment?
Usually not. On most fixed-rate loans, extra principal shortens the remaining term while the required payment stays the same, which is why prepaying does nothing for monthly cash flow until the loan is gone. Some lenders will recast the loan, re-amortizing the lower balance over the remaining term for a fee; the Mortgage Recast Calculator shows the payment that would produce.
Does private mortgage insurance change the answer?
It can tip it towards prepaying. Under the federal Homeowners Protection Act, you can ask to cancel borrower-paid PMI once the balance reaches 80% of the home's original value, provided you meet conditions such as a good payment history, and it must end automatically when the original schedule reaches 78%. If a lump sum gets you to that line, the premiums you stop paying are an extra return on top of the mortgage rate.
Does investing make sense when my mortgage rate is very low?
It is where the case for investing is strongest, and it need not involve stocks. With a 3% mortgage and a safe deposit or Treasury yield of 4.5%, $100,000 grows to $134,935.35 on the payoff side and $155,296.94 in the safe asset over ten years, a difference of $20,361.59 before tax on the interest earned.
What if the lump sum would pay off the mortgage before my horizon?
Then the payoff figure stops being meaningful past the payoff date, because there is no more interest to avoid. After that, the freed-up monthly payments become new savings that you would invest at some rate. For that case, use the Mortgage Payoff Calculator to find the new payoff date and compare over a horizon that ends there.
Should retirement contributions come before either option?
For many households they compete with both. An employer match is an immediate return that neither a prepayment nor a taxable investment can equal, and tax-deferred or tax-free growth raises the after-tax return you would enter for investing. The comparison here still works: enter the return you expect inside the account you would actually use.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
payoff value = L x (1 + m/12)^(12n); investment value = L x (1 + r)^n; both over the same horizon n
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon