Calculate Mortgage DTI & Agency Limits
calculate_mortgage_dtiComputes front-end and back-end mortgage debt-to-income (DTI) ratios, student loan agency imputations (Fannie Mae, Freddie Mac, FHA, VA), maximum allowable monthly debt across FHA (31/43 standard, 46.99/56.99 AUS), Conventional (28/36 to 45/50 AUS), VA (41% benchmark), and USDA (29/41), plus exact monthly dollar debt reduction needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hoaOrMudDues | No | Monthly HOA, condo, or MUD dues in USD. | |
| propertyTaxes | No | Monthly property tax escrow amount in USD. | |
| autoLoanPayments | No | Total monthly auto loan or lease payments in USD. | |
| otherMonthlyDebt | No | Optional combined non-housing monthly debt payments (excluding student loans if studentLoanBalance is provided). | |
| estimatedPmiOrMip | No | Monthly private mortgage insurance (PMI) or FHA/USDA annual fee in USD. | |
| creditCardMinimums | No | Total monthly minimum payments across revolving credit cards in USD. | |
| grossMonthlyIncome | Yes | Gross pre-tax monthly qualifying household income in USD (for example 7500). | |
| studentLoanBalance | No | Total outstanding student loan balance in USD. | |
| debtBalanceToPayOff | No | Optional target debt balance to eliminate in lump-sum DTI tradeoff simulation in USD. | |
| homeownersInsurance | No | Monthly hazard/homeowners insurance amount in USD. | |
| studentLoanPlanType | No | Repayment status of federal or private student loans. | forbearance_deferment |
| availableLumpSumCash | No | Optional liquid cash available to test lump-sum debt paydown vs reserve retention in USD. | |
| principalAndInterest | No | Monthly mortgage principal and interest payment in USD. | |
| proposedHousingPayment | No | Optional total monthly proposed PITI + MIP/PMI + HOA housing payment in USD. Used when individual housing components are omitted. | |
| alimonyChildSupportOther | No | Monthly court-ordered support or other recurring credit-report obligations in USD. | |
| monthlyPaymentEliminated | No | Optional monthly payment eliminated if target debt is paid off in USD. | |
| personalInstallmentLoans | No | Total monthly personal or installment loan payments in USD. | |
| selectedStudentLoanAgency | No | Agency rule used to impute or accept monthly student loan payment. | fha |
| reportedStudentLoanPayment | No | Monthly student loan payment shown on credit report or servicer letter in USD. |