Finance function
PMT function in Google Sheets and Excel
PMT returns the regular payment that repays a loan, or reaches a savings goal, at a fixed rate over a set number of payments.
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
PMT(rate, nper, pv, [fv], [type])Arguments in [brackets] are optional. Google Sheets writes it PMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning]).
Example
=PMT(B3/12,B4*12,B2) reads: Work out the monthly payment on the loan in B2, using the yearly rate in B3 divided by 12 and the years in B4 times 12.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Loan amount | $15,000.00 | Monthly payment | -$352.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 -$352.28: $15,000 over 4 years at 6% is about $352 a month, negative because it's paid out.
How the spreadsheet calculates it
Works out the regular payment on a loan of B2, at an interest rate of B3 divided by 12 per period, over B4 times 12 periods. Money paid out comes back negative.
- 1. PMT: Works out the regular payment on a loan of
B2, at an interest rate ofB3divided by12per period, overB4times12periods. Money paid out comes back negative.rate=`B3/12`: the rate per paymentperiods=`B4*12`: the number of paymentsamount=`B2`: the loan
More PMT examples
=-PMT(B3/12,B4*12,B2)The same monthly payment, shown positive.=-PMT(B3/12,B4*12,B2)*B4*12-B2The total interest over the loan.=PMT(4%/12,5*12,0,10000)The monthly saving needed to reach $10,000 in 5 years.=-PMT(B3/12,B4*12,B2,0,1)Payments at the start of each month.
Paste any of these into the formula explainer to see it step by step.
Tips
- Divide the yearly rate by 12 and multiply the years by 12 for monthly payments.
- Show the payment positive with a minus in front of PMT.
- Multiply the payment by nper to see the total you'll pay.
- Keep the rate, years and amount in labelled cells so you can compare offers.
What PMT is used for
Monthly loan, car finance and mortgage payments, comparing loan offers, savings plans that need to reach a target, and lease calculations.
Arguments
| Argument | Required | What it is |
|---|---|---|
| rate | Yes | The interest rate per payment: the yearly rate ÷ 12 for monthly payments. |
| nper | Yes | The total number of payments: years × 12 for monthly. |
| pv | Yes | The present value: the loan amount. |
| fv | No | The balance left after the last payment. Left out, it's 0 (the loan is fully repaid). |
| type | No | 0 or left out: payments at the end of each period; 1: at the beginning. |
Common mistakes
Using the yearly rate with monthly payments: the payment comes out far too big.
Using months in one place and years in another, such as
B3/12withB4: the payment comes out as if the loan lasted 4 months.Expecting fees or taxes to be included: Microsoft's page says the payment covers principal and interest only.
Typing the rate as 6 instead of 6%: that's 600% a year.
In Google Sheets
Google Sheets has PMT with the same arguments in the same order (PMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning])).
Errors you may see with PMT
Questions
Why is PMT negative?
Because the payment is money going out. Put a minus in front, =-PMT(…), or make the loan amount negative, to show a positive payment.
How do I find the total interest on a loan?
Multiply the payment by the number of payments and subtract the loan: =-PMT(B3/12,B4*12,B2)*B4*12-B2. On the course's loan sheet that's $1,909.22 over 4 years.
Can PMT work out savings instead of a loan?
Yes: leave pv at 0 and set fv to the goal. PMT(4%/12, 5*12, 0, 10000) is the monthly saving that reaches $10,000 in 5 years (negative, money paid in).
What does the type argument change?
With 1, payments are at the start of each period, so each one reduces the balance a month earlier and the payment is slightly smaller. On the course's loan sheet it's $350.52 instead of $352.28.
Sources
Official documentation the facts on this page were checked against.