Mortgage Insurance Calculator Formula
Understand the math behind the mortgage insurance calculator. Each variable explained with a worked example.
Formulas Used
Conventional PMI Total
conv_total = monthly_pmi * years_to_compare * 12FHA MIP Total (upfront + annual)
fha_total = fha_ufmip + monthly_fha_mip * years_to_compare * 12USDA Fee Total (upfront + annual)
usda_total = usda_ufmip + monthly_usda * years_to_compare * 12Conventional Monthly PMI
conv_monthly = monthly_pmiFHA Monthly MIP
fha_monthly = monthly_fha_mipUSDA Monthly Fee
usda_monthly = monthly_usdaVariables
| Variable | Description | Default |
|---|---|---|
loan_amount | Loan Amount(USD) | 300000 |
home_value | Home Value(USD) | 333333 |
pmi_annual_rate | Conventional PMI Rate (annual)(%) | 0.55 |
fha_annual_mip | FHA Annual MIP Rate(%) | 0.55 |
fha_ufmip_rate | FHA UFMIP Rate(%) | 1.75 |
years_to_compare | Comparison Period(years) | 10 |
ltv | Derived value= loan_amount / home_value * 100 | calculated |
monthly_pmi | Derived value= loan_amount * pmi_annual_rate / 100 / 12 | calculated |
fha_ufmip | Derived value= loan_amount * fha_ufmip_rate / 100 | calculated |
monthly_fha_mip | Derived value= loan_amount * fha_annual_mip / 100 / 12 | calculated |
usda_ufmip | Derived value= loan_amount * 0.01 | calculated |
monthly_usda | Derived value= loan_amount * 0.0035 / 12 | calculated |
How It Works
Comparing Mortgage Insurance Types
Different loan programs have different insurance structures. Understanding the total cost helps choose the most affordable option.
Conventional PMI
FHA MIP
USDA Guarantee Fee
Worked Example
A $300,000 loan on a $333,333 home (90% LTV). Compare over 10 years.
loan_amount = 300000home_value = 333333pmi_annual_rate = 0.55fha_annual_mip = 0.55fha_ufmip_rate = 1.75years_to_compare = 10
- 01LTV: $300,000 / $333,333 = 90%
- 02Conventional PMI: $300,000 x 0.55% / 12 = $137.50/month
- 03Conventional 10-year total: $137.50 x 120 = $16,500
- 04FHA UFMIP: $300,000 x 1.75% = $5,250
- 05FHA monthly MIP: $300,000 x 0.55% / 12 = $137.50/month
- 06FHA 10-year total: $5,250 + ($137.50 x 120) = $21,750
- 07USDA upfront: $300,000 x 1% = $3,000
- 08USDA monthly: $300,000 x 0.35% / 12 = $87.50/month
- 09USDA 10-year total: $3,000 + ($87.50 x 120) = $13,500
Ready to run the numbers?
Open Mortgage Insurance Calculator