Mortgage Payment Calculator
By Jason Smith · Updated October 26, 2026
Principal and interest uses the fixed-rate formula. Tax and insurance are annual dollars divided by 12.
PMI is added only when the down payment is under 20 percent. The 7 percent rate, the 20 in the down-payment box, and the 0.5 PMI rate are placeholders. Type the numbers from the Loan Estimate.
Annual escrow items
Estimate only, not financial, tax, or lending advice. The figures are the fixed-rate formula on the numbers you type, plus tax, insurance, and the PMI rule below. They are not a pre-approval. The 7 percent rate, the 20 in the down-payment box, and the 0.5 PMI rate are placeholders. A Loan Estimate states the rate, mortgage insurance, taxes, insurance, and cash to close.
Price, down payment, rate, term, tax, insurance, and the PMI box
Home price is dollars. Down payment is a percent of that price, not a dollar amount. The dollars down are price × percent ÷ 100, and the loan is price minus that amount. On a $400,000 price, 20 percent is $80,000 down and a $320,000 loan. Ten percent is $40,000 down and a $360,000 loan. Typing 40000 into the percent box is not $40,000 down. The script treats it as 40,000 percent.
The interest rate is an annual percent. The 7 already filled in is an example so the form is not empty. It is not a quote. Term is in years, and the formula multiplies years by 12. Property tax and homeowner's insurance are annual dollars, each divided by 12, with no increase in later years. The PMI rate is an annual percent of the loan, and it is used only when the down-payment percent is strictly under 20. At 20 or above, the PMI line is $0 even if 0.5 is still in the box.
The Consumer Financial Protection Bureau describes private mortgage insurance as lender protection you might have to buy on a conventional loan with a down payment under 20 percent of the price. A monthly premium is added to the payment on the Loan Estimate. This page's 0.5 is not that premium. Type the quoted rate. FHA and VA mortgage insurance, which that page treats as different products, do not follow this switch.
Principal and interest, then what gets added
Let r be the annual rate divided by 12 and then by 100, and let n be the term in years times 12. If r is 0, principal and interest is the loan divided by n. Otherwise it is loan × (r × (1 + r)^n) ÷ ((1 + r)^n − 1). That is the function in this page's script. Monthly tax and monthly insurance are the annual amounts divided by 12. Monthly PMI, when the down payment is under 20, is (loan × PMI rate ÷ 100) ÷ 12. PITI adds the four amounts. Total interest is the unrounded principal-and-interest payment × n − loan. Tax, insurance, and PMI are not inside it. Each dollar line rounds to the nearest dollar on its own.
A zero rate uses the division branch. The same $400,000 price, 20 percent down, $5,000 tax, and $1,500 insurance, with the rate set to 0 for 30 years, divides the $320,000 loan by 360. Unrounded principal and interest is $888.89, and the panel prints $889. Tax and insurance still print as $542, PITI prints as $1,431, and interest prints as $0. The script holds r for all n months, so an adjustable start rate does not belong here. Points, closing costs, HOA dues, extra principal, and a mortgage-interest deduction are not in the script. If you pay points, type the rate after the points.
$400,000 at a 7% example rate
Each row is a $400,000 price, a 7 percent example rate, $5,000 of property tax, and $1,500 of insurance. The PMI rate is the 0.5 placeholder. The columns are the panel lines.
| Down | Years | PITI | P&I | Tax + ins. | PMI | Loan | Interest |
|---|---|---|---|---|---|---|---|
| 20% | 30 | $2,671/mo | $2,129 | $542 | $0 | $320,000 | $446,428 |
| 10% | 30 | $3,087/mo | $2,395 | $542 | $150 | $360,000 | $502,232 |
| 20% | 15 | $3,418/mo | $2,876 | $542 | $0 | $320,000 | $197,725 |
On the first row the unrounded principal and interest is $2,128.97, and the panel rounds it to $2,129. PITI prints as $2,671. Total interest prints as $446,428. Down payment is not under 20, so PMI is $0. The second row only changes the down payment to 10 percent. Principal and interest prints as $2,395. Monthly PMI is (360,000 × 0.5 ÷ 100) ÷ 12 = $150. PITI prints as $3,087. The rounded PITI lines differ by $416: a $266 gap in the rounded principal-and-interest lines, plus the $150 of PMI. Interest on that loan prints as $502,232 and still excludes PMI.
The third row returns to 20 percent down and sets the term to 15 years. Principal and interest prints as $2,876, which is $747 more than $2,129. PITI prints as $3,418, and $3,418 − $2,671 is the same $747, because tax, insurance, and PMI did not change. Total interest falls from $446,428 to $197,725, a difference of $248,703. The shorter term costs more each month and less interest over the term. How a payment splits between interest and principal over the months, at example rates, is How Mortgage Amortization Actually Works. Replacing the loan is Should I Refinance My Mortgage. The two payments and the closing costs are the refinance break-even calculator. Taking cash out is a different product: cash-out refinance versus a HELOC.
The 20% switch is not a PMI cancellation date
Under 20 percent down, the script charges the PMI percent every month and never removes it. The CFPB's page on when PMI can come off is a different rule for many single-family principal residences: you can ask at 80 percent of original value, the servicer must generally terminate PMI at 78 percent if you are current, and a 30-year loan also ends PMI after 15 years. This page does not schedule those dates.
If the house is a rental, the payment is one input. Rental Property Cash Flow adds rent and operating costs and has no PMI switch. It also explains the 1 percent rule, which compares rent with price. This page does not. A car loan is the Auto Loan Calculator. A card balance is the Credit Card Payoff Calculator.
Typing 40000 where the form expects 20
- The down-payment box is a percent. 20 is 20 percent of the price. 40000 is not $40,000. The $320,000 loan on the first row exists because 20 percent of $400,000 is $80,000.
- Leaving 7 in the rate box. Seven percent is the example on every row above, so the rows can be compared. The rate you pay is the one on the Loan Estimate. The payment moves when r moves.
- Expecting the $150 of PMI to vanish inside the interest total, or in year 15. On the 10 percent row, PMI prints as $150 every month, and $502,232 of interest ignores it. The 78 percent and 15-year cancellation rules are not in the script.
- Looking only at the monthly line when the term changes. On these inputs the 15-year PITI is $747 higher and the interest total is $248,703 lower. Both come from the same formula. The page does not know your income, so the monthly line is not an affordability decision.
FAQ
Why is PITI higher than the principal and interest line?
PITI adds monthly tax, monthly insurance, and PMI when the down payment is under 20 percent. On the first row, principal and interest is $2,129 and PITI is $2,671. The $542 gap is $6,500 divided by 12, rounded.
I entered 20 percent down. Why is PMI zero while the box still says 0.5?
PMI is added only when the down-payment percent is under 20. At 20 or above, the 0.5 placeholder is ignored. At 10 percent down on the $400,000 example, the PMI line is $150.
Does total interest include tax, insurance, and PMI?
No. Total interest is unrounded principal and interest times the months, minus the loan, then rounded. On the 30-year row that is $446,428. Escrow and PMI stay on the monthly lines.
Will this match a closing disclosure?
Only the fixed-rate formula, the tax and insurance you typed, and the 20 percent PMI switch. The Loan Estimate states the rate, mortgage insurance, and cash to close. An adjustable rate, FHA or VA insurance, points, and fees are not in this script.
Related calculators
- Rental Property Cash Flow if the payment has to be covered by rent
- Auto Loan Calculator
- Credit Card Payoff Calculator
- How Mortgage Amortization Actually Works
- Should I Refinance My Mortgage
- Mortgage Refinance Break-Even
- How refinance break-even is calculated
- Cash-out refinance vs HELOC
- Credit card payoff math