HomeFinance › Mortgage Payment Calculator

Mortgage Payment Calculator

Computes the monthly principal-and-interest payment of a fixed-rate mortgage from home price, down payment, rate and term, then adds property tax, home insurance and HOA dues to give the full monthly housing payment and lifetime interest.

When to use

You want the monthly cost of buying a home with a fixed-rate mortgage, including escrowed taxes and insurance, or the total interest over the loan.

Do not use when: The loan is adjustable-rate or interest-only, or you only need the payment on a plain loan amount (use loan-payment).

Formula

loan_amount = home_price − down_payment; i = annual_rate_percent / 1200; n = 12·term_years; P&I = loan_amount × i / (1 − (1 + i)^−n) (loan_amount / n if i = 0); total_monthly_payment = P&I + annual_property_tax/12 + annual_home_insurance/12 + monthly_hoa.

Standard fixed-rate amortization with monthly compounding. Private mortgage insurance, closing costs and escrow cushions are not included; add PMI (typically 0.5–1.5 % of the loan per year) to the total when loan_to_value_percent exceeds 80 %.

Inputs

ParameterTypeUnitRequiredDescription
home_pricenumberyesPurchase price of the property. Range: > 0, ≤ 1000000000000
down_paymentnumberdefault 0Cash paid up front; loan_amount = home_price − down_payment. For 20 % of a 250,000 home enter 50000. Range: ≥ 0, ≤ 1000000000000
annual_rate_percentnumber%yesFixed note rate in percent; the monthly rate is this / 12. Range: ≥ 0, ≤ 100
term_yearsnumberyearsdefault 30Loan term in years (30 and 15 are the common US terms). Range: > 0, ≤ 50
annual_property_taxnumberdefault 0Yearly property tax; one twelfth is added to the monthly payment. Range: ≥ 0, ≤ 1000000000
annual_home_insurancenumberdefault 0Yearly homeowners insurance premium; one twelfth is added monthly. Range: ≥ 0, ≤ 1000000000
monthly_hoanumberdefault 0Monthly homeowners-association or condo fee. Range: ≥ 0, ≤ 10000000

Outputs

OutputTypeUnitDescription
loan_amountnumberhome_price − down_payment.
loan_to_value_percentnumber%loan_amount / home_price × 100; above 80 % usually requires mortgage insurance (PMI).
monthly_principal_and_interestnumberLevel monthly amortizing payment on the loan.
monthly_property_taxnumberannual_property_tax / 12.
monthly_insurancenumberannual_home_insurance / 12.
monthly_hoa_feenumbermonthly_hoa as entered.
total_monthly_paymentnumberPrincipal & interest + tax + insurance + HOA (PITI + HOA).
number_of_paymentsinteger12 × term_years.
total_interestnumberInterest paid over the full term.
total_of_paymentsnumbermonthly_principal_and_interest × number_of_payments.
payoff_summarystringPlain-language summary of the loan schedule.

Example

250,000 home, 50,000 down, 6 % for 30 years, 3,000 tax, 1,200 insurance: {"home_price":250000,"down_payment":50000,"annual_rate_percent":6,"term_years":30,"annual_property_tax":3000,"annual_home_insurance":1200}{"loan_amount":200000,"loan_to_value_percent":80,"monthly_principal_and_interest":1199.1,"monthly_property_tax":250,"monthly_insurance":100,"total_monthly_payment":1549.1,"number_of_payments":360,"total_interest":231676.38,"total_of_payments":431676.38}

400,000 home, 80,000 down, 6.5 % for 30 years: {"home_price":400000,"down_payment":80000,"annual_rate_percent":6.5,"term_years":30}{"loan_amount":320000,"monthly_principal_and_interest":2022.62,"total_monthly_payment":2022.62,"total_interest":408142.36}

GET https://tttkmbb.com/api/v1/calculate/mortgage-payment?home_price=250000&down_payment=50000&annual_rate_percent=6&term_years=30&annual_property_tax=3000&annual_home_insurance=1200

Machine access

Sources

FAQ

What does PITI mean?

Principal, Interest, Taxes and Insurance: the four components lenders count as the housing payment. total_monthly_payment is PITI plus any HOA dues.

Why is my lender's quote slightly different?

Lenders round the payment to cents, may include PMI or an escrow cushion, and property tax and insurance change every year while this calculator holds them constant.

How does a 15-year term compare?

Set term_years=15: the monthly payment rises but total interest falls sharply (200,000 at 6 % costs 231,676 interest over 30 years but 103,788 over 15 years).

Related calculators