Loan payments in Excel: PMT, IPMT and PPMT
Work out a monthly loan payment with one function, split it into interest and principal, and prove it by building the whole repayment schedule underneath. An invented $18,000 loan is the example.
- Level
- Beginner
- Reading time
- About 12 minutes
- Know this first
- Lookups
By the end you will be able to:
- calculate a loan payment with PMT using the rate and number of payments per period
- read the minus sign PMT returns
- split a payment into interest and principal with IPMT and PPMT
- build a repayment schedule that ends at zero and use it to check the payment
- compare loan terms by payment and total interest
How much a month?
Most people meet a loan as a single number: the monthly payment. Excel works it out with one function, PMT, and the answer can be checked by building the full repayment schedule underneath it. This lesson does both for an invented loan of $18,000 at 7.2% a year, repaid monthly over five years.
The mathematics of a level payment is explained in annuities, perpetuities and loans. Here we use Excel to do the work. If you only want the payment on a loan, you can stop after the first section.
PMT: the payment
PMT(rate, nper, pv) returns the level payment for a loan. The rate is the interest rate per period, nper is the number of periods, and pv is the amount borrowed. Because payments are made monthly, the yearly rate of 7.2% becomes 0.6% a month, and five years becomes 60 payments.
Excel treats money you pay out as negative, so PMT returns a negative number for a loan. Most people put a minus sign in front, =-PMT(B5, B6, B1), to show the payment as a positive amount. If the result looks wrong, the commonest cause is giving PMT the yearly rate or the number of years instead of the per-period values.
| Row | A | B |
|---|---|---|
| 1 | Loan amount | $18,000 |
| 2 | Annual interest rate | 7.2% |
| 3 | Years | 5 |
| 4 | Payments a year | 12 |
| 5 | Rate per period | 0.60% |
| 6 | Number of payments | 60 |
| 7 | Payment each month | $358.12 |
| 8 | Total paid | $21,487.35 |
| 9 | Total interest | $3,487.35 |
| 10 | Month 1 interest | $108.00 |
| 11 | Month 1 principal | $250.12 |
| 12 | Interest from schedule | $3,487.35 |
| 13 | Balance after the last payment | $0.00 |
The monthly payment is $358.12. Over 60 months that is $21,487.35 in total, of which $3,487.35 is interest. Notice that the rate per period and the number of payments are their own cells, worked out from the yearly figures. Changing the years or the payments a year, say to weekly, updates everything.
IPMT and PPMT: interest and principal
Each payment has two parts. The interest pays for the use of the money and is charged on the balance still owed. The principal is what is left of the payment, and it reduces the balance. IPMT(rate, per, nper, pv) gives the interest in payment number per, and PPMT gives the principal in the same payment.
In month 1 the balance is the whole $18,000, so interest is 18,000 × 0.6% = $108.00, and the rest of the payment, $250.12, is principal. The two parts always add to the payment.
The schedule: proof that the payment works
A repayment schedule follows the balance month by month. Each row starts with the opening balance, charges interest on it, takes the payment, and carries the closing balance to the next row. The interest formula is simply =B2*Loan!$B$5, the opening balance times the monthly rate, and the principal is the payment minus that interest.
The row below the first is built by pointing the opening balance at the previous closing balance, and then the last row is copied down. Sixty rows come from writing one row and filling down.
| Row | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| 1 | Month | Opening | Payment | Interest | Principal | Closing |
| 2 | 1 | $18,000.00 | $358.12 | $108.00 | $250.12 | $17,749.88 |
| 3 | 2 | $17,749.88 | $358.12 | $106.50 | $251.62 | $17,498.25 |
| 4 | 3 | $17,498.25 | $358.12 | $104.99 | $253.13 | $17,245.12 |
| 5 | 4 | $17,245.12 | $358.12 | $103.47 | $254.65 | $16,990.47 |
| 6 | 5 | $16,990.47 | $358.12 | $101.94 | $256.18 | $16,734.29 |
| 7 | 6 | $16,734.29 | $358.12 | $100.41 | $257.72 | $16,476.57 |
The test of the payment is the end of the schedule: the balance after the 60th payment is $0.00, and the interest added up from the schedule, $3,487.35, equals the total interest from the PMT result, $3,487.35. If PMT had been given the wrong rate, the schedule would not have ended at zero. Building the schedule is the best way to check a loan calculation.
What a longer term really costs
Change the years and watch the payment. A longer loan means a smaller payment, which is why it feels cheaper, but the interest is charged for more months. The sheet below repeats the PMT formula for three terms, with the rate and amount pointing at the same loan cells.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Years | Payment | Total paid | Interest |
| 2 | 3 | $557.44 | $20,067.67 | $2,067.67 |
| 3 | 5 | $358.12 | $21,487.35 | $3,487.35 |
| 4 | 7 | $273.43 | $22,968.24 | $4,968.24 |
Over three years the payment is $557.44 and the interest is $2,067.67. Over seven years the payment falls to $273.43, but the interest rises to $4,968.24. Which is better depends on what the household can afford each month, and this lesson does not say.
Try it yourself
The practice workbook holds the loan sheet, the full 60-row schedule and the term comparison drawn above. A fifth sheet describes a different loan, $9,000 at 9% over three years, for you to work out.
Download the practice workbook (free .xlsx, no sign-up).
What this lesson leaves out
- An invented loan. The amount, rate and term are made up. They are not an offer and they do not describe any real lender.
- A fixed rate and level payments. The lesson assumes the rate never changes and every payment is equal. Many real loans have variable rates, fees, extra payments or a balloon at the end.
- Monthly interest by division. Dividing the yearly rate by 12 is the common convention for a nominal rate. Some lenders compute interest daily or quote an effective rate, which changes the payment slightly.
- No tax or insurance. A mortgage payment often includes other costs. This is the loan alone.
Common mistakes
Giving PMT the yearly rate
A rate of 7.2% over 60 monthly payments is wrong. Divide the rate by the payments a year and multiply the years by the same number.
Reading the sign
PMT returns a negative number for a loan. That is Excel's way of showing money going out. Put a minus in front if you want a positive payment.
Typing the payment instead of using PMT
A typed payment will not change when the rate or term changes. Keep the formula.
Forgetting to lock the rate
In the schedule, the monthly rate and the loan terms must be absolute references, or the formula drifts as it is copied down.
Ignoring the total interest
A small monthly payment can hide a large total cost. Always look at the total paid as well.
Questions to answer
1. Why is the rate in PMT 0.6% and not 7.2%?
Show the working
Payments are monthly, so the rate must be per month. 7.2% ÷ 12 = 0.6%.
2. What are the first month's interest and principal on the $18,000 loan?
Show the working
Interest is 18,000 × 0.006 = $108.00. Principal is the payment, $358.12, minus that, so $250.12.
3. What should the closing balance be after the last payment, and why does this check the answer?
Show the working
Zero. If the payment were wrong, the balance would not end at zero, so the schedule proves the PMT result.
4. Compare the three-year and seven-year loans. Which has the lower payment and which costs more in interest?
Show the working
The seven-year loan has the lower payment, $273.43 against $557.44, but it costs more interest, $4,968.24 against $2,067.67.
5. In the practice workbook, what is the payment on $9,000 at 9% over three years, and the interest in month 1?
Show the working
Monthly rate is 0.75% and there are 36 payments, so the payment is $286.20. The first month's interest is 9,000 × 0.0075 = $67.50. Total interest is $1,303.11.
Where this is used
- A borrower compares the monthly payment on a car loan over different terms.
- A household checks what a lender's quoted payment should be before signing.
- A business plans the cash needed each month to repay equipment finance.
- A student builds a schedule to see how much of the first payments is interest.
- An adviser shows how extra payments would shorten a loan, by changing the schedule.
Key terms
- PMT
- Returns the level payment on a loan.
- IPMT
- Returns the interest part of a given payment.
- PPMT
- Returns the principal part of a given payment.
- Principal
- The amount borrowed, or the part of a payment that reduces it.
- Interest
- The charge for borrowing, calculated on the balance owed.
- Rate per period
- The yearly rate divided by the payments in a year.
- Amortisation schedule
- A table that follows a loan's balance payment by payment.
Questions people ask
Does PMT work for savings as well?
Yes. Given a future value as its fourth argument, it finds the regular saving needed to reach a goal. The next lesson looks at saving and growth.
Can I add extra payments?
Yes, in the schedule. Add a column for the extra amount and subtract it from the closing balance. The PMT formula alone will not show it.
Why does my payment differ from the lender's?
Lenders may compute interest daily, add fees, or round each payment. The difference is usually small, and the lender's schedule is the one that counts.
Is the schedule needed if PMT gives the answer?
Not for the payment, but it shows the interest and balance at any date, and it proves the figure.
Sources and review
- Microsoft Support, PMT function, for the arguments, the sign convention and the rate per period.
- Microsoft Support, Switch between relative, absolute, and mixed references, for how a reference changes when a formula is copied and the keys that add the dollar signs.
How the numbers were checked: every sheet drawn in this lesson was built as a real workbook, recalculated with LibreOffice, and drawn from the recalculated cells, so the figures are what a spreadsheet really computes. The worked answers were recomputed the same way. These are standard functions with the same definitions in Excel and Google Sheets. The practice file is the same workbook.