Tool · Runs entirely in your browser · Updated August 2026
FEIE physical presence test calculator.
Pick a 12-month window, add your US trips, and see whether you reach 330 full days in a foreign country — with the best possible window found for you. Nothing you type leaves this page or is saved.

What is the FEIE physical presence test?
It is one of the two ways a US taxpayer abroad can qualify for the Foreign Earned Income Exclusion: being physically present in a foreign country or countries for at least 330 full days during any period of 12 consecutive months. Your tax home must also be in a foreign country — the day count alone is not enough.
What counts as a full day abroad?
A full day is a complete 24-hour period starting at midnight spent in a foreign country. A travel day that touches the United States is not a full foreign day, and transit of 24 hours or more over international waters does not count either. This is why the test allows roughly 35 non-foreign days in a 365-day window.
Can I choose my 12-month period?
Yes. The 12 consecutive months can start on any day, and choosing the start well is often the difference between qualifying and not. The calculator searches your dates for the window with the most full foreign days.
What is the bona fide residence test?
The alternative route to the FEIE: being a bona fide resident of a foreign country for an uninterrupted period that includes a full tax year. It rests on facts like your home, intentions and ties rather than a day count, and it is claimed on the same Form 2555.
Does this store my data?
No. The calculator runs entirely in your browser. Nothing you type leaves this page or is saved. A result link keeps your dates in the part of the URL after the #, which the browser never sends to a server.