ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. PMT Function in Excel: Calculate a Loan Payment

PMT Function in Excel: Calculate a Loan Payment

By ExcelReady Team·Updated November 1, 2026·6 min read

The short answer

PMT returns the regular payment for a loan with a fixed interest rate. Write =PMT(rate, nper, pv): the interest rate per period, the number of payments and the loan amount. For a 20,000 loan at 6% a year over 5 years, paid monthly, =PMT(6%/12,5*12,20000) returns -386.66. The minus sign means money you pay out.

Key takeaways

  • The syntax is =PMT(rate, nper, pv, [fv], [type]); the last two are optional.
  • Match the units: for monthly payments, divide the yearly rate by 12 and multiply the years by 12.
  • PMT returns a negative number for a loan. Put a minus in front, =-PMT(...), to show it as positive.
  • Total interest is the payment times the number of payments, minus the loan amount.
  • Keep the inputs in cells and lock them with $ so you can test other rates and terms.
On this page+
  1. What does the PMT function do?
  2. How to calculate a monthly loan payment
  3. Why is the PMT result negative?
  4. How to round the payment and find total interest
  5. PMT examples: mortgage, yearly payments and savings
  6. How to compare loans with absolute references
  7. Related questions: how long, and how much can I borrow?
  8. Common PMT mistakes
  9. Practise it

The PMT function in Excel calculates the fixed payment on a loan: a car loan, a personal loan or a mortgage. You give it the interest rate, the number of payments and the amount borrowed, and it returns what you pay each period. The only tricky parts are matching monthly and yearly units and understanding the minus sign. This guide covers both, with a loan you can rebuild yourself.

What does the PMT function do?#

PMT returns the payment for a loan with a fixed rate and equal payments. Each payment covers that period's interest and pays back part of the loan, so the balance reaches zero on the last payment.

Excel formula
=PMT(rate, nper, pv, [fv], [type])
ArgumentMeaningExample
rateInterest rate per period6%/12 for monthly
nperTotal number of payments5*12 = 60
pvPresent value: the loan amount20000
fvOptional. Balance left at the end. Default 00
typeOptional. 0 = pay at end of period (default), 1 = start0

PMT works in every version of Excel, on Windows, Mac and the web.

How to calculate a monthly loan payment#

Put the inputs in cells, then point PMT at them. Here is the setup:

AB
1Loan amount20,000
2Annual rate6%
3Years5
5Monthly payment

In B5, type:

Excel formula
=PMT(B2/12,B3*12,B1)

The result is -386.66. B2/12 turns 6% a year into 0.5% a month. B3*12 turns 5 years into 60 monthly payments. B1 is the 20,000 you borrow.

The units must match. If you forget to divide the rate by 12, Excel thinks you pay 6% interest every month, and the payment jumps to about 1,237.

Why is the PMT result negative?#

PMT follows a cash-flow sign rule: money you receive is positive, money you pay out is negative. You receive the loan, so pv is positive and the payment is negative.

To show a positive payment, use either of these:

  • =-PMT(B2/12,B3*12,B1): a minus in front of the function.
  • =PMT(B2/12,B3*12,-B1): a negative loan amount.

Both return 386.66. Pick one style and use it everywhere, so other people reading the sheet aren't confused.

How to round the payment and find total interest#

Wrap PMT in ROUND to get a payment in whole cents, the way a bank quotes it:

Excel formula
=ROUND(-PMT(B2/12,B3*12,B1),2)

The ROUND function guide explains the second argument, and the rounding lesson lets you try ROUND, ROUNDUP and ROUNDDOWN on real numbers. The article on ROUND, ROUNDUP and ROUNDDOWN shows when each one is right.

Once you have the payment, total cost and interest are simple sums:

QuestionFormulaResult
Total paid over 5 years=B5*B3*1223,199.36
Total interest=B5*B3*12-B13,199.36

(These use the unrounded payment. With the rounded 386.66, the totals are 23,199.60 and 3,199.60.)

PMT examples: mortgage, yearly payments and savings#

The same function handles many money questions. Change the inputs, keep the shape.

ScenarioFormulaResult
250,000 mortgage, 4.5%, 30 years, monthly=PMT(4.5%/12,30*12,250000)-1,266.71
20,000 loan, 6%, 5 yearly payments=PMT(6%,5,20000)-4,747.93
Save 10,000 in 3 years at 3%, monthly=PMT(3%/12,36,0,10000)-265.81

The savings example uses fv instead of pv. You start with nothing (pv = 0) and want 10,000 at the end (fv = 10000). The opposite question, "how much will my savings grow to?", is the job of FV, covered in the compound interest formula guide.

How to compare loans with absolute references#

Lock the loan amount with dollar signs, then fill one formula across a table of rates and terms. Say rates sit in A8:A10 and you want the payment for a 20,000 loan over 5 years next to each one:

Excel formula
=-PMT(A8/12,$B$3*12,$B$1)

Fill it down from B8 to B10 (Windows: Ctrl+D; Mac: ⌘D). A8 changes to A9 and A10, but $B$3 and $B$1 stay put. Press F4 on Windows (⌘T on Mac) while the cursor is in a reference to cycle through the $ options. The lesson on relative vs absolute references practises exactly this.

Related questions: how long, and how much can I borrow?#

PMT has sister functions that solve for a different unknown, using the same arguments and the same sign rule.

QuestionFormulaResult
How many months to repay 20,000 at 6% with 500 a month?=NPER(6%/12,-500,20000)about 44.7
How much can I borrow at 6% over 5 years if I can pay 400 a month?=PV(6%/12,60,-400)about 20,690
What rate gives a 386.66 payment on 20,000 over 60 months?=RATE(60,-386.66,20000)*12about 6%

NPER answers "how long", PV answers "how much" and RATE answers "at what interest rate". In each case, the payment is negative because it's money you pay out. Knowing all four makes it easy to check one answer with another: plug the PMT result into RATE and you should get the original rate back.

Common PMT mistakes#

Check these when the payment looks wrong:

  1. Yearly rate with monthly payments. Always divide the annual rate by 12 for monthly payments.
  2. Years instead of payments in nper. Five years of monthly payments is 60, not 5.
  3. Rate typed as 6 instead of 6%. PMT then uses 600% interest. Type the % sign or use 0.06.
  4. Expecting a positive number. The minus sign is normal; flip it with =-PMT(...).
  5. Rate of zero. PMT still works and simply divides the loan by the number of payments.

To see how each payment splits into interest and principal, build a loan amortization schedule with IPMT and PPMT, the sister functions of PMT. PMT also comes up often in Excel skills for finance jobs.

Practise it#

Loan payment questions test whether you can match units and lock inputs under time pressure. Practise relative and absolute references in a live spreadsheet: you type the formula and it checks it instantly. Then practise ROUND to tidy financial results to the cent, and try the finance Excel test when you're ready.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

What is the monthly payment on this loan? Click B5 and use PMT with the monthly rate (B2/12), the number of months (B3 times 12) and the loan amount (B1). Put a minus in front of PMT and round to 2 decimals.

fx
ABCD
1
Loan amount
20000
2
Annual rate
0.06
3
Years
5
4
5
Monthly payment
6
7
8

Tip: =ROUND(-PMT(B2/12, B3*12, B1), 2). The minus turns the payment positive.

Practise this in a lesson

LessonROUND, ROUNDUP and ROUNDDOWNControl decimals properly, which isn't the same as formatting.LessonRelative vs absolute references ($)Lock a cell with $ so it doesn't move when you copy a formula, one of the most-tested Excel skills.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

How do I calculate a monthly loan payment in Excel?

+

Use =PMT(annual rate/12, years*12, loan amount). For 20,000 at 6% over 5 years, =PMT(6%/12,60,20000) returns -386.66 a month.

Why is the PMT result negative?

+

Excel treats money you receive as positive and money you pay as negative. The loan amount is positive because you receive it, so the payment comes out negative. Use =-PMT(...) to show a positive number.

What do rate and nper mean in PMT?

+

Rate is the interest rate for one payment period, and nper is the total number of payments. For monthly payments over 5 years at 6% a year, rate is 6%/12 and nper is 60.

How do I calculate total interest paid on a loan in Excel?

+

Multiply the payment by the number of payments and subtract the loan amount: =-PMT(6%/12,60,20000)*60-20000 returns about 3,199.36.

Can PMT calculate how much to save each month?

+

Yes. Leave pv as 0 and put the savings target in fv: =PMT(3%/12,36,0,10000) returns -265.81, the monthly deposit needed to reach 10,000 in three years at 3%.

Sources

  • PMT function - Microsoft Support
  • Overview of formulas in Excel - Microsoft Support
  • ROUND function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What does the PMT function do?
  2. How to calculate a monthly loan payment
  3. Why is the PMT result negative?
  4. How to round the payment and find total interest
  5. PMT examples: mortgage, yearly payments and savings
  6. How to compare loans with absolute references
  7. Related questions: how long, and how much can I borrow?
  8. Common PMT mistakes
  9. Practise it

Keep reading

Math· 6 min read

Compound Interest Formula in Excel, Step by Step

The compound interest formula in Excel is =P*(1+r/n)^(n*t): the principal, times one plus the rate per period, to the power of the number of periods. For 10,000 at 5% a year compounded monthly for 10 years, type =10000*(1+5%/12)^(12*10), which returns 16,470.09. FV gives the same answer: =FV(5%/12,120,0,-10000).

Tests & careers· 6 min read

Excel Skills for Finance and Accounting Jobs

The key Excel skills for finance jobs are absolute ($) references for rates and totals, ROUND for real rounding rather than display formatting, SUMIFS for totals by account and period, pivot tables for summaries, percent change and % of total, lookups, and simple checks that prove a report adds up. Accuracy matters more than speed.

Projects· 6 min read

Build a Loan Amortization Schedule in Excel

To build a loan amortization schedule in Excel, find the monthly payment with =ROUND(PMT(rate/12,months,-loan),2). Then add one row per month: interest is the opening balance times the monthly rate, principal is the payment minus interest, and the closing balance is the opening balance minus principal. Lock the inputs with $ and fill down.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free