Smart Systems for Home

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

Mortgage Loan Payment Calculator in Excel

· 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

You can build a working mortgage loan payment calculator in Excel with a single formula, PMT, plus a few input cells for the loan amount, interest rate and term. Once that is in place you can add an amortization table showing how each payment splits between interest and principal, and you can copy the sheet to compare scenarios. Nothing beyond a standard Excel install is needed.

What You'll Need

  • A spreadsheet app that supports the PMT function: Microsoft Excel on desktop, Excel for the web, Excel mobile, or another app such as Google Sheets or LibreOffice Calc (the function name is the same everywhere).
  • Three numbers: the mortgage amount you are borrowing, the annual interest rate quoted to you, and the loan term in years.
  • Optional: your monthly property tax, home insurance and any mortgage insurance premium if you want the full monthly outlay, not just principal and interest.

Step-by-Step

  1. Lay out the input cells. In cells A1 to A4 type labels: Loan amount, Annual interest rate, Loan term (years), Payments per year. Put the values in B1 to B4. For example B1 = 300000, B2 = 0.065 (enter 6.5% as 6.5% or 0.065, both work as long as the cell is formatted as a percentage), B3 = 30, B4 = 12. Keep these separate from the calculation cell so you can change one number and watch the answer update.
  2. Enter the monthly payment formula. In A6 type Monthly payment and in B6 enter:
    =PMT(B2/B4, B3*B4, -B1)
    Excel returns a negative number because money leaving your pocket is treated as an outflow. Wrap it in ABS if you prefer a plain positive figure: =ABS(PMT(B2/B4, B3*B4, -B1)). The rate is divided by payments per year to get a monthly rate, and the term is multiplied by payments per year to get the total number of payments.
  3. Format the result as currency. Select B6 and apply a currency format with two decimals so the payment reads cleanly rather than showing a long decimal.
  4. Add a total interest cell. Total paid over the life of the loan is the monthly payment times the number of payments. In B7 enter =B6*B3*B4, and in B8 enter =B7-B1 to see total interest. These two cells make the cost of borrowing obvious at a glance.
  5. Build an amortization table. In row 10 create headers: Payment #, Beginning balance, Payment, Interest, Principal, Ending balance. In A11 enter 1. In B11 enter =B1. In C11 enter the fixed payment, e.g. =$B$6. In D11 enter =B11*$B$2/$B$4 (interest for the period). In E11 enter =C11-D11 (principal repaid). In F11 enter =B11-E11 (remaining balance).
  6. Fill the rows down. In A12 enter =A11+1. In B12 enter =F11. Copy C12 to F12 from row 11. Then select row 12 and drag the fill handle down to row 371 for a 30-year monthly loan (360 payments plus the header offset). Each row now shows the split between interest and principal for that payment.
  7. Check the last row. The ending balance in the final row should be very close to zero (a few cents of rounding is normal). If it is not, your payment count or the fill range is wrong.
  8. Add extra payments if you want them. Insert a column called Extra payment and place a value in it. Change the principal formula to =C11-D11+Extra and the ending balance will fall faster. Note that PMT still returns the original scheduled payment; the payoff date shortens instead.
  9. Add taxes and insurance. Put annual property tax, annual insurance and any mortgage insurance in separate cells, divide each by 12, and add them to the principal-and-interest figure. This gives a realistic monthly housing payment that lenders use for affordability checks.

Common Mistakes

  • Forgetting the minus sign on the loan amount. PMT needs the present value as a negative when the payment is money going out. Leaving it positive returns a negative payment, which confuses people reading the sheet.
  • Using the annual rate where a monthly rate belongs. Dividing by 12 is essential. Entering 6.5 as the rate instead of 0.065 or 6.5% produces a wildly wrong payment.
  • Mixing years and months. The rate period and the number of periods must match. If payments per year is 12, the term must be multiplied by 12.
  • Assuming PMT includes escrow. It does not. Taxes, insurance and mortgage insurance are separate and must be added by hand.
  • Not locking cell references. When filling an amortization table, relative references shift and break the formulas. Use absolute references such as $B$6 for the payment and rate.

Tips

  • Duplicate the sheet and change one input at a time to compare a 15-year versus 30-year term, or a lower rate against a higher one.
  • Add a row above the table that sums the interest column so you can see the lifetime interest cost without scrolling.
  • Keep inputs in their own block with a border or fill colour so it is obvious which cells are safe to edit.
  • Use a named range for the rate if you build several sheets, so a single edit updates every table.
  • Round the displayed payment down rather than up when budgeting, so your estimate is slightly conservative.

Troubleshooting

  • You see #NUM! or #VALUE! A cell contains text or a percentage typed as text. Re-enter the input as a number, and check that the payments-per-year cell is not zero.
  • The payment looks far too high or too low. You almost certainly entered the rate as a whole number or forgot to divide by the payment frequency. Recheck B2 and B4.
  • The ending balance never reaches zero. Your filled range is too short, or you copied a formula with a broken absolute reference. Check the last row that should exist for your term.
  • Every row shows the same interest. The beginning balance is not linked to the previous ending balance. Make sure the beginning-balance cell points to the prior row's ending balance.
  • Your payment differs from the lender's quote. Lenders round the payment to the cent, may charge fees rolled into the loan, and often quote an APR rather than the note rate. Compare principal and interest against the note rate first.

Frequently Asked Questions

What does the PMT function actually calculate?

It returns the constant payment needed to pay off a loan over a fixed number of periods at a fixed interest rate, assuming payments are made on schedule. That is exactly how a standard fixed-rate mortgage works.

Why is my PMT result negative?

Excel treats outgoing cash as negative. Either enter the loan amount as a negative value or wrap the formula in ABS to display a positive figure.

Can I use this for a variable-rate mortgage?

Not directly. PMT assumes one rate for the whole term. For a variable rate you would recalculate the remaining balance and payment each time the rate changes, using the outstanding balance and remaining months.

Does this include property tax and insurance?

No. The result is principal and interest only. Add monthly escrow amounts separately to get a total housing payment.

Do I need any add-ins or macros?

No. Everything here uses built-in functions and plain cell formulas, so it works in Excel for the web and on mobile as well as desktop.

How do I see the effect of one extra payment a year?

Add an extra-payment column to the amortization table and include it in the principal calculation. The payoff date shortens and lifetime interest drops, though the scheduled PMT figure stays the same.