How-to recipes · Analysis
How to create a loan payment schedule in Excel
Build an amortisation table showing interest, principal and balance for every payment with PMT, IPMT and PPMT, as a spilled formula or copied down.
A loan of 20,000 at 6% a year over three years costs a fixed monthly payment, but the share of that payment that goes to interest falls every month while the share that repays the loan rises. An amortisation schedule shows this month by month: how much interest you pay, how much of the debt you repay, and what you still owe. It helps you compare offers, plan early repayments and check the bank's figures. Excel's financial functions make the schedule easy to build.
Step 1: the monthly payment
PMT calculates the fixed payment from the rate per period, the number of periods and the loan amount:
| A | B | |
|---|---|---|
| 1 | Loan amount | 20000 |
| 2 | Annual rate | 6% |
| 3 | Months | 36 |
| 4 | 608.44 |
Formatted with two decimals. 6% a year is 0.5% a month; 36 monthly payments.
Result: 608.44
B2/12: the monthly rate. Always match the rate to the payment frequency.B3: the number of payments, 36.-B1: the loan amount, entered as a negative number so the payment comes out positive. Financial functions treat money you receive and money you pay with opposite signs.
Over the whole loan you pay 21,903.79, so the total interest is 1,903.79. CUMIPMT confirms it directly: =CUMIPMT(B2/12,B3,B1,1,B3,0) returns -1,903.79.
Step 2: the schedule in Excel 2016 and later (copy-down)
Lay out columns for the period, interest, principal and balance. Row 6 holds period 0 with the full loan as the balance. Each following row calculates from the previous balance:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 20000 | ||
| 2 | Annual rate | 6% | ||
| 3 | Months | 36 | ||
| 4 | Payment | |||
| 5 | Period | Interest | Principal | Balance |
| 6 | 0 | 20000 | ||
| 7 | 1 | 100 | 508.44 | 19491.56 |
| 8 | 2 | 97.46 |
Interest for month 2 is the balance after month 1 times the monthly rate. B4 holds the PMT formula; the schedule continues down to period 36.
Result: 97.46
- Interest (B7):
=D6*$B$2/12, the outstanding balance times the monthly rate. - Principal (C7):
=$B$4-B7, the part of the payment that is not interest. - Balance (D7):
=D6-C7, the old balance minus the principal repaid. - Period (A7):
=A6+1. Copy A7:D7 down until period 36. The final balance is 0.00 (it may show -0.00 because of rounding).
In month 1 the interest is 100.00 and the principal 508.44; by month 36 the interest has fallen to about 3.03. The $ signs keep the rate and payment fixed while copying (Cell references: relative, absolute and mixed).
Microsoft 365: the whole schedule spilled
IPMT and PPMT return the interest and principal of any given period. Feed them a SEQUENCE of all periods and they spill the whole schedule. With A7 holding =SEQUENCE(B3):
=IPMT($B$2/12,A7#,$B$3,-$B$1)=PPMT($B$2/12,A7#,$B$3,-$B$1)=$B$1-SCAN(0,C7#,LAMBDA(a,x,a+x))A7# refers to the whole spilled sequence. SCAN builds the running total of principal, as in How to calculate a running total in Excel. Change the amount, rate or term and the entire table resizes itself.
Adding payment dates
Put the first payment date in a cell, say B5, and use EDATE for each period: =EDATE($B$5,A7-1). In Microsoft 365, =EDATE(B5,SEQUENCE(B3)-1) spills all dates. See How to add months to a date in Excel.
Extra repayments
In the copy-down version, add an Extra column E and change the balance to =D6-C7-E7. Any extra amount reduces the balance, so every later interest figure shrinks, and the balance reaches zero before period 36. Wrap the principal in MIN(D6,...) so the last payment does not overshoot.
Pitfalls
- Annual rate with monthly periods. Using 6% instead of 6%/12 gives a payment of about 1,368 instead of 608. Match the rate to the period.
- Signs. Without the minus in front of the loan amount PMT returns a negative payment. That is not wrong, just a sign convention; be consistent.
- Rounding. Banks round each payment to cents, so their final payment differs slightly. Use
=ROUND(PMT(...),2)if you need to match a statement exactly. - Real loans may include fees, insurance or a different day-count method. The schedule shows the standard annuity calculation.