How to calculate a loan payment (formula and examples)

"Easy monthly payments." The payment is the number everyone looks at, and almost nobody knows where it comes from or, more importantly, what the loan behind it costs in total. In this guide you'll see the fixed-payment formula with a worked example, what matters more for what you pay (the rate or the term), how much paying a little extra each month really saves, and why the bank's figure may not match yours.

The fixed-payment formula

Almost all consumer, car and mortgage loans use a fixed-payment schedule: you pay the same amount every month. The formula is:

Payment = Amount × r ÷ (1 − (1 + r)−n)

Where r is the monthly interest rate as a decimal (annual rate ÷ 12 ÷ 100) and n is the number of payments (months). Two classic mistakes: using the annual rate without dividing by 12, and entering the term in years instead of months.

Worked example: 20,000 at 8.5% over 5 years

  1. Monthly rate: 8.5 ÷ 12 ÷ 100 = 0.0070833
  2. Number of payments: 5 years × 12 = 60
  3. (1 + r)−n = 1.0070833−60 = 0.6547
  4. Denominator: 1 − 0.6547 = 0.3453
  5. Payment: 20,000 × 0.0070833 ÷ 0.3453 = 410.33

You'll pay 410.33 a month for 60 months: 24,619.84 in total, of which 4,619.84 is interest. That last figure —the real cost of the loan— is the one that almost never appears in the ad.

Try it with your numbers: payment, total, interest and the month-by-month amortization schedule, with an optional extra payment. Free, and your figures never leave your browser.

Open the loan calculator →

What happens inside each payment: amortization

Although the payment is fixed, what's inside it changes every month. Interest is calculated on the outstanding balance (balance × r), and the rest of the payment reduces the principal. In the example, the first month 141.67 goes to interest and only 268.66 to principal; in the last, 2.89 to interest and 407.44 to principal. That's why, if you pay off a loan halfway through, you owe more than you'd guess: early on you've mostly been paying interest.

What matters more: the rate or the term?

With the same 20,000 amount, watch how total interest moves:

ScenarioPaymentTotal interest
8.5% over 5 years (base)410.334,619.84
8.5% over 3 years631.352,728.63
8.5% over 7 years316.736,605.30
6.5% over 5 years391.323,479.38
11% over 5 years434.856,090.91

The lesson: a longer term lowers the payment but inflates the interest (from 5 to 7 years, almost 2,000 more). And a two-point difference in the rate weighs more than it looks. When comparing offers, compare the total cost, not the payment.

The extra payment: small each month, big at the end

If in the base example you pay 100 extra every month, the loan ends in 47 months instead of 60 and interest drops from 4,619.84 to 3,510.64: you save 1,109.19 and 13 months. The mechanism is simple: the extra goes entirely to principal, next month's interest is calculated on a smaller balance, and the savings compound. Before doing it, confirm with your lender that there's no prepayment penalty.

Nominal rate, APR and TAE: which one to use

The nominal rate is the one that goes into the formula. The APR (in the US) or TAE (in Spain and Europe) adds fees and other mandatory costs to express the real annual cost: it's the right figure for comparing offers, but not the one you plug into the payment formula. If your calculation doesn't match the bank's, this is usually why: origination fees, bundled insurance, or interest calculated on actual days instead of equal months.

Common mistakes

  • Looking only at the payment. A low payment with a long term is almost always the most expensive loan.
  • Mixing up annual and monthly rates when applying the formula (the result comes out absurd).
  • Comparing APR against a nominal rate between two offers: compare APR with APR.
  • Forgetting costs outside the payment: fees, insurance, appraisal, closing costs on mortgages.
  • Eyeballing percentages. 8.5% a year isn't "8.5% of the amount" in interest: over 5 years it was 23% of the amount. To sharpen the concept, see our guide on percentage increase and decrease.

Frequently asked questions

Does the formula work the same for car, mortgage and personal loans?

Yes, as long as it's a fixed-payment loan, which is the norm. Variable-rate mortgages recalculate the payment whenever the rate changes, but within each period they apply the same formula to the outstanding balance and the months remaining.

What about a 0% rate?

The formula can't be applied (there'd be a division by zero), but it isn't needed: the payment is simply the amount divided by the number of months. Beware of "0%" financing that hides the cost in fees: there, the APR is indeed above zero.

Can I calculate the payment in a spreadsheet?

Yes: the PMT function does exactly this calculation: =PMT(annual rate/12, months, −amount). Our calculator also gives you the amortization schedule ready to download as CSV.

Conclusion

A loan payment comes from a single formula, but the important decision isn't in the payment: it's in the total interest behind it, and that number depends mostly on the term and the rate. Before signing, calculate the total cost of each offer and test what an extra payment changes. To do it in seconds without your figures leaving your browser, use the EzzyApps loan calculator. And remember: this is an indicative calculation, not financial advice; the figure that counts is the one in your contract.


All EzzyApps tools

QR Generator

Create QR codes for links, text or vCards instantly.

Image to PDF

Combine multiple photos into a single PDF without uploading them.

Password generator

Strong passwords and passphrases, plus a meter that tells you how well yours holds up.

Compress images

Reduce the weight of your JPG, PNG or WEBP photos without uploading them.

Word counter

Count words, characters, sentences and reading time instantly.

Uppercase & lowercase

Convert text to UPPERCASE, lowercase, Title or Sentence case and clean up spaces and line breaks.

Percentage calculator

Calculate percentages, what % one figure is of another, and the change between two values.

Unit converter

Length, weight, temperature, volume, area and time. Two-way live conversion.

BMI calculator

Calculate your Body Mass Index and the WHO category, in metric or imperial.

Lorem Ipsum generator

Create filler text in paragraphs, sentences or words with one click.

Age calculator

Exact age, difference between dates with business days and adding or subtracting days.

Private notepad

Write notes with autosave in your browser. Multi-note, export to .txt or .md. No server.

Loan calculator

Monthly payment, total interest and amortization schedule, with extra payments. Car, mortgage or personal.

Convert & resize images

JPG, PNG or WebP; exact pixels or KB; EXIF/GPS stripped; document photo.

QR code reader

Read a QR from an image, a pasted screenshot or the camera and see what it contains before opening it.

Numbers to words

Write amounts in words for checks, invoices and contracts, in each country's format.

Developer tools

JSON, Base64, URL, JWT, MD5/SHA hashes and UUID, without sending your data to any server.

Convert PDF

Turn a PDF into Word, Markdown, text or HTML with its headings, lists and tables, without uploading it.

Merge and split PDF

Combine PDFs, split them by pages and reorder, rotate or remove pages, without uploading them.

Driver calculator

Hours worked, cost per mile or km and what you keep from each trip or block.