Home › Loans & Mortgage › Mortgage Calculator

Mortgage Calculator

A mortgage calculator turns your loan amount, interest rate and term into a monthly principal-and-interest payment: M = P × i(1+i)n ÷ [(1+i)n − 1]. A $400,000 30-year loan at 7.28%, the Freddie Mac average on 1 October 2026, costs about $2,737 a month before taxes, insurance and PMI.

Estimate your monthly principal & interest payment, total interest over the life of the loan, and view a full amortization schedule. Everything runs in your browser.

How the Mortgage Calculator works

This calculator solves the standard amortizing-loan formula to turn your home loan amount, interest rate, and term into a fixed monthly principal-and-interest (P&I) payment. It does not include property taxes or homeowners insurance - it answers the question "what is the loan portion of my payment?" Your lender adds the rest to build your full PITI.

The formula is:

M = P x [ i(1+i)n ] / [ (1+i)n - 1 ]

  • M = monthly principal & interest payment
  • P = principal (the amount you actually borrow = home price minus down payment)
  • i = monthly interest rate = annual rate / 12 (so 6.5% becomes 0.065 / 12 = 0.00541667)
  • n = total number of monthly payments = years x 12 (30 years = 360)

The results show the monthly P&I, total interest and a month-by-month amortization schedule. This calculator shows principal and interest only: add property taxes, homeowners insurance, PMI and any HOA dues for your full monthly payment.

Edge cases it handles: a 0% rate falls back to simple division (P / n) because the standard formula divides by zero when i = 0. It assumes a fixed rate for the full term, fully amortizing to a $0 balance - so it does not model adjustable rates, interest-only periods, or balloons. Because rounding each payment to the cent can leave a tiny residual, the final scheduled payment is adjusted by a few cents so the balance lands exactly at zero.

Example calculation

Here are three fully worked home-loan scenarios so you can see how loan size, rate, and term move the payment and the lifetime interest. Every figure below is computed with the formula above and rounded to the cent.

Example 1 - $400,000 loan, 6.5%, 30 years. Monthly i = 0.065 / 12 = 0.00541667; n = 360. The P&I payment is $2,528.27. Over 360 months you pay $910,177.95, of which $510,177.95 is interest - more than the amount you borrowed. The very first payment is mostly interest: $2,166.67 interest and only $361.61 toward principal.

Example 2 - $250,000 loan, 7.0%, 30 years. Here i = 0.00583333 and n = 360. The P&I payment is $1,663.26, total paid is $598,772.25, and lifetime interest is $348,772.25. Note this is P&I only; with roughly $286/mo property tax and $150/mo insurance, the real housing cost (PITI) is closer to $2,100 - about 26% above the bare loan payment.

Example 3 - $600,000 loan, 6.75%, 30 years. With i = 0.005625 and n = 360, the payment is $3,891.59, total paid is $1,400,971.89, and lifetime interest is $800,971.89. At $600,000 it is still under the 2026 conforming loan limit of $832,750 in most counties, so it would not need jumbo underwriting.

ScenarioLoanRateTermMonthly P&ITotal interest
Example 1$400,0006.50%30 yr$2,528.27$510,177.95
Example 2$250,0007.00%30 yr$1,663.26$348,772.25
Example 3$600,0006.75%30 yr$3,891.59$800,971.89

The takeaway: the monthly payment scales roughly with loan size, but total interest scales brutally with both balance and rate - a $600k loan at 6.75% costs over $800k in interest alone across 30 years, and that is before a single dollar of taxes, insurance, or PMI.

Tips for using the Mortgage Calculator

  • Remember this tool shows P&I only - budget for the full PITI. Add property tax (it varies widely by state and county), homeowners insurance, PMI if you put under 20% down, and any HOA dues before deciding what you can afford.
  • PMI is not permanent. You can ask to cancel it once your balance reaches 80% of the home's original value, and the servicer must drop it automatically when the balance is scheduled to reach 78% - so a payment that feels tight at 10% down can ease within a few years.
  • Get the loan amount right: it is home price minus down payment, not the home price. Run the purchase price through the Down Payment Calculator first so you feed this tool the actual financed amount.
  • Do not let a lender's pre-approval set your budget. Banks qualify you on the back-end DTI ceiling; back into a comfortable PITI from your take-home pay, then solve for the loan that fits it - approval is not the same as affordable.

P&I vs PITI: what this calculator does and does not include

This tool calculates P&I (principal and interest), but your actual monthly housing bill is PITI - principal, interest, taxes, and insurance - and often more. Confusing the two is the single biggest reason home buyers feel blindsided at closing.

Here is how the layers stack on a real $250,000 loan at 7% for 30 years:

ComponentMonthlyWhat it is
Principal & Interest$1,663.26The loan payment this tool computes
Property tax~$286County tax, escrowed (varies hugely by state)
Homeowners insurance~$150Required hazard coverage, escrowed
PMI (if <20% down)~$125Drops off near 20-22% equity
HOA dues$0-$500+Condos and planned communities only

In this example, P&I is only about 75% of the PITI total - and that is before HOA. Always add the other lines before judging affordability. To pressure-test the whole payment against your income, run the figure through the debt-to-income ratio calculator.

15-year vs 30-year: the trade-off in dollars

A 15-year mortgage costs more each month but cuts lifetime interest sharply, because you borrow for half as long and usually at a lower rate. On 1 October 2026 the Freddie Mac averages were 7.28% for a 30-year fixed and 6.60% for a 15-year fixed. For a $400,000 loan:

TermRate (Freddie Mac, 1 Oct 2026)Monthly P&ITotal interest
30 years7.28%$2,736.85$585,266
15 years6.60%$3,506.46$231,162

The 15-year costs about $770 more a month but saves about $354,000 in interest. That higher payment is mandatory every month, so many buyers take the 30-year for its lower required payment and send extra voluntarily; see what that does with the extra payment mortgage calculator. Rates change weekly, so enter your own quote. For more, read 15-year vs 30-year mortgages.

Why your early payments are almost all interest

On a fixed mortgage, interest is charged on the remaining balance each month, so when the balance is highest - at the start - interest eats almost the entire payment and principal grows slowly. This is called front-loaded amortization, and it surprises most first-time buyers.

On the $400,000 / 6.5% / 30-year loan, the contrast between the first and last payment is stark:

PaymentGoes to interestGoes to principal
Month 1$2,166.67$361.61
Month 360$13.62$2,514.65

The payment is identical ($2,528.27) every month, but the split flips completely. The principal portion does not overtake the interest portion until around payment 233 (year 19.4), so in the first decade-plus you build equity painfully slowly. This is why selling or refinancing early leaves you with little to show for years of payments - and why any extra dollar applied to principal early is so powerful, since it removes interest from every future month. To understand the mechanics of interest accrual in general, see how to calculate a loan payment by hand.

How to calculate a mortgage payment in Excel or by hand

In any spreadsheet, the function is =PMT(rate, nper, pv) - and the result will match this calculator to the cent.

The trick is the arguments: the rate must be monthly (annual / 12), nper is months (years x 12), and pv is the loan amount entered as a negative number so the payment comes back positive.

  • Excel / Google Sheets: =PMT(0.065/12, 360, -400000) returns $2,528.27.
  • For a 15-year loan: =PMT(0.0575/12, 180, -400000) returns $3,321.64.

To see how much of any single payment is interest versus principal, use =IPMT(rate, period, nper, pv) and =PPMT(rate, period, nper, pv) - for example =PPMT(0.065/12, 1, 360, -400000) returns $361.61, the principal in month one.

By hand, the algebra is: compute (1 + i) raised to the n power, then M = P x i x that value, divided by (that value minus 1). It is tedious because of the exponent, but the formula is identical to what the tool runs. For a deeper walkthrough, see how to calculate a mortgage payment.

Common mistakes when estimating a mortgage

The most expensive mistakes are confusing the loan amount with the home price and judging affordability on P&I alone. Here are the errors we see most:

  • Entering the home price instead of the loan. You finance price minus down payment. Putting the full price in inflates every number.
  • Forgetting taxes and insurance. PITI can run 20-30% above P&I. A payment that looks affordable here may not be once escrow is added.
  • Ignoring PMI. Under 20% down adds a monthly premium that this tool does not show - and it can be $100-$300/mo.
  • Comparing rate to rate instead of APR to APR. Points and fees hide in APR; a 'lower rate' with three points can cost more.
  • Treating pre-approval as a budget. Lenders approve you to the edge of their DTI limit, not to a comfortable number.
  • Assuming the payment is fixed forever. P&I is fixed on a fixed-rate loan, but escrowed taxes and insurance drift upward over time.

Before you settle on a price, figure out the down payment that avoids PMI using the down payment calculator.

Is your payment reasonable? Affordability benchmarks

The classic guideline is the 28/36 rule: spend no more than 28% of gross monthly income on PITI, and no more than 36% on all debt combined. These are ceilings, not targets - many financially comfortable buyers stay well below them.

For a household earning $90,000 gross ($7,500/mo), the limits work out to:

LimitPercentMonthly cap
Front-end (housing/PITI)28%$2,100
Back-end (all debt)36%$2,700

So this household should aim to keep total housing under about $2,100/mo and total debt payments under $2,700/mo. Note these caps apply to PITI, not the bare P&I this tool shows - so back the taxes and insurance out before comparing. Lenders may approve higher back-end DTIs (Fannie Mae allows up to 45%, or 50% through automated underwriting), but approval is not the same as affordable. Verify your numbers with the debt-to-income ratio calculator and the loan affordability calculator.

Conforming vs jumbo loans and escrow

Loans at or below the 2026 conforming limit ($832,750 for a one-unit home in most counties, up to $1,249,125 in high-cost areas) can be sold to Fannie Mae and Freddie Mac; larger loans are jumbo loans with stricter credit, reserve and down-payment rules. See conforming vs jumbo loans for the full comparison, and whether mortgage points are worth it for the break-even math on buying down your rate.

Escrow: most lenders collect property tax and insurance with each payment and pay those bills for you, so your total payment changes whenever taxes or premiums change, even though the P&I stays fixed.

Mortgage Payment Quick Reference: Monthly P&I by Loan Amount and Rate (30-Year)

Your monthly payment depends mostly on three things: the loan amount, the interest rate, and the term. The table below shows monthly principal and interest (P&I) for common 30-year loan amounts at four rates - every figure recomputed with the standard amortization formula. Remember this is P&I only; lenders add property tax, homeowners insurance, PMI (under 20% down), and any HOA dues to reach your true monthly cost (PITI). As a rule of thumb, each 1% rate increase adds roughly $66 per month for every $100,000 borrowed.

Loan amount6.0%6.5%7.0%7.5%
$200,000$1,199$1,264$1,331$1,398
$300,000$1,799$1,896$1,996$2,098
$400,000$2,398$2,528$2,661$2,797
$500,000$2,998$3,160$3,327$3,496

Related on this site

conforming vs jumbo loans · are points worth it · down payment calculator · debt-to-income ratio calculator · extra payment mortgage calculator

For a related deep dive, see CFPB: when you can remove PMI.

How we calculate this

This tool uses the standard formula shown above, runs entirely in your browser and stores nothing you type. Results are estimates for planning — not financial, tax or legal advice. Background reading: Consumer Financial Protection Bureau — home loans. Found an error? Tell us and we will fix it.

Mortgage Calculator — frequently asked questions

How much is the monthly payment on a $400,000 mortgage at 7% for 30 years?
About $2,661.21 a month in principal and interest. Using the standard formula on a $400,000 loan at 7% over 360 months, you would repay roughly $958,036 total, of which about $558,036 is interest. That is P&I only - your lender adds property tax, homeowners insurance, and PMI (if you put under 20% down) on top.
What is the full monthly PITI on a $400,000 home with 10% down?
Roughly $2,972 a month once you add taxes and insurance. A $400,000 home with 10% down is a $360,000 loan; at 6.5% over 30 years that is $2,275.44 P&I. Add about $367 property tax (1.1%/yr), $150 homeowners insurance, and $180 PMI (0.6%/yr) and you reach about $2,972. P&I is only about 77% of what you actually pay each month.
How much interest do you pay on a $300,000 mortgage over 30 years at 7%?
About $418,527 in interest - more than the loan itself. At 7% over 360 months the payment is $1,995.91, so you repay roughly $718,527 total on a $300,000 loan. Cutting the term to 15 years raises the payment to $2,696.48 but drops total interest to about $185,367, saving roughly $233,000.
How do I calculate a mortgage payment in Excel?
Use =PMT(rate/12, years*12, -loan). For a $400,000 loan at 7% over 30 years, enter =PMT(0.07/12, 360, -400000), which returns $2,661.21. Divide the annual rate by 12 for the monthly rate, multiply years by 12 for the number of payments, and make the loan amount negative so the result shows as a positive payment. Add taxes and insurance separately for full PITI.
What is the difference between a conforming and a jumbo mortgage in 2026?
A conforming loan stays within the 2026 baseline limit of $832,750; a jumbo loan exceeds it. Conforming loans can be sold to Fannie Mae and Freddie Mac, so they usually carry lower rates and easier underwriting. Jumbo loans (above $832,750, or above $1,249,125 in high-cost areas) often require stronger credit, bigger down payments, and more reserves. The monthly-payment math is identical - only qualifying differs.
When does PMI come off?
You can ask your servicer to cancel PMI once your balance reaches 80% of the home's original value, and it must be removed automatically when the balance is scheduled to reach 78%, as long as you're current on payments. Paying extra principal gets you there sooner.

Guides & articles

Related calculators

Loan Calculator · Auto Loan Calculator · Student Loan Calculator · Home Equity Loan Calculator · Business Loan Calculator · Boat Loan Calculator

📋 Embed this calculator on your site

Free for any blog or website — just copy the code below and paste it into your page. The credit link helps support free tools.

Tip: adjust the iframe height if needed (try 600–800).