Mortgage Math Explained

Do the Math Yourself: How to Estimate Your Monthly Mortgage Payment Without a Calculator

Understand the components of a mortgage payment and learn the formulas to compute principal and interest by hand or with a simple spreadsheet. Includes taxes, insurance, PMI, and HOA fees.

Calculations on graph paper with a pencil, a calculator, and a small model house, representing the process of estimating mortgage payments.

Understanding a Mortgage Payment (PITI)

A typical monthly mortgage payment includes four main parts: principal, interest, taxes, and insurance—often abbreviated as PITI. If your down payment is less than 20%, you may also owe private mortgage insurance (PMI). In some communities, homeowners association (HOA) fees or condo fees are part of your monthly housing costs, though they are not always included in the mortgage payment itself.

Principal is the amount you borrow to buy the home, before interest is added. Interest is the fee the lender charges for the money you borrow, and it is a percentage of the loan amount. Property taxes are set by local governments and are based on your home’s value; homeowners insurance protects against damage to your home. PMI is a type of insurance that protects the lender—not you—if you stop making payments, and it is generally required when your down payment is less than 20%.

HOA fees are paid to a homeowners association to cover community costs, such as landscaping, amenities, and reserve funds. They are usually paid directly to the HOA, unless your lender collects them as part of an escrow account. For that reason, when you estimate your monthly payment, you need to decide whether to include HOA fees separately or as part of the total monthly housing cost.

  • Principal: the amount you borrowed.
  • Interest: the cost of borrowing, calculated as a percentage of the loan.
  • Property taxes: local taxes based on home value.
  • Homeowners insurance: coverage for certain types of damage.
  • PMI: insurance that protects the lender, required with less than 20% down.
  • HOA fees: community fees, not part of the mortgage unless escrowed.

Sources: Fannie Mae

The Payment Formula: How to Calculate Principal and Interest

For a fixed-rate mortgage, you can calculate the monthly principal and interest payment using a standard formula. The formula uses the loan amount, the monthly interest rate, and the number of monthly payments. The monthly interest rate is the annual interest rate divided by 12, expressed as a decimal.

In plain notation, the formula is: M = P × [ r(1 + r)^n ] / [ (1 + r)^n – 1 ], where M is the monthly payment, P is the loan principal, r is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments (loan term in years × 12).

To use the formula, first convert the annual interest rate to a monthly rate by dividing by 12. Then determine the total number of payments by multiplying the loan term in years by 12. Substitute these values into the formula to get the monthly payment that will fully amortize the loan. This calculation assumes you make every payment on time and the interest rate stays the same. For an adjustable-rate mortgage, the payment can change as the rate changes, so this fixed-rate formula applies only to the initial period.

Sources: Fannie Mae

What Goes Into Each Payment: Amortization Explained

Amortization is the process of paying down a loan with regular payments. For a fixed-rate mortgage, the payment stays the same each month, but the split between interest and principal changes over time. Early in the loan, a larger portion of your payment goes toward interest. As the principal balance drops, the interest portion gets smaller, and more of your payment goes toward paying down principal.

To calculate the interest for a given month, multiply the current principal balance by the annual interest rate, divide by 100, then divide by 12. The rest of your payment—the amount after subtracting interest—reduces the principal.

You can request an amortization schedule from your lender, which shows the breakdown of interest and principal for every payment over the life of the loan. You can also build your own in a spreadsheet using the same monthly interest calculation. By following the schedule, you can see how much principal you have paid off at any point and how much interest you will pay in total.

  • Interest for a month = (current principal × annual rate) / 100 / 12.
  • Principal portion = total monthly payment – interest for that month.
  • Over time, the principal portion grows and the interest portion shrinks.
  • You can request an amortization schedule from your lender.

Sources: Fannie Mae

Estimating Property Taxes and Homeowners Insurance

Property taxes are set by your local government as a percentage of your home’s value. They can vary widely by location and may include local taxes for services like schools and hospitals. To estimate your property tax payment, you need to know your local tax rate and your home’s assessed value. Then divide the annual tax amount by 12 to get the monthly cost.

Homeowners insurance premiums are based on factors such as the size, age, and location of your home, as well as your chosen deductible. Contacting insurance providers or reviewing local rates can give you a better estimate. Since these costs are highly specific to your property and area, it is best to use a realistic estimate when calculating your total monthly payment.

If you have an escrow account, your lender may collect one-twelfth of your annual property taxes and homeowners insurance each month and set aside those funds to pay the bills when due. In your manual calculation, add these monthly amounts to your principal and interest payment to get the PITI total.

  • Property taxes: annual amount divided by 12.
  • Homeowners insurance: estimated annual premium divided by 12.
  • Escrow accounts can spread these annual costs over monthly payments.

Sources: Fannie Mae

Additional Costs: PMI and HOA Fees

Private mortgage insurance (PMI) is typically required when your down payment is less than 20%. PMI protects the lender, not you, if you stop making payments. The cost of PMI depends on your down payment, credit score, mortgage amount, and mortgage type. It is expressed as a percentage of the loan amount per year.

Based on Fannie Mae guidance, PMI rates generally ranged from 0.58% to 1.86% annually in 2022. These are example numbers for illustration; your actual rate will vary.

PMI can be removed from your payments once you pay down your loan balance to below 80% of your home’s purchase price, or when you achieve 20% equity in your home. Contact your lender to understand the exact requirements.

HOA fees are paid separately from the mortgage unless they are escrowed. They are set by the homeowners association and cover operating costs and reserve funds. When estimating your total monthly housing cost, include HOA fees if they apply in your community.

Both PMI and HOA fees increase your total monthly housing cost. PMI adds an amount that is typically 0.58%–1.86% of the loan amount per year, while HOA fees are a fixed monthly charge. These additional costs can affect your ability to qualify for a loan, because lenders consider your total monthly housing expenses when determining how much you can borrow.

  • PMI is a percentage of the loan amount, typically 0.58%–1.86% annually in 2022.
  • PMI depends on down payment, credit score, loan amount, and mortgage type.
  • PMI can be removed at 20% equity or when the balance is below 80% of the purchase price.
  • HOA fees are not part of the mortgage unless escrowed.
  • PMI and HOA fees can increase your total monthly payment and affect loan qualification.

Sources: Fannie Mae

Common Mistakes in Manual Calculations and How to Avoid Them

When calculating a mortgage payment by hand, people often make a few common errors. One is using the annual interest rate instead of the monthly rate. Always divide the annual rate by 12 before applying the formula.

Another mistake is forgetting to include property taxes and insurance, which are part of the total monthly payment for most homeowners. If you are comparing loan offers, be sure to include these in your estimate.

A third error is confusing the interest rate with the APR. The APR includes other costs such as lender fees, so it can be higher than the nominal interest rate. For payment calculations, use the nominal interest rate, not the APR.

Finally, make sure you use the correct number of payments. A 30-year loan has 360 monthly payments, while a 15-year loan has 180. Using the wrong term will change the result significantly. Double-check your inputs to avoid these pitfalls.

Sources: Fannie Mae

Frequently asked questions

What is included in a typical monthly mortgage payment?

A typical monthly mortgage payment includes principal, interest, property taxes, homeowners insurance, and, if applicable, private mortgage insurance (PMI). Some homeowners also pay HOA fees as part of their monthly housing costs, though those are not part of the mortgage payment unless escrowed.

Sources: Fannie Mae
How do I calculate the monthly payment if I know the interest rate?

To calculate the monthly payment for a fixed-rate loan, use the formula M = P × [ r(1 + r)^n ] / [ (1 + r)^n – 1 ], where P is the loan amount, r is the monthly interest rate (annual rate divided by 12), and n is the total number of monthly payments.

Sources: Fannie Mae
What is PMI and how does it affect my payment?

PMI is private mortgage insurance that protects the lender if you stop making payments. It is generally required when your down payment is less than 20%. PMI is calculated as a percentage of the loan amount, and in 2022 it typically ranged from 0.58% to 1.86% annually. You can request removal once you have 20% equity or your balance falls below 80% of the purchase price.

Sources: Fannie Mae
How can I compare a 15-year and 30-year loan payment?

To compare, calculate the monthly principal and interest payment for each term using the same loan amount and interest rate. Use the formula with n = 180 for 15 years and n = 360 for 30 years. A longer term gives a lower monthly payment but more total interest over the life of the loan; a shorter term increases the monthly payment but reduces total interest.

Sources: Fannie Mae

Sources

  1. Mortgage calculator | Fannie Mae — Fannie Mae
  2. Mortgage Refinance Calculator | Fannie Mae — Fannie Mae
  3. Homebuyer Frequently Asked Questions | Fannie Mae — Fannie Mae
  4. What to Know About PMI | Fannie Mae — Fannie Mae
  5. What you need to know about your homeowners ... — Fannie Mae
  6. Mortgage Affordability Calculator | Fannie Mae — Fannie Mae