Daysafe

FEIE Physical Presence Test Calculator

To claim the Foreign Earned Income Exclusion under the physical presence test, you need 330 full days in foreign countries during any 12 consecutive months. Enter the day you left the U.S. and your trips back — the calculator counts your full days abroad and finds your first qualifying 12-month period.

The calculator needs JavaScript.

What is the physical presence test?

It's one of two ways for U.S. citizens and resident aliens working abroad to qualify for the Foreign Earned Income Exclusion (Form 2555). You meet it if you are physically present in a foreign country or countries for at least 330 full days during any period of 12 consecutive months. The days don't have to be in a row, and it doesn't matter why you were abroad.

How a "full day" is counted

The 35-day budget

A 12-month period has 365 days (366 if it includes 29 February). With 330 full days needed, you have about 35 days for U.S. visits and travel days combined. Every trip home costs at least two days: the day you fly in and the day you fly out.

Choosing your 12-month period

The period can start on any day — it doesn't have to match the calendar year — and it ends the day before the same date 12 months later. In your first and last years abroad you can pick the period that gives you the most days, and periods for different years can overlap. The calculator finds the first period that qualifies; change "Check on" to test any other.

What passing the test gets you

Passing makes you eligible for the Foreign Earned Income Exclusion on Form 2555: for 2026, up to $132,900 of foreign wages or self-employment income. The test only opens the door; your tax home also has to be abroad, and investment income isn't covered.

In your first and last year abroad the maximum is cut by days. Form 2555 takes the number of days in your qualifying period that fall within the tax year, divides it by the days in the year and multiplies $132,900 by the result.

Example: 12-month period 1 March 2026 – 28 February 2027
Days of the period in 2026 (1 March – 31 December)306
Share of the year: 306 ÷ 3650.838
Maximum exclusion for 2026: 0.838 × $132,900$111,370

The 2027 return then uses a second period, which may overlap the first.

How you claim it: Form 2555, Part III

Records to keep

The IRS doesn't take your word for 330 days. Keep what shows where you slept each night: a day-by-day log, passport stamps, boarding passes and e-tickets, and leases or hotel bills abroad. Passport stamps alone miss days, because moving between Schengen countries usually leaves no stamp. A log kept as you go is stronger than one rebuilt from memory: see how Daysafe records each day.

Daysafe report screen: days by place from January 1 to October 12, 2026 — Florida 117, New York 110, France 21, Portugal 15, Spain 14, Germany 5
A Daysafe report: days by country, exported as a PDF or CSV with every day listed.

Leaving a U.S. state for good? Its rules don't stop at the border. New York, for example, still taxes a domiciliary abroad unless they meet its own count of 450 days abroad in 548: see New York residency audit.

Physical presence vs. bona fide residence

The other route has its own guide: bona fide residence test, with Form 2555 Part II line by line. Traveling full-time? See digital nomad taxes for the tax home test and self-employment tax.

Physical presence testBona fide residence test
What counts330 full days abroad in any 12 monthsBeing a resident of a foreign country for an uninterrupted period that includes a full tax year
Based onDays onlyFacts and circumstances: intent, home, ties, foreign taxes
Trips to the U.S.Each one uses up your 35-day budgetBrief trips are fine if you clearly intend to return
Good forNomads and people who move aroundPeople settled in one country

Questions

Do the 330 days have to be consecutive?

No. Any 330 full days within the 12-month period count, with trips in between.

How many days can I spend in the U.S. and still qualify?

About 35 days in a 365-day period, including the days you travel in and out of the U.S. The calculator shows how many you have left.

Does the day I land abroad count?

Only if you spent the whole day there. If you fly overnight and land in the morning, part of that day was over international waters, so it isn't a full day. The IRS gives this example: you arrive in France at 9:00 a.m. on June 11, and your first full day there is June 12.

Does the 12-month period have to be the calendar year?

No. It can start on any day and ends the day before the same date 12 months later.

What if I had to leave a country because of war or unrest?

The IRS can waive the 330-day minimum for countries it lists each year, if you could otherwise have met the test. Check the current IRS list.

Is this tax advice?

No. It counts days. The exclusion has other conditions, such as a tax home abroad — ask a U.S. expat tax professional about your return.

Let your iPhone count your full days abroad

Daysafe records which country you're in each day and keeps your FEIE count up to date — full days only, with the date you'd reach 330. No account; your days stay on your phone.

Get Daysafe on the App Store · Substantial presence test calculator

Sources

IRS, Foreign earned income exclusion — physical presence test; bona fide residence test; Form 2555; Instructions for Form 2555 (2026 amount, line 16, Form 2350). Checked on 13 October 2026; exclusion, Form 2555 and Form 2350 rechecked on 25 November 2026. Daysafe is a day counter, not tax advice. Made by Denis Chudinov.