Days that may not count as days of presence

Some U.S. days can be left out of the substantial presence test, but only if an official exception applies. This tool lets you mark those days. It does not decide that you qualify.

The official exceptions, in brief

The IRS Substantial Presence Test page says you are treated as present in the United States on any day you are physically present in the country at any time during the day, with listed exceptions. Do not count the following as days of presence for the substantial presence test:

Publication 519 also describes days present under a NATO visa as a member of a force or civilian component to NATO. That exception does not apply to an immediate family member present under a NATO visa.

“Exempt individual” does not mean exempt from tax

The IRS states that “exempt individual” does not refer to someone exempt from U.S. tax. The listed categories include certain foreign government-related individuals under an A or G visa (other than A-3 or G-5); teachers or trainees temporarily present under a J or Q visa who substantially comply with the visa; students temporarily present under an F, J, M, or Q visa who substantially comply with the visa; and professional athletes temporarily in the United States to compete in a charitable sports event. Publication 519 has additional year-limit and related-person rules for teachers, trainees, and students. This tool does not test visa category or those year limits.

If you exclude days because you were an exempt individual or because of a medical condition that arose in the United States, the IRS generally requires Form 8843. If Form 8843 is not timely filed, the IRS says you cannot exclude those days, unless you can show by clear and convincing evidence that you took reasonable actions to become aware of the filing requirements and significant steps to comply. Check the current Form 8843 instructions on IRS.gov for how and when to file.

What this calculator actually supports

When you add a United States date range, you can optionally tag it with one of these annotations: in transit less than 24 hours between two places outside the United States; regular Canada or Mexico commuter; crew member of a foreign vessel; medical condition that arose in the United States (Form 8843); NATO force or civilian component (not dependents); or exempt individual (the A/G, J/Q teacher, F/J/M/Q student, or charitable athlete categories). Days you mark that way are not added to the substantial presence counts.

The tool does not automatically detect or apply any exception. It does not test the 75% commuter threshold, visa categories, teacher or student year caps, whether a medical condition arose in the United States, or whether Form 8843 was filed. If you mark an exception that does not actually apply, the day counts will be too low. Classify each range carefully against Publication 519 and the IRS substantial presence page.

Transit has a further limit on the IRS page and in Publication 519: the visit must be substantially related to completing travel. The calculator’s help text notes that a business meeting, even at the airport, is not transit. You still have to make that judgment yourself.

Open the calculator

Enter your travel calendar once. All day-count math runs in your browser.