How to Calculate a Monthly Mortgage Payment
A fixed-rate mortgage payment comes from one formula that uses three inputs: the amount you borrow, the interest rate and the number of monthly payments. Here is the formula, a full worked example, and the costs it does not include.
The formula
The standard payment formula for a fixed-rate loan is M = P × r / (1 − (1 + r)−n). M is the monthly payment, P is the amount borrowed, r is the monthly interest rate and n is the number of monthly payments.
The monthly rate is the annual rate divided by 12. A 6% loan has r = 0.06 / 12 = 0.005. The number of payments is the term in years times 12, so a 30-year loan has n = 360.
The formula works because it finds the level payment that brings the balance to exactly zero after the last payment, with interest charged each month on whatever is still owed.
Skip the algebra: enter your loan amount, rate and term.
Open the Mortgage Calculator →A worked example
Say you borrow $300,000 at 6% for 30 years. That gives P = 300,000, r = 0.005 and n = 360.
First work out (1 + r)−n. 1.005 raised to the power of 360 is about 6.0226, so its inverse is about 0.1660. Subtract that from 1 and you get 0.8340.
The top of the fraction is 300,000 × 0.005 = 1,500. Divide 1,500 by 0.8340 and the monthly payment is $1,798.65.
Over 360 payments that adds up to $647,515. Take away the $300,000 you borrowed and $347,515 of it is interest, which is more than the loan itself.
Same loan, different terms
Changing the term or the rate moves the payment more than most people expect. All of these are on a $300,000 loan, principal and interest only.
| Rate | Term | Monthly payment | Total interest |
|---|---|---|---|
| 5% | 30 years | $1,610.46 | $279,767 |
| 6% | 30 years | $1,798.65 | $347,515 |
| 7% | 30 years | $1,995.91 | $418,527 |
| 6% | 20 years | $2,149.29 | $215,830 |
| 6% | 15 years | $2,531.57 | $155,683 |
A full percentage point on the rate changes this payment by roughly $200 a month. Shortening the term from 30 to 15 years raises the payment by about $733 but cuts the interest by more than half.
What the formula leaves out
The result is principal and interest only. Most monthly housing bills also include property tax, homeowners insurance and, for a small down payment, mortgage insurance. Lenders often collect these in an escrow account and add them to the payment, so the amount you actually send each month can be well above the formula figure.
Homeowners association dues and maintenance are not usually part of the payment, but they belong in any honest budget for the home.
How to check your answer
The easiest check is the first month. Interest in month one is the loan amount times the monthly rate: 300,000 × 0.005 = 1,500. Your payment minus that is the principal you pay off in month one. At $1,798.65, that is $298.65.
If your result is smaller than the first month of interest, something is wrong, because the balance would grow. If it is wildly larger, check that you divided the rate by 12 and used months, not years, for n.
Your lender's Loan Estimate shows the official figure. The formula should match its principal and interest line to within a cent or two.
Mistakes that skew the result
- Using the annual rate as r instead of the monthly rate.
- Using years for n instead of months.
- Forgetting to subtract the down payment from the price first.
- Comparing an interest rate with an APR. They are different numbers; our APR guide explains why.
- Rounding r early. Keep at least six decimal places until the last step.
Frequently asked questions
What is the monthly payment on a $300,000 mortgage?
At 6% over 30 years it is about $1,798.65 for principal and interest. At 5% it is about $1,610.46 and at 7% about $1,995.91.
Does the payment change over time?
On a fixed-rate loan the principal and interest portion stays the same. Taxes, insurance and escrow can change it from year to year.
Why is so much of the early payment interest?
Interest is charged on the remaining balance, which is highest at the start. Each payment shrinks the balance a little, so the interest share falls and the principal share grows.
Sources
General information only, not financial advice. Results are estimates; confirm real figures with your lender or a qualified adviser.