Calculate take-home pay
calculate_paycheckRead-onlyIdempotent
Compute a US paycheck for 2026: gross, each tax and pre-tax deduction, and take-home pay per paycheck and per year, for a salary or an hourly rate (overtime over 40 hours at 1.5 times) in any state or DC. Federal withholding follows the annual tax on wages; local city and county taxes are not included (the answer names them when material).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Two-letter state code or name: TX, CA, new-york, DC. | |
| salary | No | Annual gross salary in dollars. Give this or hourly_rate. | |
| residency | No | resident (default), nonresident (e.g. H-1B first year: taxed as single), student (F/J/M/Q nonresident: no FICA). | |
| hourly_rate | No | Hourly rate in dollars, instead of salary. | |
| k401_percent | No | Pre-tax 401(k) contribution, percent of gross. Default 0. | |
| filing_status | No | Default single. | |
| pay_frequency | No | Default biweekly. | |
| hours_per_week | No | Hours a week with hourly_rate (over 40 paid at 1.5 times). Default 40. | |
| health_per_paycheck | No | Pre-tax health premium per paycheck, dollars. Default 0. |