How Mortgage Math Works
Your monthly payment is calculated using the standard amortization formula: M = P × [r(1+r)^n] / [(1+r)^n - 1], where P is the loan principal (home price minus down payment), r is the monthly interest rate (annual rate ÷ 12), and n is the total number of payments (years × 12).
Here's what surprises most first-time buyers: on a 30-year loan at 6.5%, your first payment is roughly 65% interest and 35% principal. You don't hit 50/50 until about year 17. That's why the first few years of extra principal payments have an outsized impact. Every extra dollar skips the interest queue.
Important distinction: the rate you enter here should be the nominal interest rate (what's used to calculate payments), NOT the APR. The APR includes fees and closing costs spread over the loan term, so it's always slightly higher. Your lender quotes both. Use the lower number (nominal rate) for payment calculation.
How to Use
- 1Enter the home price (or total loan amount if you already know it).
- 2Enter your down payment as a percentage. 20% avoids PMI, but 5-10% is common for first-time buyers.
- 3Enter the loan term. 30 years is standard, 15 years saves massive interest but costs more monthly.
- 4Enter the annual interest rate (nominal rate, not APR) and hit Calculate.
When This Calculator Helps
Figuring out how much house you can afford
Work backwards: if you can comfortably pay $2,500/month, what loan amount does that support at current rates? Adjust the home price until the monthly payment fits your budget. General rule: keep housing under 28% of gross income.
Comparing 15-year vs 30-year loans
On a $400,000 loan at 6.5%: 30-year = $2,528/month, total interest = $510,177. 15-year = $3,484/month, total interest = $227,181. You pay $956 more per month but save $283,000 in interest. Run both scenarios here to see your actual numbers.
Deciding how much to put down
Putting 20% down on a $500K house ($100K) vs 5% ($25K) changes your monthly payment by about $475 and eliminates PMI (~$200/month). But that extra $75K tied up in the house could earn returns elsewhere. This calculator helps you see the monthly impact.
Evaluating a refinance
If rates drop 1% below your current rate, is it worth refinancing? Calculate your new payment, compare to the old one, multiply the monthly savings by the remaining months, and subtract closing costs (~$3-5K). If you break even within 2-3 years, it's usually worth it.
Things Most Calculators Don't Tell You
This shows principal + interest only
Your actual monthly payment includes property taxes (~1-2% of home value annually), homeowner's insurance (~$100-300/month), and PMI if you put less than 20% down (~0.5-1% of loan annually). Add 30-40% to the number you see here for a realistic budget.
Use the nominal rate, not APR
APR includes origination fees and closing costs amortized over the loan term. It's useful for comparing lenders, but it's NOT the rate used to calculate your monthly payment. Use the base interest rate your lender quotes.
Extra payments early on save the most
Adding $200/month extra principal to a $400K/30yr/6.5% loan saves $98,000 in interest and pays off the loan 5 years early. The earlier you start, the more you save, because you're eliminating future interest that would have compounded.
Don't forget opportunity cost
A bigger down payment means lower monthly payments, but that cash could earn 7-10% annually in index funds. If your mortgage rate is 6.5% and the market averages 9%, the math might favor a smaller down payment and investing the difference. Run both scenarios.
Example Calculations
$400,000 home, 20% down, 30 years at 6.5%
A typical scenario for a mid-range home purchase in 2026.
Input
Home price: $400,000 | Down payment: 20% ($80,000) | Loan: $320,000 | Term: 30 years | Rate: 6.5%Output
Monthly payment: $2,023 | Total interest: $408,141 | Total paid: $728,141 | First payment: $1,733 interest + $290 principalSame loan but 15-year term
See how much interest you save with a shorter term.
Input
Home price: $400,000 | Down payment: 20% ($80,000) | Loan: $320,000 | Term: 15 years | Rate: 6.0%Output
Monthly payment: $2,700 | Total interest: $165,952 | Total paid: $485,952 | Savings vs 30yr: $242,189 in interestLimitations
- Estimates monthly principal and interest only. Does not include property taxes, homeowners insurance, HOA fees, or PMI.
- Assumes a fixed-rate mortgage for the entire term. Does not model ARM (adjustable rate) products.
- Does not factor in closing costs, points, or other upfront fees that affect your true cost of borrowing.
- Results are planning estimates. Actual mortgage terms depend on your lender, credit profile, and property appraisal.
Features
- Instant monthly payment calculation with principal/interest split
- Total interest and total cost over the full loan term
- Supports any loan amount, term, and rate
- Shows how much of each payment goes to interest vs principal
- Your data stays local. All math runs in the browser, nothing stored
- No signup needed. Free forever, no ads
Frequently Asked Questions
How much house can I afford on an $80K salary?
The 28% rule says your housing payment should be under 28% of gross monthly income. On $80K that's ~$1,867/month for principal + interest. At 6.5% for 30 years with 20% down, that supports roughly a $350,000 home. But remember to budget for taxes and insurance on top.
What's the difference between 15-year and 30-year mortgages?
On a $320K loan at 6.5%: 30-year costs $2,023/month but $408K total interest. 15-year costs $2,787/month but only $181K total interest. You pay $764 more per month but save $227,000 over the life of the loan. 15-year rates are also typically 0.5-0.75% lower.
Should I put 20% down or less?
Putting less than 20% down means paying PMI (private mortgage insurance), typically 0.5-1% of the loan amount per year. On a $320K loan that's $133-267/month extra. If you can hit 20%, you eliminate that cost immediately. But if it takes you 5 more years to save 20%, buying sooner at 10% down might make sense depending on home price appreciation in your market.
Does this calculator include property taxes?
No. This shows principal and interest only. Property taxes vary wildly by location (0.3% in Hawaii to 2.5% in New Jersey). Add your local tax rate × home value ÷ 12 to get your real monthly cost. Most lenders collect this in escrow as part of your payment.
How do extra payments affect my mortgage?
Extra principal payments reduce your loan balance faster, which means less interest accrues each month. On a $320K/30yr/6.5% loan, paying just $100 extra per month saves $52,000 in interest and pays off the loan 4 years early. Use our Mortgage Payoff Calculator to model specific scenarios.
Is this calculator accurate enough for financial decisions?
This calculator uses the standard amortization formula (M = P[r(1+r)^n]/[(1+r)^n-1]) that banks and lenders use for fixed-rate loans. The principal and interest calculation is mathematically exact. However, it does not include property taxes, insurance, PMI, or fees, which vary by location and lender. Use these results as a starting estimate, then get official quotes from lenders for your actual total monthly obligation. This tool is not financial advice.
Last reviewed:
Your Privacy
All calculations happen entirely in your browser. No financial data is uploaded to any server. Your home price, down payment, and financial details never leave your device.
In-Depth Guide
Mortgage Payment Formula: How Your Monthly Bill Works
A no-nonsense breakdown of how mortgage math works: the actual formula, a worked example, and why your first payment is almost all interest.
Read guideTips & Related Workflows
- Wondering how extra payments shave years off your loan? The Mortgage Payoff Calculator.
- If you want the full month-by-month breakdown, try our Amortization Calculator.
- Working with auto loans or personal loans? The Loan Calculator.
- Saving for a down payment? See how compound interest grows that fund with our Interest Calculator.