Skip to content
CentExact

Borrowing

The loan payment formula, step by step

Follow the amortisation formula from a $20,000 loan to its $396.02 payment, see why the last payment differs, and what extra payments and the term change.

Reviewed by CentExactCalculated in your browser. Shared links include inputs.
Principal and interest in each year of a $20,000 loan at 7% over 5 years, paid monthly.
  • Principal repaid$20,000
  • Interest paid$3,761.48
  • Balance after year 5$0

Source: the standard annuity formula, with each payment's interest rounded to the cent and the final payment settling the rounding.

Try it with these figures

How the result is calculated

Early in a loan, most of each payment is interest, because the balance is still high. Towards the end almost all of it is principal. Laid out payment by payment, that split is the amortisation schedule, and this calculator builds it from the payment formula.

PaymentP × r ÷ (1 − (1 + r)−n)

P
the amount borrowed
r
the interest rate per period: the annual rate divided by the number of payments a year
n
the total number of payments
P is the Loan amount, r comes from the Interest rate and the Payment frequency, and n from Years and Months. On the calculator page, the derivation under the payment shows this formula with your own figures in it.

For a monthly loan the rate per period is the annual rate divided by 12. Biweekly payments divide it by 26 and weekly payments by 52. At 0% the formula would divide by zero, so the payment is the amount divided by the number of payments.

The schedule then applies the same three lines to every period, and the total interest is the sum of the interest lines:

interestbalance × r

principalpayment − interest

new balancebalance − principal

balance
what is still owed at the start of the period
Each interest line is rounded to the cent before the next period, which is how a lender's statement does it.

Worked example

Worked exampleThe calculator's opening figures: $20,000 at 7% over 5 years
ItemAmountHow it is obtained
Amount borrowed, P$20,000.00Loan amount
Rate per period, r0.58333%7% ÷ 12 monthly payments
Number of payments, n605 years × 12
Growth factor, (1 + r)n1.417631.005833360
Discount factor, 1 − (1 + r)−n0.294601 − 1 ÷ 1.41763
Monthly payment$396.0220,000 × 0.0058333 ÷ 0.29460

The first payment then splits as follows, and the schedule repeats the split 59 more times:

ItemAmountHow it is obtained
Interest in month 1$116.6720,000 × 0.58333%
Principal in month 1$279.35396.02 − 116.67
Balance after month 1$19,720.6520,000 − 279.35
Total of all 60 payments$23,761.48sum of the schedule, final payment adjusted by rounding
Total interest$3,761.4823,761.48 − 20,000

The formula total shown under the table, 60 × the unrounded payment of 396.0239 − 20,000, is $3,761.44. The four-cent difference is rounding: each month's interest is rounded to the cent, and the final payment settles whatever is left.

Try it with these figures

Worked example$200 extra a month on a $200,000 loan at 6% over 30 years
ItemAmountHow it is obtained
Monthly payment$1,199.10200,000 × 0.005 ÷ (1 − 1.005−360)
Total interest, no extra payment$231,677360 payments
Payments with $200 extra252nine years early, instead of 360
Total interest with $200 extra$151,876252 payments
Interest saved$79,801231,677 − 151,876

Try it with these figures

Reading the result

The headline is the regular payment. Beside it sit the total paid, the total interest and the payoff date, and under those the schedule.

Switch between By year and Every payment above the table. The yearly view is the quickest way to see the shape of the loan: interest falls each year while the principal portion grows. A year row adds up its payments to the cent, so the years foot to the totals above the table. The per-payment view shows every line the way a lender's statement would, including the running balance. The CSV download exports whichever view is on screen.

The last payment is rarely identical to the others. Each payment is rounded to the cent, a few cents of rounding build up over the term, and the final payment settles the exact remaining balance.

The schedule also gives two totals for interest. The figure beside the table is the sum of the rounded interest lines, which is what you would pay. Under the table is the formula total that most other calculators headline: payment × number of payments − amount borrowed. On typical loans the two differ by less than a dollar.

What changes the result

How extra payments change the loan

Extra payments go straight to principal, so each one lowers the balance on which the next period's interest is charged. Run the same loan with and without an extra payment and compare the interest saved and the final payment date.

Before you overpay, check two things with your lender: that extra payments are applied to principal rather than held as a prepayment of next month's instalment, and whether an early-repayment charge applies. Most personal loans and US mortgages allow penalty-free prepayment, but some fixed-rate products do not.

Monthly, biweekly or weekly

Changing the frequency recalculates a true payment for that schedule: 26 biweekly or 52 weekly payments a year. Total interest comes out slightly below the monthly figure, because the balance falls a little sooner each month. On the loan in the table below, the saving is a few hundred dollars over the whole term.

FrequencyPayments a yearPaymentTotal interest on $200,000 at 6% for 30 years
Monthly12$1,199.10$231,677
Biweekly26$553.17$231,464
Weekly52$276.53$231,370

The "biweekly trick" that saves far more works differently. You pay half your monthly payment every two weeks. A year has 26 half-payments, the equivalent of 13 monthly payments instead of 12, and the thirteenth payment is what shortens the loan. To model it, keep the frequency on monthly and enter one-twelfth of your payment as the extra payment.

The term

A longer term lowers the payment and raises the total interest, because the balance stays higher for longer. Run the same amount at two or three terms and compare the total interest lines, since the payment alone hides that cost.

What is not included

  • Fees and APR. Use the contractual interest rate to estimate the payment. APR can include arrangement fees and other charges, so substituting APR can produce the wrong instalment. Add fees separately when comparing the total cost of offers. The Consumer Financial Protection Bureau explains the distinction.
  • Variable rates. The rate is assumed fixed for the whole term. For a variable or tracker loan, run the calculator at a few rates to see the range of payments you might face.
  • Insurance and add-ons. Payment-protection or credit insurance is a separate cost.
  • Daily interest. This model charges interest once per payment period. A daily-interest loan can give a different interest split or payoff balance depending on payment dates and the lender's day-count convention, even when the scheduled payment is fixed.

Using the result

The payment has to fit your budget every period without fail. The total interest is what the loan costs, and it is the figure to compare across offers with different terms, because a longer term lowers the payment but almost always raises the interest. To choose between offers, run each through the calculator with the same amount, put the total interest figures side by side, and then decide how much a lower payment is worth to you.

Questions about this calculator are answered on its own page, beside the result they are about: questions and answers.

Related reading

Terms explained

CentExactPersonal finance publisher

CentExact publishes the calculation method, worked examples and available data sources. Automated checks cover reference calculations; they do not certify a result for your circumstances or imply approval by a lender or tax authority.

How we work out and check each answer

This calculator is for general information only and is not financial advice. Results are estimates based on the figures you enter and the stated formula; lenders and providers may round or calculate differently. Check any decision with the institution involved or a qualified adviser.