How To Calculate A Loan Payment In Excel (2026)
The PMT function turns a loan amount, an interest rate and a term into a regular payment.
You only need three values, and Excel returns the payment as a negative number because it is money you pay out.
This guide follows Microsoft’s own examples so you can check your results against published figures.
Table of Contents
- Quick answer
- What the PMT function needs
- Calculate a monthly loan payment
- Keep the rate and the term in the same units
- Microsoft sample loans to check your formula
- Choose when the payment is due
- Find the total you will pay
- Split a payment into principal and interest
- Find out how long a loan will last
- Work out a down payment
- Fix a wrong payment
- Try it on a car loan
- Build a month-by-month schedule
- Use PMT for a savings goal
- See how much you can borrow
- Related Excel guides
- Official sources
- More Word, Excel and PowerPoint guides
Quick answer
| Part | What to enter | Example |
|---|---|---|
| Formula | =PMT(rate/12, years*12, loan) | =PMT(5%/12,30*12,180000) |
| Rate | Annual rate divided by 12 for monthly payments | 5%/12 |
| Nper | Total number of payments | 30*12 |
| Pv | The loan amount | 180000 |
| Result | Monthly payment, principal and interest only | $966.28 |
What the PMT function needs
The syntax is PMT(rate, nper, pv, [fv], [type]).
| Argument | Required | Meaning |
|---|---|---|
| rate | Yes | The interest rate for the loan |
| nper | Yes | The total number of payments for the loan |
| pv | Yes | The present value, also called the principal |
| fv | No | The balance you want after the last payment, assumed to be 0 if left out |
| type | No | 0 or blank means payments are due at the end of the period, 1 means the beginning |
Calculate a monthly loan payment
- Type the annual rate, the number of years and the loan amount into three separate cells, for example A1, A2 and A3.
- Click an empty cell.
- Type
=PMT(A1/12, A2*12, A3)and press Enter. - Format the cell as Currency on the Home tab if needed.
The answer appears in parentheses or with a minus sign, which marks it as an outgoing payment.
If you prefer a positive number, put a minus sign in front of the loan amount, as in =PMT(A1/12, A2*12, -A3).
Keep the rate and the term in the same units
Microsoft says the units for rate and nper must be consistent.
For a four-year loan at 12% a year, monthly payments use 12%/12 and 4*12, while yearly payments use 12% and 4.
| Payment schedule | Rate | Nper |
|---|---|---|
| Monthly | Annual rate/12 | Years*12 |
| Yearly | Annual rate | Years |
Using the full annual rate with a monthly term is the usual reason a payment looks wrong.
Microsoft sample loans to check your formula
These results come from Microsoft’s support pages, so they make a quick test of your setup.
| Loan | Formula | Result |
|---|---|---|
| $10,000 at 8% over 10 months | =PMT(8%/12,10,10000) | ($1,037.03) |
| Same loan, payments at the start of each period | =PMT(8%/12,10,10000,,1) | ($1,030.16) |
| $5,400 credit card at 17% over 2 years | =PMT(17%/12,2*12,5400) | $266.99 a month |
| $180,000 mortgage at 5% over 30 years | =PMT(5%/12,30*12,180000) | $966.28 a month |
Microsoft notes that the mortgage figure does not include insurance and taxes.
Choose when the payment is due
Leave type blank for payments at the end of each period, which is the default.
Enter 1 if the first payment is due at the start of the period, and use two commas to skip the fv argument, as in =PMT(A1/12,A2,A3,,1).
Microsoft’s example shows the start-of-period payment is slightly lower, $1,030.16 against $1,037.03.
Find the total you will pay
The PMT result covers one payment, so multiply it by nper to get the total paid over the life of the loan.
Microsoft calls this out as a tip on the PMT page.
Subtract the loan amount from that total to see the interest you pay.
Split a payment into principal and interest
The PPMT function returns the principal part of a payment, and IPMT returns the interest part.
Both add a per argument, which is the payment number from 1 to nper.
| Function | Syntax | Microsoft example |
|---|---|---|
| PPMT | PPMT(rate, per, nper, pv, [fv], [type]) | $2,000 at 10% over 2 years, month 1: ($75.62) |
| IPMT | IPMT(rate, per, nper, pv, [fv], [type]) | $8,000 at 10% over 3 years, month 1: about ($66.67) |
Use =PPMT(A1/12, 1, A2*12, A3) for the first month’s principal and =IPMT(A1/12, 1, A2*12, A3) for its interest.
Find out how long a loan will last
NPER answers the reverse question when you know the payment.
Microsoft’s example repays $2,500 at 3% with $150 a month, using =NPER(3%/12,-150,2500).
The result is about 17 months and some days.
Work out a down payment
Subtract the PV result from the purchase price to find the down payment.
Microsoft’s example is a $19,000 car at 2.9% over three years with $350 a month, using =19000-PV(2.9%/12,3*12,-350).
The answer is $6,946.48.
Fix a wrong payment
| Symptom | Likely cause | Fix |
|---|---|---|
| Payment is huge | Annual rate used with monthly nper | Divide the rate by 12 and multiply years by 12 |
| Payment is negative | Excel shows money you pay out as negative | Put a minus sign before the loan amount |
| Payment ignores taxes or fees | PMT returns principal and interest only | Add those costs separately |
| Cell shows the formula | Cell is formatted as Text | See formulas not calculating |
Try it on a car loan
Say you borrow $20,000 at 6% a year and repay it monthly over five years.
Enter =PMT(6%/12,5*12,20000) and Excel returns about ($386.66), worked out with the same formula as Microsoft’s examples.
Change 5 to 4 or 6 to compare terms, because only the nper argument changes.
Multiply the payment by 60 to see the total repaid, then subtract $20,000 to see the interest.
Build a month-by-month schedule
You can list each payment by combining PPMT and IPMT with a row of payment numbers.
- Type 1 in A5 and 2 in A6, then drag the fill handle down to get a list of payment numbers.
- In B5, type
=PPMT($A$1/12, A5, $A$2*12, $A$3)for the principal part. - In C5, type
=IPMT($A$1/12, A5, $A$2*12, $A$3)for the interest part. - Select B5 and C5, then drag the fill handle down to copy both formulas.
The dollar signs lock the inputs, the same absolute-reference idea Microsoft uses in its running total example.
The per argument must be between 1 and nper, so stop the list at the last payment number.
Each row then shows how much of that month’s payment reduces the loan and how much goes to interest.
Use PMT for a savings goal
PMT also works backward from a goal when pv is 0 and fv holds the target.
Microsoft’s example saves $8,500 in three years at 1.5% with =PMT(1.5%/12,3*12,0,8500).
The answer is $230.99 a month.
See how much you can borrow
PV does the reverse of PMT when you know the payment you can afford.
Enter the monthly rate, the number of payments and the payment as a negative number, as in =PV(2.9%/12,3*12,-350).
Microsoft uses this result in its car example, where it is subtracted from the $19,000 price.
Related Excel guides
To see interest grow on savings, read How To Calculate Compound Interest In Excel.
For percentages, see How To Calculate A Percentage In Excel.
To add a column of payments, use the AutoSum guide.
Official sources
See Microsoft’s PMT function page, the PPMT function page, the IPMT function page and payments and savings formulas.