Complete Mortgage Calculator
Comprehensive mortgage and home buying calculator. Calculate monthly payment, affordability, closing costs, PMI, and compare 15 vs 30-year terms. Includes rent vs buy analysis, refinance calculator, and amortization schedule.
About this calculator
This is the multi-mode mortgage tool: Calculation Mode switches between four calculation paths (Payment, Affordability, Refinance, Rent vs Buy). Each mode's own fields — Current Loan Balance, Current Interest Rate, Current Monthly Payment, and Years Remaining on Current Loan for Refinance; Current Monthly Rent, Annual Rent Increase, Home Appreciation Rate, Investment Return Rate, and Years to Compare for Rent vs Buy — only appear (under "Show advanced options") once you switch Calculation Mode to the matching mode, since the engine ignores them in every other mode. Refinance has one further sub-gate beyond the mode switch: it is calculationMode === 2 AND currentLoanBalance > 0 (line 140) — since Current Loan Balance defaults to $0, switching Calculation Mode to "Should I Refinance?" alone is not enough to activate the refinance math; a non-zero Current Loan Balance is required too. Within Refinance mode, Current Interest Rate is a fallback, not a primary input: if you enter a non-zero Current Monthly Payment, that figure is used directly and Current Interest Rate is ignored; only when Current Monthly Payment is left at its $0 default does the calculator fall back to estimating your old payment from Current Interest Rate, Current Loan Balance, and Years Remaining on Current Loan.
PMI (Monthly PMI, PMI Required) is a genuine hard threshold, not a smooth curve: it switches on at 0.7% of the loan annually the instant Down Payment drops below 20%, and off entirely at 20% or above (line 90) — moving Down Payment from 22% to 18% around the default flips PMI from $0 to about $191/month, by far the largest swing any input produces on that output, purely because it crosses the threshold rather than because of a large underlying rate change. Down Payment moves Total Monthly Payment down by about 12% across a ±10% probe — a smaller share than Home Price's roughly 18% — a mix of the direct financed-amount reduction and, when it crosses the 20% line, the PMI switching off too. Annual Household Income never moves Total Monthly Payment, Monthly P&I, or any of the payment-calculation outputs — it's used only in the separate affordability math (Max Affordable Home, Max Monthly Payment), which the calculator runs unconditionally regardless of which mode is selected. This calculator does not account for mortgage points, an adjustable-rate structure, or state-specific PMI cancellation rules beyond the flat 20% equity line.
Financial Disclaimer
This calculator is for educational purposes only and does not constitute financial advice. Results are estimates based on the inputs provided. Consult a qualified financial advisor before making investment or financial planning decisions.
Inputs
Purchase price of the home
Down payment as percentage of home price (< 20% requires PMI)
Annual mortgage interest rate
Additional principal payment each month
Summary
Total Monthly Payment
$2,427.62
$320,000 · 6.5% · 30 yr
Amortization Schedule
360 rows| Month | Payment | Principal | Interest | Balance |
|---|---|---|---|---|
| 1 | $2,022.62 | $289.28 | $1,733.33 | $319,710.72 |
| 2 | $2,022.62 | $290.85 | $1,731.77 | $319,419.86 |
| 3 | $2,022.62 | $292.43 | $1,730.19 | $319,127.44 |
| 4 | $2,022.62 | $294.01 | $1,728.61 | $318,833.43 |
| 5 | $2,022.62 | $295.60 | $1,727.01 | $318,537.82 |
| 6 | $2,022.62 | $297.20 | $1,725.41 | $318,240.62 |
| 7 | $2,022.62 | $298.81 | $1,723.80 | $317,941.80 |
| 8 | $2,022.62 | $300.43 | $1,722.18 | $317,641.37 |
| 9 | $2,022.62 | $302.06 | $1,720.56 | $317,339.31 |
| 10 | $2,022.62 | $303.70 | $1,718.92 | $317,035.62 |
| 11 | $2,022.62 | $305.34 | $1,717.28 | $316,730.27 |
| 12 | $2,022.62 | $307.00 | $1,715.62 | $316,423.28 |
How to Use This Calculator
- Select the calculation mode: monthly payment, affordability, refinance analysis, or rent vs. buy.
- Enter the home price and your down payment percentage.
- Set the interest rate, loan term, and select your state for property tax estimates.
- Add any extra monthly payment to see how it accelerates payoff.
- Review the monthly payment breakdown, total interest, and amortization summary.
How the result changes with Home Price
| Home Price | Total Monthly Payment |
|---|---|
| $200,000.00 | $1,334.64 |
| $300,000.00 | $1,881.13 |
| $600,000.00 | $3,520.59 |
| $1,000,000.00 | $5,706.54 |
What each input means
- Calculation Mode
- Choose what you want to calculate
- Home Price
- Purchase price of the home
- Down Payment
- Down payment as percentage of home price (< 20% requires PMI)
- Interest Rate
- Annual mortgage interest rate
- Loan Term
- Length of the loan in the specified time unit.
- State
- For property tax and closing cost estimates
- Extra Monthly Payment
- Additional principal payment each month
- Annual Household Income
- For affordability calculation
- Monthly Debt Payments
- Car loans, student loans, credit cards, etc.
- Max Debt-to-Income Ratio
- Lenders typically allow 36-43%
- Current Loan Balance
- For refinance calculation
- Current Interest Rate
- Your current interest rate.
- Current Monthly Rent
- For rent vs buy comparison
- Investment Return Rate
- Expected return if investing down payment instead
What each result means
- Total Monthly Payment
- P&I + taxes + insurance + HOA + PMI
- Total Cash Needed
- Down payment + closing costs
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersCalculation Mode = 0, Home Price = 400000, Down Payment = 20, Interest Rate = 6.5 = 20 input(s) provided
- Calculate Total Monthly PaymentTotal Monthly Payment2427.62 = $2,427.62
- Calculate Principal & InterestPrincipal & Interest2022.62 = $2,022.62
- Calculate Property TaxProperty Tax163.33 = $163.33
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
If I fill in the refinance fields but stay in Payment Calculator mode, do they change anything?
You can't — Current Loan Balance, Current Interest Rate, Current Monthly Payment, and Years Remaining on Current Loan only appear once Calculation Mode is set to "Should I Refinance?" (mode 2), since the engine ignores them in every other mode. Note that switching Calculation Mode to "Should I Refinance?" is not by itself enough to activate the refinance math either — the actual gate (line 140) is Calculation Mode = "Should I Refinance?" AND Current Loan Balance > 0, and Current Loan Balance defaults to $0. Within Refinance mode, Current Interest Rate only matters if you leave Current Monthly Payment at its $0 default — enter a real Current Monthly Payment and Current Interest Rate is ignored in favor of that more direct figure.
At exactly what down payment does PMI turn on?
Below 20% down, exactly — PMI is 0.7% of the loan amount annually the instant Down Payment drops under 20%, and $0 at 20% or above (line 90); it's a hard on/off switch rather than a gradual scale, so moving from 22% down to 18% down flips Monthly PMI from $0 to roughly $191 at this calculator's other default numbers.
Does my household income change my monthly payment calculation?
No — Annual Household Income measures zero effect on Total Monthly Payment, Principal & Interest, or any other payment-calculation output; it only feeds the separate affordability figures (Max Affordable Home and Max Monthly Payment), which this calculator computes in every mode, not just "How Much Can I Afford?"
Which drives Total Monthly Payment more — Home Price or Down Payment?
Home Price — knock it down 10% from its default, then bump it up 10%, and the swing in Total Monthly Payment comes to about 18% — versus Down Payment's about 12%; Down Payment's effect is smaller in relative terms even though it can also flip PMI on or off entirely when it crosses the 20% line, adding an extra jump on top of its direct effect.
Is the default State really California?
No — a comment in the calculator's own code used to say "California," but the State dropdown is built from all 50 states' property-tax data sorted alphabetically by two-letter abbreviation (line 43), so index 5 actually resolves to CO, Colorado, and the property tax and closing-cost figures shown at the default settings are genuinely Colorado's.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Mortgage Calculator
Calculate your monthly mortgage payment, total interest, and view a full amortization schedule. Compare different loan terms and interest rates.
Real Estate & PropertyHome Affordability Calculator
Find out how much house you can afford based on your income, debts, and down payment. Uses the 28/36 rule for conservative estimates.
Loans, Debt & CreditRefinance Calculator
Compare your current loan to a refinanced loan. See monthly savings, total interest savings, and break-even point.
Loans, Debt & CreditAmortization Schedule Calculator
Calculate loan amortization schedule. See principal and interest breakdown for any payment, remaining balance, and total interest.
Real Estate & PropertyClosing Costs Calculator
Estimate your total closing costs when buying a home. Includes lender fees, title insurance, escrow, prepaid items, and government fees.
More in Loans, Debt & Credit.