FEIE 330-Day Physical Presence Test Calculator

Set the date you moved abroad and add any trips back to the United States. Instantly see your full days abroad, how many US days you have to spare, and the best 12-month window to claim the Foreign Earned Income Exclusion — using the IRS 330-days-in-12-months rule. Free. No signup.

Official IRS 330/12-month rule Finds your best window Counts travel days as US days No signup
1 When did you move abroad?

Your first full day outside the US — usually the day after you flew out, because the travel day itself is partly spent in or over the US. Your 12-month test period starts here.

2 Your trips back to the US

Add every visit to the United States since you moved abroad. Any day you set foot in the US — including the arrival and departure days — is a US day, not a full day abroad. Leave this empty if you have not returned.

Planning estimate only — not tax advice. This tool applies the IRS Physical Presence Test (330 full days in a 12-month period) and conservatively counts every day you are physically in the US, including travel days, as a US day. It does not calculate your tax, is not connected to the IRS, and stores nothing on a server. Confirm your dates and your eligibility with IRS Form 2555 guidance and a qualified cross-border tax professional before you file.

How to Use This FEIE Calculator

1

Set your move-abroad date

Enter your first full day outside the US. Your 12-month test period is measured from this day. Change it any time to test a different window.

2

Add your US trips

Enter the arrival and departure date of every visit back to the United States. Both endpoint days count as US days. Use "Add a US trip" for each one.

3

Read days abroad & US allowance

The panel shows your full days abroad toward 330, days spent in the US, and how many of your 35 allowed US days are left in the window.

4

Find your best window & download

See the 12 consecutive months that give you the most days abroad, then download a dated PDF summary to keep with your Form 2555 records.

Understanding the FEIE Physical Presence Test

If you are a US citizen or green-card holder living abroad, you still file a US tax return on your worldwide income — the United States is one of the only countries that taxes by citizenship rather than residence. The Foreign Earned Income Exclusion (FEIE), claimed on Form 2555, lets qualifying expats exclude up to $132,900 of earned income for tax year 2026 (up from $130,000 in 2025). To qualify you need foreign earned income, a foreign tax home, and either the Bona Fide Residence Test or the Physical Presence Test — the day-counting test this calculator handles.

The 330-days-in-12-months rule

The Physical Presence Test asks one thing: were you physically present in a foreign country (or countries) for at least 330 full days during a 12-month period? The 330 days do not have to be consecutive, so short trips between foreign countries are fine. Because a 365-day period contains 365 days, 330 required days leaves you a margin of just 35 days that you can spend in the United States (36 if your window includes 29 February). Go over 35 US days and you fail the test for that window.

What counts as a "full day" abroad

The IRS defines a full day as 24 consecutive hours beginning and ending at midnight that you spend entirely in a foreign country. The catch trips up a lot of people: the day you fly out of the US and the day you fly back are usually not full days abroad, and time spent on or over international waters does not count as time in a foreign country. That is why this calculator conservatively counts every day you are physically in the US — arrival and departure days included — as a US day. Leave a buffer rather than planning for exactly 35 US days.

Choosing your 12-month window

Here is the part most people miss: the 12-month period does not have to be the calendar year, and you do not have to start it on your first day abroad. The IRS explicitly says to "choose the 12-month period that gives you the greatest exclusion." If a cluster of US trips falls just inside one window, shifting the window's start by a few weeks can drop those days out and push you over 330. This calculator's best-window finder scans your trips and reports the 12 consecutive months that give you the most full days abroad.

Physical Presence vs Bona Fide Residence

The Physical Presence Test is a pure day count and is the practical route for digital nomads and anyone who has been abroad for less than a full calendar year. The alternative, the Bona Fide Residence Test, asks whether you were a genuine resident of one foreign country for an uninterrupted period that includes an entire tax year — it is not about counting days and generally suits people who have settled abroad long-term on a residence permit. You only need to meet one of the two.

Filing still required — and FEIE is not the whole picture

Qualifying does not remove your obligation to file: the exclusion only applies if you file Form 1040 with Form 2555 attached, even when it wipes out all your US tax. The FEIE also covers earned income only — wages and self-employment — not pensions, Social Security, dividends, or capital gains, and it does not erase self-employment tax in countries with no US totalization agreement. For passive income, the Foreign Tax Credit is often the better tool. Many of our country guides cover this in detail — see moving to Dubai from the US (a 0% tax country where the FEIE catch bites hardest), Portugal from the US, or Thailand from the US. Not sure how many days you can travel within Europe on top of all this? Pair this with our Schengen 90/180 day calculator.

Frequently Asked Questions

Official sources & references 4 official IRS sources · verified July 2026
  • Ruleirs.gov — FEIE Physical Presence Test: 330 full days in a 12-month period; full-day & international-waters definitions
  • Taxirs.gov — About Form 2555, Foreign Earned Income (the form you file to claim the exclusion)
  • Incomeirs.gov — Figuring the FEIE: maximum exclusion $132,900 for tax year 2026 (up from $130,000 in 2025)
  • Taxirs.gov — Publication 54, Tax Guide for US Citizens & Resident Aliens Abroad (worked examples of the tests)
Re-checked against each official IRS source every January. See how we research, or report an out-of-date figure to [email protected].
Disclaimer: This calculator applies the IRS Physical Presence Test for the Foreign Earned Income Exclusion (Form 2555) — 330 full days in a foreign country during a 12-month period, current as of July 2026 with a maximum exclusion of $132,900 for tax year 2026. A full day is 24 hours from midnight; travel days and time over international waters do not count as time abroad. It is an unofficial planning aid, is not affiliated with the IRS, stores nothing on a server, and does not constitute tax or legal advice. Always confirm your eligibility with the IRS and a qualified cross-border tax professional before you file.