Current-year minimum
At least 31 countable days of physical presence in the United States during the current calendar year.
FREE U.S. TAX-RESIDENCY TOOL
Calculate the IRS weighted three-year day total and check the two numerical thresholds used in the substantial presence test. The result is a preliminary organizer, not a tax-residency determination.
WEIGHTED DAY COUNTER
Enter countable U.S. days for the year being tested and the two prior years. Use travel records rather than estimates. Do not enter passport numbers, visa numbers, tax IDs, or documents.
Private by design: the calculation happens in this browser. Day counts are not included in analytics events or saved by this tool.
Certain transit, commuter, medical-condition, student, teacher, trainee, government-related, and athlete days may be excluded. Review the IRS rules before using the result.
THE GENERAL IRS FORMULA
At least 31 countable days of physical presence in the United States during the current calendar year.
At least 183 days after counting all current-year days, one-third of first-prior-year days, and one-sixth of second-prior-year days.
Excluded days, the closer-connection exception, treaty rules, green-card status, elections, and residency starting or ending dates can change the result.
IMPORTANT LIMITS
The tool applies only the two general numerical thresholds to the day counts entered. It does not prepare a return or decide a final U.S. tax-residency or immigration result.
PRIMARY IRS GUIDANCE
General rules and links reviewed August 2, 2026. The current IRS instructions and the taxpayer's complete facts control.