affordable_price
What's the most this buyer can afford? The reverse of affordability — 'what price
can I afford?' instead of 'can I afford this specific home?'. Solves for the maximum
home price under standard lender limits: a front-end DTI cap (default 28% = housing /
gross income) and a back-end cap (default 36% = housing + other debts / gross income).
If liquid_savings is given, also caps by the cash available for down payment + closing
and reports which limit binds. Returns the affordable price, the PITI and DTIs at that
price, and the cash to close. Pass address to ground property tax + insurance in the
ZIP's real rates.
This is a lender-limit ceiling, not a comfort recommendation — feed the result into
`affordability` (or buy_vs_rent) to check monthly slack and whether buying pencils.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | ||
| fixed_rate | No | ||
| hoa_monthly | No | ||
| annual_income | Yes | ||
| monthly_debts | No | ||
| insurance_rate | No | ||
| liquid_savings | No | ||
| back_end_dti_pct | No | ||
| down_payment_pct | No | ||
| front_end_dti_pct | No | ||
| property_tax_rate | No |