Mortgage Refinance Calculator
Free mortgage refinance calculator. Estimate monthly savings, break-even months, lifetime interest saved, and net refi cost for any refinance.
Mortgage Refinance Calculator
Background.
A mortgage refinance calculator answers the most expensive question a homeowner faces between closing day and paying the loan off: is it actually worth replacing the loan I have with a new one? Refinancing means originating a brand-new mortgage at today's rate and using the proceeds to pay off the existing one. The mechanics are seductive — when market rates fall a point or two below your locked-in rate, the new monthly payment can be hundreds of dollars lower, the headline reads like free money, and lenders are quick to advertise the savings.
But refinancing is never free. Closing costs typically run 2% to 5% of the new loan amount — origination fees, title insurance, an appraisal, recording fees, lender's title, points if you buy the rate down — and someone has to pay them, either out of pocket at closing or rolled into the new principal where they quietly accrue interest for the rest of the loan.
This calculator strips the marketing away from the math. Enter your current balance, current rate, and years remaining; then enter the rate, term, and closing costs your lender is quoting on the refi. It computes the monthly payment on both loans using the standard amortizing-mortgage formula, subtracts them to give you the monthly savings, divides the closing costs by those savings to give you the break-even point in months, and projects the total payments over the full remaining term of each scenario to show whether the refi actually saves money once everything is added up.
The break-even point is the number that decides the deal. If you plan to stay in the house and keep the new loan past the break-even, the refi is profitable from that point forward. If you might sell or refi again before then, every dollar of closing cost is a dollar you will never recover. The widely-repeated rule of thumb says refinance when you can drop your rate by at least 1 percentage point, but that rule predates today's higher closing costs and assumes you stay in the home long enough to amortize them. The Consumer Financial Protection Bureau's official guidance is more rigorous: compute the break-even period and compare it to how long you realistically plan to keep the loan.
There are three other traps this calculator surfaces. First, resetting the amortization clock. Refinancing a 25-year remaining balance into a fresh 30-year loan can lower the monthly payment even at the same interest rate, but you have just added five years of payments to your retirement plan and the early years of the new loan are again dominated by interest, not principal — a quiet tax on long-term wealth that doesn't show up in the monthly-payment comparison.
Second, cash-out refinances change the tax treatment of the loan. Under the Tax Cuts and Jobs Act (TCJA), mortgage interest is only deductible on the portion of the loan used to buy, build, or substantially improve the home; cash-out proceeds used to pay off credit cards, fund a college tuition, or buy a car are not deductible, and the rules require you to track basis carefully. The TCJA also capped total deductible acquisition debt at $750,000 for loans originated after December 15, 2017. Third, no-cost refinances are not actually free — the lender pays the closing costs in exchange for a higher rate, typically 0.25% to 0.50% above par. The trade is worth it only if you plan to keep the loan for a short period; over a 30-year term, the higher rate costs far more than the closing costs it replaces.
The calculator below runs all four scenarios so you can compare them directly: standard rate-and-term refi, cash-out refi, shorter-term refi, and no-cost refi (model the last by setting closing costs to $0 and raising the new rate by 0.375%). The explainer that follows the widget walks through how to read the break-even number, when refinancing is mathematically the wrong move, how cash-out refis compare to HELOCs and second mortgages, and what the IRS actually requires for the interest deduction in 2026.
What is mortgage refinance calculator?
A mortgage refinance is the replacement of an existing home loan with a new one, secured by the same property. The new loan pays off the existing balance, and the homeowner begins making payments on the new loan under whatever rate, term, and structure it carries. Refinances fall into two broad categories. A rate-and-term refinance changes the interest rate, the term length, or both, but does not increase the loan balance beyond the existing payoff plus closing costs — the goal is to lower the monthly payment, shorten the term, or switch from an adjustable rate to a fixed one. A cash-out refinance increases the loan balance by an additional amount that the borrower receives in cash at closing, tapping accumulated home equity for purposes ranging from home improvements to debt consolidation. Both types involve a new origination, a new appraisal, and a new closing — meaning closing costs are paid again, even though the property and borrower have not changed. This calculator models a fixed-rate refinance with a single new rate held for the full new term. It does not model streamline refinances (FHA, VA, USDA programs that waive the appraisal and reduce documentation) or adjustable-rate refinances, both of which involve scenario analysis beyond a single payment calculation.
How to use this calculator.
- Enter your current loan balance — the principal still owed, not the original loan amount. Check your most recent mortgage statement; it is the line labeled "unpaid principal balance."
- Enter your current interest rate (the note rate, not the APR) and how many years are left on the existing loan. A 30-year mortgage taken out 5 years ago has 25 years remaining.
- Enter the new rate quoted by your refi lender on their Loan Estimate, then choose the new term. Match the remaining term if you want a pure rate refi; extend it to lower the payment further; shorten it to accelerate payoff.
- Enter closing costs. Use the total from your Loan Estimate's "Costs at Closing" section. If the lender is rolling them into the loan, still enter them here — the calculator accounts for the inflated principal automatically.
- If this is a cash-out refinance, enter the cash amount you intend to withdraw at closing. For a standard rate-and-term refi, leave this at $0.
- Read the six outputs. Monthly savings is the headline — what you save (or pay extra) every month. Break-even months tells you how long to keep the loan to recoup closing costs. Lifetime interest saved and net refinance cost show whether the refi saves money across the entire remaining term, which often disagrees with the monthly-savings number when you extend the term.
The formula.
The calculator uses the standard fully-amortizing mortgage payment formula on both the current and new loans: PMT = P × r × (1+r)^n / ((1+r)^n − 1), where P is principal, r is the monthly interest rate (annual rate / 100 / 12), and n is total payments (years × 12). The current monthly payment uses your current balance, current rate, and years remaining. The new monthly payment uses a new principal equal to currentBalance + closingCosts + cashOut, the new rate, and the new term in months — this models the common practice of rolling closing costs into the loan. Monthly savings is currentMonthlyPayment − newMonthlyPayment, which can be negative if the refi raises the payment (typical for shorter-term refis or large cash-outs). Break-even months is closingCosts ÷ monthlySavings, the number of months of savings needed to recoup the upfront fees. The calculator clamps this to 9,999 when monthly savings are zero or negative — the refi never breaks even on monthly savings alone, so it must be justified on other grounds (cash extraction, term reduction, switching from ARM to fixed). Lifetime interest saved is currentMonthlyPayment × currentRemainingMonths minus newMonthlyPayment × newTermMonths — total dollars handed to the lender under each scenario, with the difference revealing whether the refi actually reduces long-run cost or merely shifts pain into the future via a longer term. Net refinance cost adds closing costs to the new total and subtracts the current total: positive means the refi costs more overall (a common result when extending a 25-year remaining loan into a fresh 30-year), negative means it saves money even after fees. All arithmetic uses arbitrary-precision decimal math (Decimal.js) to avoid floating-point drift on long-term schedules — a 30-year amortization compounds 360 times, and IEEE 754 floats accumulate rounding errors that can shift the final balance by dollars.
A worked example.
A homeowner has $200,000 left on a 7% mortgage with 25 years to run — the current payment is $1,413.55 per month. Their lender offers a no-cash-out refi at 5% for a fresh 30-year term, with $5,000 of closing costs rolled into the loan. The new principal becomes $205,000, the new monthly payment drops to $1,100.49, and the homeowner saves $313.06 every month. Break-even arrives at month 16 ($5,000 ÷ $313.06 ≈ 15.97 months), so as long as they keep the new loan past 16 months, the closing costs are recouped. The lifetime story is more complicated. Over the 25 years remaining on the old loan they would have paid $424,065 in total; over the 30 years of the new loan they will pay $396,176 — saving $27,889 in lifetime interest, or $22,889 net of closing costs. The refi is clearly profitable, but notice the cost: they have added 5 years of payments to their mortgage and the first decade of the new loan is again interest-heavy. Had they refinanced into a new 25-year term at 5% instead, the monthly payment would be roughly $1,198 (lower savings of $215/mo, longer break-even of about 23 months), but the lifetime interest saved would jump to around $65,000 — almost three times higher. The rate-and-term decision matters as much as the rate decision.
Frequently asked questions.
What is the 1% rule for refinancing a mortgage?
When is refinancing a mortgage a bad idea?
Is a cash-out refinance or a HELOC better for tapping home equity?
What is a no-cost refinance and is it actually free?
What is the difference between a rate-and-term refinance and a cash-out refinance?
Should I buy down my rate with discount points on a refinance?
How are refinance closing costs calculated?
Does refinancing restart my mortgage amortization?
Is mortgage refinance interest tax-deductible?
How long does a mortgage refinance take to close?
References& sources.
- [1]Consumer Financial Protection Bureau — Refinancing Your Mortgage
- [2]Freddie Mac — Primary Mortgage Market Survey (PMMS, weekly mortgage rate series)
- [3]Federal Reserve — Consumer Credit and Mortgage Statistics (G.19 / Mortgage Debt Outstanding)
- [4]IRS Publication 936 — Home Mortgage Interest Deduction (cash-out limits, TCJA rules, points amortization)
- [5]Brealey, Myers & Allen — Principles of Corporate Finance, 13th ed., Chapter 2 (Present Value of an Annuity; PMT formula derivation)
- [6]Consumer Financial Protection Bureau — Loan Estimate and Closing Disclosure under TILA-RESPA
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled