Smart Systems for Home

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

How to Use Excel Payment Function

· 8 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

The Excel Payment function (PMT) calculates the periodic payment for a loan based on constant payments and a constant interest rate. You need a spreadsheet program like Microsoft Excel, Google Sheets, or LibreOffice Calc installed, and the loan details: the interest rate, the total number of payments, and the loan amount. The function works in virtually any spreadsheet application that supports standard financial functions, as long as the inputs are entered as percentages or decimals and the signs (positive or negative) are set correctly to represent money flowing in or out of your pocket.

What You'll Need

  • A computer with Microsoft Excel, Google Sheets, or LibreOffice Calc installed.
  • The loan details: the principal amount (the total borrowed), the annual interest rate, and the total number of payments or loan term.
  • Basic knowledge of how to enter formulas and cell references in a spreadsheet.

Step-by-Step

  1. Open your spreadsheet application. Click on any cell where you want the payment result to appear. This is where the formula will be entered and the calculated number displayed.
  2. Enter the PMT function. Type the equals sign (=) followed by the function name. For the Payment function, this is PMT. You can type it in all capital letters for clarity, though the application will recognize it regardless of case. The formula structure is =PMT(rate, nper, pv).
  3. Determine the interest rate (rate). This is the interest rate for each payment period. If your loan is an annual loan with monthly payments, you must divide the annual percentage rate by 12. If the rate is expressed as a percentage in a cell, you need to divide it by 100 in the formula or reference a cell that contains the decimal equivalent. For example, a 6% annual rate becomes 0.06/12 or 0.005.
  4. Determine the number of payments (nper). This is the total number of payments over the life of the loan. If you have a 30-year mortgage paid monthly, the number of periods is 30 x 12, which equals 360. This number is always positive.
  5. Determine the present value (pv). This is the loan amount, or the principal. It represents the amount of money you are borrowing. In the formula, this value should be entered as a negative number. This is because the money is being taken out of your pocket to fund the loan, whereas the payment you make back to the lender is a cash outflow. If you enter the loan amount as a positive number, the function will return a negative payment amount, which is mathematically correct but requires you to remember the sign convention.
  6. Insert the values into the formula. Combine the rate, nper, and pv into the function. Using cell references is the most accurate and practical method. For instance, if the annual interest rate is in cell A1, the total number of payments is in cell A2, and the loan amount is in cell A3, your formula would look like this: =PMT(A1/12, A2, -A3). This formula divides the rate by 12 for monthly compounding, uses the cell reference for the term, and makes the loan amount negative.
  7. Press Enter. After typing the formula and closing the parenthesis, press the Enter key. The cell will display the result. By default, Excel displays the result as a negative number because it treats the loan amount as a negative cash flow and the payment as a positive cash flow. If you prefer to see the payment as a positive number and the loan amount as a positive number, you can change the sign of the loan amount in the formula to + or simply multiply the entire result by -1. Alternatively, you can change the cell formatting to Currency to see the dollar sign and commas.
  8. Verify the result. To ensure the calculation is correct, multiply the result by the total number of payments. The product should equal the loan amount. If the result is close but not exact, check if you used the correct number of decimal places for the interest rate.

Common Mistakes

The most frequent error when using the Payment function is failing to adjust the interest rate for the payment period. A common mistake is entering the annual interest rate directly into the function when the payments are monthly. This will result in a payment amount that is far too low because the function assumes the interest is applied only once a year. Always divide the annual rate by the number of payments per year.

Another common error involves the sign convention. If the loan amount is entered as a positive number and the number of payments is positive, the result will be negative. While this is mathematically correct, it can be confusing. It is good practice to be consistent. Either enter the loan amount as a negative number to get a positive payment, or enter the loan amount as a positive number and remember that the result represents a cash outflow. Mixing up the signs can lead to errors in budgeting and financial planning.

Users also often confuse the number of payments (nper) with the term of the loan in years. For a 5-year loan with monthly payments, the number of payments is 60, not 5. Failing to multiply the years by the payment frequency will result in a payment that is too high, as the calculation assumes fewer payments are needed to pay off the debt.

Tips

To make your spreadsheet more readable and easier to maintain, use cell references for all inputs. Instead of typing the numbers directly into the formula, type the interest rate into one cell, the loan term into another, and the loan amount into a third. Then, reference those cells in your PMT formula. This allows you to change the loan parameters in the input cells, and the payment will automatically recalculate without you having to edit the formula.

When working with variable rates or balloon payments, the standard PMT function is not sufficient. For variable rates, you would need to create a separate schedule of payments using the actual interest rate for each period. For balloon payments, where a large lump sum is paid at the end, you can use the PMT function to calculate the regular payments and then subtract the balloon payment from the total principal in a separate cell.

It is also helpful to format the result cell as Currency. This adds the dollar sign and thousand separators, making the number easier to read and interpret. You can do this by selecting the cell, right-clicking, choosing Format Cells, and selecting Currency from the Number tab.

Troubleshooting

If the result in the cell is a #NUM! error, it usually means that the calculation is impossible. This can happen if the interest rate is too high relative to the loan amount and the number of payments, resulting in a payment that exceeds the loan amount. It can also occur if the number of payments is zero or negative. Check your inputs to ensure the rate is a positive number, the number of payments is greater than zero, and the loan amount is positive.

If the result is a #VALUE! error, it typically means that one of the arguments contains text or an invalid data type. For example, if you typed =PMT("6%", 12, 10000) instead of =PMT(0.06, 12, 10000), the function will not recognize the percentage symbol and will return an error. Ensure that all numerical inputs are entered as numbers or cell references containing numbers.

If the result is a very large negative or positive number that seems unrealistic, double-check the interest rate. If you entered the annual interest rate as a percentage (e.g., 6) instead of a decimal (e.g., 0.06), the function will interpret 6 as 600%, which will result in a payment amount that is 100 times larger than it should be. Always divide the annual rate by 100 or use a cell that contains the decimal equivalent.

Frequently Asked Questions

What is the difference between the Payment function and the Loan function?

The Payment function calculates the periodic payment required to pay off a loan, whereas the Loan function calculates the total amount of a loan based on a fixed payment and interest rate. The Payment function is used to find out how much you pay per month, while the Loan function is used to find out how much you can borrow based on a monthly payment limit.

How do I calculate a payment for a loan with a balloon payment?

For a loan with a balloon payment, you cannot use the standard PMT function directly. You must first calculate the regular payments using the PMT function based on the principal and the interest rate, excluding the balloon payment. Then, you calculate the balloon payment separately using a future value formula or by amortizing the loan over a longer period and subtracting the accumulated principal.

Can I use the Payment function for credit cards?

Yes, you can use the Payment function for credit cards, but it requires an estimate of the total balance and the desired payoff time. You would enter the total balance as the present value, the monthly interest rate (annual rate divided by 12) as the rate, and the number of months you want to take to pay off the debt as the number of payments.

Why does Excel return a negative number?

Excel returns a negative number because it uses a cash flow sign convention. The loan amount is treated as a positive cash inflow (money coming in), and the payment is treated as a negative cash outflow (money going out). If you want to see a positive payment, simply multiply the result by -1 or change the sign of the loan amount in the formula.

What if my interest rate is compounded semi-annually?

If the interest rate is compounded semi-annually, you need to adjust the rate and the number of payments in the formula. The rate argument should be the semi-annual interest rate. The number of payments argument should be the total number of semi-annual periods. For example, a 6% annual interest rate compounded semi-annually has a semi-annual rate of 3%, and a 5-year loan has 10 semi-annual periods.

Can I calculate the total interest paid over the life of the loan?

Yes, you can calculate the total interest paid by multiplying the periodic payment by the number of payments and then subtracting the loan amount. The formula is =PMT(rate, nper, pv) * nper - pv. This will give you the total interest cost of the loan.