Home > Formulas > Lookup > PMT Excel PMT Function for Loan PaymentThe PMT function calculates the payment for a loan that has constant payments and a constant interest rate. Also see the Loan Payment Schedule Template page |
The PMT function returns a payment amount, so you can use it to:
The PMT function has the following arguments in its syntax. There are three required arguments, and 2 optional arguments:
To see the steps for calculating a simple loan payment with the PMT function, watch this short video. The written instructions are below the video.
With the PMT function, you can return a payment amount, based on loan information. In this example:
In cell C6, the PMT function calculates the monthly payment, based on the annual rate, which is divided by 12 to get the monthly rate, the number of payments (periods) and the loan amount (present value):
The payment, -230.29, is calculated as a negative amount, because you are paying that amount out of your bank account.
If you would prefer to see the result as a positive number, you can use a minus sign before the PMT function:
If you would like to see the total amount that will be repaid, over the duration of the loan, use the following formula in cell C8.
This formula multiplies:
For Canadian mortgage loans, the interest is compounded semi-annually, rather than monthly, even if the payments are monthly. To calculate the payments, you need a different rate calculation, instead of the simple Rate/12.
Note: Visit your bank's website, or check with your banker, to confirm how your bank will calculate the payments.
In this example:
In cell C6, the PMT function calculates the monthly payment, based on the annual rate, the number of payments (periods) and the loan amount (present value):
=PMT((C2/2+1)^(1/6)-1,C3,C4)
Instead of simply dividing the rate by 12, the rate calculation is: (Rate/2+1)^(1/6)-1
The payment, -657.13, is calculated as a negative amount, because you are paying that amount out of your bank account.
If you would prefer to see the result as a positive number, you can use a minus sign before the PMT function:
=-PMT((C2/2+1)^(1/6)-1,C3,C4)
In the previous examples, you had to enter the total number of payments due, after calculating that number -- number of years in the loan term, times the number of payments per year.
To make things easier, this Excel loan payment calculator lets you select the payment frequency from a drop down list of options.
In the sample file, the Lists sheet has a lookup table of frequencies and number of payments per year, for each frequency.
Based on the frequency that you select, a number of payments per year is calculated in cell E5, using a VLOOKUP formula.
=IFERROR(VLOOKUP(C5,FreqLU,2,0),"")
The payment amount is calculated with the PMT function:
=IFERROR(PMT(C7/E5,E6,-C4),"")
In this workbook, there is a minus sign before the present value variable, so the monthly payment is shown as a positive number. You can omit the minus sign, to show the payment as a negative number.
In this final example, the PMT function is used at the top of the worksheet, to calculate the monthly payment amount. Here is the formula in cell E2, which is named LoanPmt.
The first payment date is also entered at the top of the sheet, in cell A2, and a payment table calculates all the payment days, plus the interest and principal amounts each month.
NOTE: There are 48 rows in the table, and you can add more rows if needed. The formulas should fill in automatically.
Here are the formulas used in row 7 of the payment date table:
In the table, the latest payment row is highlighted, based on a Conditional Formatting rule
In the Conditional Formatting rule:
Loan Payment Schedule Template
Last updated: January 31, 2023 10:34 AM