PMT Calculation Formula: Excel PMT Function Explained

Formulas & functions · Updated November 23, 2026

The PMT calculation formula in Excel is =PMT(rate, nper, pv, [fv], [type]), which returns the periodic payment for a loan or investment based on constant payments and a constant interest rate. For example, =PMT(5%/12, 60, 25000) calculates the monthly payment for a $25,000 loan at 5% annual interest over 5 years, returning -$471.78 (the negative sign indicates a cash outflow).

What Is the PMT Function?

PMT is a built-in financial function in Excel (and Google Sheets) that computes the payment required to pay off a loan or reach a savings goal over a fixed period. It assumes a constant interest rate and equal periodic payments. The function is part of Excel’s financial functions, available in all modern versions, including Excel for Microsoft 365, Excel 2021, and Excel for the web.

The syntax has five arguments:

  • rate (required): the interest rate per period. If you have an annual rate and monthly payments, divide by 12.
  • nper (required): the total number of payment periods (e.g., 60 for 5 years of monthly payments).
  • pv (required): the present value, or the total amount the loan is worth now (the principal). For savings, this is the starting amount.
  • fv (optional): the future value, or the cash balance you want after the last payment. Defaults to 0 for loans.
  • type (optional): 0 (default) for payments at the end of each period, or 1 for payments at the beginning.

Note that the result is negative because it represents money you pay out. To get a positive number, you can wrap the formula with a minus sign: =-PMT(...).

How to Use PMT in Excel: Step-by-Step

Let’s walk through a real example. Suppose you want to borrow $20,000 for a car at a 6% annual interest rate, with monthly payments over 4 years (48 months).

  1. Open a new Excel worksheet.
  2. In cell A1, type the annual interest rate: 6%.
  3. In cell A2, type the number of years: 4.
  4. In cell A3, type the loan amount: 20000.
  5. In cell A5, enter the formula: =PMT(A1/12, A2*12, A3).
  6. Press Enter. The result will be -$469.70, meaning you pay $469.70 per month.

To see it as a positive number, use =-PMT(A1/12, A2*12, A3). If you prefer to see the total interest paid, multiply the payment by the number of periods: =PMT(A1/12, A2*12, A3)*A2*12 gives -$22,545.60, so the interest is about $2,545.60.

Understanding the Math Behind PMT

The PMT function uses a standard time-value-of-money formula. For a loan with payments at the end of each period (type 0), the formula is:

PMT = (rate * (pv * (1 + rate)^nper - fv)) / ((1 + rate)^nper - 1)

When fv is 0, it simplifies to: PMT = rate * pv / (1 - (1 + rate)^-nper).

This formula derives from the present value of an annuity. It assumes that the interest rate is constant and that payments are made at regular intervals. Excel handles the calculation internally, but knowing the math helps you understand why the payment is what it is—and why changing any input changes the result.

Common Mistakes and How to Avoid Them

Several errors are common when using PMT:

  • Forgetting to convert the annual rate to a period rate. If you make monthly payments, always divide the annual rate by 12. Using 6% instead of 0.5% will give a wildly wrong payment.
  • Mismatching nper and rate periods. If your rate is monthly, nper must be the total number of months, not years. For a 4-year loan, use 48, not 4.
  • Using a positive result for a payment. The negative sign is normal; don’t panic. If you want a positive number, just add a minus sign in front of the function.
  • Ignoring the type argument for beginning-of-period payments. If you pay at the start of the month (like rent), set type to 1. This slightly lowers the payment because interest has less time to accrue.
  • Using PMT for variable-rate loans. PMT assumes a constant rate. For adjustable-rate loans, you’d need a different approach.

PMT vs. Other Financial Functions

Excel offers several related functions that work with PMT:

  • IPMT: returns the interest portion of a specific payment. For example, =IPMT(rate, per, nper, pv) where ‘per’ is the payment number.
  • PPMT: returns the principal portion of a specific payment. The sum of IPMT and PPMT for a period equals the total PMT.
  • RATE: solves for the interest rate given the payment, number of periods, and present value.
  • NPER: solves for the number of periods given the payment, rate, and present value.
  • PV: solves for the present value given the payment, rate, and periods.

For example, to find the interest rate on a $10,000 loan with $200 monthly payments for 60 months, use =RATE(60, -200, 10000) which returns about 0.77% per month (about 9.2% annually).

Using PMT for Savings Goals

PMT isn’t just for loans—you can also use it to calculate how much you need to save each month to reach a future value. For instance, to accumulate $50,000 in 10 years with an annual return of 4% compounded monthly, you’d use:

=PMT(4%/12, 10*12, 0, 50000)

This returns -$339.71, meaning you need to save $339.71 per month. Note that the pv is 0 (you start with nothing), and the fv is 50000 (your goal). The result is negative because it’s a cash outflow (your savings contribution).

If you already have $5,000 saved, you’d use =PMT(4%/12, 120, -5000, 50000) which returns -$304.35, because the starting balance reduces the monthly contribution needed.

Frequently Asked Questions

Why does PMT return a negative number?

Excel’s financial functions follow a cash-flow sign convention: money you pay out (like loan payments or savings contributions) is negative, and money you receive (like loan proceeds or future value) is positive. To get a positive payment, simply put a minus sign before the function: =-PMT(...).

How do I calculate monthly payments in Excel?

Use =PMT(annual_rate/12, years*12, loan_amount). For example, for a $200,000 mortgage at 4% for 30 years, enter =PMT(4%/12, 30*12, 200000) which gives -$954.83 per month.

What is the difference between PMT and IPMT?

PMT gives the total periodic payment (principal + interest). IPMT gives only the interest portion for a specific payment period. For example, =IPMT(5%/12, 1, 60, 25000) returns the interest in the first month of a 5-year loan.

Can PMT handle payments at the beginning of the period?

Yes. Set the ‘type’ argument to 1. For example, =PMT(5%/12, 60, 25000, 0, 1) calculates the payment if you pay at the start of each month. The payment will be slightly lower because interest accrues for less time.

Does PMT work in Google Sheets?

Yes, Google Sheets has the same PMT function with identical syntax. The examples in this article work in both Excel and Google Sheets.

How do I get a positive payment amount?

Wrap the function with a minus sign: =-PMT(rate, nper, pv). Alternatively, you can multiply the result by -1: =-1*PMT(...).

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.