PMT Function in Excel (6 Examples)

Sumit Bansal
Written by
Sumit Bansal
Sumit Bansal

Sumit Bansal

Sumit Bansal is the founder of TrumpExcel.com and a Microsoft Excel MVP. He started this site in 2013 to share his passion for Excel through easy tutorials, tips, and training videos, helping you master Excel, boost productivity, and maybe even enjoy spreadsheets!

If you want to work out the payment on a loan, whether it’s a car loan, a mortgage, or a personal loan, the PMT function gives you that number in one formula.

There are two things that trip people up with it. PMT returns a negative number, and the interest rate has to match your payment period (a monthly payment needs a monthly rate). Both are easy to handle once you know about them.

In Excel 365, you can also feed PMT a range of loan details and it spills a payment for each row, which is handy for comparing offers side by side.

In this article, I’ll show you how to use PMT for loans, mortgages, and savings goals, and how to get the sign and the rate right every time.

PMT Function Syntax

Here is the syntax of the PMT function, which calculates the payment for a loan or annuity with a constant interest rate:

=PMT(rate, nper, pv, [fv], [type])
  • rate – The interest rate for each period. This is the part people get wrong. If you make monthly payments, the rate must be the monthly rate, so you divide an annual rate by 12.
  • nper – The total number of payments. For a monthly loan this is the number of months, so a 5-year loan is 5*12 = 60.
  • pv – The present value, or the loan amount you’re borrowing now (also called the principal).
  • fv – (Optional) The balance you want left after the last payment. Leave it out for a normal loan, where the balance ends at 0.
  • type – (Optional) When payments are due. Use 0 (or leave it out) for the end of the period, and 1 for the start.

One thing to know up front. PMT returns a negative number because a payment is money leaving your pocket.

To show it as a positive number, put a minus sign in front of the loan amount, or in front of PMT. I’ll do that in the examples below.

Pro Tip: Keep rate and nper in the same units. Monthly payments need a monthly rate (annual/12) and a count in months (years*12). Mixing an annual rate with a month count is the most common PMT mistake.

PMT works in Excel for Microsoft 365, Excel 2024, 2021, 2019, 2016, and older versions, plus Excel on the web. The spilling range trick in Example 2 needs Excel 365 or 2021.

When to Use PMT

Use the PMT function when you need to:

  • Calculate the monthly payment on a car loan, personal loan, or mortgage
  • Compare a few loan offers with different rates or terms at once
  • Work out how much to save each month to reach a target amount
  • Check how the payment changes when it’s due at the start of the period instead of the end

Let me show you a few practical examples of how PMT works.

Example 1: Calculate a Monthly Loan Payment

Let’s start with a simple car loan.

Below is the dataset. The loan amount is in cell B2, the annual interest rate is in B3, and the loan term in years is in B4.

pmt 01 dataset showing car loan variables: amount 32000, 6.9% annual interest rate, and 5-year term in Excel cells

I want the monthly payment on this $32,000 car loan.

Here is the formula:

=PMT(B3/12, B4*12, B2)
Excel formula bar showing a PMT function resulting in a negative monthly payment value of -$632.13 in cell B6

This returns -632.13.

Here, B3/12 turns the 6.9% annual rate into a monthly rate, and B4*12 turns 5 years into 60 monthly payments. The loan amount goes in as the present value.

The result is negative because Excel treats the payment as cash going out. To show it as a positive number, put a minus sign in front of the loan amount.

=PMT(B3/12, B4*12, -B2)
Excel formula bar showing =PMT(B3/12, B4*12, -B2) to convert a negative loan payment result into a positive value

Now the formula returns 632.13, a monthly payment of $632.13.

Example 2: Compare Multiple Loan Offers at Once

Here’s where PMT gets more useful. Say you have three bank offers for the same $28,000 loan, each with a different rate and term, and you want to compare the monthly payments.

Below is the dataset. The bank is in column A, the loan amount in column B, the annual rate in column C, and the term in months in column D.

pmt 04 dataset showing an Excel table with columns for Bank, Loan Amount, Annual Rate, Term, and Monthly Payment

I want the monthly payment for all three offers in one go.

Here is the formula:

=PMT(C2:C4/12, D2:D4, -B2:B4)
Excel formula bar showing a spilled PMT function calculating monthly payments for three different bank loan offers

This returns 561.06, 469.35, and 686.19, one payment for each bank.

Because I fed PMT whole ranges instead of single cells, the results spill down the column automatically, one row per offer. You type the formula once in E2 and Excel fills the rest.

The term is already in months here, so only the rate needs dividing by 12. Bank B has the lowest payment, but its 72-month term means you pay for longer.

Example 3: Calculate a Monthly Mortgage Payment

A mortgage works the same way, just with bigger numbers and a longer term.

Below is the dataset. The home loan amount is in B2, the annual interest rate in B3, and the loan term in years in B4.

pmt 06 dataset showing mortgage loan amount, annual interest rate, and term in years for calculating monthly payments

I want the monthly payment on this $420,000 mortgage over 30 years.

Here is the formula:

=PMT(B3/12, B4*12, -B2)
Excel formula bar showing PMT function for a mortgage calculation with loan amount, interest rate, and term inputs

This returns 2654.69, a monthly payment of $2,654.69.

The 6.5% annual rate is divided by 12, and the 30-year term becomes 360 monthly payments (B4*12). The minus sign in front of B2 keeps the result positive.

Pro Tip: To see the total cost of the loan, multiply the monthly payment by nper. Here that’s 2654.69 * 360, which is about $955,687 paid over the life of the mortgage. Roughly $535,687 of that is interest.

Example 4: Convert an Annual Rate to a Monthly Rate

This example is about the mistake that catches almost everyone, so it’s worth its own section.

Below is the dataset for a $15,000 personal loan. The amount is in B2, the annual rate in B3, and the term in months in B4.

PMT 08 dataset showing personal loan amount, annual rate, and term in an Excel table for payment calculation comparison

I want to see what happens if I forget to convert the annual rate to a monthly one.

Here is the formula with the annual rate used as-is:

=PMT(B3, B4, -B2)
Excel formula bar showing PMT function using an annual interest rate instead of a monthly rate for a loan calculation

This returns 1413.53, which is way too high. Excel thinks the 9% is a monthly rate, so it’s charging 9% every month.

The fix is to divide the annual rate by 12 so it matches the monthly payments.

=PMT(B3/12, B4, -B2)
Excel formula bar showing PMT function with annual rate divided by 12 to calculate monthly loan payment in cell B7

Now the formula returns 477.00, the correct monthly payment of $477.00. The term was already in months, so only the rate needed converting.

Example 5: Work Out Monthly Savings for a Goal

PMT isn’t only for loans. It can also tell you how much to save each month to hit a target, using the fv (future value) argument.

Below is the dataset. The savings goal is in B2, the annual return in B3, and the number of years in B4.

PMT 11 dataset in Excel showing a savings plan table with goal, annual return, and years to calculate monthly savings

I want to know how much to set aside each month to reach $50,000 in 5 years.

Here is the formula:

=PMT(B3/12, B4*12, 0, -B2)
Excel formula bar showing PMT function for a savings goal of 50,000 with 4% return over 5 years, resulting in $754.16

This returns 754.16, so you’d need to save $754.16 a month.

The present value is 0 because you’re starting from nothing, and the goal goes in as the future value. I put the minus sign in front of B2 so the monthly deposit shows as a positive number.

This assumes your savings grow at a steady annual return through compound interest, so it’s an estimate rather than a guarantee.

Example 6: Payments Due at the Start of the Period

By default PMT assumes you pay at the end of each period. The optional type argument lets you switch to the start, which slightly lowers the payment.

Below is the dataset for an $8,000 rent-to-own plan. The amount is in B2, the annual rate in B3, and the term in months in B4.

PMT 13 dataset showing Rent-to-Own Plan parameters: 8000 amount, 0.06 annual rate, and 24-month term for payment calculation

I want to compare the payment when it’s due at the end versus the start of each month.

Here is the formula for payments at the end of the period (the default):

=PMT(B3/12, B4, -B2)
Excel formula bar showing PMT function for end of period payment calculation using loan amount, rate, and term

This returns 354.56.

Now here is the same loan with type set to 1, so payments are due at the start of the period.

=PMT(B3/12, B4, -B2, 0, 1)
Excel formula bar showing PMT function with type 1 for start of period payments in a rent-to-own plan calculation

This returns 352.80, a little lower. Paying at the start of the period means each payment reduces the balance a bit sooner, so slightly less interest builds up.

Tips & Common Mistakes

  • Match the rate to the payment period. A monthly payment needs a monthly rate (annual/12) and a term in months (years*12). Mixing an annual rate with a month count is the number one PMT error, and it inflates the payment badly, as you saw in Example 4.
  • The negative result is normal. PMT returns a negative number because the payment is money going out. Put a minus sign in front of the loan amount, or in front of the whole formula, to show it as positive.
  • Enter the rate as a rate, not a whole number. Type 6.9% or 0.069, not 6.9. A rate of 6.9 tells Excel you’re paying 690% interest.
  • Use IPMT and PPMT for the split. PMT gives the total payment. If you need how much of a specific payment is interest versus principal, use the IPMT and PPMT functions, which take an extra “per” argument for the payment number.
  • Feeding ranges spills the results. In Excel 365 and 2021, passing PMT a range for the rate, term, or amount spills a payment for each row, so you don’t need to fill the formula down.
  • Work backward with Goal Seek. If you know the monthly payment you can afford and want the matching loan amount, Goal Seek can solve a PMT formula for any input.

That covers the main ways to use PMT in Excel. You’ve seen how to calculate a loan or mortgage payment, compare several offers at once, plan monthly savings with the fv argument, and switch the payment timing with type.

The two things to remember are to keep the rate and term in matching units, and to expect the negative sign. Get those right and PMT handles the rest.

List of All Excel Functions

Other Excel Articles You May Also Like:

Hey! I'm Sumit Bansal, founder of trumpexcel.com and a Microsoft Excel MVP. I started this site in 2013 because I genuinely love Microsoft Excel (yes, really!) and wanted to share that passion through easy Excel tutorials, tips, and Excel training videos. My goal is straightforward: help you master Excel skills so you can work smarter, boost productivity, and maybe even enjoy spreadsheets along the way!

Free Excel Tips eBook by Sumit Bansal

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free Excel Tips eBook by Sumit Bansal

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free Excel Tips EBook Sumit Bansal

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster