Federal SALT cap
salt_capCompute the federal SALT deduction cap under 26 USC 164(b)(6) and (b)(7) for a tax year, filing status, and modified adjusted gross income. Returns the cap and the steps, not the deduction. Years before 2018 are not_covered. MAGI is used to compute and is not written to the usage log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| magi | Yes | Modified adjusted gross income: AGI plus IRC 911, 931, and 933 exclusions. Integer or decimal string, at most 8 decimal places. | |
| tax_year | Yes | Tax year. 2018 through 2024 use the prior flat cap. 2025 and later use section 164(b)(7). | |
| filing_status | Yes | single, married_filing_jointly, married_filing_separately, head_of_household, or qualifying_surviving_spouse. Aliases: mfj, mfs, hoh, qss. |