How to Calculate Mortgage Payments: Formula & Example
A mortgage payment is determined by the amount borrowed, the interest rate and the repayment term. For a standard fixed-rate, fully amortizing mortgage, the formula converts those three inputs into a monthly principal-and-interest payment. Your full housing cost may also include property taxes, homeowners insurance, mortgage insurance and association fees.
Mortgage Payment Formula
The standard monthly principal-and-interest formula is:
M = P × [r(1 + r)^n] / [(1 + r)^n − 1]
Each variable represents:
- M: monthly principal-and-interest payment.
- P: principal, or the amount borrowed.
- r: monthly interest rate expressed as a decimal.
- n: total number of monthly payments.
How to calculate a monthly mortgage payment
- Find the loan principal. Subtract your down payment from the purchase price. For example, a $400,000 home with a $50,000 down payment gives a $350,000 loan before any financed fees.
- Convert the annual rate to a monthly rate. For a 6% nominal annual rate, divide 0.06 by 12. The monthly rate is 0.005, or 0.5%.
- Convert the term to monthly payments. Multiply the number of years by 12. A 30-year mortgage has 360 monthly payments; a 15-year mortgage has 180.
- Substitute the values into the formula. Use the principal, monthly rate and number of payments to calculate the fixed monthly principal-and-interest amount.
Worked example: $350,000 at 6% for 30 years
Assume a $350,000 loan, a 6% nominal annual interest rate and a 30-year repayment term. The monthly rate is 0.005 and the payment count is 360. Applying the formula produces an estimated principal-and-interest payment of approximately $2,098 per month. The exact amount depends on rounding and the lender's payment conventions.
This example does not include property taxes, homeowners insurance, private mortgage insurance, HOA fees, closing costs or lender charges. Those items can materially change the amount a homeowner needs to budget.
Principal and interest are not the whole housing payment
Mortgage calculators often show principal and interest separately from other housing expenses. In the United States, the combined amount is sometimes described as PITI: principal, interest, taxes and insurance. Some borrowers also pay mortgage insurance or homeowners association fees. Check which items are included before comparing estimates from different lenders or calculators.
15-year vs. 30-year mortgage
A 15-year term usually means a higher required monthly payment, but the balance is repaid faster and total interest is usually lower. A 30-year term usually means a lower required payment and more cash-flow flexibility, but interest is charged over a longer period. Compare the same loan amount and rate assumptions to see the trade-off clearly.
Try the 15-year mortgage calculator and the 30-year mortgage calculator to compare repayment schedules.
Calculate your own mortgage payment
Enter your purchase price, down payment, interest rate and loan term below. Add property tax, insurance and HOA costs when you have those estimates. The calculator can show your estimated monthly payment and an amortization schedule.
Mortgage Calculator
See the full monthly cost of a home — principal, interest, property tax, insurance and HOA — plus how the balance falls year by year.
Your numbers
= $0 down, $0 borrowed
Taxes, insurance & fees (optional)Excluded
Property tax rules differ by country and region. Leave this closed for a pure principal-and-interest figure, or open it and enter your local numbers.
Enter your numbers and click Calculate to see your results
Estimates only. Does not include closing costs, PMI, or lender-specific fees. Consult a licensed mortgage professional for an actual quote.
Partner spot
Check today's mortgage rates
Lender comparison offers will sit here so you can see whether refinancing or shopping around is worth it.
Sponsored placements will appear here, clearly labelled.
Payment breakdown & loan balance
Advertisement
About this calculator
A mortgage payment is rarely just the loan. Lenders escrow property taxes and homeowners insurance alongside principal and interest, and if the property sits in an association there is an HOA fee on top. Budgeting from a principal-and-interest quote alone is the most common way buyers end up stretched, which is why this calculator shows the combined number first.
The loan portion itself uses the same amortization mathematics as any instalment loan: interest accrues monthly on the outstanding balance and the remainder of the payment retires principal. Over a thirty-year term that ordering matters enormously. In the first decade the balance barely moves; in the final decade it collapses. The yearly table above quantifies that curve so you can see how much equity you would actually hold if you sold early.
Down payment size does two things at once: it reduces the amount borrowed and, once you pass roughly twenty percent, it typically removes private mortgage insurance. Rate matters too — a single percentage point on a large balance can be worth six figures across the full term. Adjust the rate and down payment sliders together to see which lever moves your situation more.
Lenders typically cap borrowing at a debt-to-income ratio, so paying off other loans can matter as much as a bigger down payment. Points and buydowns trade upfront cash for a lower rate — worth it only if you keep the loan long enough to recoup the cost. And remember that adjustable rates can reset upward after the fixed period ends.
Read how the mortgage payment formula actually works, step by step →
FAQ
What does this mortgage calculator include?
It combines principal and interest with monthly property tax, homeowners insurance and any HOA fee, so the headline figure is closer to what actually leaves your bank account each month than a bare principal-and-interest quote.
Is PMI or mortgage insurance included?
No. Private mortgage insurance, closing costs, points and lender-specific fees are excluded. If your down payment is under 20% you should expect an extra monthly premium on top of the figure shown here.
Why is so much of my early payment interest?
Interest is charged on the outstanding balance, which is at its largest at the start. The yearly amortization table shows how the principal share grows every year while the interest share falls.
What is in the Excel export?
A yearly amortization sheet with principal paid, interest paid and ending balance for each year, plus a summary sheet listing your inputs and the full monthly payment breakdown.
Related calculators
Frequently asked questions
Does the mortgage formula include property tax and insurance?
No. The formula calculates principal and interest. Property tax, homeowners insurance, mortgage insurance and HOA fees must be added separately when estimating total housing costs.
Can I calculate a mortgage with no interest?
Yes. If the monthly interest rate is zero, divide the principal by the number of monthly payments. This is a mathematical edge case and is not a typical mortgage offer.
Does paying extra principal reduce total interest?
Additional principal payments can reduce the outstanding balance sooner and may reduce total interest, subject to the loan terms and any prepayment conditions. Check with the lender how extra payments are applied.
For another perspective on borrowing costs, see the guide to how mortgage rates affect your payment.
Related guides