curatedapi

Refinance break-even calculator

How many months of lower payments it takes to earn back the closing costs of a refinance, and the difference in total cost over the life of the loans.

What is still owed.
The current loan's annual rate.
Months left on the current loan.
The new loan's annual rate.
The new loan's term in months.
Fees and costs of the refinance.
true when the costs are added to the new loan instead of paid in cash.
More options: rounding and decimals
Precision and rounding
Rounding mode applied once to each result. Default half_even.
Round results to this many digits after the decimal point.

Examples

Result: 250,000 with 25 years left at 7%, refinanced at 6% for 5,000

Current payment
Monthly payment on the current loan.
1,766.95 exact
New payment
Monthly payment on the new loan.
1,610.75 exact
Monthly saving
current_payment − new_payment.
156.20 exact
Break even months
The first month by which the monthly savings cover the closing costs. Absent when the new payment is not lower.
33
Current total remaining
Every remaining payment on the current loan, added up.
530,083.43 exact
New total cost
Every payment on the new loan, plus the closing costs when paid in cash.
488,227.37 exact
Lifetime saving
current_total_remaining − new_total_cost; negative when the refinance costs more overall.
41,856.06 exact
Current interest remaining
Interest still to pay on the current loan.
280,083.43 exact
New interest
Interest on the new loan.
233,227.37 exact

Rounding: Half even, 2 decimal places. Calculator finance/refinance-break-even@1.

How it is calculated

payment = P·r·(1+r)^n ÷ ((1+r)^n − 1); break-even = closing costs ÷ monthly saving, rounded up to a whole month

Compares keeping a loan with replacing it. It works out the payment on what is left of the current loan and on the new loan, the monthly saving, and the break-even point: the first month by which the savings add up to the closing costs. It also totals every remaining payment on each side, because a lower payment over a longer term can still cost more in the end.

  • Each month's interest is rounded to the cent and the last payment clears the balance, as on a lender's schedule.
  • The break-even month does not count interest you could have earned on the closing costs, or tax effects.
  • Amounts are plain numbers in any single currency; no currency conversion is done.

References

Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.

Use it from your code

POST /v1/calc/finance/refinance-break-evenVersion 1
curl https://api.curatedapi.com/v1/calc/finance/refinance-break-even \
  -H "Authorization: Bearer $CURATEDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "current_balance": "250000",
    "current_rate_percent": "7",
    "remaining_months": 300,
    "new_rate_percent": "6",
    "new_term_months": 300,
    "closing_costs": "5000"
  }'
The same call in Python
import os

import requests

payload = {
    "current_balance": "250000",
    "current_rate_percent": "7",
    "remaining_months": 300,
    "new_rate_percent": "6",
    "new_term_months": 300,
    "closing_costs": "5000",
}
response = requests.post(
    "https://api.curatedapi.com/v1/calc/finance/refinance-break-even",
    headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
    json=payload,
    timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
    "current_balance": "250000",
    "current_rate_percent": "7",
    "remaining_months": 300,
    "new_rate_percent": "6",
    "new_term_months": 300,
    "closing_costs": "5000",
};
const response = await fetch("https://api.curatedapi.com/v1/calc/finance/refinance-break-even", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(payload),
});
console.log((await response.json()).result);

MCP tool calc_finance_refinance_break_even at https://mcp.curatedapi.com. Inputs, outputs and errors in the API reference.

Put it on your website

<div data-curatedapi-widget="finance/refinance-break-even" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>

Use a public key registered for your site. Calculations are billed like API calls. How widgets work.

Related calculators

Add this calculator to your website

Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.

Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.