Mortgage Calculator
Results:
Enter loan amount, rate, term, taxes, insurance, and PMI.
This result is an estimate, not financial, tax, or lending advice.
Estimate the monthly mortgage payment from principal and interest, property tax, homeowners insurance, and PMI. The result updates as you type. There is no Calculate button. Principal and interest use the same fixed-rate amortization formula as the loan calculator. Tax and insurance are the annual amounts divided by 12. Monthly PMI is the loan amount times the annual PMI rate, divided by 12. A worked example below uses $300,000 at 6.5% for 30 years, with $3,600 of annual tax, $1,200 of annual insurance, and a 0.5% annual PMI rate.
How to use this mortgage calculator
- Enter the loan amount. That is the principal, P, not the purchase price. Decimals are allowed, such as 300000 or 299500.50.
- Enter the annual interest rate as a percent. Type 6.5 for 6.5%, not 0.065. A rate of 0 is allowed.
- Enter the term in years. The calculator multiplies years by 12 to get the number of monthly payments. Thirty years is 360 payments.
- Enter the annual property tax in dollars. The monthly tax is that amount divided by 12. Type 0 if you want to leave property tax out.
- Enter the annual homeowners insurance premium in dollars. The monthly insurance is that amount divided by 12. Type 0 if you are leaving insurance out.
- Enter the annual PMI rate as a percent of the original loan amount. Type 0.5 for 0.5%, not 0.005. Type 0 if the loan has no monthly PMI premium.
- Read the result. It recalculates when any field changes. There is no Calculate button.
- Choose Clear to empty the six fields and restore the starting message.
The loan amount and the term must be numbers greater than zero. The interest rate, the annual tax, the annual insurance, and the PMI rate must be numbers greater than or equal to zero. If any field is blank, the result stays on “Enter loan amount, rate, term, taxes, insurance, and PMI.” A value that is not a number, a loan amount or term that is not greater than zero, or a negative rate, tax, insurance premium, or PMI rate shows “Enter valid positive values.”
The result line has six dollar amounts, each rounded to cents: principal and interest, monthly tax, monthly insurance, monthly PMI, monthly total, and total interest. Total interest is the interest on the loan over the full term. It does not include tax, insurance, or PMI. The monthly total is principal and interest plus monthly tax plus monthly insurance plus monthly PMI.
The PITI and PMI formula
PITI is principal, interest, taxes, and insurance. This page splits that into a principal-and-interest payment, a monthly tax, and a monthly insurance amount, then adds monthly PMI.
For a positive interest rate, principal and interest uses the same formula as the loan calculator:
Payment = P × r / (1 − (1 + r)−n)
- P is the loan amount.
- r is the monthly interest rate. It is the annual percent divided by 100, then divided by 12. An annual rate of 6.5% is 0.065 / 12, which is 0.005416666666666667.
- n is the number of monthly payments, years times 12.
Monthly tax = annual property tax / 12. Monthly insurance = annual homeowners insurance / 12.
Monthly PMI uses the borrower-paid monthly premium step printed on MGIC’s rate card: annual premium = premium rate × loan amount, then monthly premium = annual premium / 12, rounded to the nearest cent. On this page the premium rate is the annual PMI percent you enter, divided by 100, and the loan amount is P. Monthly PMI = P × (annual PMI percent / 100) / 12. The MGIC borrower-paid monthly card (document 71-61284) is the source for that arithmetic. This page does not use the card’s rate table. Those rates depend on LTV, credit score, term, and coverage, and they change. Type the rate from a Loan Estimate or a PMI quote.
Freddie Mac’s “Breaking down PMI” example is a $190,000 loan at an insurance rate of 0.51%, with PMI of $80.75. 190000 × 0.0051 / 12 = 80.75. That is the same step. Fannie Mae describes PMI as a percentage of the mortgage loan amount, usually paid with the monthly mortgage payment. The CFPB describes PMI as insurance a borrower may have to buy on a conventional loan when the down payment is under 20% of the purchase price. It protects the lender. The most common way to pay is a monthly premium added to the mortgage payment and shown on the Loan Estimate.
Monthly total = principal-and-interest payment + monthly tax + monthly insurance + monthly PMI.
When the annual interest rate is 0, r is 0 and the principal-and-interest fraction is undefined, because it would divide by zero. The calculator switches to a straight split for principal and interest: payment = P / n. Tax, insurance, and PMI are still calculated as above. Total interest is then zero.
The same monthly PMI is added every month of the term. The CFPB’s removal page says that, for many mortgages on a single-family principal residence closed on or after July 29, 1999, a borrower can ask the servicer to cancel PMI when the balance is scheduled to reach 80% of the home’s original value, and the servicer generally must end PMI when the balance is scheduled to reach 78%, if the borrower is current. PMI also ends at the midpoint of the original amortization term. This page does not take a home value, so it does not stop the premium on those dates. FHA and VA mortgage insurance follow different rules. An up-front premium paid at closing is not added to the monthly total.
Display rounding happens after the formula. Each of the six results is rounded to two decimal places from the full-precision number. Total interest is the unrounded principal-and-interest payment times n, minus P, then rounded. It is not the rounded monthly payment times n, minus P. Those two products can differ by more than a cent on a 30-year term. The worked example shows the difference. The monthly total is the sum of the four full-precision monthly amounts, then rounded. It is not the sum of the four already-rounded amounts.
Worked example
Take a loan of $300,000 at 6.5% annual interest for 30 years, with $3,600 of annual property tax, $1,200 of annual homeowners insurance, and an annual PMI rate of 0.5%. Type 300000, 6.5, 30, 3600, 1200, and 0.5 into the form. The result line reads:
Principal and interest: $1896.20 | Monthly tax: $300.00 | Monthly insurance: $100.00 | Monthly PMI: $125.00 | Monthly total: $2421.20 | Total interest: $382633.47
The steps behind that line:
- P = 300000.
- The annual rate 6.5% is the decimal 0.065. The monthly rate r = 0.065 / 12 = 0.005416666666666667.
- n = 30 × 12 = 360 payments.
- Payment = 300000 × 0.005416666666666667 / (1 − (1.0054166666666666)−360) = 1896.2040704788958.
- Rounded to cents, principal and interest is $1896.20.
- Monthly tax = 3600 / 12 = 300, which is $300.00.
- Monthly insurance = 1200 / 12 = 100, which is $100.00.
- Monthly PMI = 300000 × 0.005 / 12 = 125, which is $125.00.
- Monthly total = 1896.2040704788958 + 300 + 100 + 125 = 2421.204070478896, which rounds to $2421.20.
- Total interest = 1896.2040704788958 × 360 − 300000 = 382633.46537240245, which rounds to $382633.47.
The principal-and-interest total paid is 1896.2040704788958 × 360 = 682633.4653724025, which rounds to $682633.47. The result line does not print that total. It prints total interest, which is that figure minus the $300,000 principal.
Multiplying the rounded principal-and-interest payment by 360 gives a different total. 1896.20 × 360 = 682632. That is $1.47 below the full-precision total paid. This calculator does not use the rounded-payment shortcut. It multiplies the full-precision payment by 360, then rounds.
The same principal, rate, and term on the loan calculator are principal and interest only. Enter 300000, 6.5, and 30 there. This page adds the $300.00 tax, the $100.00 insurance, and the $125.00 PMI on top of that principal-and-interest payment. With the PMI rate set to 0, the monthly total is $2296.20, which is principal and interest plus tax plus insurance only.
Total interest is $382633.47. On the percentage calculator, choose “X is what percent of Y?”, enter 382633.47 for X and 682633.47 for Y. Interest is the share of principal-and-interest paid that is not principal. Tax, insurance, and PMI are outside that pair.
How interest and principal shift
The principal-and-interest payment stays at the full-precision value for every month. Interest for a month is the balance at the start of that month times r. Principal for that month is the payment minus that interest. Tax, insurance, and PMI do not change the balance. They are added after the principal-and-interest payment.
On the $300,000 example, month 1 interest is 300000 × 0.005416666666666667 = 1625 dollars. Rounded to cents, that is $1625.00. The principal portion of the full-precision payment is about $271.20. $1625.00 + $271.20 = $1896.20, which matches the principal-and-interest figure on the result line.
The table uses the same full-precision payment and rounds each cell to cents. Month 12 is $1608.40 + $287.81 = $1896.21, one cent above the $1896.20 on the result line. Month 360 is $10.22 + $1885.99 = $1896.21, also one cent above. That cent is separate rounding. It is not a second formula. By month 360 the balance left by the formula is effectively zero.
| Month | Interest | Principal |
|---|---|---|
| 1 | 1625.00 | 271.20 |
| 12 | 1608.40 | 287.81 |
| 360 | 10.22 | 1885.99 |
The calculator does not print this split. It prints the six totals in the result line. An extra payment toward principal would change every later row. The extra payment calculator rebuilds the payoff when you add the same principal amount every month. A car loan that starts from a vehicle price, a down payment, and a trade-in is on the auto loan calculator.
Sample results
Each row is what this calculator prints for that loan amount, annual rate, term, annual tax, annual insurance, and annual PMI rate. Dollar amounts have no thousands separator, matching the result line. Type the same six inputs and the six result columns should match.
| Loan amount | Annual rate (%) | Years | Annual tax | Annual insurance | Annual PMI rate (%) | Principal and interest | Monthly tax | Monthly insurance | Monthly PMI | Monthly total | Total interest |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 300000 | 6.5 | 30 | 3600 | 1200 | 0.5 | 1896.20 | 300.00 | 100.00 | 125.00 | 2421.20 | 382633.47 |
| 300000 | 6.5 | 30 | 3600 | 1200 | 0 | 1896.20 | 300.00 | 100.00 | 0.00 | 2296.20 | 382633.47 |
| 300000 | 0 | 30 | 3600 | 0 | 0 | 833.33 | 300.00 | 0.00 | 0.00 | 1133.33 | 0.00 |
| 250000 | 7 | 15 | 2400 | 900 | 0 | 2247.07 | 200.00 | 75.00 | 0.00 | 2522.07 | 154472.72 |
| 400000 | 6 | 30 | 0 | 0 | 0 | 2398.20 | 0.00 | 0.00 | 0.00 | 2398.20 | 463352.76 |
The first row is the worked example. Monthly PMI is 300000 × 0.005 / 12 = 125.00, and the monthly total is the tax-and-insurance total plus that $125.00. The second row uses the same loan with the PMI rate at 0, so monthly PMI is $0.00 and the monthly total is $2296.20.
The zero-interest row is the straight split. 300000 / 360 = 833.333…, so principal and interest rounds to $833.33. Monthly tax stays $300.00. Monthly insurance and monthly PMI are $0.00. The monthly total is 833.333… + 300 = 1133.333…, which rounds to $1133.33. Total interest is $0.00.
The last row leaves tax, insurance, and PMI at zero, so the monthly total equals principal and interest. That row is the mortgage formula with nothing added on top. The loan calculator prints the same principal-and-interest payment, total interest, and total paid for $400,000 at 6% for 30 years.
What this estimate leaves out
The formula needs the loan amount, the interest rate, the term, the annual tax, the annual insurance premium, and the annual PMI rate. A mortgage servicer’s bill often includes more than those six numbers.
- PMI that ends during the term. The annual rate you enter is charged every month for the full term. The CFPB describes cancellation when the scheduled balance reaches 80% or 78% of original value, and termination at the midpoint of the term, for many loans. This page does not take a home value, so it does not drop the premium on those dates.
- FHA, VA, and up-front premiums. FHA mortgage insurance and VA funding fees follow different rules. A one-time PMI premium paid at closing is not added to the monthly total or to total interest.
- A rate-card lookup. LTV, credit score, coverage, and term can change the premium rate. Type the rate you were quoted. The page does not choose one.
- HOA dues. Association fees are outside the formula.
- Fees and points. Origination charges and discount points are not added to the payment or to total interest.
- A down payment. Enter the amount you would finance. This page does not subtract a down payment from a purchase price. The auto loan calculator does that for a vehicle price.
- A tax, insurance, or PMI amount that changes. The annual tax, the annual premium, and the PMI rate you enter are used for every month of the term. An escrow shortage, a reassessment, or a new premium is not modeled.
- A changing interest rate. The same r is used for every month. An adjustable-rate mortgage is not modeled.
- Extra payments. The schedule assumes the calculated principal-and-interest payment and nothing more. The extra payment calculator shortens that schedule when you add principal every month. It does not add tax, insurance, or PMI.
- Lender rounding. Some lenders round the principal-and-interest payment to the cent first, then build the schedule from that cent amount. This page rounds the full-precision results for display, which is why $1896.20 times 360 is not the total principal and interest it uses for total interest.
Use the result to see how loan amount, rate, term, tax, insurance, and PMI move the monthly total. Compare it with a lender’s Loan Estimate before you treat any figure as the amount you would pay.
Mortgage calculator FAQ
How is the monthly mortgage payment calculated?
Principal and interest is P × r / (1 − (1 + r) to the power of −n) when the interest rate is positive. P is the loan amount, r is the annual interest percent divided by 100 and then by 12, and n is years times 12. Monthly tax is the annual property tax divided by 12. Monthly insurance is the annual homeowners insurance divided by 12. Monthly PMI is the loan amount times the annual PMI percent divided by 100, then divided by 12. The monthly total adds those four amounts. A $300,000 loan at 6.5% for 30 years with $3,600 of tax, $1,200 of insurance, and a 0.5% PMI rate shows Principal and interest: $1896.20 | Monthly tax: $300.00 | Monthly insurance: $100.00 | Monthly PMI: $125.00 | Monthly total: $2421.20 | Total interest: $382633.47.
Where does the PMI formula come from?
MGIC’s borrower-paid monthly card calculates the monthly premium as the premium rate times the loan amount, divided by 12, rounded to the nearest cent. Freddie Mac’s published example is $80.75 of PMI on a $190,000 loan at 0.51%, which is 190000 × 0.0051 / 12. This page uses that step with the annual rate you type. It does not look up a rate from credit score or LTV.
Does PMI stop when equity reaches 20%?
Not on this page. The rate you enter is charged every month of the term. The CFPB explains the right, on many loans closed on or after July 29, 1999, to ask for cancellation at 80% of the home’s original value, automatic termination at 78%, and termination at the midpoint of the term when the borrower is current. FHA and VA mortgage insurance are separate programs. This page does not take a home value.
What is the difference between this page and the loan calculator?
The loan calculator returns principal and interest only. This page uses that same principal-and-interest formula, then adds annual property tax divided by 12, annual homeowners insurance divided by 12, and monthly PMI. With tax, insurance, and the PMI rate set to 0, the principal-and-interest figure matches the loan calculator for the same amount, rate, and term.
What if the interest rate is zero?
Principal and interest is the loan amount divided by the number of months, and total interest is $0.00. Tax, insurance, and PMI are still calculated from the amounts you enter. A $300,000 loan at 0% for 30 years with $3,600 of tax, no insurance, and a PMI rate of 0 shows Principal and interest: $833.33 | Monthly tax: $300.00 | Monthly insurance: $0.00 | Monthly PMI: $0.00 | Monthly total: $1133.33 | Total interest: $0.00.
Should I enter the purchase price or the amount financed?
Enter the amount financed, which is the principal. This page does not subtract a down payment from a purchase price. PMI is a percent of that principal, not of the purchase price.
Why might a lender’s payment differ from this result?
A lender can use a different PMI rate, stop PMI when the balance reaches the cancellation point, add HOA dues or an up-front premium, round the principal-and-interest payment to the cent before multiplying, or use a tax and insurance figure that changes. This page charges the PMI rate you enter for every month and rounds the full-precision formula result to cents. For the $300,000 example, 1896.20 times 360 is 682632, while the full-precision principal and interest over 360 months rounds to $682633.47.
Finance calculators
- Loan calculator: principal and interest on a fixed rate.
- Extra payment calculator: payoff time and interest saved when you add principal each month.
- Mortgage calculator: principal, interest, property tax, homeowners insurance, and PMI.
- Auto loan calculator: vehicle price minus a down payment and a trade-in.
- Compound interest calculator: growth of a balance that compounds.
- Savings goal calculator: the monthly deposit that reaches a target.
- Credit card payoff calculator: months to clear a balance with a fixed payment.
- Sales tax calculator: tax and total from a price and a rate.
- Tip calculator: tip, total, and the split across people.
Financial note
This result is an estimate, not financial, tax, or lending advice. It is the principal-and-interest figure from the amount, annual rate, and term you enter, plus the annual property tax and homeowners insurance divided by 12, plus monthly PMI from the annual rate you enter.