Finance functions
IPMT and PPMT functions in Google Sheets and Excel
IPMT returns the interest part of one loan payment and PPMT the principal part; together they make the full payment.
PPMT returns the principal part of one loan payment: the amount that actually reduces what you owe.
Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet
- Excel 2016
- Excel 2019
- Excel 2021
- Excel 2024
- Microsoft 365
- Google Sheets
Syntax
IPMT(rate, per, nper, pv, [fv], [type])PPMT(rate, per, nper, pv, [fv], [type])Arguments in [brackets] are optional. In Google Sheets: IPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning]) and PPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning]).
Example
=-IPMT($B$3/12,G2,$B$4*12,$B$2) reads: Return the interest part of payment number G2 on the loan in B2, at the monthly rate and over B4*12 payments, with a minus in front so it shows as a positive amount.
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Input | Value | Month | Interest | ||||||
| 2 | Loan amount | $15,000.00 | 1 | $75.00 | ||||||
| 3 | Annual rate | 6.0% | 2 | $73.61 | ||||||
| 4 | Years | 4 | 3 | $72.22 | ||||||
| 5 | 4 | $70.82 | ||||||||
| 6 | Monthly saving | $250.00 | 5 | $69.41 | ||||||
| 7 | Saving rate | 4.0% | 6 | $68.00 | ||||||
| 8 | Saving years | 10 | 7 | $66.58 | ||||||
| 9 | Discount rate | 8% | 8 | $65.15 | ||||||
| 10 | Year | Cash flow | 9 | $63.71 | ||||||
| 11 | 0 | -$20,000.00 | 10 | $62.27 | ||||||
| 12 | 1 | $4,500.00 | 11 | $60.82 | ||||||
| 13 | 2 | $5,200.00 | 12 | $59.36 | ||||||
| 14 | 3 | $6,000.00 | ||||||||
| 15 | 4 | $6,400.00 | ||||||||
| 16 | 5 | $7,000.00 |
H2 shows $75.00: month 1's interest is 0.5% of $15,000. It shrinks every month after.
How the spreadsheet calculates it
Works out minus the result of IPMT (step 1).
- 1. IPMT: The interest part of one loan payment. Here it's given
$B$3divided by12,G2,$B$4times12and$B$2.rate=`$B$3/12`: the rate per paymentperiod=`G2`: which paymentperiods=`$B$4*12`: the total number of paymentsamount=`$B$2`: the loan
- 2. Put together: Puts it together: minus the result of step 1.
PPMT example
=-PPMT(B3/12,1,B4*12,B2) reads: Return the principal part of the first payment (per = 1) on the loan in B2, at the monthly rate B3/12 over B4*12 payments, made positive with the minus.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Loan amount | $15,000.00 | Month 1 principal | $277.28 | |
| 3 | Annual rate | 6.0% | |||
| 4 | Years | 4 | |||
| 5 | |||||
| 6 | Monthly saving | $250.00 | |||
| 7 | Saving rate | 4.0% | |||
| 8 | Saving years | 10 | |||
| 9 | Discount rate | 8% | |||
| 10 | Year | Cash flow | |||
| 11 | 0 | -$20,000.00 | |||
| 12 | 1 | $4,500.00 | |||
| 13 | 2 | $5,200.00 | |||
| 14 | 3 | $6,000.00 | |||
| 15 | 4 | $6,400.00 | |||
| 16 | 5 | $7,000.00 |
E2 shows $277.28: month 1's payment of $352.28 minus its $75.00 interest.
More IPMT and PPMT examples
=-IPMT(B3/12,1,B4*12,B2)The interest in the first month of the loan.=-IPMT(B3/12,48,B4*12,B2)The interest in the last month: much smaller.=-SUMPRODUCT(IPMT(B3/12,SEQUENCE(12),B4*12,B2))Total interest in the first twelve payments.=IPMT(B3/12,1,B4*12,B2)+PPMT(B3/12,1,B4*12,B2)Interest plus principal: the same as PMT.=-PPMT(B3/12,48,B4*12,B2)The principal in the last payment: almost the whole payment ($350.52 of $352.28).=-SUMPRODUCT(PPMT(B3/12,SEQUENCE(12),B4*12,B2))How much of the loan the first year's payments repay.=B2+SUMPRODUCT(PPMT(B3/12,SEQUENCE(12),B4*12,B2))The balance still owed after twelve payments.
Paste any of these into the formula explainer to see it step by step.
Tips
- Lock every argument except the payment number before filling down.
- Add a check column
=IPMT(…)+PPMT(…)-PMT(…)that should be 0 on every row. - Use the same signs in IPMT, PPMT and PMT so they add up.
What IPMT and PPMT are used for
Loan amortization schedules, showing how much of each payment is interest for budgeting or tax records, and comparing how quickly different loans build up repaid principal.
Arguments
IPMT
| Argument | Required | What it is |
|---|---|---|
| rate | Yes | The interest rate per period: $B$3/12 for monthly. |
| per | Yes | Which payment: 1 for the first. Microsoft's page says it must be between 1 and nper. |
| nper | Yes | The total number of payments: $B$4*12. |
| pv | Yes | The loan amount. |
| fv | No | The balance after the last payment; left out, 0. |
| type | No | 0 or left out: payments at the end of each period; 1: at the beginning. |
PPMT
| Argument | Required | What it is |
|---|---|---|
| rate | Yes | The interest rate per period, the same as in IPMT and PMT. |
| per | Yes | Which payment, from 1 to nper. |
| nper | Yes | The total number of payments. |
| pv | Yes | The loan amount. |
| fv | No | The balance after the last payment; left out, 0. |
| type | No | 0 or left out: end of period; 1: beginning. |
Common mistakes
Forgetting the minus: IPMT is negative, like PMT.
Leaving the rate, nper and loan cells unlocked when filling down the schedule: only per should change from row to row.
Expecting the interest to stay the same: it's charged on the remaining balance, so it falls every month while the principal part rises.
Using different arguments for IPMT and PPMT: they no longer add up to PMT.
Reading the first month's principal as the typical repayment: it's the smallest; the principal part grows with every payment.
Adding up PPMT over all payments and expecting more than the loan: the principal parts always total the loan amount exactly.
In Google Sheets
Google Sheets has IPMT and PPMT with the same arguments in the same order (IPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning]), and the same for PPMT).
Errors you may see with IPMT and PPMT
- #VALUE!: An argument is text that can't be read as a number.
Questions
How do I build an amortization schedule?
List the payment numbers 1 to nper in a column, then fill down -IPMT(rate, n, nper, loan) and -PPMT(rate, n, nper, loan) beside them, with every argument except n locked. The two columns add up to the PMT on every row. The loan payment guide walks through it.
Why is IPMT negative?
It's part of a payment, which is money going out. Put a minus in front of IPMT or PPMT to show positive amounts, as the examples do.
How much interest do I pay in the first year?
Add up the first twelve interest parts, or use CUMIPMT, which totals interest between two payment numbers. With IPMT alone: -SUMPRODUCT(IPMT(B3/12, SEQUENCE(12), B4*12, B2)).
Do IPMT and PPMT always add up to PMT?
Yes, when they get the same rate, nper, pv, fv and type. If they don't add up, one of the arguments differs between the two formulas.
Sources
Official documentation the facts on this page were checked against.