FHA mortgage insurance (MIP) calculator
calc_finance_fha_mipThe upfront and annual mortgage insurance premium on an FHA loan, from HUD's current rate tables, and how long the annual premium is charged.
An FHA-insured mortgage carries two insurance premiums. The upfront premium is 1.75% of the base loan amount and is usually added to the loan. The annual premium depends on the loan term, the base loan amount and the loan-to-value ratio, and is charged monthly for 11 years or for the whole mortgage term. This calculator reads both from the tables in HUD Mortgagee Letter 2023-05, which apply to loans endorsed on or after 20 March 2023.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_loan_amount": "<base_loan_amount>",
"property_value": "<property_value>",
"term_years": "<term_years>"
},
"name": "calc_finance_fha_mip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Precision and rounding of the results (default: rounding=half_even, decimals=2). | |
| term_years | Yes | The mortgage term in years. Allowed: >= 1 and <= 30. | |
| property_value | Yes | The value the loan-to-value ratio is measured against: the lower of the price and the appraised value. Allowed: > 0 and <= 1000000000000000. Unit: currency. | |
| base_loan_amount | Yes | The loan before the upfront premium is added. Allowed: > 0 and <= 1000000000000000. Unit: currency. | |
| finance_upfront_mip | No | Whether the upfront premium is added to the loan instead of paid in cash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | The inputs as understood. | |
| result | Yes | ||
| formula | No | ||
| receipt | No | Only with ?receipt=true: a signed receipt for this answer, a JSON Web Token signed with Ed25519 (alg EdDSA). Its claims are iss, iat, jti (the request id), endpoint, date and response (this response without the receipt). Check it with the keys at /.well-known/jwks.json or POST /v1/receipts/verify. | |
| warnings | Yes | ||
| exactness | Yes | For each decimal output: exact; rounded (correctly, to the precision); rounded_uncertified (the last digit could not be proven); or underflow (below 1e-100, reported as 0). | |
| precision | No | The precision and rounding that were applied. | |
| calculator | Yes | The calculator and version that ran. | |
| references | No |