Calculator Guides Privacy policy
The same trips can look different under each IRS test. This site is built so you enter the calendar once and compare the results, instead of mixing the formulas together.
From one set of date ranges, the calculator reports:
These tests are answering different questions. The substantial presence test is about U.S. presence for residency day counts. Form 8840 is an exception to that test, and only after other factual conditions are met. The FEIE physical presence test is about time in foreign countries for a possible earned-income exclusion, and it is available to U.S. citizens and to U.S. residents. A person can have enough U.S. days to meet the substantial presence test and still fall short of 330 full foreign days, or the reverse.
Two definition differences show up often:
Location labels also differ by test. For closer connection, Publication 519 defines “foreign country” to include U.S. territories. For the foreign earned income exclusion, U.S. territories are not foreign countries. This tool keeps those definitions separate: a day marked “other” is not treated as a qualifying FEIE full day.
Enter four years of travel if you can, choose the tax year under review, and scroll to the results. Each block states a day-count outcome and then reminds you what was not decided. Meeting or missing a day-count test is not a determination that you are a tax resident, that Form 8840 applies, or that you qualify for the exclusion.
If you are looking specifically for a calculator, see the calculator overview.
Enter your travel calendar once. All day-count math runs in your browser.