How to calculate loan payments and total interest

Last Updated: September 27, 2026

Calculate a fixed-rate loan payment, follow the changing interest and principal split, and compare monthly payments with lifetime interest using a complete $20,000 example.

Open the related calculator · More Finance videos

The calculation

M = P × r / [1 − (1 + r)^(−n)]; total interest ≈ n × M − P. P is borrowed principal, r is interest rate per payment period, and n is payment count. At r = 0, M = P / n.

Worked example

For $20,000 borrowed at a 6% nominal annual interest rate over five years with end-of-month payments: r = 0.06/12 = 0.005 and n = 60. The unrounded payment is $386.6560305886, displayed as $386.66. First-month interest is $100 and principal reduction is about $286.66. Total scheduled payments are about $23,199.36 and interest about $3,199.36 using the unrounded payment. A six-year term produces about $331.46 per month and $3,864.96 total interest.

Assumes a constant nominal interest rate and regular monthly payments at period end, excluding fees and extras. Fee-inclusive APR is not automatically the interest rate. Daily-interest contracts, payment timing and payment rounding can change actual charges or the final payment.

Video chapters

  • 0:00 — What is inside a loan payment?
  • 0:15 — Match the rate and payment periods
  • 0:31 — Build the monthly payment formula
  • 0:51 — Split the first payment
  • 1:10 — Same payment, changing proportions
  • 1:31 — Calculate the total interest
  • 1:53 — A lower payment can cost more
  • 2:15 — Know the model’s limits
  • 2:36 — Principal, monthly rate, payment count
Read the full transcript

A loan payment does two jobs: it pays interest, and it reduces the amount you owe. With a fixed-rate amortizing loan, the payment stays level, but those two parts change. Let us calculate a twenty-thousand-dollar loan at six percent annual interest, repaid monthly over five years.

Start with the principal, meaning the amount actually borrowed. Convert six percent to zero point zero six, then divide by twelve. The monthly rate is zero point zero zero five, or half a percent. Five years times twelve gives sixty payments. The rate and the number of payments must use the same period.

The monthly payment equals principal times the monthly rate, divided by one minus, one plus the monthly rate, raised to the negative number of payments. This formula chooses a level payment that brings the balance to zero. Substitute twenty thousand, zero point zero zero five, and sixty. The estimated payment is three hundred eighty-six dollars and sixty-six cents.

For month one, interest is the starting balance times the monthly rate. Twenty thousand times zero point zero zero five is one hundred dollars. Subtract that from the payment. About two hundred eighty-six dollars and sixty-six cents repays principal. The remaining balance is about nineteen thousand seven hundred thirteen dollars and thirty-four cents.

In month two, interest is calculated on that smaller balance: about ninety-eight dollars and fifty-seven cents. More of the same payment now reduces principal. Repeat: calculate interest, subtract it from the payment, and reduce the balance. Across the schedule, the interest portion shrinks and the principal portion grows. That changing split is amortization.

To estimate total payments, multiply the unrounded monthly payment by sixty. That is about twenty-three thousand one hundred ninety-nine dollars. Subtract the twenty-thousand-dollar principal. Total interest is about three thousand one hundred ninety-nine dollars. Keep full precision until the final answer; rounding every payment to cents can slightly change the last payment.

What if the same loan lasts six years? Keep the amount and rate unchanged, but use seventy-two payments. The payment falls to about three hundred thirty-one dollars and forty-six cents. Total interest rises to about three thousand eight hundred sixty-five dollars. A longer term lowers the monthly burden while keeping a balance outstanding longer.

This example assumes a constant interest rate, monthly payments at the end of each period, and no fees or extra payments. Use the loan interest rate for this model. A disclosed A P R can include fees and may differ from that rate. Daily-interest loans can also depend on payment dates. At zero interest, simply divide principal by the number of payments.

Remember three inputs: the amount borrowed, the rate per payment period, and the number of payments. Calculate the level payment, then split each payment into interest and principal. Finally, compare both the monthly payment and total interest. In our five-year example, the payment is about three hundred eighty-six dollars and sixty-six cents, with about three thousand one hundred ninety-nine dollars in total interest.

Sources

Keep learning

Browse Finance videos · All calculator videos