The basic formula: principal, interest rate, and loan term

Your monthly mortgage payment is determined by three numbers: the amount you borrowed (the principal), the interest rate your lender charges, and how many months you have to repay it (the loan term). The lender uses a fixed formula to divide the total interest across all your payments so that each month's payment stays the same.

The formula itself is complex — it accounts for the fact that early payments cover more interest and later payments cover more principal — but you do not need to do the math by hand. A mortgage calculator takes these three inputs and gives you the monthly payment in seconds. The real work is knowing what numbers to plug in and understanding what the result means for your budget.

If you are shopping for a mortgage, your lender will provide an estimate before you commit. If you already have a mortgage, your payment appears on your monthly statement. But if you want to see how different loan amounts or interest rates would change your payment, or if you are comparing offers from multiple lenders, you need to know how to run the numbers yourself.

Key Takeaways

  • Your monthly payment depends on three things: how much you borrow, the interest rate, and the number of years to repay — change any one and your payment changes.
  • A mortgage calculator (free online or built into most lender websites) does the math for you; you enter the loan amount, rate, and term and it shows your monthly payment.
  • The payment shown does not include property taxes, homeowners insurance, or HOA fees — those are added separately and vary by location and property.
  • A lower interest rate or longer loan term reduces your monthly payment, but a longer term means you pay more interest overall.
  • Your actual monthly bill may be higher than the calculated payment if your lender collects taxes and insurance in an escrow account.

Where to find a mortgage calculator and what to enter

Most mortgage lenders (banks, credit unions, online lenders) have a calculator on their website. You can also find free calculators from sites like Bankrate, NerdWallet, or the Consumer Financial Protection Bureau. They all work the same way: you enter the loan amount, interest rate, and loan term, and the calculator shows your monthly principal and interest payment.

The loan amount is the total you are borrowing — not the home price. If you are putting 20 percent down on a $300,000 home, your loan amount is $240,000. The interest rate is what the lender quoted you; it changes based on market conditions, your credit score, and the type of loan. The loan term is almost always 15, 20, or 30 years, though other lengths exist.

Enter these three numbers and the calculator shows your monthly payment for principal and interest only. Write this number down — you will need it to understand your full housing costs.

What the calculator does not include: taxes, insurance, and HOA fees

The payment the calculator shows is only the principal and interest portion. Your actual monthly bill is usually higher because it includes other costs. Property taxes vary by county and are based on your home's assessed value. Homeowners insurance protects the lender's investment and is required by every mortgage lender. HOA fees (if your property is in a homeowners association) are mandatory monthly or annual charges.

These costs do not go to your lender — they go to your local government (taxes), an insurance company (insurance), or your HOA (fees). But many lenders collect all of them along with your mortgage payment and hold the money in an escrow account, then pay the bills on your behalf. When this happens, your total monthly payment is the calculator's number plus taxes, insurance, and fees.

To estimate your full payment, contact your lender or local tax assessor for property tax rates, get a homeowners insurance quote, and ask your HOA for their fee schedule. Add these to the principal and interest payment to see what you will actually owe each month.

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 percent costs about $1,799 per month in principal and interest. At 7 percent, the same loan costs about $1,996 per month — nearly $200 more. At 5 percent, it drops to about $1,610.

This is why shopping around for the best rate matters. Even a 0.5 percent difference adds up over 30 years. When you receive loan offers from different lenders, use the same calculator to compare them side by side. Enter the exact rate each lender quoted, and you will see the real cost difference in dollars per month.

Keep in mind that the rate you see advertised may not be the rate you receive. Your actual rate depends on your credit score, down payment, loan type, and current market conditions. Always ask the lender for a Loan Estimate — a standardized form that shows the interest rate, monthly payment, and all fees — before you decide.

How loan term affects your payment and total interest

A longer loan term lowers your monthly payment but increases the total amount of interest you pay. A 30-year mortgage has a lower monthly payment than a 15-year mortgage on the same loan amount and rate, but you pay interest for twice as long.

On a $300,000 loan at 6 percent interest, a 30-year term costs about $1,799 per month and totals roughly $647,000 over the life of the loan (that is $347,000 in interest). A 15-year term on the same loan costs about $2,332 per month but totals only about $420,000 (that is $120,000 in interest). The 15-year option saves you over $225,000 in interest, but your monthly payment is $533 higher.

Choose a term based on what you can afford each month and how long you plan to stay in the home. If you can afford the higher payment and want to build equity faster, a shorter term saves money. If you need a lower monthly payment or want flexibility, a longer term is more practical — you can always pay extra toward principal when you have the money.

Using the calculator to compare different loan scenarios

The real power of a mortgage calculator is comparing options. If you are deciding between a $300,000 loan and a $350,000 loan, run both through the calculator at the same rate and term. If you have two rate offers, enter each one and see the monthly difference. If you are torn between a 15-year and 30-year term, calculate both and decide which payment fits your budget.

Write down each scenario and its monthly payment. Many lenders let you lock in a rate for 30 to 60 days while you shop, so you can get accurate quotes from multiple places and compare them fairly. The Loan Estimate from each lender shows the exact rate, term, and payment — use these real numbers in the calculator rather than guessing.

Do not forget to add taxes, insurance, and HOA fees to each scenario. A lower interest rate is only a win if your total monthly payment (including everything) fits your budget.

What happens if you pay extra toward principal

Your monthly payment is calculated to pay off the loan in full over the term you chose. But you can pay more than the required amount any time, and the extra goes directly to principal. This shortens your loan term and reduces the total interest you pay.

For example, if your required payment is $1,799 and you pay $1,900 each month, the extra $101 reduces your principal balance faster. Over 30 years, this small increase can cut years off your loan and save tens of thousands in interest. Some lenders charge a prepayment penalty if you pay off the loan early, but this is rare on mortgages — ask your lender before you sign.

You do not have to commit to a higher payment every month. Many people make one extra payment per year or round up their payment when they can. Even irregular extra payments toward principal reduce your interest cost and shorten your loan.

Frequently Asked Questions

Does the calculator payment include property taxes and insurance?

No. The calculator shows only principal and interest. You must add property taxes, homeowners insurance, and HOA fees separately. Your lender can estimate these costs, or you can contact your local tax assessor and get an insurance quote to add them yourself.

What if my interest rate is variable or adjustable?

A calculator assumes a fixed rate that does not change. If you have an adjustable-rate mortgage (ARM), your rate may increase after an initial period, which raises your payment. Use the calculator to see your current payment, then ask your lender what your rate could be at the next adjustment and calculate that scenario too.

Can I use the calculator to figure out how much house I can afford?

Yes, but work backward. Decide what monthly payment you can afford, then use the calculator in reverse: enter different loan amounts at your expected rate and term until the payment matches your budget. Remember to leave room in your budget for taxes, insurance, and maintenance.

What if I want to pay off my mortgage early?

The calculator shows your required payment, but you can pay more anytime. Extra payments go to principal and reduce your total interest and loan term. Check your Loan Estimate to confirm your lender does not charge a prepayment penalty for paying early.

How often do I need to recalculate my payment?

If you have a fixed-rate mortgage, your payment never changes — calculate it once when you get the loan. If you have an ARM, recalculate when your rate adjusts. If you are shopping for a mortgage, recalculate each time you get a new rate quote or change your loan amount or term.