What Is a Mortgage Calculator?
A mortgage calculator is a financial tool that estimates your monthly home loan payment based on the loan amount, interest rate, and repayment term. Unlike the basic calculators on Bankrate or Zillow, a complete mortgage calculator should also factor in property taxes, homeowner's insurance, and private mortgage insurance (PMI) — the four costs that make up your true monthly housing expense, often called PITI (Principal, Interest, Taxes, Insurance).
Most homebuyers are surprised to find that the principal-and-interest payment they see advertised is only 70–80% of what they'll actually pay each month. A $400,000 mortgage at 7% for 30 years has a P&I payment of about $2,661 — but once you add $500/month in property taxes, $150/month in insurance, and $133/month in PMI (if you put less than 20% down), your real payment climbs to roughly $3,444.
Understanding the full cost upfront is critical for affordability decisions. Lenders use your PITI payment to calculate your debt-to-income ratio (DTI), which determines whether you qualify for the loan and at what rate.
The Mortgage Payment Formula
The core mortgage formula calculates your monthly principal and interest payment using the standard amortization equation:
M = P × [r(1+r)^n] / [(1+r)^n − 1]
Where M is the monthly payment, P is the loan principal, r is the monthly interest rate (annual rate ÷ 12), and n is the total number of payments (years × 12).
For a $350,000 loan at 7% annual interest over 30 years: r = 0.07/12 = 0.00583, n = 360 payments. M = $350,000 × [0.00583 × (1.00583)^360] / [(1.00583)^360 − 1] = $2,329/month.
What makes this formula powerful is understanding how changes in rate affect the payment. Going from 6.5% to 7% on a $400,000 loan increases your payment by $130/month — that's $46,800 over 30 years. A half-point rate difference is worth fighting for with multiple lender quotes.
Advertisement
15-Year vs. 30-Year Mortgage: Which Saves More?
The most consequential mortgage decision most buyers make isn't the interest rate — it's the loan term. A 30-year mortgage on a $400,000 loan at 7% costs $558,036 in interest over its life. The same loan on a 15-year term at 6.5% (15-year rates are typically 0.5–0.75% lower) costs $222,288 in total interest — a savings of $335,748.
But the 15-year monthly payment is $3,485 vs. $2,661 for the 30-year — a difference of $824/month. The question isn't which saves more overall; it's whether that $824/month is better deployed in your mortgage or invested elsewhere.
Historically, the S&P 500 returns ~10% annually. If you invest that $824/month difference over 15 years at 8% (a conservative estimate), you'd accumulate roughly $285,000 — approaching the total interest savings of the 15-year mortgage. The math is surprisingly close, which is why financial advisors are divided on this question.
The 15-year mortgage makes the most mathematical sense when: your income is stable and growing, you're within 15 years of retirement, or mortgage rates are exceptionally high (above 7%) making the interest savings more valuable.
How Much House Can You Actually Afford?
Lenders use two key debt-to-income ratio thresholds: the front-end ratio (your housing costs ÷ gross income) should be below 28%, and the back-end ratio (all debt payments ÷ gross income) should be below 36–43%.
For a household earning $120,000/year ($10,000/month gross), maximum housing costs under the 28% rule = $2,800/month. At current 7% rates on a 30-year loan, that translates to a maximum loan of about $420,000. With a 10% down payment, you could afford a home priced up to $467,000.
But these are maximums, not targets. Housing experts recommend keeping total housing costs below 25% of take-home pay — not gross income. With a $120,000 salary and a 30% effective tax rate, take-home is roughly $7,000/month. Twenty-five percent of that is $1,750/month — substantially less than the bank will approve. Buying at your maximum approval amount is one of the most common financial mistakes first-time buyers make.