The "183-day rule" is shorthand for the US Substantial Presence Test, the day-counting test that decides whether a non-citizen is treated as a US resident for tax purposes. It is widely misunderstood, because it is not a simple "183 days in one year" count. Here is exactly how it works, sourced to the IRS, with a free calculator to run your own numbers.
What the test actually says
The IRS defines it as a two-part test:
"You will be considered a United States resident for tax purposes if you meet the substantial presence test for the calendar year. To meet this test, you must be physically present in the United States (U.S.) on at least: 1. 31 days during the current year, and 2. 183 days during the 3-year period that includes the current year and the 2 years immediately before that."
β Internal Revenue Service, Substantial Presence Test (accessed 4 June 2026)
The counting formula (this is the part people miss)
The 183 days are not counted at face value across three years. The IRS weights them:
"All the days you were present in the current year, and 1/3 of the days you were present in the first year before the current year, and 1/6 of the days you were present in the second year before the current year."
β Internal Revenue Service, Substantial Presence Test (accessed 4 June 2026)
So a day in the current year counts as a full day, a day in the prior year counts as a third of a day, and a day two years ago counts as a sixth. You add those weighted totals; if they reach 183 (and you were present at least 31 days this year), you meet the test. This weighting is why someone can be well under 183 actual days this year yet still trigger residency once prior years are folded in.
Run your own numbers
Because of the fractions, this is easy to get wrong by hand. Use the free US Substantial Presence Test calculator to enter your days for the last three years and see instantly whether you meet the test. There are also exceptions (for example, exempt individuals and the closer-connection exception) detailed on the IRS page above, so treat the calculator as a guide and confirm edge cases with a tax professional.
Track it automatically
If you split time across the US border, counting days from memory each spring is error-prone. The Days Monitor iPhone app logs your US days automatically so the three-year weighted total is always current.
Sources
- Internal Revenue Service, Substantial Presence Test (accessed 4 June 2026)
Frequently Asked Questions
What is the 183-day rule?
How is the 183-day count calculated?
Is there a free 183-day rule calculator?
Track Your Schengen Days
Don't let visa calculations stress you out. Our free Schengen calculator tracks your 90/180 days automatically.
Try Our Free Calculator