Count days for the US substantial presence test
Enter your US stays for this year and the two years before it.
Your result
| Calendar year | days | Weighted total |
|---|---|---|
| Current year daysFull value (1) | — | — |
| Prior year daysOne third (1/3) | — | — |
| Two years priorOne sixth (1/6) | — | — |
| Weighted total | — | |
| Day thresholds met | — | |
This day-count test does not decide tax residence. It does not evaluate exempt days, closer-connection relief or treaty positions, and does not calculate visitor-visa permission. Not legal or tax advice. Verify with official sources.
Official sourceGet a warning before your days run out — VisaWise for iPhone
How the substantial presence day test works
The engine counts all entered US days in the selected year, one third of the prior-year days and one sixth of the second prior-year days. The test also requires at least 31 current-year days.
Official sourceFrequently asked questions
What is the US 183-day rule?
The substantial presence test weights your US days: all of this year's days plus one third of last year's plus one sixth of the year before. A weighted total of 183 or more, with at least 31 days this year, meets the day-count test.
Do partial days in the US count?
Yes. Any calendar day you are present in the United States counts as a full day for this test, including arrival and departure days.
Are some days exempt from the count?
Yes. Days as an exempt individual, for certain medical conditions, or under specific visa categories may not count. This calculator does not evaluate exemptions.
Does meeting the test make me a tax resident?
Not automatically. The closer-connection exception and tax treaties can change the outcome. This is a day-count test only, not tax advice.
Which years do I enter?
Enter stays for the test year and the two calendar years before it. Set the year field to the year you are testing.

VisaWise for iPhone
Free Schengen day counter for iPhone. Upgrade to Pro for automatic day tracking and alerts before your limit.
- Crossing receipts: attach a photo of your stamp or EES slip to a trip. It stays on your phone.
- Share a profile: send a file with its trips and plans to another phone. No account needed.
- Destination results say how border days are counted: both the arrival day and the departure day count.