Smart Systems for Home

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

Excel Calculate Mortgage: Step-by-Step Guide

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

Yes, you can calculate a mortgage payment in Excel using the built-in PMT function. The formula is =PMT(rate, nper, pv), where rate is the monthly interest rate, nper is the total number of payments, and pv is the loan amount (entered as a negative number). This guide walks you through setting up a complete mortgage calculator, including principal and interest breakdown, amortization schedule, and what-if scenarios.

What You'll Need

  • Microsoft Excel (any recent version, desktop or online)
  • Loan details: principal amount, annual interest rate, loan term in years
  • Optional: property tax, insurance, and HOA figures if you want a full monthly payment estimate

Step-by-Step

  1. Open a new Excel worksheet. Label cells A1 through A4 as: Loan Amount, Annual Interest Rate, Loan Term (Years), and Payments per Year. Enter your values in column B. For example, B1 = 250000, B2 = 6.5% (enter as 0.065 or use the percent format), B3 = 30, B4 = 12.
  2. Calculate the monthly interest rate. In a new cell (say B5), enter =B2/B4. This converts the annual rate to a monthly rate. For a 6.5% annual rate with 12 payments per year, this gives 0.0054167 (or 0.54167%).
  3. Calculate the total number of payments. In B6, enter =B3*B4. For a 30-year loan with monthly payments, this is 360.
  4. Use the PMT function to get the monthly payment. In B7, enter =PMT(B5, B6, -B1). The negative sign before B1 is crucial—it tells Excel the loan is money you owe. The result is your monthly principal and interest payment. For the example above, it returns approximately $1,580.48.
  5. Format the result as currency. Select B7, go to the Home tab, and click the dollar sign ($) in the Number group. This makes the payment readable.
  6. Add optional escrow costs. If you want a total monthly payment including property tax and insurance, enter those annual amounts in B8 (property tax) and B9 (homeowners insurance). In B10, enter =B7 + (B8 + B9)/B4. This adds the monthly escrow portion to your principal and interest payment.
  7. Create an amortization schedule (optional but useful). In columns D through H, set up headers: Period, Beginning Balance, Payment, Interest, Principal, Ending Balance. Start with Period 1 in D2, and in E2 reference your loan amount: =B1.
  8. Fill in the first row of the schedule. In F2, reference the payment: =B7. In G2, calculate interest: =E2*B5. In H2, calculate principal paid: =F2-G2. In I2, calculate the new balance: =E2-H2.
  9. Copy the formulas down for all periods. Select D2:I2, then drag the fill handle down to row 361 (for 360 payments). Excel will adjust the references automatically. For each subsequent row, the beginning balance should reference the previous row's ending balance—for example, E3 = I2.
  10. Check that the final balance reaches zero. After filling down, the last ending balance (I361) should be $0.00 or very close (due to rounding). If it's not, check your formulas and references.
  11. Use what-if analysis for different scenarios. Copy the basic payment formula to a new area, or use Excel's Data Table feature. To do a simple what-if, change the interest rate in B2 and watch B7 update. For a more formal comparison, create a two-variable data table: list different rates in one column and different terms in the top row, then use the TABLE function.

Note: Excel's menu labels and button names can differ slightly by version and operating system, but the core functions and steps are the same across Excel 2016, 2019, 365, and the online version.

Common Mistakes

  • Forgetting the negative sign in the PV argument. If you enter =PMT(B5, B6, B1) without the minus, Excel returns a negative payment, which is confusing.
  • Using the annual rate directly in PMT. The rate must match the payment frequency. For monthly payments, always divide the annual rate by 12.
  • Mixing up term and periods. If you enter the term in years (30) but the rate is monthly, you must multiply years by 12 to get the total number of payments.
  • Ignoring rounding. The PMT result may have many decimal places. Format as currency, but be aware that actual lenders may round differently.
  • Not accounting for escrow in the total payment. The PMT function only covers principal and interest. If you compare with a lender's quote that includes taxes and insurance, your Excel number will look lower.

Tips

  • Use cell references instead of typing numbers directly into formulas. This makes it easy to change assumptions and see results update.
  • Label everything clearly. A well-labeled sheet is easier to audit and share.
  • Use Excel's built-in templates. Search for "mortgage calculator" in the template gallery if you want a pre-built, formatted version.
  • Consider extra payments. To see the impact of paying extra each month, add a column in your amortization schedule for extra payment, subtract it from the ending balance, and adjust the schedule accordingly.
  • Use the IPMT and PPMT functions if you only need the interest or principal portion for a specific period (like for tax deductions). For period 1, =IPMT(B5, 1, B6, -B1) gives the interest; =PPMT gives the principal.
  • Protect your formulas. If you share the sheet, lock the cells with formulas and leave input cells editable.

Troubleshooting

If the PMT function returns an error (#NUM! or #VALUE!): Check that your rate is not negative and that nper is a positive number. Also, ensure the rate and nper are in the same time unit (monthly rate with monthly periods).

If the payment seems too high or too low: Double-check your annual interest rate. A common mistake is entering 6.5 instead of 0.065. If you type 6.5 and format as percentage, Excel treats it as 650%, which gives a huge payment. Enter the rate as a decimal or use the percent format correctly.

If the amortization schedule doesn't end at zero: This usually happens when you copy formulas incorrectly. Make sure each row's beginning balance references the previous row's ending balance, not the original loan amount. Also, check that the last row is included—if you have 360 payments, your schedule should have 361 rows (including the header).

If Excel shows a green triangle warning: This is often just a "number stored as text" warning. Select the cell, click the warning icon, and choose "Convert to Number" if needed.

If the PMT function is not available: This is extremely rare, but if it happens, ensure you're not in a cell with manual calculation mode. Go to Formulas > Calculation Options and select Automatic.

If you get a circular reference warning: This occurs when a formula refers to itself. In the amortization schedule, make sure you don't accidentally reference the cell you're typing in. For example, if you're in E3 and type =E3, that's circular.

Frequently Asked Questions

What does PMT stand for?

PMT stands for "payment." It's Excel's function for calculating the periodic payment for an annuity based on constant payments and a constant interest rate.

Can I calculate a mortgage with bi-weekly payments?

Yes. Set Payments per Year (B4) to 26 instead of 12. The rate per period becomes =B2/26, and the total number of payments becomes =B3*26. The PMT function will give the bi-weekly payment amount.

Does the PMT function include property taxes and insurance?

No. PMT only covers principal and interest. To include taxes and insurance, you must add them separately as shown in Step 6.

How do I calculate the total interest paid over the life of the loan?

Multiply the monthly payment by the total number of payments and subtract the loan amount: =B7*B6 - B1. This gives the total interest. For a 30-year, $250,000 loan at 6.5%, the total interest is about $318,973.

Why is my payment different from the lender's quote?

Lenders often include escrow (taxes, insurance, PMI) in the quoted payment, and they may round up. Also, the exact interest rate may differ slightly, or the loan may have fees that are financed. Use your Excel result as the principal and interest portion, and compare that with the lender's breakdown.

Can I use Excel to compare fixed vs. adjustable rates?

Yes, but for an adjustable-rate mortgage (ARM), the payment changes over time. You can create a sheet with different rates for different periods, or use a simpler approach: calculate the payment for the initial rate and then recalculate for the maximum possible rate to see the worst-case scenario. Excel's built-in ARM calculator templates are also available.