Calcs.finance

mortgage calculator

Mortgage Payment Calculator

The Mortgage Payment Calculator estimates one fixed-rate monthly principal-and-interest payment from home price, down payment, annual rate, and term in years. It first subtracts the down payment from the home price to estimate the loan amount, then amortizes that loan amount over the selected term.

Your scenario

Enter your numbers

Help

Result

Loan amount
$320,000.00
Monthly principal and interest
$2,022.62
Total principal and interest paid
$728,142.36
Total interest
$408,142.36

Working scenario

New scenario

Not saved yet

Compare

Saved scenarios

Compare saved versions

Compare

Save this result, then use saved scenarios to switch between assumptions.

How the Mortgage Payment Calculator works

Use this calculator when you want to compare a simple mortgage principal-and-interest estimate before adding property tax, homeowners insurance, mortgage insurance, HOA dues, escrow, closing costs, points, APR, lender underwriting, or product terms. Use Amortization for a month-by-month schedule, House Affordability when income and debt ratios matter, Down Payment when cash-to-close assumptions matter, and lender disclosures for real Loan Estimate or Closing Disclosure figures.

The app calculates loan amount as max(homePrice - downPayment, 0). It converts Annual rate to a monthly decimal rate with annualRate / 100 / 12 and converts Term in years to months with termYears * 12. If the monthly rate is 0, Monthly principal and interest equals loanAmount / months. Otherwise it uses PMT = P * m / (1 - (1 + m)^-n), where P is loan amount, m is monthly rate, and n is total months. Total principal and interest paid equals the full-precision monthly payment times total months, and Total interest equals that total minus loan amount.

Mortgage Payment Calculator formula

This formula page covers the app's narrower Mortgage Payment Calculator: a fixed-rate principal-and-interest estimate from home price, down payment, annual rate, and term in years. It estimates loan amount, monthly principal and interest, total principal and interest paid, and total interest before property tax, homeowners insurance, mortgage insurance, HOA dues, escrow, lender fees, points, APR disclosures, underwriting, or personalised mortgage advice.

P = max(0, HomePrice - DownPayment); r = annualRate / 100 / 12; n = termYears * 12; PMT = r == 0 ? P / n : P * r / (1 - (1 + r)^(-n)); TotalPI = PMT * n; Interest = TotalPI - P

The calculator subtracts the down payment from the home price, floors the modeled loan amount at zero, converts the entered annual rate and term to monthly assumptions, solves the fixed principal-and-interest payment, then derives total paid and total interest.
SymbolMeaningHow this page uses it
HomePriceHome priceThe entered purchase price assumption. It is used only to derive the modeled loan amount.
DownPaymentDown paymentThe entered cash down payment subtracted from home price before payment math starts.
PLoan amountHome price minus down payment, floored at 0 so an oversized down payment cannot create a negative mortgage balance.
annualRateAnnual rate inputThe entered fixed-rate assumption. The app treats it as a simple annual rate for monthly amortization math, not as a legal APR.
rMonthly rateAnnual rate divided by 100 and by 12.
termYearsTerm in yearsThe entered mortgage term in years.
nPayment countTerm years multiplied by 12 monthly payments.
PMTMonthly principal and interestThe level fixed-rate monthly payment before tax, insurance, mortgage insurance, HOA, escrow, fees, or points.
TotalPITotal principal and interest paidThe full-precision monthly principal-and-interest payment multiplied by n.
InterestTotal interestTotal principal and interest paid minus the modeled loan amount.

Step by step

  1. Read home price, down payment, annual rate, and term in years from the calculator inputs.
  2. Calculate loan amount as home price minus down payment, then floor it at 0 for calculation safety.
  3. Convert the entered annual percentage rate into a decimal monthly rate by dividing by 100 and by 12.
  4. Convert term years into monthly payment count by multiplying by 12.
  5. If the monthly rate is 0, use the zero-rate branch: divide the loan amount by the payment count to get the level monthly principal-and-interest payment.
  6. Otherwise, solve the fixed amortizing payment with P times r divided by 1 minus (1 + r) raised to negative n.
  7. Calculate total principal and interest paid from the full-precision monthly payment times the payment count.
  8. Calculate total interest as total principal and interest paid minus the modeled loan amount.
  9. Round displayed currency outputs to two decimals after the full-precision calculation.
  10. Use CFPB mortgage-payment, Loan Estimate, APR, Regulation Z, lender, servicer, local tax, insurer, HOA, legal, or local regulator sources before adding official payment, disclosure, escrow, approval, underwriting, tax, insurance, HOA, or jurisdiction-specific claims.

Worked example

Default and zero-rate examples: mortgage principal and interest

These examples use the app's package fixtures so the numbers match the production formula and its rounding policy.

  1. Default fixture: $400,000 home price minus $80,000 down payment creates a $320,000 loan amount.
  2. At 6.5 percent for 30 years, the monthly rate is about 0.0054167 and the payment count is 360.
  3. Applying the fixed-rate payment formula gives a $2,022.62 monthly principal-and-interest payment after rounding.
  4. Total principal and interest paid is calculated from the full-precision payment times 360 and is reported as $728,142.36.
  5. Total interest is $728,142.36 minus the $320,000 loan amount, or $408,142.36.
  6. Zero-rate fixture: $300,000 home price minus $50,000 down payment creates a $250,000 loan amount.
  7. At 0 percent for 15 years, the calculator uses the zero-rate branch: $250,000 divided by 180 months.
  8. That reports a $1,388.89 monthly payment, $250,000.00 total principal and interest paid, and $0.00 total interest.

The examples isolate principal-and-interest math. They do not show what a lender will quote, disclose, approve, collect in escrow, or require for taxes, insurance, mortgage insurance, HOA dues, fees, or closing costs.

Assumptions and what this calculator ignores

Geographic scope: works globally. The math is currency-agnostic, so enter amounts in your own currency; local taxes, fees, and product rules are not included.

What this formula does not include

Common mistakes to avoid

Key terms

Loan amount
The modeled mortgage principal after subtracting the down payment. The app floors this at $0 for calculation safety if the down payment is greater than the home price.
Principal and interest
The fixed monthly payment amount estimated by this calculator. It is narrower than a full monthly mortgage payment because taxes, insurance, mortgage insurance, HOA dues, and escrow are outside this calculator.
Total interest
Total principal and interest paid minus the original loan amount. It helps show how rate and term affect interest under the fixed-rate assumption.

Frequently asked questions

What does this mortgage payment estimate include and exclude?

It is principal and interest only - the pure loan cost. The default $400,000 home with $80,000 down at 6.5 percent over 30 years produces a $2,022.62 monthly P&I payment. Property taxes, homeowners insurance, PMI, and HOA dues typically add hundreds more to a real monthly housing bill; the full Mortgage Calculator on this site models all of those line by line.

How much interest does a 30-year mortgage really cost?

The total-interest output answers it bluntly: the default scenario pays roughly $408,000 of interest on a $320,000 loan - more than the principal itself. That is normal fixed-rate math at 6.5 percent, not an error. Rerunning the same inputs with a 15-year term or a lower rate shows exactly how much of that interest a different structure removes, which is the comparison the calculator is built for.

How does my down payment size change the monthly payment?

The loan amount is home price minus down payment, so the payment scales linearly with what you finance: each extra $10,000 down cuts the default payment by about $63 per month and saves multiples of that in lifetime interest. Below 20 percent down, real lenders also add PMI - not modeled on this page but included in the full Mortgage Calculator and Down Payment Calculator.

Methodology, sources, and disclaimer

This calculator is an original principal-and-interest-only mortgage model from home price, down payment, rate, and term, deliberately excluding taxes, insurance, PMI, and HOA, validated by deterministic fixtures, edge cases, and rounding policy tests. It is not copied from a single source.

Fixtures pin the default $400,000-home example ($2,022.62 monthly P&I) and the loan-amount netting. The result remains an educational estimate, not a Loan Estimate or a full monthly housing cost.

Formula version 2026.05.20. The version marks the calculation logic and validation fixture set used for this estimate.

Results are educational estimates, not advice. Read the full disclaimer.

Related reading

When another calculator fits better

loan

Amortization Calculator

Estimate a fixed loan payment schedule, payoff timing, first-month split, and interest saved from extra payments.

loan

Loan Payment Calculator

Estimate monthly payment, total paid, and total interest for an amortizing loan at a fixed rate.

mortgage

House Affordability Calculator

Estimate an affordable home price from household income, debt payments, a fixed housing budget, mortgage terms, and recurring homeownership costs.

mortgage

Down Payment Calculator

Estimate home price, cash needed, or down payment percentage from upfront cash, home price, closing costs, interest rate, and loan term.

mortgage

Mortgage Payoff Calculator

Estimate how extra mortgage payments, annual lump sums, one-time prepayments, or biweekly-style repayment can shorten a payoff timeline and reduce interest.