US Presence & FEIE Calculator

Enter your travel calendar once. This page counts days in your browser for the substantial presence test, the Form 8840 day-count gate, and the foreign earned income exclusion physical presence test. Nothing is uploaded.

Your calendar is stored only in this browser’s local storage on this device. You can export a JSON copy or clear it at any time. There is no account, no payment, and no third-party analytics or fonts.

Tax year and travel calendar

Choose the calendar year you want to review. Add date ranges rather than single days. For the substantial presence test this tool uses the review year and the two prior years. For FEIE it also scans 12-month windows that can start in the prior year or end in the following year, so entering four years of history is recommended. Location meaning: United States means the 50 states and the District of Columbia (and U.S. territorial waters). Foreign country is a country other than the United States. Other is for places that are generally neither, such as a U.S. territory, Antarctica, or time on international waters.

A FEIE “full day” is generally midnight-to-midnight in a foreign country, so many arrival and departure days do not count. The conservative default leaves those edge days uncounted when the neighboring day is U.S., “other,” or blank. Override only if you were in a foreign country for the entire calendar day, or if an official travel rule (for example, passing over a foreign country before midnight on the day you leave the United States) makes that day countable. Travel between two foreign countries on adjacent dates is treated as one continuous foreign stay.

Year view

United States (SPT-counted) Foreign full day (FEIE) Foreign, not a full day Other Not entered

Results

Add travel ranges to see the day-count math.