Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- New Term Years (required)
-
Unit years Default 25 Range 1 to 40
About this input
How long the new loan would run. Setting it equal to the years you have left compares like with like; anything longer lowers the payment partly by stretching it out.
- New Rate (required)
-
Unit fraction Default 0.055 Range At least 0
About this input
The rate you are being offered. Use the note rate rather than the annual percentage rate, because the costs are entered separately below.
- Rate Uncertainty (required)
-
Unit fraction Default 0.005 Range 0 to 1
About this input
How far the rate you are actually given could sit from the one quoted, as one standard deviation. Fifty basis points covers ordinary movement between a quote and a lock. The grid runs from two and a half deviations below to two and a half above. Set it to zero to say the rate is locked.
- Years Remaining (required)
-
Unit years Default 25 Range 1 to 40
About this input
How many years are left on the loan you have. This is the term the comparison uses, and getting it right is what stops a longer new loan looking like a saving.
- Years Before Moving (required)
-
Unit years Default 7 Range At least 1
About this input
How long you expect to keep this loan before selling or refinancing again. It is required because break-even is only a question if you might leave first, and seven years is about how long a mortgage lasts in practice. Every figure about the day you move is measured at this date.
- Cost Handling (required)
-
Default Pay at closing Allowed Pay at closing, Add to the loan
About this input
Whether you pay the costs at closing or add them to the loan. Adding them means nothing to repay up front, so there is no break-even month; the cost moves into the balance and into the lifetime figure.
- Closing Costs (required)
-
Unit currency Default 6000 Range At least 0
About this input
Everything the refinance costs: origination, appraisal, title, recording and any points. Take it from the loan estimate rather than guessing.
- Cost Uncertainty (required)
-
Unit currency Default 1500 Range At least 0
About this input
How far the closing costs could sit from the loan estimate, as one standard deviation. Estimates move, and small loans move proportionally more. Set it to zero to say the figure is final.
- Current Rate (required)
-
Unit fraction Default 0.07 Range At least 0
About this input
The rate on the loan you have now, as an annual percentage.
- Current Balance (required)
-
Unit currency Default 250000 Range At least 0
About this input
What you still owe on the loan you have, not the original amount and not the value of the house.
Outputs
- Probability Refinance Pays
-
Unit fraction
About this output
The share of the grid below in which you are ahead on the day you move, weighted by how likely each combination of rate and closing costs is. It is a statement about the offer you might actually get, not about how long you stay, which you told the model.
- Saving By Move Date
-
Unit currency
About this output
Where you actually stand on the day you move: the payments you saved, less the cash you handed over at closing, less any extra still owed because the new loan runs longer. Negative means the refinance has not paid for itself by then. This is a net position, not a running total of savings, which is why it can differ sharply from the simple figure other tools report.
- Table1 Offer Column Axis
-
No unit declared
About this output
The values across the top of the grid: the rate you are actually given. Read a column to hold this fixed. The middle entry is your own figure.
- Position P10
-
Unit currency
About this output
Where you stand in an unlucky tenth: a higher rate, higher costs, or both. If this is negative, the refinance can fail to pay for itself on outcomes that are not far-fetched.
- Position P50
-
Unit currency
About this output
Where you stand in the middle of the spread you gave.
- Position P90
-
Unit currency
About this output
Where you stand in a lucky tenth. The gap between this and the unlucky tenth is the honest width of the answer.
- Table1 Offer Row Input
-
Unit currency
About this output
Machinery, and NOT an input. Excel substitutes each value from the row axis into this cell while it fills the grid; the rest of the time it mirrors Closing_Costs. Change Closing_Costs above, never this: the axis is derived from it, so editing the mirror moves the axis while the table walks and the grid comes out meaningless.
- Table1 Offer Values
-
Unit currency
About this output
The body of the grid: where you stand on the day you move, recomputed for every combination of the two axes. One hundred and twenty-one cells, each one the whole calculation run again. It is a component of the table rather than a result on its own.
- Term Extended Years
-
Unit years
About this output
How many years the new loan adds. Any positive number means part of the lower payment is the term stretching, not the rate falling.
- Table1 Offer Column Input
-
Unit fraction
About this output
Machinery, and NOT an input. The same for the column axis: Excel substitutes into it while filling the grid, and the rest of the time it mirrors New_Rate.
- Table1 Offer Corner
-
Unit currency
About this output
Machinery. Excel requires the formula being tabulated to sit in the grid's top-left corner, where it means nothing to a reader, so it is formatted away. It holds Saving_By_Move_Date.
- Table1 Offer Row Axis
-
No unit declared
About this output
The values down the left of the grid: what the closing costs come to. Read a row to hold this fixed and vary the other axis. The middle entry is your own figure.
- Cash At Closing
-
Unit currency
About this output
What you hand over on the day. Zero when the costs are added to the loan, which is why there is then no break-even month.
- Lifetime Difference
-
Unit currency
About this output
The old total less the new one. Positive means the refinance costs less in the end.
- Model Status
-
No unit declared
About this output
Reads OK, or explains why the inputs are not valid or why the answer deserves a second look.
- Balance New At Move
-
Unit currency
About this output
What you would still owe on the new loan on that same day. Higher than the old balance whenever the new loan re-extends the term, and that difference is a real cost the monthly saving hides.
- Balance Old At Move
-
Unit currency
About this output
What you would still owe on the loan you have on the day you move, if you kept it. Half of the comparison that a running total of monthly savings never makes.
- Break Even Months
-
Unit months
About this output
How many months of the saving it takes to repay the cash you paid at closing. Zero when there is nothing to repay. It counts payments only, so it can say you have not broken even on a day when the net position below is already positive: the new loan may also have paid down more principal. When the two disagree, the net position is the one that answers whether you are better off.
- New Total Remaining
-
Unit currency
About this output
Everything to pay on the new loan, including the cash paid at closing. Compare this with the figure above rather than comparing the two monthly payments.
- Old Payment
-
Unit currency/month
About this output
The principal and interest you pay now, computed over the years you have left.
- Old Total Remaining
-
Unit currency
About this output
Everything still to pay on the loan you have if you keep it to the end.
- Monthly Saving
-
Unit currency/month
About this output
The difference between the two payments. Negative means the new loan costs more each month, which can still make sense if it shortens the term.
- New Loan Amount
-
Unit currency
About this output
What the new loan is for: the balance, plus the costs if you chose to add them.
- New Payment
-
Unit currency/month
About this output
The principal and interest on the loan offered.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.
Methodology
Purpose and model boundary
Use this calculator when you hold a fixed-rate mortgage and have been quoted a replacement for it. It answers one question directly: how many months of the lower monthly payment it takes to repay the cash you hand over at closing. Around that answer it reports the payment on each loan, the total still to pay under each, how many years the new loan adds to the term, and, when you say how long you expect to keep the loan, whether you will still be there once the costs have been repaid.
The comparison is made against the term you have left, not against a fresh full term. A loan with 25 years remaining and a new 30-year loan are two different products, and a payment that falls because the schedule was stretched over five more years is not the same thing as a payment that falls because the rate fell. This calculator reports the years added to the term as an output of its own and raises a status message whenever that number is positive, so the re-extension is named rather than absorbed into the saving.
Closing costs are handled two ways, and the two answer different questions. Paid at closing, they are cash out of your pocket, and the break-even month is how long the monthly saving takes to give it back. Added to the loan, nothing leaves your pocket, so there is nothing to repay and no break-even month exists at all. The cost instead moves into the balance you borrow, raises the new payment, and shows up in the lifetime comparison. A break-even figure quoted in that second case would be a break-even on money that was never spent.
What this calculator does not model, stated plainly because each omission can move the answer more than the rate does. Any rate that changes after closing: both loans are treated as fixed for their whole term, so an adjustable-rate offer is outside the model. Mortgage insurance, which a refinance can add or remove and which on some loans dominates everything else here. Cash taken out, so a cash-out refinance is not what is being priced. The tax treatment of points paid on a refinance, which differs from the treatment of points paid on a purchase. The opportunity cost of the closing cash, which for a large cost and a small monthly saving is not negligible. Prepayment penalties on the loan you already have. The two payments are principal and interest only, so property tax, homeowners insurance, association dues and any other escrow item are outside both sides of the comparison.
Inputs and units
| Input | Unit | Accepted range | What it means |
|---|---|---|---|
| Current Balance | $ | 0 or more | What you still owe on the loan you have. Not the original loan amount and not the value of the house. A balance of zero is accepted by the published input rules and then refused by the model, because there is nothing to refinance. |
| Current Rate | % | 0% or more | The rate on the loan you have now, as an annual percentage. |
| Years Remaining | years | 1 through 40 | How many years are left on the loan you have. This is the term the whole comparison uses, and getting it right is what stops a longer new loan looking like a saving. |
| New Rate | % | 0% or more | The rate you are being offered. Use the note rate rather than the annual percentage rate, because the costs are entered separately. |
| New Term Years | years | 1 through 40 | How long the new loan would run. Setting it equal to the years you have left compares like with like. Anything longer lowers the payment partly by stretching it out. |
| Closing Costs | $ | 0 or more | Everything the refinance costs: origination, appraisal, title, recording and any points. Take it from the loan estimate rather than guessing. |
| Cost Handling | choice | Pay at closing; Add to the loan | Whether you pay the costs in cash on the day or add them to the amount borrowed. |
| Years Before Moving | years | 1 or more | Required. How long you expect to keep the loan; the status line reports whether the costs are repaid before that horizon. |
| Rate Uncertainty | percentage | 0%–100% | One standard deviation around the New Rate for the sensitivity table. A 0.5% value covers ordinary movement between a quote and a lock; 0% says the rate is settled. |
| Cost Uncertainty | $ | 0 or more | One standard deviation around Closing Costs for the sensitivity table. Use 0 when the final loan estimate has fixed the amount. |
All ten inputs are required. Years Before Moving must be at least one year and may not be left blank on the published calculator.
Rate Uncertainty and Cost Uncertainty are required sensitivity controls. They do not alter the headline result at the New Rate and Closing Costs entered above them. They define an 11 × 11 comparison surface of plausible offers around those two figures.
Governing relationships
Both payments come from the same level-payment relationship. For a principal P, a monthly rate r and a count of monthly payments n, the payment is
payment = P x r / (1 - (1 + r)^-n)
where r is the annual rate divided by 12, and n is the number of years multiplied by 12 and rounded to a whole month. When the monthly rate is effectively zero that expression cannot be evaluated, so a separate branch divides the principal evenly across the months: payment = P / n. When the month count rounds to zero or less, the payment is reported as zero rather than as an error.
The two payments differ only in what they are given.
- The payment on the loan you have uses
Pequal to Current Balance,rfrom Current Rate, andnfrom Years Remaining. It is the payment over the term that is actually left, which is the point of the whole exercise. - The payment on the loan offered uses
Pequal to the new loan amount,rfrom New Rate, andnfrom New Term Years.
The new loan amount is Current Balance, plus Closing Costs when you chose to add them to the loan. The cash at closing is Closing Costs when you chose to pay at closing, and zero when you chose to add them. Exactly one of those two carries the cost, which is why the two choices never double-count it.
From there:
- monthly saving is the payment on the loan you have less the payment on the loan offered;
- break-even months is the cash at closing divided by the monthly saving, and zero when either the monthly saving is not positive or there is no cash at closing;
- total still to pay on the loan you have is its payment multiplied by its whole-month count;
- total still to pay on the new loan is its payment multiplied by its whole-month count, plus the cash at closing;
- lifetime difference is the old total less the new total, so a positive figure means the refinance costs less in the end;
- years added to the term is New Term Years less Years Remaining, reported as it falls out, which means a shortening refinance reports a negative number;
- saving by the move date is the monthly saving multiplied by the whole months until you move, less the cash at closing.
The four charts read off the same figures. The first plots the running total saved, month by month from month zero to month 120, against a flat line at the cash paid at closing. The second puts the two monthly payments side by side. The third shows the probability distribution of the net position across the offer grid, with dollar amounts on the horizontal axis and chance on the vertical axis. The fourth compares the rate and closing-cost sensitivity slices through the table centre.
The sensitivity table reruns Saving By Move Date 121 times. Its rows move Closing Costs from 2.5 Cost Uncertainty standard deviations below the entered estimate to 2.5 above it. Its columns move New Rate from 2.5 Rate Uncertainty standard deviations below the quoted rate to 2.5 above it. Every cell is where you stand on the entered moving date for that exact offer.
Both axes are probability-weighted. Probability Refinance Pays is the weighted share of those rate-and-cost combinations where Saving By Move Date is above $0. Position P10, Position P50, and Position P90 report the unfavorable tenth, midpoint, and favorable tenth of the same offer distribution. This probability is about the offer you finally receive, not about how long you keep the loan.
Calculation sequence
- Check the entries against the published input rules. A value outside its stated range is rejected before anything is calculated.
- Decide where the closing costs sit. If they are added to the loan, the cash at closing is zero and the costs join the amount borrowed. If they are paid at closing, the cash at closing is the full cost and the amount borrowed is the balance alone.
- Calculate the payment on the loan you have, over the whole months implied by Years Remaining, using the zero-rate branch if the rate is effectively zero.
- Calculate the payment on the new loan, over the whole months implied by New Term Years, on the amount borrowed from step 2.
- Subtract the new payment from the old one to get the monthly saving.
- Divide the cash at closing by the monthly saving to get the break-even months, returning zero instead whenever the saving is not positive or there is no cash to repay.
- Multiply each payment by its own whole-month count, add the cash at closing to the new side, and subtract to get the lifetime difference.
- Subtract Years Remaining from New Term Years to get the years added to the term.
- Multiply the monthly saving by the whole months in the required Years Before Moving horizon and subtract the cash at closing.
- Build the 11 × 11 sensitivity table by rerunning Saving By Move Date for every rate-and-cost pair.
- Weight both axes to return Probability Refinance Pays and the 10th, 50th, and 90th percentile positions for the offer distribution.
- Evaluate the status conditions below in order and return the first one that is true.
Outputs and interpretation
Three outputs carry the answer. Break Even Months says how many months of the saving it takes to repay the cash you paid at closing. Past that point the saving is yours, before it you are behind, and zero means there was nothing to repay. Monthly Saving is the difference between the two payments, and a negative figure means the new loan costs more each month, which can still be the better deal when it shortens the term. Lifetime Difference compares the total still to pay under each loan, and it is the figure to read when the term changed, because a lower payment over more years can cost more in total.
| Output | Role | Unit | What it means |
|---|---|---|---|
| Break Even Months | headline | months | How many months of the saving it takes to repay the cash paid at closing. Zero when there is nothing to repay. |
| Monthly Saving | headline | $/month | The difference between the two payments. Negative means the new loan costs more each month. |
| Lifetime Difference | headline | $ | The old total less the new total. Positive means the refinance costs less in the end. |
| Model Status | status | text | Reads OK, or explains why the entries are not valid or why the answer deserves a second look. |
| Old Payment | detail | $/month | The principal and interest you pay now, computed over the years you have left. |
| New Payment | detail | $/month | The principal and interest on the loan offered. |
| New Loan Amount | detail | $ | What the new loan is for: the balance, plus the costs if you chose to add them. |
| Cash At Closing | detail | $ | What you hand over on the day. Zero when the costs are added to the loan, which is why there is then no break-even month. |
| Old Total Remaining | detail | $ | Everything still to pay on the loan you have if you keep it to the end. |
| New Total Remaining | detail | $ | Everything to pay on the new loan, including the cash paid at closing. |
| Term Extended Years | detail | years | How many years the new loan adds. Any positive number means part of the lower payment is the term stretching, not the rate falling. |
| Saving By Move Date | detail | $ | The saving accumulated over the required Years Before Moving horizon, less what you paid at closing. Negative means you would move before the refinance has paid for itself. |
| Probability Refinance Pays | supporting | percentage | Probability-weighted share of the rate-and-cost spread where Saving By Move Date is above $0. |
| Position P10 | supporting | $ | Position at the unfavorable tenth of the possible offer spread. |
| Position P50 | supporting | $ | Position at the middle of the possible offer spread. |
| Position P90 | supporting | $ | Position at the favorable tenth of the possible offer spread. |
Read the lifetime difference next to the years added to the term, not on its own. That pairing is the point of the calculator. A quote that drops the payment while adding five years can show a real monthly saving and a much smaller, or negative, lifetime difference at the same time, and both numbers are true. Compare the two total-remaining figures rather than the two monthly payments whenever the terms are not equal.
The conditional table appears after all four charts. Read down to see the effect of closing-cost uncertainty and across to see the effect of rate uncertainty. The table body and its four supporting figures come from the calculation service. The page verifies the table centre against the scalar Saving By Move Date and displays the returned values; it does not calculate probability or percentiles in the browser.
Validation and status logic
The workbook evaluates these conditions in the order shown and returns the status of the first one that is true. Later conditions are never reached once an earlier one has matched, so the order is the precedence, and the final row is the fallthrough that applies when nothing above it did.
| Condition | Returned status |
|---|---|
| Current Balance <= 0 | NOT VALID: there is no balance to refinance |
| OR(Current Rate < 0,New Rate < 0) | NOT VALID: an interest rate cannot be negative |
| Years Remaining < 1 | NOT VALID: the loan you have must have at least a year left |
| New Term Years < 1 | NOT VALID: the new term has to be at least one year |
| Closing Costs < 0 | NOT VALID: closing costs cannot be negative |
| Monthly Saving <= 0 | CHECK: the new loan does not lower the payment, so there is nothing to break even on |
| Term Extended Years > 0 | CHECK: the new loan runs <term extended years> years longer than the one you have, so part of the lower payment is re-extension rather than saving |
| AND(Years Before Moving <> "",Break Even Months > ROUND(Years Before Moving*12,0)) | CHECK: you expect to move before the costs are repaid |
| None of the preceding conditions applies | OK |
One status message is not fixed text. Where the table shows <term extended years>, this calculator substitutes the actual number of years the new loan adds, written to one decimal place, so the message names the size of the re-extension rather than only its existence. The delivered test cases record these three concrete forms:
CHECK: the new loan runs 5.0 years longer than the one you have, so part of the lower payment is re-extension rather than savingCHECK: the new loan runs 15.0 years longer than the one you have, so part of the lower payment is re-extension rather than savingCHECK: the new loan runs 24.0 years longer than the one you have, so part of the lower payment is re-extension rather than saving
Two features of the order are worth reading twice. The four rows that follow the balance check test states the published input rules already refuse, so on this page they are the model checking a second time rather than messages you will normally meet. And the term-extension check sits above the moving-date check, so a quote that both stretches the term and outlasts your stay reports the re-extension, because that is the finding that changes the decision.
Assumptions and limitations
- Both loans are fixed-rate and fully amortizing, and each is assumed to run to the end of its stated term. Nothing here models a rate that moves after closing, an interest-only period, or a balloon.
- The payments are principal and interest only. Property tax, homeowners insurance, association dues and other escrow items are excluded from both sides, so neither figure is the amount that leaves your bank account each month.
- Mortgage insurance is not modeled. A refinance can add it or remove it, and where it does, the effect can be larger than the rate difference this calculator is measuring.
- Terms are converted to whole months by rounding years times twelve, so a fractional year is rounded to the nearest month before any payment is calculated.
- The lifetime totals assume both loans are held to term. They do not discount future payments, so a dollar paid in year 28 counts the same as a dollar paid today, and they take no account of what the closing cash would have earned had it not been spent.
- Break-even is measured in cash only: the closing cash divided by the monthly saving. It gives no credit for the difference in how fast each loan repays principal, so it is deliberately the more conservative of the two common definitions and it is the one a reader can check by hand.
- Cash taken out is not modeled, and neither is any prepayment penalty on the loan you have.
- Points are treated as part of the closing cost. Their tax treatment is not modeled, and on a refinance that treatment differs from a purchase.
- The result is only as good as the quote behind it. The rate has to be one actually available to you, and the closing cost has to be the complete figure from the loan estimate rather than a partial one.
- The sensitivity distribution covers uncertainty in the final rate and closing costs only. Years Before Moving is held at the value entered and is not assigned a probability.
Restrictions and non-computing states
The current balance must be above zero. A balance of zero or less is accepted by the entry rules and then refused by the model, which returns NOT VALID and no usable comparison, because there is no loan to replace.
Neither rate may be negative, closing costs may not be negative, and the years remaining, new term, and moving horizon must each be at least one year. The published input rules also cap each loan term at 40 years, so entries outside those ranges are turned away before any calculation runs. How the costs are handled has exactly two accepted values, Pay at closing and Add to the loan, and anything else is refused.
The moving horizon is required and must be one year or longer. It is always evaluated as the date at which the model tests whether the refinance has repaid its cash cost.
Adding the closing costs to the loan is a supported state, not an error, and it changes what can be reported. The cash at closing becomes zero, the break-even month becomes exactly zero because nothing was paid, and the cost appears instead in the new loan amount, in the new payment and in the lifetime difference. A break-even figure other than zero in that state would be a defect.
Shortening the term is also a supported state. It commonly produces a negative monthly saving, which sets the break-even to zero and raises a CHECK, while the lifetime difference stays strongly positive. The model is not rejecting the deal there. It is saying that break-even is the wrong measure for it.
Errors and warnings
Three different things can stop you seeing an answer, and they are not interchangeable.
A rejected entry happens before any calculation. A value outside its published range, or a choice that is not one of the two offered for how the costs are handled, is refused at the point of entry and nothing is calculated at all. The remedy is to correct the value. No result is produced, and none should be inferred from the blank fields.
A NOT VALID or CHECK status is the model's own finding about entries it accepted. NOT VALID means the entries do not describe a question this model can answer, and the figures beside it should not be read. CHECK means the calculation completed and the figures are real, but something about the case deserves attention: no payment saving to break even on, a term that runs longer than the one you have, or a move planned before the costs are repaid. A CHECK is a finding, not a failure, and the message says which one it is.
A connection or calculation-service failure is neither of those. It means the calculation service could not be reached or could not finish, so this page has no figures to show. That is a statement about availability and never a statement about your mortgage. A failure of this kind is never reported as a zero, never as a break-even of zero months, and never as a NOT VALID, because a service that did not run has found nothing. Retry, and if it persists the problem is on this side rather than in what you entered.
References
Both monthly payments use the standard level-payment relationship for a fixed-rate, fully amortizing loan. The Consumer Financial Protection Bureau describes that relationship and the way each payment splits between interest and principal in How do mortgage lenders calculate monthly payments? (Consumer Financial Protection Bureau, Ask CFPB, article 1965). The break-even relationship itself, the closing cash divided by the monthly saving, is elementary arithmetic rather than a cited method, and the figures behind it are reproduced independently in the validation blocks of the delivered workbook and its reviewer packet.
The closing-cost entry is meant to be taken from your own loan estimate rather than estimated. The Bureau's Loan estimate explainer walks through the form section by section, and What fees or charges are paid when closing on a mortgage and who pays them? (Consumer Financial Protection Bureau, Ask CFPB, article 1845) lists the charges that belong in that total, including origination, appraisal, title and recording.
Two of this calculator's stated exclusions are consequential enough to read about separately. Mortgage insurance, which a refinance can add or remove, is explained in What is private mortgage insurance? (Consumer Financial Protection Bureau, Ask CFPB, article 122). A charge for paying off the loan you already have is explained in What is a prepayment penalty? (Consumer Financial Protection Bureau, Ask CFPB, article 1957). Neither is modeled here, and either can be larger than the rate difference this calculator measures.
Points are entered as part of the closing cost, and their tax treatment is not modeled. The Internal Revenue Service states in Topic no. 504, Home mortgage points that points paid to refinance an existing mortgage are generally deducted ratably over the term of the loan, which is not how points on a home purchase are usually treated.
The lifetime totals are undiscounted, so they do not account for what the cash paid at closing might have earned elsewhere. For general background on how an initial amount compounds over time, see the U.S. Securities and Exchange Commission's Investor.gov compound interest calculator.
These sources provide consumer and tax context. They do not supply this calculator's assumptions and they do not certify its result. This calculator is informational and is not financial, tax, investment, mortgage or real-estate advice, and it is not a recommendation to refinance. Compare actual loan estimates, and take decisions about financing a home with a qualified professional who knows your circumstances.
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.