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.

The window is any 12 consecutive months — you choose where it starts, and you can slide it to maximise your count. This one runs through 2026-08-23.

Time in the US · Arrival to departure, inclusive

No US trips added — every day in the window counts as a full foreign day.

Not sure of your travel dates? Rebuild them from your photos with the Flags app.

Worked breakdown · Full days only, endpoints excluded
Window (2025-08-242026-08-23)
365 days
Days touching a US trip
0
Full foreign days
365 of 330 required

Convention: every day from your US arrival through your US departure, inclusive, is excluded — a travel day that touches the US is never a full foreign day. Transit of 24 hours or more over international waters also fails to count, and this calculator cannot see those crossings.

The 330-day test is generally met for this window
Margin: 35 more non-foreign days would still pass. Physical presence is one of two FEIE conditions — your tax home must also be in a foreign country. This is arithmetic, not tax advice.

Nothing you type leaves this page or is saved. The calculation runs entirely in your browser, and a result link keeps your dates after the # — a part of the URL the browser never sends to any server.

Before you rely on a number · The test the arithmetic can't see

The 330-day count is one of two conditions: your tax home must also be in a foreign country, and the exclusion is claimed on Form 2555. The bona fide residence test is the alternative route when the day count fails. Confirm the details against the IRS physical presence test page and FEIE guidance.

This is a tool, not tax advice; confirm with a qualified adviser.

Want the reasoning first? Read what the Foreign Earned Income Exclusion is and how the bona fide residence test compares. The FEIE counts your days outside the US; the substantial presence test calculator counts the days inside it. Both start from the same thing — a reliable record of where you were. Start from the tax-residency tracker overview for the wider picture.

To keep the private, dated day record this calculation depends on — rebuilt from your photo dates, on device — install Flags: Country Days Tracker for iPhone.

Download on the App Store
Common questions · About the physical presence test

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.