Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Formula to Determine Loan Payment

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Use the PMT function. The formula =PMT(rate, nper, pv) returns the fixed monthly payment for a loan, and typing =PMT(B2/12, B3, -B4) in a cell where B2 holds the annual interest rate, B3 the number of monthly payments and B4 the loan amount gives you the answer instantly. Everything below explains how to set that up cleanly, how to handle down payments and extra fees, and why Excel sometimes returns a negative number.

What You'll Need

  • A copy of Excel (desktop, web or mobile all include PMT), or any spreadsheet app that supports the same function.
  • Three figures: the loan amount you are borrowing, the annual interest rate, and the loan term in years or months.
  • The payment frequency — monthly, biweekly or weekly. Most loans are monthly.
  • Optional: a down payment amount and any fees you are rolling into the loan, so you can calculate the financed total rather than the sticker price.

Step-by-Step

  1. Set up four labeled cells. In A1 type Annual rate, in A2 Years, in A3 Loan amount, in A4 Payment. Put your values in B1, B2 and B3. Enter the rate as a percentage, for example 6.5% — Excel stores it as 0.065, which is what the formula needs.
  2. Convert the annual rate to a monthly rate. PMT expects a rate per period, not per year. For monthly payments, divide the annual rate by 12. Doing this inside the formula as B1/12 keeps you from having to keep a second cell in sync.
  3. Convert the term to the number of payments. Multiply the years by the number of payments per year: B2*12 for monthly, B2*26 for biweekly, B2*52 for weekly. This is the nper argument.
  4. Enter the loan amount as a negative number. Cash flow convention: money leaving your account is negative, money arriving is positive. Writing the formula as =PMT(B1/12, B2*12, -B3) makes the payment come back as a positive number, which is easier to read. If you leave the loan amount positive, you will get a negative payment — that is not an error, just the opposite sign.
  5. Press Enter and format the result as currency. Select the cell, then use the currency format button on the Home tab, or press Ctrl+Shift+4 (Cmd+Shift+4 on Mac). The raw value will otherwise show several decimal places.
  6. Add the optional fourth and fifth arguments if relevant. =PMT(rate, nper, pv, fv, type). Leave fv blank for a loan that ends at zero. Set type to 1 if payments are due at the start of each period, or leave it at 0 (or blank) for the usual end-of-period payments. Most consumer loans use 0.
  7. Account for a down payment by financing the net amount. If the item costs 25,000 and you pay 5,000 down, the loan amount in B3 should be 20,000, not 25,000. You can also write it directly: =PMT(B1/12, B2*12, -(B3-B5)) where B5 holds the down payment.
  8. Check the total cost. Multiply the payment by the number of payments to see lifetime outlay: =B4*B2*12. Subtract the original loan amount to see total interest. This is where a slightly lower rate on a much longer term can still cost more.
  9. Build a quick sensitivity table. Copy the payment cell across a row and vary the rate in the source cell, or paste several rate values down a column and reference each one. A three-row table of 5%, 6% and 7% shows at a glance how much the rate matters.
  10. Verify against one hand calculation. For a 10,000 loan at 6% over five years, the monthly payment is about 193.33. If your result differs wildly, the rate is probably still annual, or the term is still in years rather than payments.

Common Mistakes

Using the annual rate instead of the periodic rate. This is the single most common error. Feeding 6.5 into PMT instead of 0.065/12 produces a payment that looks almost plausible but is roughly twelve times too high. Always divide the rate by the number of payments per year.

Putting years where nper expects payments. =PMT(0.005, 5, -10000) calculates a five-payment loan, not a five-year one. Multiply by 12 first.

Mixing units. If you divide the rate by 12 for monthly payments, the term must also be in months. Dividing the rate monthly but leaving the term in years is a guaranteed wrong answer.

Forgetting the minus sign or panicking at a negative result. A negative payment means money is leaving you. Flip the sign of the loan amount to display it as positive.

Using the sticker price instead of the amount financed. Down payments, trade-in value and any fees financed all change the principal. PMT only knows about the number you give it.

Tips

Name your input cells using the box to the left of the formula bar, then write =PMT(Rate/12, Years*12, -Amount). Named ranges make the formula self-documenting and stop you from referencing the wrong cell after you insert rows.

To see the interest portion of a specific payment, use IPMT with the same arguments plus a period number; PPMT returns the principal portion. The two always add up to the PMT result for that period.

Use =ROUND(PMT(...), 2) if you need the exact figure a lender would quote, because lenders round each payment to the cent.

Remember that PMT assumes a fixed rate for the whole term. For an adjustable-rate loan, the result is only accurate until the first rate reset.

Troubleshooting

If Excel shows #NUM!, the loan amount, rate or term is likely missing, blank or nonsensical — check that no input cell is empty. If you see #VALUE!, a cell probably contains text such as "6.5%" typed with a stray space, or a currency symbol Excel cannot parse. Retype the value as a plain number.

If the payment looks too small by a factor of about twelve, you forgot to convert the rate. If it looks absurdly large, you likely forgot to convert the term. If the result is negative and you want it positive, add a minus sign in front of the principal argument.

If a percentage cell refuses to behave, check its format: a cell formatted as Text will not calculate. Select it, set the format to Percentage or General, and re-enter the number.

Frequently Asked Questions

Why does PMT return a negative number?

Excel treats outgoing payments as negative cash flow. Put a minus sign before the loan amount argument to flip the sign.

Can PMT handle biweekly payments?

Yes. Divide the annual rate by 26 and multiply the years by 26.

Does PMT include taxes and insurance?

No. It calculates principal and interest only. Add escrow amounts to the result separately.

What is the difference between PMT and IPMT?

PMT gives the whole payment. IPMT gives just the interest part for one chosen period.

Can I use PMT for a savings goal instead of a loan?

Yes, with a twist: enter the future value as the fv argument and leave the present value at zero, and PMT returns the amount to save each period.

Why is my total interest so much higher than I expected?

Because early payments are mostly interest. Multiply the payment by the number of payments and subtract the principal to see the true total.