✕
0 / 125

Excel PMT function

PMT works out the payment that pays off a loan in equal instalments, from the rate, the number of payments and the amount.

Two ways to borrow $250,000 at 6.5% a year: over 30 years or over 15. In B5:C5, work out each monthly payment, as a positive amount. In B6:C6, the total interest: everything paid over the years, minus the amount borrowed.

PMT(rate, nper, pv) is the payment per period. The rate and the number of payments have to be in the same unit: monthly payments take the yearly rate divided by 12 and the years times 12. PMT shows money you pay out as a negative number; a minus in front of the loan amount turns the answer positive.

73 What a loan costs each month PMT Core

loan.xlsx
Ready

Click a cell while typing to insert it, drag to select a range, F4 adds $, Esc cancels.

Tap a cell while writing a formula to insert it, or slide across cells for a range. The strip above the keyboard has = ( ) : , $.

The PMT guide

=PMT(B3/12, B4*12, -B2) is the monthly payment on a loan of B2 at a yearly rate of B3 over B4 years. The total interest is everything paid minus what was borrowed: =B5*B4*12-B2. PMT works in every version of Excel.

CoreAbout 3 minutesBy Updated

The syntax

=PMT(rate, nper, pv, [fv], [type])

Same unit for rate and periods

A loan quoted at 6.5% a year over 30 years is 360 monthly payments at 6.5%/12 each. =PMT(6.5%, 30, -250000) is a payment a year; =PMT(6.5%, 360, -250000) charges the yearly rate every month. Divide the rate and multiply the years by the same 12.

Why the answer is negative

PMT follows the cash: the loan comes to you (positive), the payments go out (negative). =PMT(B3/12, B4*12, B2) shows a negative payment, often in red or brackets. Put the minus on the loan amount, -B2, or in front of PMT, and the payment comes out positive. Both give the same number.

Total interest

Over the life of the loan you pay the monthly payment times the number of payments. What you pay beyond the amount borrowed is interest: =B5*B4*12-B2. Put two options side by side, a longer and a shorter term, and the difference in interest is usually larger than the difference in the monthly payment suggests.

An estimate, not advice

PMT gives principal and interest at a fixed rate. A lender's figure can differ: fees, taxes, insurance, variable rates and how they round the last payment aren't in it. Use it to compare options and check a quote, not as financial advice.

Common mistakes

For how each payment splits into interest and principal, IPMT and PPMT take the same arguments plus the payment number. For yearly growth instead of a payment, see CAGR.

FAQ

How do I calculate a monthly loan payment in Excel?
Use =PMT(yearly_rate/12, years*12, -amount). For $250,000 at 6.5% over 30 years, =PMT(6.5%/12,30*12,-250000) gives $1,580.17.
Why is PMT negative in Excel?
PMT treats payments as money going out, so it returns them as negative numbers. Put a minus in front of the loan amount, or in front of PMT, to show the payment as a positive number.
How do I calculate total interest on a loan in Excel?
Multiply the monthly payment by the number of payments and subtract the amount borrowed: =PMT(rate/12,years*12,-amount)*years*12-amount.
Is the PMT result what my bank will charge?
It's an estimate of principal and interest at a fixed rate. Fees, taxes, insurance and rounding can make a lender's figure different, so treat it as a check, not financial advice.

All challenges

  1. 01Starter, 3 min Your first formula= + - * /
  2. 02Starter, 3 min Add it upSUM
  3. 03Starter, 3 min AutoSum in one keystrokeAutoSum
  4. 04Starter, 3 min Find the averageAVERAGE
  5. 05Starter, 3 min Smallest and largestMIN, MAX
  6. 06Starter, 3 min Brackets change the answerOrder of operations
  7. 07Starter, 3 min Count what's thereCOUNT, COUNTA, COUNTBLANK
  8. 08Starter, 3 min Write once, fill downRelative references
  9. 09Starter, 3 min Fill rightCtrl + R
  10. 10Core, 3 min Lock it with $Absolute references
  11. 11Starter, 3 min Percent of a totalPercentages
  12. 12Starter, 3 min Make the numbers readableNumber formats
  13. 13Starter, 3 min Bold, italic, underlineCtrl + B, I, U
  14. 14Core, 3 min Up or down by how much?Percent change
  15. 15Core, 3 min What you see vs what's storedROUND
  16. 16Core, 3 min The typical valueMEDIAN
  17. 17Core, 3 min The most common valueMODE
  18. 18Core, 3 min Top 3 and bottom 3LARGE, SMALL
  19. 19Core, 3 min Always round up (or down)ROUNDUP, ROUNDDOWN
  20. 20Core, 3 min Round to the nearest 5, 15, 0.25CEILING, FLOOR, MROUND
  21. 21Core, 3 min Round to odd or evenEVEN, ODD
  22. 22Starter, 3 min How many days are left?TODAY
  23. 23Core, 3 min Select to the end in one moveCtrl + Shift + arrow
  24. 24Starter, 3 min Every cell has an addressCell addresses
  25. 25Starter, 3 min Select a rangeDrag, Shift + click
  26. 26Starter, 3 min Move without the mouseArrow keys, Enter, Tab
  27. 27Starter, 3 min Jump to the edge of the dataCtrl + arrow
  28. 28Starter, 3 min Whole rows and columnsShift + Space, Ctrl + Space
  29. 29Starter, 3 min Select everythingCtrl + A
  30. 30Starter, 3 min Let the status bar do the mathStatus bar: Sum, Count, Average
  31. 31Starter, 3 min Sort without breaking rowsSort
  32. 32Core, 3 min Sort by two columnsMulti-level sort
  33. 33Starter, 3 min Filter to what mattersFilter
  34. 34Core, 3 min Insert and delete rows fastInsert and delete rows
  35. 35Starter, 3 min Copy and paste a formulaCtrl+C, Ctrl+V
  36. 36Core, 3 min Paste values onlyPaste Special → Values
  37. 37Core, 3 min Highlight what's over targetConditional formatting
  38. 38Core, 3 min Spot the duplicatesDuplicate Values rule
  39. 39Starter, 3 min TRUE or FALSE?Comparisons
  40. 40Starter, 3 min Work across sheetsSheet tabs
  41. 41Core, 3 min Pass or fail?IF
  42. 42Core, 3 min Both or either?AND, OR
  43. 43Core, 3 min Exactly one of the twoXOR
  44. 44Core, 3 min Grade bands with nested IFNested IF
  45. 45Core, 3 min Many conditions, no nestingIFS
  46. 46Core, 3 min Match a code with SWITCHSWITCH
  47. 47Core, 3 min IF with AND and ORIF + AND, OR
  48. 48Core, 3 min What's in this cell?ISNUMBER, ISTEXT, ISBLANK
  49. 49Core, 3 min Count the ones that matchCOUNTIF
  50. 50Core, 3 min Add up the ones that matchSUMIF
  51. 51Core, 3 min Use a cell as the conditionCriteria in a cell
  52. 52Core, 3 min Partial matches with * and ?SUMIF, COUNTIF with wildcards
  53. 53Core, 3 min Count with two conditionsCOUNTIFS
  54. 54Core, 3 min Add up with two conditionsSUMIFS
  55. 55Core, 3 min Average with conditionsAVERAGEIF, AVERAGEIFS
  56. 56Core, 3 min Count the blanksCOUNTBLANK, COUNTA
  57. 57Core, 3 min Look it upVLOOKUP
  58. 58Core, 3 min Find the right bracketVLOOKUP approximate match
  59. 59Core, 3 min Fill a lookup downVLOOKUP + $
  60. 60Core, 3 min Look across a rowHLOOKUP
  61. 61Core, 3 min XLOOKUP, the modern wayXLOOKUP
  62. 62Starter, 3 min Fix #NAME?#NAME?
  63. 63Core, 3 min Where is it in the list?MATCH
  64. 64Core, 3 min Give me the nth oneINDEX
  65. 65Starter, 3 min Fix the capitalsUPPER, LOWER, PROPER
  66. 66Starter, 3 min First and last charactersLEFT, RIGHT
  67. 67Advanced, 3 min INDEX and MATCH togetherINDEX + MATCH
  68. 68Advanced, 3 min XLOOKUP with wildcardsXLOOKUP match_mode
  69. 69Advanced, 3 min Row and column lookupINDEX + MATCH + MATCH
  70. 70Advanced, 3 min Lock just the row or the columnMixed references
  71. 71Core, 3 min Mistake hunt: the totals don't add upFixing SUM
  72. 72Advanced, 3 min Growth per year (CAGR)CAGR with ^
  73. 73Core, 3 min What a loan costs each monthPMT
  74. 74Advanced, 3 min Whole parts and leftoversINT, MOD
  75. 75Core, 3 min Use a rate from another sheetReferences to other sheets
  76. 76Advanced, 3 min Custom number formatsCustom formats
  77. 77Core, 3 min Twelve months on one screenAutoFit, Rotate Text Up
  78. 78Core, 3 min Print every column on one pageScale to Fit, Print Titles
  79. 79Core, 3 min Catch the error, not the bugIFERROR
  80. 80Core, 3 min Mistake hunt: the commission sheetFixing IF
  81. 81Core, 3 min Which invoices are missing?Compare two lists
  82. 82Core, 3 min Mistake hunt: the regional reportFixing SUMIF
  83. 83Core, 3 min Reconcile the ledger with the bankXLOOKUP or VLOOKUP + IFNA
  84. 84Core, 3 min Join text together&, CONCAT, PROPER
  85. 85Core, 3 min Join a list with commasTEXTJOIN
  86. 86Core, 3 min Pull from the middleMID
  87. 87Core, 3 min FIND or SEARCH?FIND, SEARCH
  88. 88Core, 3 min Split first and last namesLEFT, MID + FIND
  89. 89Core, 3 min Stray spaces that break a countTRIM
  90. 90Core, 3 min Flag the bad entriesTRIM, LEN, EXACT
  91. 91Advanced, 3 min Clean a bank descriptionTEXTBEFORE, TEXTAFTER, PROPER
  92. 92Core, 3 min Swap one word for anotherSUBSTITUTE
  93. 93Core, 3 min Mistake hunt: #N/A everywhereFixing #N/A
  94. 94Core, 3 min Mistake hunt: hard-coded numbersReferences instead of typed numbers
  95. 95Core, 3 min Mistake hunt: numbers stored as textNumbers stored as text
  96. 96Core, 3 min Fix #DIV/0!#DIV/0!
  97. 97Core, 3 min Fix #VALUE!#VALUE!
  98. 98Core, 3 min Fix #REF!#REF!
  99. 99Core, 3 min Fix a circular referenceCircular references
  100. 100Core, 3 min One of each, then the totalsUNIQUE
  101. 101Advanced, 3 min Rows that matchFILTER
  102. 102Advanced, 3 min Sorted, unique list in one formulaSORT + UNIQUE
  103. 103Advanced, 3 min Revenue by region in one formulaGROUPBY
  104. 104Advanced, 3 min One long column into a tableWRAPROWS
  105. 105Core, 3 min Your first pivot tablePivot tables
  106. 106Advanced, 3 min Slice the pivotPivot table filters
  107. 107Advanced, 3 min Which category went up most?SUMIFS, change, lookup
  108. 108Core, 3 min How many days late?Date arithmetic
  109. 109Core, 3 min Turn text into real datesDATEVALUE
  110. 110Core, 3 min Build a date from partsDATE, YEAR, MONTH
  111. 111Advanced, 3 min Month ends and working daysEOMONTH, NETWORKDAYS
  112. 112Core, 3 min Renewal datesEDATE
  113. 113Advanced, 3 min Totals between two datesSUMIFS with dates
  114. 114Core, 3 min Days overdue and aging bandsDate difference, aging bands
  115. 115Core, 3 min Age and years of serviceDATEDIF
  116. 116Core, 3 min How many late orders?Pick the tool
  117. 117Core, 3 min Sales per repPick the tool
  118. 118Core, 3 min Whose part is it?Pick the tool
  119. 119Core, 3 min Who gets the bonus?Pick the tool
  120. 120Core, 3 min Each region's sharePick the tool
  121. 121Advanced, 3 min Case: the supplier reportCase, five steps
  122. 122Advanced, 3 min Case: the monthly budgetCase, five steps
  123. 123Advanced, 3 min Case: the reorder listCase, five steps
  124. 124Advanced, 3 min Case: timesheet and overtimeCase, five steps
  125. 125Advanced, 3 min Case: the messy customer listCase, five steps

The whole course, in order.

The challenges teach one move each. The course puts them in order and makes you do each one twice, the second time on data you haven't seen.

$29 One time. No subscription. Early-access price. Get Pro for $29

Secure checkout on Stripe.

  • CourseAll 125 ready lessons in order, plus every one we add. The first 10 are free. Each formula lesson ends with a second round on new data, no hints.
  • TestsYour score on the interview practice tests is free. Pro adds the full report: what went wrong on each task, and the lesson for it.
  • CertificatePass a timed test with 8 of 10 tasks right and get a certificate with its own page to verify it, and an Add to LinkedIn button. How it works
  • 14 daysNot what you hoped for? Full refund within 14 days, no questions. Refunds
Continue

Sign in or create an account

No password. Your solved challenges then follow you to any device.

Signing in sets one cookie that keeps you signed in. Privacy