Mortgage Calculator

Taxes, insurance & HOA (optional)

Monthly payment (principal & interest)$2,022.62
Monthly payment incl. tax, insurance & HOA$2,572.62
Total interest over the loan$408,142.36
Total of all P&I payments$728,142.36
Loan amount$320,000.00
Estimated payoff dateSun, Dec 3, 2056
How this was calculated
  1. Loan amount = home price − down payment = $400,000.00 − $80,000.00 = $320,000.00.
  2. Monthly rate r = 6.500% ÷ 100 ÷ 12 = 0.005417; number of payments n = 30 × 12 = 360.
  3. Monthly principal & interest = L·r(1+r)^n / ((1+r)^n − 1) = $320,000.00 × 0.005417 × 6.9918 ÷ 5.9918 = $2,022.62.
  4. Taxes, insurance and HOA add $400.00 + $150.00 + $0.00 per month, for a full payment of $2,572.62.
  5. Total interest over the loan = $2,022.62 × 360 − $320,000.00 = $408,142.36. The loan is paid off around Sun, Dec 3, 2056 if you start today.

Our mortgage calculator estimates your monthly payment on a home loan. It computes monthly principal and interest using the standard amortization formula P = L·r(1+r)^n / ((1+r)^n − 1), where L is the loan amount, r is the monthly rate (annual rate ÷ 100 ÷ 12), and n is the number of monthly payments. For instance, a $400,000 home with 20% down ($320,000 loan) at 6.5% for 30 years yields a monthly P&I of $2,022.62; adding $4,800/yr tax and $1,800/yr insurance brings the full payment to $2,572.62, with total interest of about $408,142. A 20% down payment is the conventional threshold that avoids private mortgage insurance (PMI) on conventional loans in the US. Property tax and homeowner's insurance are usually collected monthly into escrow at 1/12 of the annual bill each; HOA dues are a separate monthly charge common with condos and townhouses.

This amortization formula is the accepted standard across the mortgage industry, as documented in CFPB resources, because it precisely allocates each payment between principal and interest over the loan term. Shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically, since the balance falls faster and fewer payments are made. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every figure yourself.

Worked examples

$400k home, 20% down, 6.5%, 30 years

The classic 30-year case: a $320,000 loan. (400000 $ · 80000 $ · 6.5 % / year · 30 years · 4800 $ · 1800 $ · 0 $)

Monthly payment (principal & interest)$2,022.62
Monthly payment incl. tax, insurance & HOA$2,572.62
Total interest over the loan$408,142.36
Total of all P&I payments$728,142.36
Loan amount$320,000.00
Estimated payoff dateSun, Dec 3, 2056

$250k home, 20% down, 5%, 15 years

A shorter term at a lower rate — far less total interest. (250000 $ · 50000 $ · 5 % / year · 15 years · 3000 $ · 1200 $ · 0 $)

Monthly payment (principal & interest)$1,581.59
Monthly payment incl. tax, insurance & HOA$1,931.59
Total interest over the loan$84,685.71
Total of all P&I payments$284,685.71
Loan amount$200,000.00
Estimated payoff dateTue, Dec 3, 2041

$600k condo, 20% down, 7%, 20 years, HOA $100/mo

Shows how HOA dues lift the true monthly cost. (600000 $ · 120000 $ · 7 % / year · 20 years · 7200 $ · 2400 $ · 100 $)

Monthly payment (principal & interest)$3,721.43
Monthly payment incl. tax, insurance & HOA$4,621.43
Total interest over the loan$413,144.37
Total of all P&I payments$893,144.37
Loan amount$480,000.00
Estimated payoff dateMon, Dec 3, 2046

What your monthly mortgage payment actually includes

When you see a lender quote a monthly payment, that number usually covers only principal and interest — the two pieces that directly pay back the loan. A complete monthly mortgage payment, however, typically includes five parts: principal, interest, property tax, insurance, and HOA dues. Together these are often called PITI + HOA, and the full number can run hundreds of dollars higher than the headline figure. Using a mortgage calculator that factors in all five gives you a more realistic budget.

Principal and interest are calculated with the standard amortization formula used across the mortgage industry: P = L·r(1+r)^n / ((1+r)^n − 1), where L is the loan amount, r is the monthly rate (annual rate ÷ 100 ÷ 12), and n is the total number of monthly payments. For example, a $400,000 home with 20% down means a $320,000 loan; at 6.5% for 30 years, the monthly P&I payment is $2,022.62 and total interest over the life of the loan is about $408,142. A 20% down payment also matters because it is the conventional threshold that avoids private mortgage insurance, or PMI, on conventional loans in the US.

Property tax and homeowner's insurance are usually collected monthly into an escrow account at 1/12 of the annual bill each. In plain terms, escrow is a holding account the lender manages on your behalf: you pay a set amount each month, and the lender uses those funds to pay your tax and insurance bills when they come due. This spreads large annual costs evenly across the year and gives the lender confidence that the property stays insured and taxed — which protects their collateral. HOA dues, common with condos and townhouses, are a separate monthly charge paid directly to the association rather than through escrow.

Adding escrow items to the $400,000 example above: $4,800 per year in property tax and $1,800 per year in insurance bring the full monthly payment from $2,022.62 to $2,572.62. That $550 difference is exactly why the lender's headline P&I number can be misleading on its own. Shorter loan terms tell a similar story but in reverse. A $250,000 home with 20% down at 5% for 15 years gives a $200,000 loan with monthly P&I of $1,581.59; a $600,000 condo with 20% down at 7% for 20 years gives a $480,000 loan with monthly P&I of $3,721.43 before HOA and escrow items. Shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically, because the balance falls faster and fewer payments are made.

The mortgage formula, step by step

The mortgage formula, step by step

The standard amortization formula used across the mortgage industry is P = L·r(1+r)^n / ((1+r)^n − 1), where P is the monthly principal and interest payment, L is the loan amount, r is the monthly interest rate, and n is the number of monthly payments. Converting the annual rate to the monthly rate is straightforward: divide the annual rate by 100 to get a decimal, then divide by 12. For a 6.5% annual rate, that gives r = 6.5 ÷ 100 ÷ 12 = 0.0054167. Converting the loan term works the same way: multiply the number of years by 12 to get the total number of monthly payments. A 30-year loan means n = 30 × 12 = 360 payments.

Walking through a concrete example brings the formula to life. Take a $400,000 home purchased with 20% down, which means the loan amount L is $320,000. At 6.5% annual interest for 30 years, you have r = 0.0054167 and n = 360. Plugging those values into the formula: first calculate (1 + r)^n, which equals roughly 6.9918. Multiply that by r to get 0.03787, then multiply by L to get 12,118.07. Divide by ((1+r)^n − 1), which is 5.9918, and the result is $2,022.62. That is the monthly principal and interest payment a mortgage calculator produces for this scenario.

It is worth noting that the $2,022.62 figure covers only principal and interest. Most monthly housing payments also include property tax and homeowner's insurance, typically collected into escrow at one-twelfth of the annual bill each. In this example, adding $4,800 per year in property tax and $1,800 per year in insurance brings the full monthly payment to $2,572.62. Over the life of the loan, total interest paid comes to about $408,142.

Understanding how each variable in the formula behaves helps you compare loan options with confidence. Shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically, because the balance falls faster and fewer payments are made. The monthly rate r also has a powerful effect: even a small change in the annual rate shifts r enough to move the payment noticeably. A reliable mortgage calculator applies this formula instantly, letting you test different loan amounts, rates, and terms without working through the arithmetic by hand each time.

30-year vs 15-year: the real trade-off

Shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically, because the balance falls faster and fewer payments are made. A mortgage calculator makes this trade-off concrete by putting real numbers side by side, so you can weigh the cost of waiting against the cost of paying more each month.

Start with the verified 30-year case: a $400,000 home with a 20% down payment leaves a $320,000 loan at 6.5% for 30 years. The standard amortization formula P = L·r(1+r)^n / ((1+r)^n − 1) — where L is the loan amount, r is the monthly rate (annual rate ÷ 100 ÷ 12), and n is the number of monthly payments — produces a monthly principal and interest payment of $2,022.62. Over the full term, total interest comes to about $408,142. That is the price of spreading the loan across 360 months: each payment stays low, but interest accrues for three decades.

Now compare a 15-year structure using the $200,000 loan at 5% example. The same amortization formula gives a monthly P&I of $1,581.59. Because the term is half as long, the balance drops quickly and interest has far less time to compound. The monthly payment is higher than it would be on a 30-year schedule at the same rate, but the total interest is a fraction of the 30-year figure. For borrowers who can absorb the larger payment, the savings are substantial and the loan is done in 15 years instead of 30.

The table below isolates the key differences. Keep in mind that both examples assume a 20% down payment, the conventional threshold that avoids private mortgage insurance (PMI) on conventional loans in the US. In practice, property tax and homeowner's insurance are usually collected monthly into escrow at 1/12 of the annual bill each, and HOA dues are a separate monthly charge common with condos and townhouses — none of which appear in the P&I figures shown here.

Loan scenarioLoan amountRateTermMonthly P&ITotal interestPayoff speed
30-year example$320,0006.5%30 years$2,022.62~$408,142360 months
15-year example$200,0005%15 years$1,581.59Lower than 30-year at same rate180 months

How to use this mortgage calculator

Enter the home price first. This is the full purchase price of the property, not the loan amount. Next, set the down payment as a dollar figure or percentage. A 20% down payment is the conventional threshold that avoids private mortgage insurance (PMI) on conventional loans in the US, so many buyers aim for that target. The calculator subtracts the down payment from the home price to determine the loan amount, which is the basis for the monthly payment.

Move on to the interest rate and loan term. The rate is the annual interest rate charged on the loan, and the term is the number of years you have to repay it. This mortgage calculator applies the standard amortization formula used across the mortgage industry: P = L·r(1+r)^n / ((1+r)^n − 1), where L is the loan amount, r is the monthly rate (annual rate ÷ 100 ÷ 12), and n is the number of monthly payments. Shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically, because the balance falls faster and fewer payments are made.

The remaining fields cover property tax, homeowner's insurance, and HOA dues. Property tax and homeowner's insurance are usually collected monthly into escrow at 1/12 of the annual bill each. HOA dues are a separate monthly charge common with condos and townhouses. You can set any of these fields to 0 if you want a principal-and-interest-only view, which is useful when comparing loan offers before factoring in escrow costs. Presets are available for common scenarios, so you can quickly load typical values and adjust from there.

To see how the numbers come together, consider a $400,000 home with 20% down (a $320,000 loan) at 6.5% for 30 years. The monthly principal and interest payment is $2,022.62. Adding $4,800 per year in property tax and $1,800 per year in insurance brings the full monthly payment to $2,572.62, with total interest over the life of the loan reaching about $408,142. A smaller example: a $250,000 home with 20% down at 5% for 15 years yields monthly P&I of $1,581.59 on a $200,000 loan. For a $600,000 condo with 20% down at 7% for 20 years, the monthly P&I is $3,721.43 on a $480,000 loan, before HOA and escrow items.

What down payment changes — and what it doesn't

A larger down payment directly shrinks the amount you borrow, and that single change lowers both your monthly payment and the total interest you pay over the life of the loan. The loan amount, L, is the home price minus your down payment. Monthly principal and interest are then calculated using the standard amortization formula P = L·r(1+r)^n / ((1+r)^n − 1), where r is the monthly rate (annual rate ÷ 100 ÷ 12) and n is the number of monthly payments. Because L is smaller, every payment that follows is smaller too. A mortgage calculator lets you see this effect instantly by adjusting the down payment input.

Putting 20% down is the conventional threshold that avoids private mortgage insurance (PMI) on conventional loans in the US. PMI is an extra monthly premium your lender adds when your equity stake is below 20%, so reaching that threshold removes a cost that can otherwise add a meaningful amount to your monthly payment. Consider the verified example of a $400,000 home with 20% down, which creates a $320,000 loan at 6.5% for 30 years. The monthly principal and interest payment is $2,022.62. Adding $4,800 per year in property tax and $1,800 per year in insurance brings the full monthly payment to $2,572.62, and total interest over the loan comes to about $408,142. A smaller down payment on the same home would mean a larger loan, a higher monthly payment, more total interest, and likely PMI on top of that.

What a bigger down payment does not do is change your interest rate. The rate you qualify for is set by factors such as your credit profile, the loan type, and market conditions, not by the size of your down payment once the loan is approved. A larger down payment reduces the balance on which that rate is applied, but the rate itself stays the same. In the verified example of a $250,000 home with 20% down at 5% for 15 years, the $200,000 loan produces monthly principal and interest of $1,581.59. Putting more down would lower that payment by shrinking the loan, yet the 5% rate would remain unchanged.

Property tax and homeowner's insurance are usually collected monthly into escrow at 1/12 of the annual bill each, and HOA dues are a separate monthly charge common with condos and townhouses. None of these costs shrink when you put more money down, because they are based on the property, not the loan. In the verified example of a $600,000 condo with 20% down at 7% for 20 years, the $480,000 loan gives monthly principal and interest of $3,721.43, before HOA and escrow items. A larger down payment would reduce the $3,721.43 figure, but the HOA and escrow portions would stay the same.

Common mortgage calculation mistakes

Even a reliable mortgage calculator can lead you astray if you feed it the wrong inputs or misread the results. The standard amortization formula used across the mortgage industry, as documented in CFPB resources, is P = L·r(1+r)^n / ((1+r)^n − 1), where L is the loan amount, r is the monthly rate (annual rate ÷ 100 ÷ 12), and n is the number of monthly payments. Understanding each variable matters, because small input errors compound over hundreds of payments and can skew your budget by tens of thousands of dollars.

One of the most frequent errors is plugging the home price into the formula instead of the loan amount. A 20% down payment is the conventional threshold that avoids private mortgage insurance (PMI) on conventional loans in the US, which means the loan amount is typically 80% of the purchase price. For example, a $400,000 home with 20% down results in a $320,000 loan. Using $400,000 in the formula instead of $320,000 would produce a monthly principal and interest figure that is far too high and would distort the rest of your planning. The same applies to a $250,000 home with 20% down, where the correct loan amount to enter is $200,000, or a $600,000 condo with 20% down, where you should use $480,000.

Another common mistake is forgetting that the monthly P&I payment is only part of the picture. Property tax and homeowner's insurance are usually collected monthly into escrow at 1/12 of the annual bill each, and HOA dues are a separate monthly charge common with condos and townhouses. In the $400,000 example at 6.5% for 30 years, the monthly P&I payment is $2,022.62, but adding $4,800 per year in tax and $1,800 per year in insurance brings the full payment to $2,572.62. Similarly, the $600,000 condo at 7% for 20 years gives a monthly P&I of $3,721.43 on a $480,000 loan, before HOA and escrow items. Ignoring these costs can leave you unprepared for the actual monthly obligation.

  • Forgetting escrow items such as property tax and homeowner's insurance, which are collected monthly at 1/12 of the annual bill each, plus separate HOA dues for condos and townhouses
  • Comparing APR with the note rate carelessly, since APR reflects certain loan costs baked into the rate while the note rate is what drives the amortization formula
  • Assuming extra payments don't matter, when in fact shortening the term from 30 to 15 years raises the monthly payment but cuts total interest dramatically because the balance falls faster and fewer payments are made
  • Using the home price instead of the loan amount in the formula, which overstates the payment when a down payment has been applied
In the $400,000 example, total interest over the 30-year loan is about $408,142. A 15-year term at 5% on a $200,000 loan costs $1,581.59 per month in P&I, illustrating how a shorter term raises the payment but slashes interest paid.

FAQs

What is the monthly payment on a $400,000 house with 20% down at 6.5%?

On the $320,000 loan, principal and interest is $2,022.62 a month over 30 years. With $4,800/yr tax and $1,800/yr insurance, the full payment is $2,572.62. The 20% down payment reduces the loan to $320,000, and adding taxes and insurance brings the total monthly cost well above the principal and interest figure alone.

How much interest do you pay over a 30-year mortgage?

On a $320,000 loan at 6.5%, total interest is about $408,142 — more than the loan itself — because interest is charged on a slowly falling balance for 360 months. Each month you pay interest on the remaining principal, which decreases gradually, so a large share of early payments goes toward interest rather than reducing the balance.

What is the payment on a $200,000 loan at 5% for 15 years?

The monthly payment is $1,581.59 in principal and interest. This reflects the shorter 15-year term, which requires higher monthly payments than a 30-year loan but significantly reduces total interest paid over the life of the loan. The 5% rate keeps the payment manageable despite the accelerated repayment schedule.

Does this calculator include taxes and insurance?

Yes. Enter annual property tax and insurance plus monthly HOA in the optional group, and the full payment is shown alongside the P&I-only payment. Leave them at 0 for a P&I-only result. This lets you see both the core loan cost and the complete monthly housing expense, including taxes, insurance, and HOA fees if applicable.

Why is a 15-year mortgage's payment higher but cheaper overall?

The same principal is repaid in half the payments, so each payment is larger, but far fewer interest charges accumulate. Total interest falls steeply compared with a 30-year term. Because you pay off the principal in 15 years instead of 30, the balance drops faster, meaning less interest accrues each month and the overall cost is much lower.

How is the monthly mortgage payment formula calculated?

The formula is P = L·r(1+r)^n / ((1+r)^n − 1) with r = annual rate ÷ 12 and n = years × 12. For $320,000 at 6.5% over 360 payments it gives $2,022.62. Here L is the loan amount, r is the monthly interest rate, and n is the total number of monthly payments, producing the fixed principal and interest payment.

Sources