Smart Systems for Home

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

Mortgage Payments in Excel: How to Use the PMT Formula

· 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

To figure out mortgage payments in Excel, use the =PMT(rate, nper, pv) function. This formula calculates the payment for a loan based on constant payments and a constant interest rate. By inputting your annual interest rate divided by 12, the total number of monthly payments, and the total loan amount, Excel will provide the exact monthly cost of your mortgage.

What You'll Need

  • A computer with Microsoft Excel installed (any version from 2010 onwards, including Excel for Web).
  • The total loan amount (the principal), excluding your down payment.
  • The annual interest rate offered by your lender (expressed as a percentage).
  • The loan term (usually 15 or 30 years).

Step-by-Step

  1. Set Up Your Data Table: Open a blank Excel workbook. To keep your calculations organized and easy to update, create a small table. In cell A1, type "Loan Amount". In cell A2, type "Annual Interest Rate". In cell A3, type "Loan Term (Years)". In cell A4, type "Monthly Payment".
  2. Enter Your Loan Details: In the cells next to your labels, enter your specific numbers. In cell B1, enter the total amount you are borrowing (e.g., 300000). In cell B2, enter the interest rate as a percentage (e.g., 6.5%). In cell B3, enter the length of the loan in years (e.g., 30).
  3. Select the Output Cell: Click on cell B4. This is where the result of your mortgage calculation will appear.
  4. Input the PMT Formula: Type the following formula exactly into cell B4: =PMT(B2/12, B3*12, -B1).
  5. Understand the Formula Components:
    • B2/12: The PMT function requires the interest rate per period. Since you are making monthly payments, you must divide the annual rate in B2 by 12 months.
    • B3*12: The function requires the total number of payment periods. Multiply the years in B3 by 12 to get the total number of monthly payments over the life of the loan.
    • -B1: The "pv" (present value) is the total loan amount. We put a minus sign before B1 because the loan is technically a debt (a negative value). By making the loan amount negative in the formula, Excel will display your monthly payment as a positive number.
  6. Press Enter: Once you hit Enter, Excel will calculate the monthly principal and interest payment. If your loan was $300,000 at 6.5% for 30 years, your result should be approximately $1,896.20.
  7. Format as Currency: If the result appears as a plain number, select cell B4, go to the "Home" tab on the ribbon, and in the "Number" group, click the dropdown menu and select "Currency". This adds the dollar sign and rounds the result to two decimal places.

Common Mistakes

The most frequent error when calculating mortgage payments in Excel is failing to align the time units. The PMT function is agnostic to whether you are calculating monthly, quarterly, or annual payments; it simply looks at "periods." If you enter an annual interest rate but a total number of months, the calculation will be wildly inaccurate. Always ensure that if your payments are monthly, both the rate and the term are converted to monthly values (Rate/12 and Years*12).

Another common mistake is forgetting the negative sign before the loan amount (the PV argument). In financial accounting terms, a loan is a cash inflow (positive) and the payments are cash outflows (negative). If you enter the loan amount as a positive number, Excel will return the monthly payment as a negative number. While the math is still correct, it can be confusing for budgeting purposes. Using -B1 ensures the output is a positive value.

Users also frequently confuse the "Loan Amount" with the "Home Price." If a house costs $400,000 and you put down $80,000, your loan amount (PV) is $320,000. Entering the full home price into the formula will result in an inflated monthly payment that does not reflect your actual debt.

Tips

To make your spreadsheet more powerful, use Data Validation to create a dropdown menu for the loan term. This allows you to quickly switch between a 15-year and a 30-year mortgage to see how it affects your monthly payment and total interest paid. To do this, go to the "Data" tab, select "Data Validation," choose "List," and type "15, 30".

If you want to see the total amount of interest you will pay over the life of the loan, create a new cell and use the formula: =(B4*B3*12)-B1. This takes your monthly payment, multiplies it by the total number of months, and subtracts the original principal. This often provides a sobering look at the true cost of borrowing over several decades.

For those who want to see how extra payments affect their loan, consider building an Amortization Schedule. This involves creating a table with columns for Payment Number, Beginning Balance, Interest Portion, Principal Portion, and Ending Balance. By using the IPMT function for interest and the PPMT function for principal, you can track exactly how much of each monthly check goes toward the bank's profit versus your own home equity.

Troubleshooting

If you see #VALUE!, it means Excel is trying to calculate a cell that contains text instead of a number. Check cell B2 to ensure you didn't type "6.5% percent" or "$300,000 dollars". Enter only the numbers and the percentage symbol.

If the result seems impossibly high (e.g., several thousand dollars for a small loan), check your interest rate. If you entered "6.5" instead of "6.5%" or "0.065", Excel interprets the number 6.5 as 650%. This is a common error; always ensure the percentage sign is present or the decimal is correct.

If the result is a negative number, you simply forgot the minus sign before the loan amount in the formula. You can either change B1 to -B1 inside the formula or change the value in cell B1 itself to a negative number.

If the formula returns #NUM!, it usually indicates that one of the arguments is invalid or the calculation has resulted in a number too large for Excel to handle. Double-check that your loan term is not zero or a negative number.

Frequently Asked Questions

Does this formula include taxes and insurance?

No. The PMT function only calculates Principal and Interest (P&I). To find your total monthly housing cost, you must manually add your monthly property tax and homeowners insurance premiums to the result of the PMT formula.

Can I use this for an adjustable-rate mortgage (ARM)?

The PMT function only works for fixed interest rates. For an ARM, you can use the formula to calculate your initial payment, but you will need to manually update the interest rate in cell B2 whenever your rate adjusts to see the new payment.

How do I calculate how much I can afford to borrow?

You can use the =PV(rate, nper, pmt) function. By entering the maximum monthly payment you can afford as the "pmt" value, Excel will tell you the total loan amount (Present Value) you can qualify for based on a specific interest rate and term.

What is the difference between PMT, IPMT, and PPMT?

PMT calculates the total monthly payment. IPMT calculates only the interest portion of a specific payment, and PPMT calculates only the principal portion of a specific payment. Together, IPMT and PPMT always equal the PMT value.

Will this work in Google Sheets?

Yes. Google Sheets uses the exact same syntax for the PMT function as Microsoft Excel, so the formulas and steps provided here are fully compatible.