How is a mortgage payment calculated?
The principal-and-interest payment on a fixed-rate mortgage comes from one formula. Tax, insurance, PMI and HOA fees are then added on top.
- M: monthly principal-and-interest payment
- P: loan amount (home price minus down payment)
- r: monthly interest rate (annual rate ÷ 12)
- n: number of monthly payments (years × 12)
Worked example
Price $400,000, down payment $80,000, so P = $320,000. Rate 6.25% a year, so r = 0.52083% a month. Term 30 years, so n = 360 and (1 + r)n = 6.4892.
M = $320,000 × 0.0052083 × 6.4892 ÷ 5.4892 = $1,970.30
Add property tax ($4,800 ÷ 12 = $400) and home insurance ($1,500 ÷ 12 = $125) and the monthly payment is $2,495.30. No PMI applies because the down payment is 20%.
What is included in the monthly payment?
| Part | What it is | Example |
|---|---|---|
| Principal & interest | Repays the loan and pays the lender's interest. Fixed for the whole term on a fixed-rate loan. | $1,970 |
| Property tax | Charged by your county or city on the home's assessed value. Often paid through escrow. | $400 |
| Home insurance | Covers damage to the home. Lenders require it. | $125 |
| PMI | Private mortgage insurance, usually required with less than 20% down on a conventional loan. | $0 (20% down) |
| HOA fees | Homeowners association dues, if the home has them. Paid to the association, not the lender. | $0 |
Property tax, insurance and PMI rates differ by place, home and lender. The defaults are examples so the calculator shows a complete payment; open "Taxes, insurance, PMI, HOA" to enter yours.
30-year vs 20-year vs 15-year mortgage
A shorter term has a higher payment and far less interest. On the example $320,000 loan at 6.25%:
| Term | Principal & interest | Total interest |
|---|---|---|
| 30 years | $1,970/mo | $389,306 |
| 20 years | $2,339/mo | $241,353 |
| 15 years | $2,744/mo | $173,876 |
The same rate is used for each term to isolate the effect of the term; lenders usually price them differently. To compare two real offers with their own rates, use the 15 vs 30 year mortgage calculator.
How much do extra payments save?
Paying $200 extra every month on the example loan saves $99,019 in interest and pays it off 6 years 6 months sooner. Choose "Add extra payments" in the calculator, or open the mortgage calculator with extra payments for monthly, yearly and one-time amounts compared, or see what biweekly payments do. Thinking of replacing the loan? The refinance calculator finds the break-even point, and the house affordability calculator works back from your income.
What does this calculator assume?
- A fixed interest rate, compounded monthly, with one payment at the end of each month.
- PMI is charged when the loan is more than 80% of the price and is shown in the starting payment. The calculator does not model the month PMI ends.
- Property tax, insurance and HOA fees stay the same; in practice they change over the years.
- Closing costs, points and adjustable rates are not included.
Questions people ask
How much is the monthly payment on a $400,000 house?
With 20% down ($80,000), a 30-year fixed loan of $320,000 at 6.25% costs $1,970 a month in principal and interest. Adding $400 property tax and $125 home insurance brings it to $2,495 a month. The rate, tax and insurance are examples; enter your own.
What is included in a monthly mortgage payment?
Principal and interest on the loan, plus property tax and home insurance if the lender collects them in an escrow account. Private mortgage insurance (PMI) is added when the down payment is under 20%, and homeowners association (HOA) fees apply to some homes.
What is PMI and when do I pay it?
Private mortgage insurance (PMI) protects the lender, not you, if you stop paying. Lenders usually require it on a conventional loan when the down payment is less than 20% of the price. With 10% down on the example home, PMI at 0.5% of the loan a year adds $150 a month. You can ask to cancel PMI when the balance is scheduled to reach 80% of the home's original value, and it must end automatically at 78% if your payments are current.
How much interest do I pay over 30 years?
On the example $320,000 loan at 6.25%, total interest over 30 years is $389,306, more than the amount borrowed. A 15-year term raises the payment to $2,744 a month but cuts total interest to $173,876.
Does the calculator include closing costs?
No. Closing costs are paid once, when the loan starts, and are not part of the monthly payment. Your lender lists them on the Loan Estimate.
Is 6.25% today's mortgage rate?
No. 6.25% is an example, not a quote or a current average. Use the rate on your lender's Loan Estimate.
Sources
- Consumer Financial Protection Bureau (CFPB): What is private mortgage insurance?
- CFPB: When can I remove private mortgage insurance (PMI) from my loan?
- CFPB: Mortgage key terms (escrow, principal, interest, prepayment penalty)
- CFPB: Your home loan toolkit (PDF)
Published by wiseowlcalc · Last updated · United States, 2026 · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy). The 6.25% rate is an example, not a current rate.
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.