FEIE physical presence test calculator

Add your visits to the US and the calculator tries every 12-month period in the range you choose, showing the one with the most full days abroad against the 330 you need.

Loading the calculator…

Last checked . Your dates stay in this browser.

What the physical presence test asks

US citizens and residents working abroad can exclude part of their foreign earned income from US tax. One way to qualify is the physical presence test: at least 330 full days in foreign countries during 12 consecutive months. You also need your tax home abroad, but that part isn’t about counting days.

  • A full day is midnight to midnight. The day you fly in or out of the US is not a full day abroad, and neither is a day spent over international waters.
  • The 12 months can start on any day. They don’t have to match the calendar or tax year, so you can pick the period that works best.
  • US territories are not foreign. Days in Puerto Rico, Guam or the US Virgin Islands count against you.

In a 365-day period that leaves room for 35 days with any time in the US (36 when the period includes February 29).

A worked example

  • Living in Lisbon
  • US: Apr 10 to 24, 2026 · 15 days
  • US: Nov 20 to Dec 2, 2026 · 13 days
  • US: Jun 25 to Jul 20, 2027 · 26 days

Calendar year 2026337 days abroad

15 D 13 D

Already qualifies (330 needed).

Best 12 months: Apr 25, 2026 to Apr 24, 2027352 days abroad

15 D 13 D 26 D

It starts the day after the spring visit, so only the 13 winter days fall inside.

Amber: US visits inside the 12 months. Every other day in the band is a full day abroad.
  1. Count the calendar year first. 365 days minus 28 in the US = 337 full days abroad: it qualifies.
  2. Then try every start date. Starting April 25, 2026, the day after the spring visit, the 12 months hold only the winter visit: 365 − 13 = 352.
  3. Compare the periods. The period you choose also changes how much you can exclude in each tax year.

The exclusion is claimed on Form 2555. The IRS can waive the time requirement if you had to leave a country because of war or civil unrest. Ask a tax adviser before you rely on a particular period.

Questions people ask

How many days can I spend in the US and still pass?

In a 365-day period, at most 35 days with any time in the US (36 if the period includes February 29), counting travel days. Days over international waters also count against you.

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

No. It can start on any day. Pick the period that gives you 330 full days abroad, and note it on Form 2555.

Is the day I land abroad a full day?

Usually not. On an overnight flight from the US, part of the landing day is spent over the ocean, so it isn’t a full day abroad. Enter the day you land as the day you left the US.

Is there another way to qualify?

Yes, the bona fide residence test, which looks at where you have made your home for a full tax year rather than at day counts.

More free calculators

Sources