How to calculate a loan payment in Excel with PMT

The sample is the loan on the loan payoff calculator: $320,000 at 6.25% for 30 years. The first payment is January 15, 2026. The 6.25% is the sample rate on that sheet. It is not a market quote. The scheduled payment, before any extra amount, is $1,970.30. This is not tax, legal, or lending advice.

PMT
=PMT(B2/12, B3*12, -B1)
=PMT(B2/12,B3*12,-B1)B4
Scheduled payment
AB
1Loan amount$320,000
2Annual rate6.25%
3Years30
4Monthly payment$1,970.30
A picture of the sample, not a loan offer. B1 is the loan. B2 stores 6.25% as 0.0625. B4 is the fixed principal-and-interest payment.

PMT returns that payment. The unrounded value is 1,970.29504…. Three hundred sixty of those payments total $709,306.21, which is $389,306.21 of interest. A currency format shows two decimals. The cell still holds the rest of the digits, and the next formula should use the cell.

What goes in the parentheses

The first argument is the rate per period. A monthly payment uses the annual note rate divided by 12. Type 6.25% so B2 stores 0.0625, then divide that cell by 12. If you type 6.25 and also divide by 100 inside PMT, the rate is a hundred times too small and the payment is nonsense. The note rate is the rate in the contract. An APR that folds in fees will not reproduce the payment on the disclosure.

The second argument is how many payments. Thirty years paid monthly is 30 × 12 = 360. The third is the amount borrowed. Pass it as a negative number. Excel treats cash in and cash out as opposite signs, so a positive loan amount comes back as a negative payment. That negative result is the same payment with the sign flipped. Negate the loan if you want $1,970.30 rather than −$1,970.30.

Leave the last two arguments off. Future value defaults to 0, which pays the loan off. Type defaults to 0, which means the payment is due at the end of the month. Ordinary installment loans use that default. Passing 1, a payment at the beginning of the month, returns $1,960.09 on this sample:

=PMT(0.0625/12, 360, -320000, 0, 1)

Interest and principal in month 1

The payment stays $1,970.30. The split moves. Early months are mostly interest. IPMT is the interest in one month. PPMT is the principal in that same month.

IPMT
=IPMT(B2/12, B5, B3*12, -B1)
=IPMT(B2/12,B5,B3*12,-B1)B6
Month 1 split
AB
1Loan amount$320,000
2Annual rate6.25%
3Years30
4Payment$1,970.30
5Month1
6Interest$1,666.67
7Principal$303.63
A picture of month 1. B2 stores 6.25% as 0.0625. Interest is 320,000 × 0.0625 / 12, which is 1,666.666…. Currency format shows $1,666.67. Principal is the rest of the payment.

Month 1 interest is 320,000 × 0.0625 / 12 = 1,666.666…, which displays as $1,666.67. The unrounded principal is 303.62837…, which displays as $303.63. The displayed pieces add back to the displayed payment: 1,666.67 + 303.63 = 1,970.30. The closing balance is 320,000 − 303.62837… = 319,696.3716…, shown as $319,696.37.

The same two functions with the period set to 2, and then to 3, give the next rows. Each interest figure is the prior closing balance times 0.0625 / 12.

Month Payment date Interest Principal Closing
1 01/15/2026 $1,666.67 $303.63 $319,696.37
2 02/15/2026 $1,665.09 $305.21 $319,391.16
3 03/15/2026 $1,663.50 $306.80 $319,084.36
=IPMT(0.0625/12, 1, 360, -320000)
=PPMT(0.0625/12, 1, 360, -320000)

The period is 1 for the first month, not 0. A period outside 1 through 360 returns #NUM!.

xl.payment.split spills the payment, the interest, and the principal from one call. The rate you pass that name is the annual rate, and the principal is positive:

=xl.payment.split(6.25%, 360, 320000, 1)

The spill is $1,970.30, $1,666.67, and $303.63. The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. PMT, IPMT, and PPMT work without it.

The date, and what PMT leaves out

January 15, 2026 plus one month is February 15, 2026, and plus two months is March 15, 2026. The 15th exists in every month, so the date stays on the 15th for all 360 payments. Payment 360 is December 15, 2055. That is the end date on the payoff sheet when you add nothing extra.

PMT does not know about an extra $200 a month or a lump sum. Those change the balance, the payoff date, and the interest, and they are the comparison on the loan payoff calculator. PMT also leaves out taxes, insurance, and mortgage insurance. Add those beside the payment. Do not hide them by changing the rate.

The workbook with the scheduled payment and the extra-payment schedule is the loan payoff calculator.


Template for this article

Loan Payoff Calculator

More from the blog