Calculate mortgage insurance
calculate_pmiMortgage insurance for any US loan programme, including the upfront charges most calculators omit. Conventional: monthly PMI and the month it cancels at 80% and 78% loan-to-value. FHA: the 1.75% upfront premium, monthly MIP, and whether it runs for the life of the loan or ends after 11 years. VA: the funding fee, tiered by down payment and prior use, and waivers. USDA: guarantee and annual fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loanType | No | Loan programme. Affects mortgage insurance and upfront fees. | conventional |
| homePrice | Yes | Purchase price of the home in US dollars. | |
| creditScore | No | FHA only: sets the minimum down payment. 580+ qualifies for 3.5%. | |
| loanTermYears | No | Loan term in years. Most US mortgages are 15 or 30. | |
| vaSubsequentUse | No | VA only: entitlement used before. | |
| downPaymentPercent | No | Down payment as a percentage of the purchase price, 0 to 100. Not a dollar amount. | |
| monthlyExtraPrincipal | No | Extra principal paid monthly. | |
| vaExemptFromFundingFee | No | VA only: funding fee waived. | |
| annualInterestRatePercent | No | Annual nominal interest rate as a percentage, for example 6.5 for 6.5%. |