A mortgage is usually the largest loan most people ever take on, and the monthly payment is the number that shapes your budget for decades. Understanding exactly how that payment is calculated — and what changes it — helps you shop for a home with confidence, avoid surprises, and plan your finances. This guide breaks down the mortgage payment formula, explains every variable, and shows a worked example you can follow.
What Is a Mortgage Payment?
A mortgage payment is the fixed amount you pay each month to repay a home loan. Each payment covers two parts: interest (the cost of borrowing) and principal (the portion that reduces your loan balance). Early in the loan, most of your payment goes toward interest. Over time, more goes toward principal. Some mortgages also include property tax and insurance in the payment, known as PITI.
- Principal — the amount you borrowed to buy the home.
- Interest — the lender's charge for lending you the money, calculated as a percentage of your balance.
- Term — the total length of the loan, commonly 15 or 30 years.
- Down payment — the upfront amount you pay, which reduces the loan size.
The Mortgage Payment Formula
The standard formula for a fixed-rate mortgage payment is the same as any amortizing loan:
A mortgage payment is calculated so that a fixed monthly amount pays off the entire loan — principal plus interest — exactly by the end of the term.
M = P × [ r(1+r)^n ] / [ (1+r)^n − 1 ]
- M = the monthly mortgage payment
- P = the loan principal (amount borrowed)
- r = the monthly interest rate (annual rate divided by 12, as a decimal)
- n = the total number of monthly payments (years × 12)
A Worked Example
Suppose you borrow $250,000 at a 6% annual interest rate for 30 years. First, convert the rate to a monthly decimal: 6% ÷ 12 = 0.005. The number of payments is 30 × 12 = 360.
Plugging these into the formula gives a monthly payment of roughly $1,499. Over 360 months you would pay about $539,000 total, meaning roughly $289,000 in interest — more than the amount you borrowed. This is why the interest rate and term matter so much: a small change in rate can add or save tens of thousands of dollars.
What Changes Your Payment
Several factors move your monthly payment up or down:
The interest rate is the most powerful — even a 0.5% change can shift your payment noticeably and change your total interest over the life of the loan. A longer term lowers the monthly payment but increases total interest. A larger down payment reduces the loan amount, lowering both payment and interest. Private mortgage insurance (PMI) is usually required if you put less than 20% down, adding to your cost until you build enough equity.
- Lower rate → lower payment and less total interest
- Shorter term → higher payment but far less total interest
- Larger down payment → smaller loan, lower payment
- Less than 20% down → PMI may be added
Try It Yourself
The best way to understand your own numbers is to run them. Our free mortgage payment calculator lets you enter any loan amount, rate, and term and instantly shows your monthly payment, total interest, and total repayment. You can also explore how different rates and terms change your cost with the home affordability and loan payment calculators.
Experiment with the numbers before you apply — seeing how rate and term affect your payment is the key to choosing a mortgage that fits your budget.
A Worked Mortgage Example
A 300,000 home with a 20% down payment leaves a loan of 240,000. At 6% a year over 30 years (360 payments at a monthly rate of 0.5%), the principal and interest payment is about 1,438.92. Over the full term you would pay about 518,012 — roughly 278,012 of it interest.
Shorten the term to 15 years at the same rate and the payment rises to about 2,025.26, but total interest falls to about 124,546. Add property tax, home insurance and any mortgage insurance to see your real monthly housing cost.
Common Mistakes to Avoid
- Budgeting for principal and interest only and forgetting taxes, insurance and maintenance.
- Assuming an introductory rate on an adjustable-rate mortgage will last for the whole term.
- Borrowing the maximum the bank offers instead of a payment that still leaves room for saving.
Frequently Asked Questions
How much of my income should go to a mortgage?
A common guideline keeps housing costs under about 28% of gross monthly income and all debt payments under about 36%. Lenders’ limits vary by country and bank.
Is it worth making extra payments?
Usually, if there is no prepayment penalty. On the 240,000 loan above, paying an extra 100 a month ends the loan almost 5 years early and saves about 51,000 in interest.
Key Takeaways
- A mortgage payment has two parts: interest and principal.
- The formula M = P × [r(1+r)^n] / [(1+r)^n − 1] determines a fixed monthly payment that pays off the loan by the end of the term.
- The interest rate and loan term are the biggest drivers of both your monthly payment and total interest paid.
- Running your own numbers with a calculator is the best way to compare mortgage options.