Mortgage Payoff Calculator — Methodology
Last updated: October 2026
What it answers
For a fixed-rate mortgage: if you pay extra toward principal (every month, once a year, or once), how many months sooner is the loan paid off, and how much less interest do you pay, compared with paying it as scheduled?
Inputs
- Loan balance: principal still owed (more than $0).
- Interest rate: the note rate, 0% to 30%. Fixed for the life of the loan.
- Time left: whole months to the last scheduled payment, 1 to 480 (40 years).
- Your monthly payment (optional): principal and interest only. If left blank, the calculator uses the payment that repays the balance over the time left.
- Extra each month, extra once a year, one-time extra: dollars toward principal, $0 or more. The one-time amount goes in with the payment number you choose (1 = next payment).
Formula
r = annual rate / 12 n = months left P = balance
// Level monthly payment (rounded to the nearest cent)
M = P × r × (1 + r)^n / ((1 + r)^n − 1) // M = P / n when r = 0
// Each month, from month 1:
interest = round_to_cent(balance × r)
owed = balance + interest
pay = M + extra each month
+ extra once a year (months 12, 24, 36, …)
+ one-time extra (the month you chose)
pay = owed if pay ≥ owed, or if this is the last scheduled month
balance = owed − pay
interest saved = total interest as scheduled − total interest with extra
months saved = months as scheduled − months with extraMoney is held in whole cents. Interest is rounded half up to the cent each month. The last payment is whatever clears the balance, so it can differ by cents (or, on a long loan, a few dollars) from the others; this is how lenders close out a loan whose payment was rounded.
When you enter your own payment, it must be more than the first month's interest, or the balance would never go down, and it must repay the loan within 50 years. The calculator says so instead of showing a result.
Worked examples (each is a unit test)
$200,000 at 6%, 30 years. r = 0.005, (1.005)360 = 6.0225752, so M = 200,000 × 0.005 × 6.0225752 / 5.0225752 = $1,199.10. Interest as scheduled: 360 × 1,199.10 − 200,000 = $231,676, plus about $1 the rounded-down payment leaves for the last month: about $231,677.
Same loan, $200 extra a month. Paying $1,399.10, the loan lasts −ln(1 − 1,000 / 1,399.10) / ln(1.005) = 251.5 months, so 252 payments (21 years), 108 months sooner. Interest is about $151,876, so about $79,800 is saved.
$1,000 at 12%, 3 months, to the cent. Payment $340.02. Interest $10.00, then $6.70, then $3.37; last payment $340.03; total interest $20.07. With $200 extra a month: interest $10.00 and $4.70, paid off in 2 months, $5.37 saved.
Limitations
- Principal and interest only: no property tax, homeowners insurance, mortgage insurance or escrow.
- Fixed-rate loans only: no adjustable rates, interest-only periods, recasts or refinancing.
- Assumes no prepayment penalty and that the servicer applies extra money to principal in the month it is paid. Interest is monthly, not daily, so payment dates do not change the result.
- Does not model the mortgage interest deduction (IRS Publication 936). If you itemize, paying less interest can also mean a smaller deduction.
- Does not compare paying down the mortgage with investing the money instead. That comparison depends on an investment return nobody can promise and on your tax situation, so we leave it out rather than present an assumed return as a forecast.
Sources
- Fannie Mae / Freddie Mac Uniform Instrument: Multistate Fixed Rate Note, Form 3200 (07/2021 edition). Section 2 (interest is charged on unpaid principal) and section 4 (Borrower’s Right to Prepay): prepayments reduce principal, and a partial prepayment does not change the due date or the monthly payment unless the lender agrees in writing.
- Regulation Z, 12 CFR 1026.43(g): Prepayment penalties. A penalty only on a loan whose APR cannot increase, that is a qualified mortgage and not higher-priced; never after three years; at most 2% of the amount prepaid in years one and two and 1% in year three.
- Consumer Financial Protection Bureau: What is a prepayment penalty?. Not all mortgages have one; it typically applies to paying off the whole balance, not to small extra principal payments.
- IRS Publication 936, Home Mortgage Interest Deduction. Cited for what the calculator leaves out: it does not model the deduction.
Last updated
October 2026: first version.
This calculator is for educational purposes only and does not constitute financial advice. Results are estimates from the numbers you enter. Check with a licensed professional before you act on them. Full disclaimer →