The Basic Formula for Your Monthly Payment

Your mortgage payment comes from a formula that takes three pieces of information: the loan amount you borrowed, the interest rate your lender charges, and how many months you have to pay it back. The formula is called an amortization calculation, and it produces a fixed monthly payment that covers both principal (the money you borrowed) and interest (what the lender charges for lending it).

The simplest way to calculate this is to use a mortgage calculator—you enter the loan amount, interest rate, and loan term in years, and it gives you the monthly payment instantly. But understanding how the number works matters, because small changes in interest rate or loan term swing your payment by hundreds of dollars per month.

If you want to do the math yourself, the formula is: M = P [ r(1 + r)^n ] / [ (1 + r)^n – 1 ], where M is your monthly payment, P is the principal (loan amount), r is your monthly interest rate (annual rate divided by 12), and n is the total number of payments (years times 12). Most people skip this and use a calculator, but the formula shows why a higher rate or shorter term makes the payment jump.

Key Takeaways

  • Your monthly payment depends on three things: how much you borrowed, your interest rate, and how many years you have to repay it.
  • A mortgage calculator (free, online, from your lender, or built into spreadsheet software) gives you an accurate payment in seconds by entering those three numbers.
  • The payment you calculate does not include property taxes, homeowners insurance, or HOA fees—those are added on top and vary by location and property.
  • Changing your interest rate by even 0.5 percent or shortening your loan term by five years can change your monthly payment by $100 to $300 or more.
  • Your actual payment to the lender may be higher than the calculated amount if taxes and insurance are rolled into an escrow account.

What Information You Need Before You Calculate

Gather four pieces of information before you sit down with a calculator. First, the loan amount—this is the price of the home minus your down payment. If you are buying a $300,000 house and putting down $60,000, your loan amount is $240,000.

Second, the interest rate. This is what the lender charges you to borrow the money, expressed as a percentage per year. Rates change daily and depend on your credit score, the size of your down payment, the type of loan (conventional, FHA, VA), and current market conditions. Your lender will give you a rate quote, usually good for 30 to 120 days depending on the lender.

Third, the loan term—how many years you have to repay the loan. The most common terms are 15 years and 30 years. A 15-year mortgage has a higher monthly payment but you pay less interest overall. A 30-year mortgage spreads the payment over more months, so each payment is smaller, but you pay more interest in total.

Fourth, confirm whether you want to calculate the principal and interest only, or whether you want to include property taxes, homeowners insurance, and PMI (private mortgage insurance, if your down payment is less than 20 percent). Most calculators let you add these, but they vary by location and property, so you may need to estimate or call your lender.

Using an Online Calculator vs. Doing the Math Yourself

An online mortgage calculator is the fastest and most accurate route. Enter your loan amount, interest rate, and loan term, and it shows you the monthly payment in seconds. Most calculators also let you add property taxes, insurance, and HOA fees to see your total monthly housing cost. Bankrate, NerdWallet, and most major lenders (Wells Fargo, Chase, Rocket Mortgage) offer free calculators.

Your lender will also provide a calculator on their website, and some lenders build one into their loan estimate form. These are reliable because they use the same formula and rates the lender actually offers.

If you want to calculate by hand, use the amortization formula above, but be prepared for the math—it involves exponents and multiple steps. A spreadsheet like Excel or Google Sheets can do it faster: Excel has a built-in PMT function that takes your rate, number of payments, and loan amount and returns the monthly payment. If you are comfortable with spreadsheets, this is faster than typing numbers into a web calculator.

For most people, an online calculator saves time and reduces the chance of a math error. The trade-off is that you are trusting the calculator's formula, but major financial websites and lenders use the same standard formula, so the results are consistent.

How Interest Rate Changes Affect Your Payment

A small change in interest rate creates a large change in your monthly payment. On a $300,000 loan over 30 years, a rate of 6.5 percent gives a monthly payment of about $1,896 (principal and interest only). At 7 percent, the same loan costs about $1,996 per month—$100 more. At 7.5 percent, it jumps to $2,098.

This matters because lenders quote rates that vary based on your credit score, down payment size, and loan type. A borrower with a 740 credit score might get 6.5 percent, while a borrower with a 680 score might get 7.2 percent on the same loan. Over 30 years, that difference adds up to tens of thousands of dollars in extra interest.

If you are shopping for a mortgage, get rate quotes from at least three lenders. Each quote is usually good for 30 to 120 days, so you can compare the actual numbers. A lower rate saves you money every month for the life of the loan, so it is worth the time to shop.

How Loan Term Affects Your Monthly Payment and Total Interest

Shortening your loan term raises your monthly payment but cuts the total interest you pay. On a $300,000 loan at 6.5 percent, a 30-year mortgage costs about $1,896 per month and totals about $682,500 in principal and interest combined. A 15-year mortgage on the same loan costs about $2,380 per month but totals only about $428,400 in principal and interest.

The 15-year payment is $484 higher each month, but you save about $254,000 in interest over the life of the loan. Whether that trade-off makes sense depends on your budget—if you can afford the higher payment and want to build equity faster, a 15-year term saves money. If you need the lower payment to may have access to for the loan or to have breathing room in your budget, a 30-year term is the right choice.

Some borrowers choose a middle ground: a 20-year or 25-year term. These are less common but available from most lenders, and they split the difference between payment size and total interest paid.

What Your Calculated Payment Does and Does Not Include

The payment your calculator shows you is principal and interest only—the money that goes to the lender to repay the loan. It does not include property taxes, homeowners insurance, or HOA fees, which are separate costs you pay to your local government or homeowners association.

Your lender may require you to pay these through an escrow account, which means you send one check to the lender each month, and the lender divides that money and pays your taxes, insurance, and HOA fees on your behalf. In that case, your actual monthly payment to the lender is higher than your calculated principal-and-interest payment. For example, if your principal and interest is $1,896 and your taxes and insurance total $400 per month, your actual payment is $2,296.

Property taxes vary by county and state—some areas charge 0.5 percent of home value per year, others charge 2 percent or more. Homeowners insurance typically costs $800 to $2,000 per year depending on the home's value and location. If you put down less than 20 percent, you also pay PMI (private mortgage insurance), which protects the lender if you default. PMI usually costs 0.5 to 1.5 percent of the loan amount per year, divided into monthly payments.

To get an accurate total monthly cost, ask your lender for an estimate of taxes, insurance, and PMI for the specific property you are buying. Then add those to your calculated principal-and-interest payment.

Adjustable-Rate Mortgages and How They Change Your Payment

Most mortgages are fixed-rate, meaning your interest rate stays the same for the entire loan term—30 years, 15 years, whatever you choose. Your monthly payment never changes (except for changes in taxes or insurance if they are in escrow).

An adjustable-rate mortgage (ARM) starts with a lower interest rate for a set period (often 3, 5, 7, or 10 years), then the rate adjusts periodically based on market conditions. When the rate adjusts, your monthly payment changes. An ARM might start at 5.5 percent for five years, then adjust to 6.5 percent or higher in year six. Your payment jumps when the rate adjusts, and it may jump again in future years.

ARMs are riskier because you cannot predict your payment after the initial period. If rates rise sharply, your payment could increase by $300 or $400 per month. Most borrowers choose fixed-rate mortgages to avoid this uncertainty, but ARMs can make sense if you plan to sell or refinance before the rate adjusts, or if you are confident rates will fall.

If you are considering an ARM, calculate your payment at the initial rate and also at the highest rate the ARM allows (called the rate cap). Make sure you can afford the payment at the higher rate, because that is the risk you are taking.

Frequently Asked Questions

Does the calculator show my total monthly housing cost?

Not automatically—most calculators show principal and interest only. You have to add property taxes, homeowners insurance, HOA fees, and PMI separately. Many calculators have fields where you can enter these amounts, and they will add them to your payment. Ask your lender for estimates of taxes and insurance for the specific property so your total is accurate.

What if I want to pay off my mortgage early?

Your calculated payment is the minimum you owe each month. You can pay more whenever you want, and the extra goes toward principal, which reduces the total interest you pay and shortens the loan term. Some lenders charge a prepayment penalty if you pay off the loan early, so check your loan documents before you start making extra payments.

How does my credit score affect the interest rate I calculate with?

Your credit score determines the rate your lender offers you. A higher score (typically 740 and above) gets a lower rate. A lower score (below 680) gets a higher rate. You cannot know your exact rate until you get a quote from a lender, but you can use a range—ask lenders what rates they offer for your credit range, then calculate with that range to see the payment difference.

Can I use the same calculator for a refinance?

Yes. A refinance is a new loan that replaces your old one, so you calculate it the same way: enter the new loan amount (what you still owe, not the original purchase price), the new interest rate, and the new loan term. The calculator shows your new monthly payment. Compare it to your current payment to see if refinancing saves you money.

What if I want to make biweekly payments instead of monthly?

Your calculator shows a monthly payment. If you want to pay biweekly (every two weeks), you cannot simply divide the monthly payment by two—the math is different because you make 26 payments per year instead of 12. Some lenders offer biweekly payment plans, and they will tell you the biweekly amount. Biweekly payments reduce your total interest and shorten your loan term because you pay more principal per year, but not all lenders support this option.