US federal + state income tax
us_income_taxCompute US federal and state income tax estimates using 2026 IRS brackets and progressive breakdown. Input gross income, filing status, and optional state code.
Instructions
Computes US federal income tax (2026 IRS brackets, post-OBBBA) plus an estimated state income tax, with a full progressive bracket breakdown. Example: { grossIncome: 95000, filingStatus: "single", stateCode: "CA" }. Estimate for guidance — 2026 rates from official sources (IRS/Tax Foundation/CRA/ATO/state revenue offices/HMRC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stateCode | No | Optional two-letter state code to also estimate state income tax. Omit to skip state estimation. | |
| dependents | No | Number of qualifying children for the Child Tax Credit. | |
| grossIncome | Yes | Gross annual income in USD. | |
| useItemized | No | Use itemized deductions instead of the standard deduction. | |
| filingStatus | Yes | IRS filing status: single, mfj (married filing jointly), hoh (head of household), mfs (married filing separately). | |
| itemizedAmount | No | Total itemized deductions in USD (only used if useItemized is true and it exceeds the standard deduction). | |
| preTaxContributions | No | Annual pre-tax 401(k)/traditional IRA contributions, reduces taxable income. |