Chris Collins

Tools · everyday

Loan and mortgage calculator

Loan and mortgage payments with a full amortisation schedule and chart, extra and lump-sum payments, refinance break-even, affordability by debt-to-income ratio, and APR with fees.

Added · updated 14 October 2026

How to use it
  • Payment and schedule — amount, annual rate, term, and payment frequency give the level payment P·r / (1 − (1+r)^−n), where r is the annual rate divided by payments per year and n the number of payments. Interest is worked out on the balance each period and rounded to the cent, as lenders do, so totals match a real statement to within a few cents. The chart stacks principal and interest by year with the balance as a line; the schedule shows each year or every payment and downloads as CSV.

  • Extra payments — a recurring amount added to each payment (from a chosen payment onward) and any number of lump sums. The tool compares against the plain schedule: how many payments sooner the loan ends and how much interest that saves. Extra money goes straight to principal.

  • Payment frequency — bi-weekly re-amortises over 26 payments a year (about the same total as monthly); accelerated bi-weekly pays half the monthly payment every two weeks, which is one extra monthly payment a year and takes several years off a 30-year mortgage.

  • Refinance — monthly payment now and after, the monthly saving, the break-even point (closing costs ÷ monthly saving), and the total remaining cost of each loan. A longer new term can lower the payment and still cost more overall, so compare totals.

  • Affordability — the largest loan whose housing cost (principal and interest, property tax, insurance, HOA, and mortgage insurance when less than 20% is down) fits both the front-end ratio (housing ÷ gross monthly income) and the back-end ratio (housing plus other debts ÷ income). 28/36 is a common guideline; real lenders and programmes vary.

  • APR with fees — the rate at which the monthly payments exactly repay the amount you actually receive (loan minus prepaid finance charges). Useful for comparing offers with different fees and points; which fees count is defined by law in each country.

Assumes a fixed rate and payments at the end of each period. Adjustable-rate loans, daily- interest loans, and taxes are not modelled. Pick a currency for formatting only — no exchange rates are involved.

Sharing

Share link copies a URL that opens this tool exactly as configured. Every field of the active tab plus currency, e.g. ?amount=350000&rate=6.1&years=25&currency=GBP#payment. Lump-sum payments are packed into ?s=. For example: loan/?amount=350000&rate=6.1&years=25&currency=GBP.

Linking to an example

Companion to the geometric series in chapter 14 of Mathematics, Reconnected: a mortgage payment is the loan divided by the present value of the payments, P = Li / (1 − (1 + i)−n).

Tab Parameter Meaning Example

#payment

amount, rate, years

loan, annual rate in %, term in years

amount=200000&rate=4.8&years=25

#payment

freq

monthly, biweekly, accelerated, or weekly

freq=biweekly

#payment

extra, extraFrom, view

extra per payment, from payment number, schedule by year or payment

extra=200

#refinance

rBal, rOld, rLeft, rNew, rYears, rCosts, rRoll

balance, old rate, years left, new rate, new term, closing costs, roll costs into the loan

rNew=5.5

#afford

aInc, aDebt, aFront, aBack, aRate, aYears, aDown, aTax, aIns, aHoa, aPmi

income, debts, ratios, rate, term, down payment, tax %, insurance, HOA, PMI %

aInc=120000

#apr

pAmt, pRate, pYears, pFees

amount, rate, term, finance charges

pFees=8000

currency

ISO code for formatting

currency=GBP

example

one of the presets below; other parameters override it

example=ch14-mortgage

Fields you leave out take their defaults.

Presets:

  • ch14-mortgage — $200,000 at 4.8% over 25 years: $1,145.99 a month, about $143,800 interest

  • ch14-mortgage-extra — the same mortgage with $200 a month extra

Runs entirely in your browser; nothing you type leaves this page.