Mortgage Calculator Guide

How to Calculate Your Monthly Mortgage Payment

A step-by-step guide to estimating your monthly mortgage payment, including principal, interest, taxes, insurance, and PMI.

The Core Formula for Mortgage Payments

The foundation of any mortgage payment is the principal and interest portion. For a fixed-rate mortgage, you can calculate this using a standard formula that takes into account the loan amount, the annual interest rate, and the loan term. The result is a consistent monthly payment for principal and interest that remains unchanged for the life of the loan.

The formula is: M = P × [r(1 + r)^n] / [(1 + r)^n – 1], where M is the monthly payment, P is the loan principal (amount borrowed), r is the monthly interest rate (annual rate divided by 12), and n is the number of monthly payments (loan term in years multiplied by 12). This formula gives you the exact payment needed to pay off the loan over the term at the given interest rate.

It's important to distinguish the nominal annual interest rate used in this calculation from the APR, which may include additional fees and costs. In this guide, we focus on the component that goes toward your loan principal and interest.

Sources: Fannie Mae

An illustration of a calculator with a small house on its screen, surrounded by coins and a percentage symbol.

Understanding PITI: Principal, Interest, Taxes, and Insurance

Your total monthly mortgage payment commonly includes more than just principal and interest. It may also include property taxes, homeowners insurance, and possibly private mortgage insurance (PMI) and HOA fees. Together, these components are often referred to as PITI, which stands for Principal, Interest, Taxes, and Insurance.

Property taxes are annual taxes set by your local government, often calculated as a percentage of your home's value. They may fund schools and hospitals and can vary significantly depending on where you live. Homeowners insurance is an annual premium that protects your home and belongings; it's often divided by 12 and included in your monthly payment.

When you escrow these amounts, your mortgage servicer collects a portion each month and pays the taxes and insurance on your behalf. This arrangement helps you budget for these expenses, but it also means your monthly payment can change if tax rates or insurance premiums change. The affordability calculator from Fannie Mae takes all these factors into account.

Sources: Fannie Mae

Worked Example: 30-Year Fixed-Rate Mortgage

Let's walk through a typical example. Suppose you are considering a 30-year fixed-rate mortgage for $300,000 at an annual interest rate of 6%. To calculate your monthly principal and interest payment, you would first divide 6% by 12 to get a monthly interest rate of 0.5% (0.005 in decimal form). The total number of payments is 30 years times 12 months, which equals 360.

Using the formula M = P × [r(1 + r)^n] / [(1 + r)^n – 1], plug in P = $300,000, r = 0.005, and n = 360. The result is a monthly principal and interest payment of approximately $1,799. Over the life of the loan, you would pay a total of about $647,514, of which $347,514 is interest.

Remember that your actual monthly payment will likely be higher than the principal and interest alone because it will also include property taxes, homeowners insurance, and possibly PMI or HOA fees. You can use this formula to estimate your own payment by plugging in your loan amount, interest rate, and term.

Sources: Fannie Mae

How Loan Term Affects Your Payment and Total Interest

The length of your loan term has a significant impact on your monthly payment and the total interest you pay. A longer loan term, such as 30 years, results in lower monthly principal payments because you're spreading the repayment over more months. However, you'll pay more total interest over the life of the loan. Conversely, a shorter term, such as 15 years, results in higher monthly principal payments but significantly less total interest.

These figures illustrate the trade-off between monthly affordability and long-term cost.

These numbers are calculated using the same formula described earlier; they assume the interest rate remains fixed for the entire term. When choosing a loan term, consider your monthly budget and your long-term financial goals. Some fixed-rate mortgages are also available with 20-year terms, offering a middle ground. Fannie Mae notes that the rate remains constant for the entire term, so planning is easier.

Example: $200,000 fixed-rate loan at 6% interest
Loan TermMonthly Payment (Principal & Interest)Total Interest Paid
30 years~$1,199.10~$231,676.38
15 years~$1,687.71~$103,788.46

Sources: Fannie Mae

Adjusting the Calculation for Different Interest Rates

The interest rate you secure has a direct impact on your monthly payment. A higher rate means a higher monthly payment, while a lower rate reduces it.

These calculations use the same standard formula.

When comparing loan offers, consider not only the monthly payment but also the total interest cost over the life of the loan. Even a small difference in the interest rate can amount to thousands of dollars in interest over 30 years.

Remember that the interest rate is not the same as the APR. The APR includes the interest rate plus certain fees, giving you a more complete picture of the cost of borrowing. Lenders are required to disclose the APR, so you can compare offers on a more equal basis.

Example: $200,000 30-year fixed-rate loan at different rates
Interest RateMonthly Payment (Principal & Interest)Total Interest Paid
5.5%~$1,136~$208,808
6.5%~$1,264~$255,088

Sources: Fannie Mae

How to Follow the Mortgage Calculation Guide for Comparisons

You can use the mortgage payment calculation to compare different loan options side by side. The goal is to compare not just the monthly payment, but also the total interest you would pay over the life of the loan.

Follow these steps for each loan option you are considering:

Once you have these estimates, you can compare the monthly payments and total costs. Remember that these are estimates; a lender can provide a personalized quote based on your credit, income, and other factors. Online calculators, such as those from Fannie Mae, can also help you estimate these numbers quickly.

When comparing, be sure to use the same assumptions for taxes, insurance, and PMI across all options so you are making an apples-to-apples comparison. Consider both the monthly affordability and the long-term cost, as a lower monthly payment may come with higher total interest.

  • Calculate the principal and interest payment using the formula for each loan amount, interest rate, and term.
  • Estimate property taxes and homeowners insurance for the home, and divide by 12 to get the monthly escrow amount.
  • Add PMI if your down payment is less than 20% and the loan is conventional.
  • Add any HOA fees that apply.
  • Compare the total monthly payments and the total interest paid over the loan term for each option.

Sources: Fannie Mae

The Role of Private Mortgage Insurance (PMI)

Private mortgage insurance, or PMI, is typically required on conventional loans when your down payment is less than 20% of the home's purchase price. PMI protects the lender—not you—if you stop making payments. Because PMI is an additional cost, it increases your monthly mortgage payment.

The exact cost of PMI varies depending on the loan size, credit score, and loan-to-value ratio, but it is not included in the principal and interest formula. To estimate your total monthly payment, you would need to add the PMI premium, which is often paid monthly. One way to avoid PMI is to make a larger down payment (at least 20%), which also reduces the amount you need to finance and lowers your overall monthly payment.

When calculating your monthly payment, be sure to include PMI if it applies. Not all loans require PMI—for example, government-backed loans may have different mortgage insurance requirements—but for conventional loans, the 20% down payment threshold is a key factor.

Sources: Fannie Mae

Using Online Calculators and Their Limitations

Online mortgage calculators, like the ones provided by Fannie Mae, are useful tools for estimating your monthly mortgage payment. They can help you compare different loan amounts, interest rates, and terms. However, these calculators provide estimates only and do not guarantee loan approval. They do not factor in all possible costs or your personal financial situation.

It's important to understand that a calculator's output is based on the inputs you provide and certain assumptions. For example, property tax rates and insurance premiums can vary widely by location, so you'll need to enter accurate figures to get a realistic estimate. Fannie Mae's calculators also allow you to include property taxes, homeowners insurance, HOA fees, and PMI in the estimate.

For a personalized quote and a more precise calculation, contact a lender. They can evaluate your credit, income, and assets to give you a more accurate picture of what you can afford and what your monthly payment might be.

  • Estimates are based on inputs you provide; they don't guarantee loan approval.
  • Property taxes and insurance vary by location; use accurate local figures.
  • Lenders can provide personalized quotes based on your financial profile.
  • Online calculators are a starting point, not a final answer.

Sources: Fannie Mae

Refinancing and Its Impact on Payment

Refinancing involves replacing your existing mortgage with a new one, often to take advantage of lower interest rates or to change the loan term. Refinancing can lower your monthly payment if you get a lower interest rate, but it can also raise it if you shorten the loan term. Fannie Mae notes that refinancing a 30-year term loan with a 15-year term will likely raise the monthly payment but save a substantial amount of interest over the life of the loan.

It's also important to know that refinancing typically costs between 2% and 5% of the amount of the new loan. These closing costs can offset some of the savings, so it's essential to calculate whether the long-term interest savings outweigh the upfront costs.

You can use the same mortgage payment formula to estimate your new monthly payment after refinancing. Input the new loan amount, interest rate, and term to see how your payment and total interest would change. Fannie Mae's refinance calculator can help with this comparison.

Sources: Fannie Mae

Frequently asked questions

What is included in a monthly mortgage payment?

A monthly mortgage payment commonly includes principal and interest, and may also include property taxes, homeowners insurance, private mortgage insurance (PMI), and HOA fees. The combination of principal, interest, taxes, and insurance is often called PITI. Principal and interest pay down the loan and cover the cost of borrowing, while taxes and insurance are typically escrowed and paid by the lender on your behalf.

Sources: Fannie Mae
How do property taxes and insurance affect my payment?

Property taxes are annual taxes set by your local government, often a percentage of your home's value, and can include school and hospital taxes. Homeowners insurance is an annual premium that protects your home. Both are often divided by 12 and included in your monthly mortgage payment. These amounts can vary by location and can change over time, which can affect your total monthly payment if they are escrowed.

Sources: Fannie Mae
What is PMI and how does it change the calculation?

Private mortgage insurance (PMI) is generally required on conventional loans when the down payment is less than 20% of the home's purchase price. PMI protects the lender, not the borrower, if the borrower stops making payments. PMI adds an extra cost to your monthly payment, which you need to include in your total calculation. Making a larger down payment (at least 20%) can help you avoid PMI altogether.

Sources: Fannie Mae
How does a longer loan term affect monthly payments?

A longer loan term, such as 30 years, results in lower monthly principal payments because you are spreading the repayment over more months. However, you'll pay more total interest over the life of the loan. A shorter term, such as 15 years, results in higher monthly principal payments but less total interest.

Sources: Fannie Mae
How can I understand the effect of extra payments?

Extra payments directly reduce your loan principal, which can shorten your loan term and lower the total interest you pay. To estimate the effect, you can use the mortgage payment formula to recalculate your payment with a shorter term or follow this online practical guide that allows you to input extra payment amounts. Be sure to specify that extra payments be applied to principal.

Sources: Fannie Mae

Sources

  1. Mortgage calculator | Fannie Mae — Fannie Mae
  2. Mortgage Affordability Calculator — Fannie Mae
  3. Mortgage Refinance Calculator — Fannie Mae
  4. Get to Know the Types of Mortgage Loans — Fannie Mae