PMT is an Excel function that calculates the constant payment for a loan or an investment that has a fixed interest rate and regular, equal payments. The syntax is =PMT(rate, nper, pv, [fv], [type]), and it returns a negative number when money leaves your account, which is the first thing most people trip over. You need three inputs to make it work: the interest rate per period, the total number of periods, and the present value (the loan amount or current balance).
What makes PMT worth learning is that it answers a question you would otherwise get wrong by hand: how much has to leave your budget every month so the loan is exactly zero at the end. A rough division of principal by months ignores interest entirely and understates the payment, sometimes badly on long loans. PMT accounts for compounding and gives you the true number, and once it is in a cell you can change the rate or term and watch the payment update instantly.
What You'll Need
- Excel on desktop, Excel for the web, Google Sheets, or LibreOffice Calc. The PMT function works identically in all of them.
- The annual interest rate of the loan or investment, as a percentage.
- The loan amount (principal) or the current outstanding balance.
- The term length, in years or months, whichever is easier for you to convert.
- Whether the payment is due at the start of each period or the end. End-of-period is the default and the normal case for most loans.
Step-by-Step
Lay out your inputs in separate cells. Do not type numbers straight into the formula; you will want to change them later. Put the annual rate in one cell, the years in another, and the loan amount in a third. For example, A1 holds 5% (entered as 0.05), A2 holds 30 (years), and A3 holds 250000. Naming the cells from the Name Box makes formulas readable, but it is optional.
Convert the annual rate to a per-period rate. PMT expects the rate for one payment period, not the annual rate. For monthly payments, divide the annual rate by 12. If your annual rate is in A1, the per-period rate is
=A1/12. For quarterly payments divide by 4; for weekly, divide by 52. This is the single most common source of wrong answers, so build it as its own cell rather than burying the division inside the formula.Convert the term to the same number of periods. A 30-year loan paid monthly has 360 periods. If years are in A2, use
=A2*12. Match the period count to the rate period: months with months, quarters with quarters. Mixing an annual rate with a monthly period count produces a payment that is wildly too low.Write the PMT formula. In an empty cell type
=PMT(B1, B2, B3)where B1 is the per-period rate, B2 is the total periods, and B3 is the loan amount. Press Enter. If the rate is 5% annually, the term 30 years, and the loan 250,000, the result comes out around -1,342.05. The minus sign means cash paid out.Decide how to handle the sign. Excel treats money you pay as negative and money you receive as positive. A payment on a loan you owe therefore shows as negative. To see it as a positive figure, either put a minus before the loan amount in the formula (
=-PMT(B1,B2,B3)) or wrap the whole thing in ABS:=ABS(PMT(B1,B2,B3)). Do not mix signs casually, because the same rules apply to the optional arguments and produce odd results if you are inconsistent.Add the future value argument when the balance does not end at zero. The fourth argument, fv, is the balance you want left after the last payment. Leave it out or use 0 for a normal loan that pays off completely. Use it for things like a savings goal: if you want 50,000 left in an account, put 50000 there and PMT tells you the deposit needed. Use a positive fv for savings you are accumulating and the result will still come out negative as an outflow.
Set the type argument for payments at the start of the period. The fifth argument takes 0 for end-of-period (the default, used for most loans) or 1 for beginning-of-period, which applies to things like rent or lease payments due up front. Type
=PMT(B1,B2,B3,0,1)to see the difference. The change is usually small but real, because every payment gets one extra period of interest working for or against you.Format the result as currency. Select the cell, then use the number format dropdown on the Home tab and pick Currency or Accounting. This only changes the display, not the underlying value, so do not worry that it affects the calculation.
Build a quick sanity check. Multiply the monthly payment by the number of periods. On the example above, 1,342.05 times 360 equals about 483,138, so you pay roughly 233,000 in interest on top of the 250,000 borrowed. If your total is lower than the principal, something is wrong with your rate or period inputs. This check catches almost every setup error.
Copy the formula down a column to compare scenarios. Put several loan amounts or rates in adjacent rows and drag the formula down with the fill handle. Lock the rate and period cells with dollar signs, like
=PMT($B$1,$B$2,C2), so only the loan amount changes per row. This turns PMT into a simple comparison table without any extra tools.
Common Mistakes
- Using the annual rate directly. PMT does not know you meant years. An annual rate with monthly periods returns a payment far too high, and it looks plausible enough that people miss it.
- Forgetting to convert years to months. Pairing a monthly rate with a 30-period term calculates a 30-month loan, so the payment comes out enormous.
- Entering 5 instead of 0.05 for 5%. Excel reads 5 as 500% interest. Enter percentages with the percent sign or as a decimal.
- Assuming the negative result is an error. It is not. It reflects direction of cash flow.
- Mixing rate and period units. Quarterly rate with monthly periods, or weekly rate with annual periods, gives nonsense that a sanity check would catch.
- Leaving out the fv argument on a savings goal. If you are saving toward a target balance, omitting fv tells Excel you want to end at zero, which changes the answer completely.
- Hard-coding numbers in the formula. Typing
=PMT(0.05/12,360,250000)works once but is unusable the moment anything changes.
Tips
- Name your input cells using the Name Box (select the cell, type a name like Rate, press Enter) and write
=PMT(Rate, Periods, Loan). The formula becomes self-documenting. - Put the per-period rate and per-period count in their own helper cells so the conversion is visible and auditable.
- To split a payment into principal and interest, pair PMT with IPMT and PPMT. IPMT gives the interest portion for a given period and PPMT gives the principal portion; the two add up to the PMT figure.
- Remember that PMT assumes a fixed rate for the whole term. For a variable-rate loan, run PMT separately for each rate period rather than trying to average the rates.
- Compact your work with LET if your version of Excel supports it:
=LET(r,A1/12,n,A2*12,-PMT(r,n,A3))keeps the conversions readable in one cell. - Round for budgeting. Wrap the result in ROUND to two decimals when you are planning a monthly budget, but keep an unrounded copy for accurate totals.
Troubleshooting
The answer is a #NUM! error. This usually means the period count is zero or negative, or the rate is impossible. Check that your term cell actually contains a number and not text that looks like one.
The answer is a #VALUE! error. One of the arguments is text. A stray space, a percent sign inside a number typed as text, or a cell formatted as Text will all do it. Retype the input as a plain number.
The payment looks far too high. Almost always an annual rate used with monthly periods, or years not multiplied by 12. Recheck both conversions.
The payment looks far too low. Usually the opposite: a monthly rate paired with an annual period count. It can also mean you entered the loan amount instead of the outstanding balance when refinancing.
The number is tiny or negative when you expected income. Check the sign of your present value. If you are calculating a savings deposit, the loan-style positive pv gives a negative payment, which is correct as an outflow.
The result does not update when you change a cell. Calculation may be set to manual. Look for the calculation options in the Formulas tab and set it back to automatic, and check that the formula really references the cell you are editing.
Frequently Asked Questions
What does PMT stand for in Excel?
Payment. The function returns the constant periodic payment required to pay off a loan or reach an investment target at a fixed rate over a set number of periods.
Why does PMT return a negative number?
Excel treats outgoing cash as negative. A loan payment leaves your account, so it is negative. Use a minus sign in front of the function or ABS to display it positively.
What is the difference between the fv and type arguments?
fv is the balance left after the final payment, zero for a standard loan. type says whether payments fall at the end (0, the default) or the beginning (1) of each period.
Can PMT handle a mortgage with extra payments?
Not directly. PMT gives the required payment on a fixed schedule. For extra payments you need an amortization table where you apply the extra amount to the balance each month and recalculate, or use IPMT and PPMT period by period.
Does PMT work in Google Sheets and LibreOffice?
Yes. The syntax and argument order are the same, so a formula built in Excel usually pastes in and works unchanged.
How do I calculate only the interest part of a payment?
Use IPMT with the same arguments plus the period number, for example =IPMT(rate, 1, nper, pv) for the first payment. The interest portion is largest at the start of a loan and shrinks over time.