Calculating your mortgage for a home means turning four inputs — home price, down payment, interest rate, and loan term — into a fixed monthly principal-and-interest payment using the standard amortization formula M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1), where P is the loan principal, r is the annual interest rate divided by 12, and n is the total number of monthly payments. From those same four inputs you can read out your total interest, the dollar amount you hand the bank over the full term, and a year-by-year breakdown of how each payment splits between principal and interest. Layer in property tax, homeowners insurance, and HOA dues and the same tool flips from showing P&I to showing PITI — the all-in monthly cost lenders actually use when they decide how much house you can afford. Because everything runs locally in your browser, none of the numbers you type — price, rate, down payment, term — ever leave the device, which matters when you are running what-if scenarios on a home you are about to bid on.

calculate mortgage for home
calculate mortgage for home

The Four Inputs Behind Every Mortgage Payment

Every figure the calculator returns depends on four numbers, and they are the same four numbers a loan officer will quote back to you. Home price is the full purchase price of the property, not the loan amount. Down payment is the cash you bring to closing; the calculator subtracts it from the home price to arrive at the loan principal P, which is the actual amount that gets amortized. Annual interest rate is the fixed percentage the lender charges on the outstanding balance each year. Loan term is the number of years you have to pay the loan back; 15 and 30 years are the most common, but you can enter any custom term the lender offers. For a deeper breakdown of why these four numbers are the ones that matter, the guide on calculating a home loan walks through how each one feeds the same payment formula.

Two of these are knobs you twist directly: a bigger down payment shrinks the principal and therefore both your monthly payment and your total interest, while a longer term stretches the same principal over more months and lowers the monthly payment in exchange for more interest paid over the life of the loan. The other two — price, driven by the market, and rate, driven by the market and your credit — are mostly inputs you have to live with.

InputWhat it controlsHow a typical change moves the result
Home priceScales the principal and therefore the monthly paymentHigher price → higher monthly payment and more total interest
Down paymentSubtracted from price to set the principalLarger down payment → lower principal, lower monthly payment, less total interest
Annual interest rateDrives the interest charged each month on the remaining balanceHigher rate → higher monthly payment and substantially more total interest
Loan term (years)Sets how many monthly payments amortize the principalLonger term → lower monthly payment but more total interest

How to Run the Numbers in the Mortgage Calculator

The Mortgage Calculator walks through the four inputs in order and reveals every figure on a single screen. Open the tool, type the numbers, and read the result — no signup, no upload, every calculation happening inside your browser.

  1. Enter the home price and your down payment. The calculator subtracts the down payment from the price and shows the resulting loan principal so you can confirm you are amortizing the right amount.
  2. Type your annual interest rate and choose a loan term. Pick 15 or 30 years from the dropdown, or enter a custom number of years if your lender offers something else.
  3. Read your monthly payment, total interest, and total paid. These three figures update instantly as you adjust any input, so you can watch one number change and the others follow.
  4. Open the amortization schedule. Expand it to see how each monthly payment splits between interest and principal and how the balance shrinks month by month.
  5. Add property tax, homeowners insurance, and HOA dues for the PITI total. The estimated monthly total updates with your add-ons, giving you the figure lenders actually use to qualify borrowers.

P&I vs PITI: What's Actually in Your Monthly Cost

The headline monthly figure the calculator shows by default is P&I: principal and interest only, the amount that repays the loan itself. Real housing costs are almost always larger. Property tax, homeowners insurance, and HOA dues sit on top of P&I, and together they form what is commonly called PITI — Principal, Interest, Taxes, and Insurance — plus HOA when dues apply. A dedicated walkthrough of how to calculate mortgage payments, interest, and PITI shows the same components layered into a single monthly figure.

Inside the calculator, property tax is estimated as home value × tax rate ÷ 12, insurance is the annual premium ÷ 12, and HOA is added as a flat monthly amount. These add-ons do not change the speed at which your loan is paid off; they only raise the cash you send each month. That distinction is why lenders qualify you on the PITI total rather than P&I alone — they want to know whether the real monthly outflow fits your income and other debts, not just the loan payment.

Cost componentWhat it representsWhere it sits in your total
PrincipalThe portion of each payment that pays down the loan balanceP&I
InterestThe cost of borrowing, charged on the remaining balanceP&I
Property taxLocal tax on the home, estimated as value × rate ÷ 12PITI
Homeowners insuranceAnnual premium divided by 12PITI
HOA duesMonthly community or building fee, if applicableAdded on top of PITI

How Loan Term Reshapes Your Monthly Payment

Once price, down payment, and rate are fixed, term length is the single biggest knob on your monthly payment. Doubling the term from 15 to 30 years roughly halves the principal-and-interest portion of each month, but in exchange you pay the lender roughly twice as much total interest over the life of the loan because the balance is being amortized for twice as long. A shorter term does the opposite: the monthly payment climbs sharply, but total interest drops by a similarly dramatic amount, and the loan clears far sooner.

The exact dollar swing depends on your rate and principal, so the cleanest way to compare two terms side by side is to open the tool, set it once for each scenario, and read the monthly payment and total interest for each. The amortization schedule is what makes the trade-off visible: year by year, it shows how much of each payment is going to interest versus principal at the term you chose, and where the crossover point sits — the month where principal starts to dominate the payment.

The Fixed-Rate Payment Formula With One Example

The calculator runs the same formula any lender uses for a fixed-rate mortgage: M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1). Plug in a $300,000 principal, an annual rate of 6% so r = 0.06 ÷ 12 = 0.005, and a 30-year term so n = 30 × 12 = 360. With those values (1 + r)^n ≈ 6.02258, so M = 300,000 × 0.005 × 6.02258 ÷ (6.02258 − 1) ≈ $1,798.65 per month. Total paid across all 360 payments is $1,798.65 × 360 = $647,514, so the total interest is $647,514 − $300,000 = $347,514 — the dollar cost, on top of the $300,000 borrowed, of stretching a 6% loan over thirty years.

For a deeper walkthrough of how the formula is built up, and why a 0% rate collapses it to a simple principal split, see the amortization-calculator reference. Most readers don't need to redo the math by hand; the calculator handles the substitution and the schedule, which is the practical way to size any home against a monthly budget.

What the Calculator Doesn't Include

Even with the add-on toggles flipped on, the calculator is a planning tool — not a quote. It deliberately leaves several real costs out of the PITI total: private mortgage insurance (PMI), which usually applies when your down payment is below 20%; lender points and origination fees charged at closing; closing costs in general (title, appraisal, escrow setup); adjustable-rate scenarios where the rate changes after an initial fixed period; extra payments you might make to retire the loan early; and ongoing escrow balance changes.

These omissions reflect the standard scope of a fixed-rate principal-and-interest calculator. Use the figure to size a home against your monthly budget and to compare what-if scenarios; confirm exact terms, taxes, insurance, PMI, and fees with a licensed lender or mortgage professional before signing.