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), whereris the annual rate divided by payments per year andnthe 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¤cy=GBP#payment. Lump-sum payments are packed into ?s=.
For example: loan/?amount=350000&rate=6.1&years=25¤cy=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 |
|---|---|---|---|
|
|
loan, annual rate in %, term in years |
|
|
|
|
|
|
|
extra per payment, from payment number, schedule by |
|
|
|
balance, old rate, years left, new rate, new term, closing costs, roll costs into the loan |
|
|
|
income, debts, ratios, rate, term, down payment, tax %, insurance, HOA, PMI % |
|
|
|
amount, rate, term, finance charges |
|
|
ISO code for formatting |
|
|
|
one of the presets below; other parameters override it |
|
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
Feedback is a gift. Something to improve, a feature to add, or a bug? Tell me.
Runs entirely in your browser; nothing you type leaves this page.