Loan Tools ← Back to the calculator

How we calculate

Every number on loan.tools comes from the formulas below. No black boxes.

Monthly payment (principal & interest)

The standard fixed-rate amortization formula:

M = P · r / (1 − (1 + r)−n)

P = amount borrowed · r = annual rate ÷ 1200 (monthly rate as a decimal) · n = term in months. If the rate is 0%, the payment is simply P ÷ n.

The amortization schedule

Each month, interest accrues on the remaining balance first; the rest of the payment reduces principal:

interestm = balancem−1 · r  principalm = M − interestm  balancem = balancem−1 − principalm

This is why early payments are mostly interest: the balance is largest at the start. The crossover marked on our charts is the first month where principalm ≥ interestm.

Extra payments

Monthly, yearly, and one-time extra payments are added to principalm in the month they occur. The payment M stays the same, so the loan ends early; the interest saved is the difference between the two schedules' total interest.

PMI (private mortgage insurance)

Applied when the down payment is under 20%. Monthly PMI is the annual PMI rate times the original loan amount, divided by 12. It's charged until the balance reaches 80% of the purchase price:

PMI/month = loan · ratePMI / 12, charged while balance > 0.80 · price

Lenders differ on exact removal rules (78% automatic termination, appraisal-based removal). We use the 80%-of-original-price convention.

Property tax & insurance estimates

The "typical estimates" button uses 1.10% of the home price per year for property tax and 0.35% for homeowners insurance. ZIP lookups map to state-level averages (California uses 1.15%, the effective rate for a new purchase under Prop 13, because the state average misleads buyers). County rates vary — verify yours.

Rent vs Buy

A cumulative 30-year comparison, whatever the loan term. The cost of renting grows your rent by the chosen rate each year; if you invest the down payment instead of buying, those gains offset rent. The cost of home ownership counts every dollar that doesn't come back — interest, property tax, insurance, HOA, PMI, upkeep (a percentage of home value per year), plus 3% of the price at closing — and credits back what a sale would return: down payment, principal repaid, and appreciation, less 6% selling costs.

ownershipm = interest + taxes · ins · fees + upkeep + 3% · price − (equitym − 6% · valuem)

Under appreciation, upkeep scales with home value and property tax grows with it, capped at 2%/yr (California's assessment cap, the strictest common one). Break-even is the last month the lead changes; with two compounding forces it can flip more than once. Not modeled: investing monthly cash-flow differences, and tax effects (deductions, capital gains).

Refinance break-even

break-even months = ⌈ closing costs / (old payment − new payment) ⌉

If the new payment isn't lower, there is no break-even. Lifetime comparison uses total interest remaining on the current loan versus total interest on the new loan plus closing costs.

Auto loans

Most states tax the price minus your trade-in; manufacturer incentives reduce the amount financed but are usually still taxed:

tax = max(price − trade-in, 0) · ratetax  financed = price + tax − down − trade-in − incentives

A few states tax the full price or cap the trade-in credit — check your state's rule.

Auto leases & money factor

A lease payment is depreciation plus a finance charge:

payment = (cap − residual)/n  +  (cap + residual) · MF

cap = negotiated (capitalized) cost after reductions · residual = MSRP × residual % · MF = money factor. Approximate APR = MF × 2400. Dealers often quote "2.5" to mean 0.00250. Working backwards from a quoted payment: MF = (payment − depreciation) / (cap + residual).

Rates

Live rates are the Freddie Mac Primary Mortgage Market Survey weekly averages (30-year and 15-year fixed), fetched from FRED. They're national survey averages, not offers.

How we keep it honest

An automated test suite checks the exact code these pages run against published example loans and closed-form results — payment amounts, total interest, PMI drop-off months, extra-payment payoffs, lease money factors — on every change.

Rounding: we display dollars rounded to the nearest dollar; schedules compute in full precision. Your lender's numbers may differ slightly due to payment dates, escrow, and fees. This is math, not financial advice.

© 2026 Loan Tools · loan.tools This is math, not financial advice.