Substantial presence test calculator
Check if you are a US tax resident for 2026. Kyoto counts your days in the US, applies the rules for your visa, and gives you your status and the date it starts.
The I-94 travel history gives your exact entry and exit dates. Get it from the official I-94 website
What you get
More thana day count.
Your status for the year, the date it starts, and the days you have left. In this example the year is a dual-status year: nonresident before June 10, resident from June 10. A calculation engine applies each rule, so the same facts always give the same answer.
Example
H-1B, arrived June 10, 2026
- Days counted so far in 2026
- 161
- More days needed to pass the test
- 22
- Last day to leave and not pass the test
- December 8, 2026
- If you stay through December 31
- Resident from June 10
Guides
Learn the rules.
Guide
How to calculate the substantial presence test
Guide
Resident alien or nonresident alien: how to tell
Guide
Is an H-1B holder a resident alien or a nonresident alien?
Guide
What is Form 1040-NR, and who files it?
Guide
How to get your I-94 travel history
Guide
Which US tax return do you file in your first year from India?
Guide
F-1 to H-1B: Form 1040 or Form 1040-NR?
Guide
Filed Form 1040 instead of Form 1040-NR? How to correct it
Guide
Can you use TurboTax on an F-1 visa or OPT?
Guide
Does TurboTax, H&R Block or FreeTaxUSA support Form 1040-NR?
Before you start
Frequently AskedQuestions
It is the day count that decides if you are a US tax resident when you do not have a green card. You meet it when you were in the US for at least 31 days this year and for 183 days in a three-year count. The count takes every day of this year, one third of the days of last year, and one sixth of the days of the year before.
Your visa does not decide your tax status. Count your days first.
Check if I’m a residentTakes 5 minutes to start.