How a mortgage payment is calculated
A fixed-rate mortgage is repaid in equal monthly payments of principal and interest. On top of that, many lenders collect property tax and home insurance each month, and some loans add mortgage insurance (PMI) or homeowners' association (HOA) fees.
The formula
L is the loan (price minus down payment), r the monthly rate (yearly rate ÷ 12 ÷ 100) and n the number of monthly payments.
M = L × r × (1 + r)ⁿ ÷ ((1 + r)ⁿ − 1)
A worked example
A $400,000 home with $80,000 down leaves a $320,000 loan. At 6.5% for 30 years, r = 0.0054167 and n = 360.
M = $2,022.62 a month for principal and interest. Over 30 years that is $408,142 in interest.
Tax, insurance, PMI and HOA
Yearly property tax and insurance are split into 12 monthly parts. PMI is a yearly percentage of the loan, charged until the balance falls to 78% of the home's price. HOA fees are added as they are.
Three ways to pay less
- A shorter loan saves the most. The same $320,000 at 6.5% over 15 years costs $2,787.54 a month but only $181,758 in interest, about $226,000 less than over 30 years.
- Put 20% down if you can. In the US, a down payment under 20% usually means paying PMI until you reach about 22% equity.
- Small rate cuts matter. On $320,000 over 30 years, 6% instead of 6.5% lowers the payment by about $104 a month and saves about $37,500.
Questions people ask about mortgages
How is a monthly mortgage payment calculated?
Principal and interest use M = L × r × (1 + r)ⁿ ÷ ((1 + r)ⁿ − 1), where L is the loan, r the monthly rate and n the number of payments. Property tax, insurance, PMI and HOA fees are then added. Tap "Show the working" to see your own numbers.
What is included in a mortgage payment?
Often called PITI: principal, interest, property taxes and insurance. Some loans also include PMI (private mortgage insurance), and HOA fees may be paid separately or alongside.
What is PMI and when does it stop?
PMI protects the lender when your down payment is under 20% on a conventional US loan. It usually costs about 0.3% to 1.5% of the loan a year. By law it ends automatically once the balance is scheduled to reach 78% of the home's original value, and you can ask to cancel it at 80%.
How much should I put down?
20% avoids PMI on most conventional loans, but many buyers put down less. A bigger down payment lowers the loan, the monthly payment and the total interest.
15-year or 30-year mortgage?
A 15-year loan has a higher monthly payment but usually a lower rate and far less total interest. A 30-year loan keeps the monthly payment lower. Compare both with the 15 and 30 buttons above.
Does this work outside the US?
Yes. The payment formula is the same for any fixed-rate home loan. Pick your currency, and leave PMI and HOA at 0 if they do not apply where you live. In India, the same monthly amount is usually called the EMI.
Is this the exact payment my lender will charge?
It is a close estimate for a fixed rate. Lenders may round differently, and taxes, insurance and fees change over time. Your loan estimate or offer letter has the exact figures.
Is my information saved or shared?
Your numbers stay on your device. The maths runs in your browser, and your last entries are kept only in your browser so they are there next time. Nothing is sent to Calczora.