Substantial Presence Test Calculator
Find out if you're a US tax resident under the substantial presence test — 183 weighted days over 3 years with at least 31 days…
Find out if you're a US tax resident under the substantial presence test — 183 weighted days over 3 years with at least 31 days this year.
Results
About This Calculator
Count every day you were physically present in the US (any part of a day counts), excluding exempt days: F, J, M or Q students (usually the first 5 calendar years), teachers and trainees on J/Q (2 of 6 years), diplomats, and days in transit.
Example
Example: 150 days this year, 120 last year and 90 the year before = 150 + 40 + 15 = 205 weighted days — you're a US resident for tax purposes.
Assumptions
IRC §7701(b)(3): at least 31 days this year and current-year days + ⅓ of last year's + ⅙ of the year before's ≥ 183. You may still be treated as a nonresident under the closer-connection exception (Form 8840) if under 183 days this year, or under a tax treaty tie-breaker. This is an estimate, not legal advice — immigration rules and fees change often, so confirm with the official government source or an immigration lawyer before you file.
Frequently Asked Questions
What is the 183-day rule in the US?
The substantial presence test — 183 weighted days over 3 years (with at least 31 this year) makes you a US tax resident.
Do F-1 student days count?
Generally not for your first 5 calendar years in the US — they're exempt days.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile