US · rule v2026.1 · last verified 2026-08-29
Physical presence test calculator
Check the FEIE physical presence test: full days abroad, the best 12-month window, how many days you are short, and the earliest date you could qualify.
Runs entirely in your browser. Nothing you enter is transmitted.
Enter the periods you were physically present in a foreign country. Anything not covered by a trip is treated as time in the United States or unaccounted for — either way it is not a full day abroad.
| Country | Arrived | Departed | By sea | Remove |
|---|---|---|---|---|
Add at least one complete trip to evaluate.
The Foreign Earned Income Exclusion, explained explains the rule in full.
The calculator above searches every possible 12-month window rather than assuming a calendar year, because the taxpayer chooses the period and the choice frequently decides the outcome. It runs entirely in your browser.
What the test requires
To claim the foreign earned income exclusion under this route you must be physically present in a foreign country for at least 330 full days during any 12 consecutive months.
US · v2026.1
FEIE physical presence test
To claim the foreign earned income exclusion under the physical presence test you must be physically present in a foreign country for at least 330 full days during any 12 consecutive months. A full day runs midnight to midnight, so days you arrive in or depart from the United States do not count, and neither do days spent in or over international waters. Days travelling between two foreign countries do count. You choose the 12-month period, which need not be a calendar year.
| Reference period | any rolling 12-month period |
|---|
How days are counted
- Only full 24-hour periods of presence count.
Unlike the bona fide residence test, this one asks nothing about your intentions, your home, or how settled you are. It is pure arithmetic — which makes it the safer claim in a year you moved, and the more fragile one in a year you travelled.
What counts as a full day
A full day runs from midnight to midnight. That definition does more work than it appears to, and three consequences follow that catch people out:
- Days you arrive in or leave the United States do not count. Part of that day was spent in the US or getting there, so it was not a full day in a foreign country.
- Days travelling between two foreign countries do count. Flying from France to Spain, you were in a foreign country all day — just not the same one throughout.
- Days in or over international waters count toward neither. Time at sea is not time in a foreign country. A cruise between two foreign ports produces days that are not US days and not foreign days either.
That last point is the one to watch. It is widely misreported, it is easy to overlook because no US territory is involved, and on a long crossing it can quietly remove a week from a count you believed was safe. Tick the “by sea” box on a leg where the crossing took a full day or more and the calculator will exclude those days.
Choosing the window
Because you choose the 12-month period, the same travel history can pass or fail depending on where you start counting.
Take someone who lived abroad from July of one year to the end of June the next, then returned to the United States. Measured over the second calendar year they have only about 180 foreign days and fail. Measured from 1 July to 30 June they have a full 365 and pass comfortably. Nothing about their life changed; only the window did.
This is why the calculator reports the window it found alongside the count. If you are close, the window matters as much as the days.
What the calculator reports
- Full days abroad in the best window, and which 12-month window that was.
- How many days you are short, if any.
- The earliest date you could qualify, assuming you remain abroad from now on — the number that answers “how much longer do I need to stay?”.
What it does not do
It counts presence and nothing else. It does not know whether your income is foreign earned income, it does not calculate the exclusion amount or the housing exclusion, and it cannot tell you whether the bona fide residence test would serve you better — for a year in which you have settled abroad and completed a full tax year, it often does.
It also assumes anything you have not entered as a foreign trip was time in the United States or unaccounted for. That is deliberate: a gap in the record is not evidence of presence abroad, and treating it as such is how a claim becomes indefensible under examination.
Last reviewed 2026-08-29
Not tax or legal advice. Verify with a qualified professional.
Common questions
What is the physical presence test for the FEIE?
You must be physically present in a foreign country for at least 330 full days during any 12 consecutive months. A full day runs from midnight to midnight, so a day you spend partly in the United States is not a full day abroad. The 12-month period does not have to be a calendar year — you choose it.
Do travel days count toward the 330 days?
It depends where you travel. A day spent travelling between two foreign countries is still a full day abroad and counts. A day on which you arrive in or depart from the United States does not, because you were not outside the country for the whole of it.
Do days over international waters count as foreign days?
No. Time in or over international waters is not time in a foreign country, so a day spent entirely at sea between two foreign ports counts toward neither. This is the detail most published guidance gets wrong, and on a long crossing it can be the difference between qualifying and not.
Can I choose which 12-month period to use?
Yes, and choosing well is often what decides the claim. The period can begin on any day, so a window that starts mid-year may qualify where the calendar year fails. This calculator searches every possible 12-month window and reports the best one it finds.
What if I am a few days short?
The calculator reports how many days you are short and the earliest date you could qualify if you remain abroad from now on. Because the window moves with you, staying abroad a little longer often resolves a near miss without any other change.