How the calculation stacks up

An H-1B paycheck moves through three federal layers and one state layer. The federal income tax sits on top of the standard deduction (or itemized — not modeled here), FICA is withheld up to the Social Security wage base of $183,600 in 2026, and the additional Medicare 0.9% surtax kicks in above $200,000 single / $250,000 MFJ. State tax follows the state's own bracket table — flat in 9 states, graduated in 32, and zero in the 9 no-tax states (AK, FL, NV, NH, SD, TN, TX, WA, WY).

The most consequential single switch in the calculator is the FICA toggle. F-1 OPT workers are exempt from FICA under IRC §3121(b)(19) for their first 5 calendar years as nonresident aliens — a 7.65% take-home advantage on every dollar up to the Social Security cap. H-1B has no such exemption: FICA applies from day one. Toggle the FICA option to compare. The widget's F-1 OPT figure is hypothetical (you cannot be on H-1B and FICA-exempt simultaneously) but useful for understanding the take-home impact of an OPT-to-H-1B status change.

Resident vs. nonresident alien

Tax residency for H-1B is set by the Substantial Presence Test: 31 days in the current year, plus a weighted total of 183 days summing the current year + 1/3 of last year + 1/6 of two years prior. Most H-1B holders working a full calendar year meet SPT in year 1.

Once SPT is met, the worker files Form 1040 as a resident alien — same brackets as US citizens, full standard deduction, all worldwide income taxable, all credits and deductions available. This calculator assumes resident-alien status, which is correct for the vast majority of full-year H-1B workers.

The two cases where this calculator overestimates tax: (1) first-year choice — if you arrived mid-year on H-1B, you may file dual-status (1040-NR for the part-year before SPT, 1040 for after); the dual-status return generally pays more tax than full-year resident, so this calculator under-states first-year tax in some cases and over-states it in others. (2) nonresident treaty claims — Indian nonresident students transitioning to H-1B who claim Article 21(2) standard deduction in their final F-1 year. Use the treaty deduction toggle for the H-1B year if a researcher/teacher article applies.

Tax treaties — when they actually apply on H-1B

Most H-1B holders claim no treaty benefit because the most common articles are restricted to students, trainees, and short-term business visitors. Two cases where H-1B specifically can claim:

The often-cited India-US Article 21(2) standard deduction does not apply to H-1B holders — it applies to F-1 students. Indian H-1B workers should expect to file with no special treaty deduction and the full $15,750 standard deduction (2026, single).

What this widget does NOT model

Pre-tax 401(k), traditional IRA, HSA, and FSA contributions reduce federal taxable income; the calculator uses gross W-2 wages. To approximate, subtract your annual contributions from the gross input, or multiply the contribution by your federal marginal rate (shown in the result) for an after-tax savings estimate. Roth 401(k) contributions do not reduce taxable income.

City/county/local taxes are not in headline numbers but are the difference between the calculator's figure and your actual paycheck in places like NYC (3.08–3.88% resident tax), Philadelphia (3.79% wage tax), Detroit (2.4%), and most Ohio RITA cities. State labels flag where local tax is common.

State Disability Insurance (SDI) — California 1.1% with no cap, New Jersey 0.06%, New York 0.5% capped — is excluded. Add ~1% for CA SDI if you live there. Itemized deductions (state and local tax above the $40K SALT cap, mortgage interest, charity) are not modeled — this widget assumes the standard deduction.

Bottom line

Use this for offer comparison, ETP-status-change planning (F-1 OPT vs. H-1B FICA delta), and quick MFJ vs. single tradeoffs at the joint income. Do not use for filing — pull a CPA for any actual return, especially in dual-status filer years and treaty-claim years.

Frequently asked questions

When does an H-1B holder file Form 1040 vs. 1040-NR?
After meeting the Substantial Presence Test (SPT) — 31 days in the current year and 183 weighted days across the current year + prior 2 years using the standard formula. Most H-1B holders working a full calendar year meet SPT in their first year and file Form 1040 (resident alien) for that year. The first calendar year of H-1B status (if entered mid-year) may require dual-status filing — half-year 1040-NR and half-year 1040 — unless first-year choice is elected.
Why does the calculator default to FICA being applied?
H-1B is FICA-taxable from day one regardless of SPT status. IRC §3121(b)(19) exempts F-1, J-1, M-1, and Q-1 nonresident-alien wages from Social Security and Medicare for the first 5 calendar years; H-1B is not on that list. So a worker transitioning F-1 OPT → H-1B sees take-home drop by approximately 7.65% (6.2% SS + 1.45% Medicare) on day one, even at the same gross. The widget's F-1 OPT toggle shows that delta.
Does India's tax treaty give me a deduction?
Generally no for H-1B. The often-cited India-US Article 21(2) standard deduction of $10,300 applies only to students and trainees on F-1, J-1, or M-1 visas — not H-1B workers. Some India H-1B holders see an Article 16 (dependent personal services) treaty article only if they are on short business assignments under 183 days, which does not match a typical H-1B specialty occupation. Most H-1B Indian nationals file with no treaty deduction. Consult a CPA for any case-specific exception.
What is the China-US Article 19 researcher exemption?
Article 19 of the China-US treaty exempts from US tax the wages of a Chinese researcher or teacher working in the US for an educational/research institution, capped at 3 years from arrival. H-1B holders at universities or research institutions can claim this; H-1B holders at private companies cannot. The exemption is a flat exclusion of qualifying wage income (commonly $5,000 cited in 8233 forms, though the actual treaty does not specify a dollar cap — it exempts qualifying income earned in the role).
How does the H-4 EAD spouse affect filing?
If the H-4 spouse holds an EAD and works, both spouses may file MFJ on a single 1040. The MFJ federal brackets are roughly double the single brackets, the standard deduction doubles to $31,500 (2026), and the additional Medicare 0.9% threshold rises to $250,000 combined wage. The widget's MFJ option models this. If only one spouse works, MFJ is still typically advantageous because the doubled brackets fit the single income.
Are 401(k) and HSA contributions modeled?
Not in v1. The calculator uses gross W-2 income with the standard deduction. Pre-tax 401(k), traditional IRA, HSA, and FSA contributions reduce federal taxable income and approximately reduce federal tax by your marginal bracket × the contribution. Roth 401(k) does not. State treatment varies (e.g., PA does not allow 401(k) pre-tax). Use the calculator's headline figure as the upper-bound tax; subtract approximately 22% × your pre-tax contributions for a closer estimate, or feed your post-401k W-2 Box 1 into the gross field.
Does it handle local city/county tax?
Not in headline numbers. Common local levies excluded: NYC resident tax (3.078–3.876% above $25K), Philadelphia (3.79% wage tax), San Francisco (no local income tax — no SF income tax), Detroit (2.4%), most Ohio RITA cities (1–3%), most Kentucky/Indiana counties. Add ~1–4% to your effective rate if you reside in a local-tax jurisdiction. State labels in the widget flag where local tax is common.