Mortgage Calculator

Enter your home price, down payment, loan term, and interest rate, plus optional property tax, insurance, and HOA dues. You'll get your full monthly payment, total interest, and the true cost of the loan.

Put this calculator on your website for free

Copy one snippet and give your visitors a working Mortgage Calculator.

How your mortgage payment is calculated

The principal & interest (P&I) part of your payment comes from the amortization formula: the lender finds the one fixed monthly amount that, paid every month, retires the loan exactly at the end of the term. Each payment first covers that month's interest on the remaining balance; whatever is left chips away at the principal. Property taxes and homeowners insurance don't go to the lender at all. They're usually collected into escrow and stacked on top of P&I, which is why your real payment is bigger than the number in the rate ads.

The formula

M = P × r(1 + r)n ÷ ((1 + r)n − 1)

M is the monthly principal & interest payment, P the loan amount (home price minus down payment), r the monthly interest rate (annual rate ÷ 12 ÷ 100), and n the number of monthly payments (years × 12). If the rate is 0%, the payment is simply P ÷ n.

Worked example

A $375,000 home with $75,000 down (20%) leaves a $300,000 loan. At 6.5% for 30 years: r = 0.065 ÷ 12 ≈ 0.005417 and n = 360, which gives a P&I payment of $1,896.20 per month.

Add $3,600/year property tax ($300/month) and $1,800/year insurance ($150/month), and the full monthly payment is $2,346.20. Over 30 years you'd pay roughly $382,600 in interest, more than the original loan itself.

Front-loaded interest and the 28% rule

In that example, the very first payment includes $1,625 of interest (0.5417% of $300,000) and only $271 of principal: about 86% of the check goes to interest. The split improves a little every month, but it takes most of a 30-year term before principal dominates. That's why extra payments made in the early years are so powerful: every extra dollar goes straight to the balance, killing decades of future interest on it.

For affordability, lenders lean on the 28% rule: your full housing payment (P&I plus taxes and insurance) should be at most 28% of your gross monthly income. The $2,346.20 payment above would call for roughly $8,380 of gross monthly income, about a $100,000 salary. Treat it as a ceiling, not a target; a payment well below it leaves room for everything else life invoices you for.

How much house can I afford on my salary?

The full version of that guideline is the 28/36 rule: housing (the complete PITI payment) at or under 28% of gross monthly income, and all monthly debt payments (housing plus car loans, student loans, and credit-card minimums) under 36%. Here's the 28% side turned into real numbers at a 7% rate over 30 years, assuming roughly 20% of the housing budget goes to property taxes and insurance (your county may charge more or less; the property tax calculator will tell you):

SalaryMax housing payment (28%)Supports a loan of aboutApproximate price range
$60,000$1,400/mo$168,000$168,000 to $210,000
$80,000$1,867/mo$224,000$224,000 to $281,000
$100,000$2,333/mo$281,000$281,000 to $351,000
$120,000$2,800/mo$337,000$337,000 to $421,000

The low end of each range is a zero-down purchase, where the price is the loan; that's realistic mainly for veterans using a VA loan. The high end assumes 20% down. If you're paid hourly, the hourly to salary calculator converts your wage to the annual figure first. And don't forget the 36% side: at 7% over 30 years, a $500/mo car payment (size any installment debt with the loan calculator) eats roughly $75,000 of the mortgage a lender would otherwise approve. The cheapest way to buy more house is often to show up without a car loan.

What a 1% rate change is really worth

Rates move the payment more than most buyers expect. The same $350,000 loan over 30 years:

RateMonthly P&ILifetime interest
5.5%$1,987.26$365,414
6.5%$2,212.24$446,406
7.5%$2,447.25$531,010

Each percentage point on this loan is worth about $225 to $235 a month and over $80,000 of lifetime interest. That's the entire argument for getting three or four lender quotes instead of one: a quarter-point of haggling on a $350,000 loan buys a nicer vacation every year, forever. It's also why a future refinance can be worth real money, though refinancing has its own closing costs, so the drop needs to be big enough to earn them back.

15-year vs 30-year: the honest tradeoff

A $300,000 loan at 6.5%: the 30-year costs $1,896.20/mo and $382,633 in lifetime interest. The 15-year costs $2,613.32/mo and $170,398; an extra $717.12 a month erases about $212,000 of interest. In practice the gap is even wider, because 15-year rates usually run about half a point lower: at 6.0%, the 15-year payment is $2,531.57 and lifetime interest falls to $155,683.

So why does anyone take the 30-year? Flexibility. You can pay a 30-year loan on a 15-year schedule any month you like, but you can't pay a 15-year loan on a 30-year schedule the month your income drops or the roof fails. The 15-year's lower rate and forced discipline are the prize; the 30-year's escape hatch is cheap insurance. If the 15-year payment would leave you with no savings margin, take the 30 and prepay it.

What one extra payment a year does

Take that same $300,000 loan at 6.5% for 30 years and make one extra P&I payment ($1,896.20) toward principal each year. The loan is paid off in 24 years 4 months instead of 30, and lifetime interest drops from $382,633 to $298,649: about $84,000 saved and 5 years 8 months of payments that never happen.

Two mechanics matter. First, tell your servicer the extra money is to be applied to principal; otherwise some will treat it as prepaying next month's bill, which saves you nothing. Second, weigh it against the alternative: prepaying a 6.5% mortgage is a guaranteed, tax-free 6.5% return, which is excellent for a sure thing but not automatically better than investing the same cash. Run the same dollars through the compound interest calculator and compare. Fund the emergency fund and any employer 401(k) match first; those beat both.

Frequently asked questions

How is a monthly mortgage payment calculated?

Lenders use the amortization formula M = P × r(1+r)^n ÷ ((1+r)^n − 1), where P is the loan amount, r is the monthly interest rate (annual rate ÷ 12), and n is the number of monthly payments. The result is a fixed payment that pays off the loan exactly at the end of the term. Taxes, insurance, and HOA dues are added on top of that.

What does PITI mean?

PITI stands for Principal, Interest, Taxes, and Insurance: the four pieces of a typical monthly housing payment. Principal and interest go to the lender; property taxes and homeowners insurance are usually collected into an escrow account and paid on your behalf. This calculator shows all four, plus HOA dues if you have them.

How much house can I afford?

A common rule of thumb is the 28% rule: your total housing payment (PITI) should stay at or below 28% of your gross monthly income. On a $100,000 salary, that's about $2,333 a month, enough to support a loan of roughly $281,000 at 7% over 30 years, after setting aside about 20% of the budget for taxes and insurance. It's a guideline, not a law; lenders also weigh your other debts, credit score, and down payment.

What is the 28/36 rule?

It's the classic lender affordability test. Your housing payment (principal, interest, taxes, and insurance) should be at or under 28% of gross monthly income, and all of your monthly debt payments combined (housing plus car loans, student loans, and credit-card minimums) should stay under 36%. On an $80,000 salary that's $1,867 for housing and $2,400 for all debts together. Whichever limit you hit first is your ceiling.

How much house can I afford on $80,000 a year?

Under the 28% rule, an $80,000 salary supports a housing payment of about $1,867 a month. At a 7% rate over 30 years, with roughly 20% of that budget going to property taxes and insurance, that carries a loan of about $224,000: a home price of roughly $224,000 with nothing down, or up to about $281,000 with 20% down. Other debts, your credit score, and local taxes move the number in both directions.

How much is the monthly payment on a $300,000 mortgage?

For principal and interest on a 30-year loan: $1,798.65 at 6%, $1,896.20 at 6.5%, and $1,995.91 at 7%. Property taxes, homeowners insurance, and any HOA dues come on top of that; for many homes they add several hundred dollars a month, which is exactly what this calculator adds up for you.

Why is most of my mortgage payment going to interest?

Interest each month is charged on the remaining balance, and early in the loan that balance is at its largest. On a $300,000 loan at 6.5%, the very first payment includes $1,625 of interest and only about $271 of principal. As the balance shrinks, the split gradually flips, but on a 30-year loan that takes roughly two decades.

Is it better to pay off a mortgage early?

Often, but not always. One extra P&I payment a year on a $300,000 loan at 6.5% pays it off 5 years 8 months early and saves about $84,000 in interest, a guaranteed, tax-free return equal to your rate. But fund your emergency savings and any employer 401(k) match first, and compare against simply investing the same money; at low mortgage rates, investing frequently wins the math even if prepaying wins on peace of mind.

Is a 15-year mortgage better than a 30-year?

On a $300,000 loan at 6.5%, the 15-year costs $2,613.32 a month versus $1,896.20 for the 30-year, but cuts lifetime interest from $382,633 to $170,398, and 15-year rates usually run about half a point lower on top of that. The catch is flexibility: you can always pay a 30-year loan on a 15-year schedule, but you can't shrink a 15-year payment in a bad month. If the higher payment would leave you with no savings margin, take the 30 and prepay.

Does this calculator include PMI?

Not in the headline total, but the calculator now works it out for you. Private mortgage insurance normally applies when your down payment is under 20% of the price, and runs about 0.3% to 1.5% of the loan a year until you reach 20% equity. Put in a down payment below 20% and the result tells you so, prices the likely range, shows what your real monthly figure would be, and says how much more down payment would clear the line. It stays out of the headline because the actual premium depends on your credit score, the loan type and the lender, and a single invented number in the middle of your budget is worse than an honest range.

Related calculators