The basic formula for your monthly payment
Your monthly home loan payment comes from a formula that takes three pieces of information: how much you borrowed, the interest rate, and how many months you have to pay it back. Banks use this same formula, and you can do it yourself with a calculator.
The formula is: M = P × [r(1 + r)^n] / [(1 + r)^n − 1]
Here is what each letter means:
- M is your monthly payment (the number you are looking for)
- P is the principal — the amount you borrowed
- r is your monthly interest rate (your annual rate divided by 12)
- n is the total number of monthly payments (years × 12)
The formula looks complicated because it accounts for the fact that interest compounds — you pay interest on the interest. But once you plug in your three numbers, a basic calculator can handle it.
Key Takeaways
- Your monthly payment depends on three things: the loan amount, the interest rate, and the loan term in months.
- You can calculate your payment using the standard amortization formula, or use an online calculator that does the math for you.
- A higher interest rate or shorter loan term raises your monthly payment; a lower rate or longer term lowers it.
- Your actual payment may be higher if it includes property taxes, insurance, and mortgage insurance, which are often bundled together.
- Knowing how to calculate your payment helps you compare loan offers and understand what you are actually paying for.
Working through a real example
Say you borrow $300,000 at 6.5% annual interest over 30 years. First, convert the annual rate to a monthly rate: 6.5% ÷ 12 = 0.542% per month, or 0.00542 as a decimal. The number of payments is 30 years × 12 months = 360 payments.
Plugging into the formula: P = $300,000, r = 0.00542, n = 360. The calculation gives you a monthly payment of roughly $1,896 before taxes and insurance. The exact number depends on how many decimal places you carry through the calculation, which is why online calculators are useful — they handle the rounding for you.
If you change just one number, the payment changes. The same loan at 5.5% interest drops to about $1,703 per month. At 7.5%, it rises to about $2,098. Even a half-percent difference in rate adds up over 360 payments.
Why online calculators are faster than doing it by hand
The formula requires you to raise numbers to the power of 360 (or whatever your payment count is), which is tedious without a computer. Most people use an online mortgage calculator instead, which does the formula when ready and shows you the result.
A good calculator lets you change one number at a time and see how it affects your payment. You can test what happens if you put down more money, choose a 15-year term instead of 30, or lock in a lower rate. This is useful when you are comparing loan offers from different lenders.
Free calculators are available from most banks, from mortgage websites, and from government resources like the Consumer Financial Protection Bureau. They all use the same formula behind the scenes.
What your payment includes — and what it does not
The formula above gives you only the principal and interest portion of your payment. In real life, your monthly bill often includes other costs bundled together.
PITI is the term lenders use for the four parts: Principal, Interest, Taxes, and Insurance. Property taxes and homeowners insurance are required by your lender if you have a mortgage. If you put down less than 20%, you also pay PMI (private mortgage insurance), which protects the lender if you stop paying.
These extras vary by location and by your specific loan. A property in a high-tax area costs more to insure and tax than the same house elsewhere. Your lender can give you an estimate of the full PITI payment before you sign anything.
How interest rate changes affect your payment
Interest rate is the single biggest lever on your monthly payment. A 1% difference in rate can change your payment by $200 to $300 per month on a $300,000 loan — that is $2,400 to $3,600 per year.
Rates change based on market conditions, your credit score, your down payment size, and the loan term you choose. A 15-year loan usually has a lower rate than a 30-year loan, but your monthly payment is higher because you are paying off the principal faster. A 30-year loan spreads the payments over more months, so each one is smaller, but you pay more interest overall.
When you are comparing loan offers, always compare the interest rate, not just the monthly payment. A lower payment might come from a longer term, not a better rate — and you would pay more interest in the end.
How loan term affects what you pay over time
The length of your loan (the term) changes both your monthly payment and the total amount you pay. A 15-year loan has higher monthly payments but lower total interest. A 30-year loan has lower monthly payments but higher total interest.
Using the $300,000 loan at 6.5% as an example: a 30-year term costs about $1,896 per month and $682,000 total over the life of the loan (that is $382,000 in interest). A 15-year term costs about $2,596 per month but only $467,000 total (that is $167,000 in interest). The 15-year loan costs $700 more per month but saves you $215,000 in interest.
The right choice depends on your budget and your goals. If you can afford the higher payment and want to own your home free and clear sooner, a shorter term makes sense. If you need the lower payment to fit your monthly budget, a longer term is the right choice — just know you are paying more interest.
Using the formula to compare different loan scenarios
The real power of understanding the formula is that you can test different scenarios before you commit to a loan. Change the down payment amount, and the principal (P) changes. Change the interest rate, and r changes. Change the years, and n changes. Each change shows you exactly how much your payment shifts.
This is especially useful when you are deciding between a larger down payment and a smaller one. Putting down 20% instead of 10% lowers your principal and eliminates PMI, but it also means less cash in your pocket right now. The formula lets you see the exact monthly savings and decide if it is worth it.
You can also use it to understand why a lender's offer changed. If a lender quotes you a different payment than you calculated, ask them to break down the principal, interest, taxes, insurance, and PMI. One of those numbers is different from what you assumed.
Frequently Asked Questions
Can I use this formula for other types of loans?
Yes. The amortization formula works for any loan where you make equal monthly payments — car loans, personal loans, student loans. The only difference is the numbers you plug in. A car loan might be $25,000 at 5% over 60 months; a personal loan might be $10,000 at 8% over 36 months. The formula is the same.
What if my interest rate is variable instead of fixed?
The formula assumes a fixed rate that does not change. If your rate is variable (it changes over time), you can only calculate the payment for the period when the rate is locked. Once the rate changes, you recalculate with the new rate and new remaining balance. Your lender will tell you when and how often the rate adjusts.
Why does my actual payment differ from what the calculator shows?
The most common reason is that the calculator only showed principal and interest, but your actual payment includes taxes, insurance, and PMI. Ask your lender for a loan estimate, which breaks down all four parts. The other reason is rounding — different calculators round at different decimal places, so you might see small differences ($5 to $10) between them.
Does paying extra principal change the formula?
The formula calculates your required monthly payment. If you pay extra toward principal, you reduce the balance faster and pay off the loan early, but the formula itself does not change. Your lender can tell you how much faster you would pay off the loan if you added a specific extra amount each month.
What is the difference between APR and interest rate?
The interest rate is what you pay on the borrowed money. The APR (annual percentage rate) includes the interest rate plus other costs like origination fees and points, expressed as a yearly rate. The formula uses the interest rate, not the APR. Your lender must show you both on your loan estimate.