How our calculators work

Every calculator on CalcRefi uses the formulas below. They run entirely in your browser in plain JavaScript you can inspect.

Payment

M = P × r ÷ (1 − (1 + r)−n)
P = principal, r = annual rate ÷ 12, n = number of monthly payments

This is the standard fully amortizing fixed-rate payment. When the rate is zero, M = P ÷ n.

Remaining balance after k payments

Bk = P(1 + r)k − M × ((1 + r)k − 1) ÷ r

True break-even

For a refinance, we compare two paths month by month:

Netk = Σ old payments − Σ new payments + (old balancek − new balancek) − cash closing costs

Old payments stop if the old loan would have been paid off. The true break-even is the first month where Netk ≥ 0, searched up to 40 years. The "net benefit after N years" figure is Netk at k = 12N. This captures three effects that the simple ratio misses: the slower equity build of a new loan, any closing costs added to the balance, and a shorter new term's faster paydown.

Comparing pricing options

The points and no-closing-cost calculators use the same principle within one loan: total position at month k equals cash paid at closing plus payments through k plus remaining balance. The option with the lower total is cheaper at that horizon.

Payoff with extra payments

We iterate monthly: interest = balance × r; balance = balance + interest − (payment + extra), until the balance reaches zero. Interest saved is the scheduled total interest minus the simulated total.

ARM reset

New rate = minimum of (index + margin rounded to the nearest 0.125%), (current rate + adjustment cap) and the lifetime ceiling. The new payment re-amortizes the projected balance at reset over the remaining term. Floors and lookback periods are not modeled; check your note.

Assumptions and limits

Results are estimates for education. They are not offers of credit, commitments to lend or Loan Estimates.

Testing

Each calculator is tested against independently computed amortization schedules before each release. Worked examples in our guides are generated from the same code.