formulastreak

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

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.

Loan, savings and a project · edit H2 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultH2 = $75.00
ABCDEFGHIJ
1InputValueMonthInterest
2Loan amount$15,000.001$75.00
3Annual rate6.0%2$73.61
4Years43$72.22
54$70.82
6Monthly saving$250.005$69.41
7Saving rate4.0%6$68.00
8Saving years107$66.58
9Discount rate8%8$65.15
10YearCash flow9$63.71
110-$20,000.0010$62.27
121$4,500.0011$60.82
132$5,200.0012$59.36
143$6,000.00
154$6,400.00
165$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. 1. IPMT: The interest part of one loan payment. Here it's given $B$3 divided by 12, G2, $B$4 times 12 and $B$2.
    • rate = `$B$3/12`: the rate per payment
    • period = `G2`: which payment
    • periods = `$B$4*12`: the total number of payments
    • amount = `$B$2`: the loan
  2. 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.

Loan, savings and a project · edit E2 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultE2 = $277.28
ABCDE
1InputValue
2Loan amount$15,000.00Month 1 principal$277.28
3Annual rate6.0%
4Years4
5
6Monthly saving$250.00
7Saving rate4.0%
8Saving years10
9Discount rate8%
10YearCash flow
110-$20,000.00
121$4,500.00
132$5,200.00
143$6,000.00
154$6,400.00
165$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

ArgumentRequiredWhat it is
rateYesThe interest rate per period: $B$3/12 for monthly.
perYesWhich payment: 1 for the first. Microsoft's page says it must be between 1 and nper.
nperYesThe total number of payments: $B$4*12.
pvYesThe loan amount.
fvNoThe balance after the last payment; left out, 0.
typeNo0 or left out: payments at the end of each period; 1: at the beginning.

PPMT

ArgumentRequiredWhat it is
rateYesThe interest rate per period, the same as in IPMT and PMT.
perYesWhich payment, from 1 to nper.
nperYesThe total number of payments.
pvYesThe loan amount.
fvNoThe balance after the last payment; left out, 0.
typeNo0 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.

Practise IPMT and PPMT on a live sheet

Lesson 47, Amortization schedule (Unit 14, Money and finance), has 5 graded exercises, checked instantly, with steps and hints when you're stuck. Pro