How this mortgage calculator works
A mortgage payment is more than principal and interest. Owners also pay property tax, homeowners insurance, and sometimes mortgage insurance and HOA dues. This page estimates that full month, builds a cent-rounded amortization schedule, and can turn the question around: given income and debts, what price still fits.
The loan is the price minus the down payment. Enter that down payment in dollars or as a percent of the price. Principal and interest follow the standard fixed-rate formula in the line below. A zero rate divides the loan by the number of months, and the last payment picks up any leftover cent.
Monthly principal and interest = P × r(1+r)^n / ((1+r)^n − 1), where P is the loan, r is the annual rate divided by 12, and n is the number of months.
Property tax and homeowners insurance are annual amounts divided by 12. Tax can be dollars per year or a percent of the price. HOA dues are already monthly. Private mortgage insurance is applied only when the loan is more than 80 percent of the price. The annual PMI rate is divided by 12 and multiplied by the original loan. At exactly 80 percent loan-to-value, this model charges no PMI. Set the PMI rate to zero to leave it out even with a smaller down payment.
The schedule rounds every month to the cent. Interest is the current balance times the monthly rate, rounded to the cent. Principal is the scheduled payment minus that interest. The last payment is the remaining principal plus that month of interest, so the balance ends at zero. Total interest is the sum of the interest column. It will not exactly match the regular payment times the number of months, minus the loan, because of that rounding.
Worked example. A $400,000 home with 20 percent down is an $80,000 down payment and a $320,000 loan. At 6.5 percent for 30 years, principal and interest round to $2,022.62 a month. Property tax at 1 percent of the price is $4,000 a year, or $333.33 a month. Insurance of $1,800 a year is $150 a month. Loan-to-value is exactly 80 percent, so PMI is $0 with the sample PMI rate of 0.5 percent left in the field. HOA dues of $75 bring the full monthly payment to $2,580.95. Over 360 months the interest column sums to $408,140.64.
How much house you can afford starts from income. Front-end debt-to-income is the share of gross monthly income allowed for the whole housing payment. Back-end debt-to-income starts from a larger share, then subtracts other monthly debts such as a car, student loans, or card minimums. The budget is the lower cap. The page searches for the highest price whose full payment still fits, recomputing tax, insurance, and PMI because they change with the price.
The afford example uses $9,000 of gross monthly income, $400 of other debts, a 28 percent front-end cap, and a 36 percent back-end cap. The front-end cap is tighter, at $2,520. With 10 percent down, 6.5 percent interest, 30 years, tax at 1.1 percent of price, insurance at 0.35 percent of price, PMI at 0.5 percent, and $50 of HOA, the highest fitting price is $339,661. The payment there is $2,520.00: $1,932.20 principal and interest, $311.36 tax, $99.07 insurance, $127.37 PMI, and $50 HOA.
These figures are for planning. They are not a preapproval, a tax bill, or an insurance quote. The schedule does not assume extra principal payments.