Start with calendar days of physical presence
The IRS says a person is treated as present in the United States on a day when physically present in the country at any time during that day. This is a calendar-day rule rather than a count of completed 24-hour periods. A brief presence can therefore occupy a day in the starting ledger even though the visit lasted only part of that date.
Build the physical-presence total before considering exclusions. Preserve dates where possible instead of relying only on a monthly estimate, because travel across midnight can touch another calendar day. The estimator accepts annual totals, so it cannot reconstruct a missed boundary day or verify a flight itinerary. Its arithmetic is only as complete as the physical-day count entered.
Use the IRS geographic definition
For this test, the IRS page says the United States includes all 50 states and the District of Columbia, territorial waters, and specified adjacent seabed and subsoil areas over which the United States has exclusive natural-resource rights. It also says the term does not include US territories or US airspace for this purpose.
Those boundaries can differ from an everyday use of the phrase “United States.” Do not add or remove days based on a travel blog's map or a general immigration description. Review the IRS page and Publication 519 for the relevant tax rule. Roam Window asks only for the total you have already decided belongs in physical presence.
Separate physical presence from excluded days
The IRS lists exceptions to the ordinary presence-day rule, including certain regular commuting days from Canada or Mexico, qualifying transit of less than 24 hours between places outside the United States, days as a crew member of a foreign vessel, some days connected to a medical condition, and days for an exempt individual. The details differ by category.
A listed category is not an automatic instruction to subtract a day. Definitions, factual conditions, time limits, and filing steps may apply. Enter the physical total in one field and only the independently reviewed excluded total in the other. This separation leaves an audit trail: the result table shows physical, excluded, and countable days instead of hiding the subtraction.
Keep records that support the annual totals
An annual number is easier to calculate with than to verify later. Keep a private chronology of arrival and departure dates and note why any day was placed in the excluded column. The product does not need passport numbers, visa scans, medical details, or financial information. Those facts should not be entered into the anonymous day-count fields.
Before using the result for an important decision, reconcile the total against travel records and the latest official IRS guidance. If a category such as transit, commuting, vessel crew, medical condition, or exempt-individual status is uncertain, leave the eligibility question outside the calculator and review it separately. The resulting output remains an exact application of the weights to the countable numbers provided.
- Record physical calendar days first.
- Review every proposed exclusion against its own IRS conditions.
- Keep sensitive supporting facts outside the calculator.
Official sources
- IRS — Substantial presence test and days of presence
- IRS — Publication 519, U.S. Tax Guide for Aliens
Sources were checked on . Linked institutions may update their guidance after that date.