Size an FHA 223(f) or 221(d)(4) loan
size_loanEstimates the maximum FHA 223(f) or 221(d)(4) loan the way HUD Form 92264-A does, with the fhamultifamily.loan sizer: statutory limit (2026 per-unit limits x high-cost %), loan to value or cost, debt service coverage with 0.25% MIP, the 223(f) cash-out or acquisition test, large-loan ratios at $130M+. Returns each test, the one that controls, payment, MIP, fees, DSCR and LTV.
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": {
"program": "<program>",
"state": "<state>",
"units": "<units>",
"value": "<value>",
"noi": "<noi>"
},
"name": "size_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noi | Yes | Underwritten annual net operating income in dollars. | |
| rate | No | Note rate in percent. Default 5.54, the median note rate on apartment loans HUD endorsed in the year to September 30, 2026 (not a quote). | |
| tier | No | Rents: market (87% / 1.15), affordable (tax credit or Section 8 rents at least 10% below market), assisted (90%+ of units with rental assistance), middle (221(d)(4) only; on 223(f) it sizes as market). Default market. | market |
| price | No | 223f_purchase only: price plus repairs and closing costs, for the acquisition cost test. | |
| state | Yes | Two-letter state or territory code, e.g. TX. AK, HI, GU and VI use the 405% high-cost percentage; all others 270%. | |
| units | Yes | Unit count by bedroom, e.g. {"br1": 48, "br2": 60, "br3": 12}. Keys: studio, br1, br2, br3, br4 (four or more bedrooms). Omitted keys are 0. | |
| value | Yes | 223(f): property (or appraised) value in dollars. 221(d)(4): total replacement cost in dollars. | |
| payoff | No | 223f_refinance only: existing debt plus closing costs, for the cash-out test. | |
| program | Yes | 223f_refinance, 223f_purchase, 221d4_new_construction or 221d4_substantial_rehab. | |
| elevator | No | Elevator building (higher per-unit limits). Default false. | |
| build_months | No | 221(d)(4) only: construction period in months, for the upfront MIP. Default 20 (the sizer page default). |