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.
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.
Add travel ranges to see the day-count math.