Free tool · no signup
Physical Presence Test calculator (330 days)
Days you were in the United States
Include the travel days at both ends. A day on which you set foot in the US — or spend hours in transit between countries — is not a full day in a foreign country, so a long weekend home usually costs four days, not two.
Enter the date you began living abroad.
How this calculation works
Section 911(d)(1)(B) lets a US citizen or resident with a foreign tax home claim the Foreign Earned Income Exclusion if they are physically present in a foreign country or countries for at least 330 full days during any period of 12 consecutive months. Form 2555 Part III is where that period is declared.
Three things make this harder to count than it looks, and this tool handles each explicitly:
- Travel days are not full days. The 24-hour clock runs midnight to midnight, so both ends of a trip to the US are lost.
- The window is not the calendar year. Every possible 12-month period overlapping your tax year is evaluated, and the best one is reported — including periods that begin mid-month and run into the following year.
- Leap years change the span. Twelve consecutive months is a calendar span, not 365 days. A period containing 29 February is 366 days long, and treating it as 365 quietly costs a day at exactly the threshold where a day matters.
Overlapping trips are merged before counting, so a work trip and a family trip that share a weekend do not subtract that weekend twice.
Limitations
- This counts days. It does not test whether your tax home was in a foreign country, which is a separate and equally necessary requirement.
- Time over international waters is not modelled — you would need to exclude those days yourself by including them in a US trip range.
- Days in countries subject to US travel sanctions may not count toward the test.
- A result showing a window that has not yet finished is a projection based on you staying abroad, and is labelled as such.
Sources
- IRC §911(d)(1)(B) — bona fide residence and physical presence.
- IRS Form 2555 instructions, Part III (Taxpayers Qualifying Under Physical Presence Test).
- IRS Publication 54, Tax Guide for U.S. Citizens and Resident Aliens Abroad.
Common questions
What counts as a full day for the Physical Presence Test?
A full day is a complete 24-hour period, midnight to midnight, that you spend in a foreign country. A day on which you arrive in or depart from the United States is not a full day abroad, and neither is a day spent travelling over international waters between two foreign countries. This is why a short trip home costs more days than the trip itself lasts.
Does the 12-month period have to be the tax year?
No. The test is satisfied by 330 full days in any period of 12 consecutive months, and that period can begin on any day. It commonly straddles two calendar years. If the qualifying period covers only part of the tax year, the Foreign Earned Income Exclusion is prorated for that part.
What happens if I miss 330 days?
Missing the day count does not automatically end the exclusion. The bona fide residence test is a separate route with no day threshold — it asks whether you were a genuine resident of a foreign country for an uninterrupted period that included an entire tax year. Many people who fail one test meet the other.
Do days in international waters count?
No. Time spent over or on international waters is not time in a foreign country. A day on a flight or a ship that passes through international waters is generally not a full day abroad, even when both the origin and the destination are foreign countries.
Does meeting the 330-day test mean I owe no US tax?
No. The Physical Presence Test is one requirement for the Foreign Earned Income Exclusion, which applies to earned income only. Investment income, foreign pensions and PFIC holdings are unaffected, and self-employment tax is not removed by the exclusion. You also still have to file, and reporting obligations such as FBAR and Form 8938 are separate.
Next steps
How Atamatax calculations are produced — the tests applied, statutory sources and review cadence — is documented in the methodology, and what is and is not reviewed in accuracy & review. Calculation fixes are recorded in the changelog.
More free tools
PFIC calculator (Form 8621)
Calculate a §1291 allocation from exact dates — back-tax, IRS interest and the current-year amount.
PFIC filing cost calculator
What Form 8621 preparation is likely to cost: scope, package and price from your holdings and years.
Form 8621 complexity estimator
How difficult your filing is: holdings, years, missing records, sales and prior elections.
PFIC portfolio analyzer
Run your real portfolio through the actual §1291 calculation engine — not a rough estimate.
Is my fund a PFIC?
Check whether a foreign fund or ETF triggers Form 8621.
Swiss PFIC checker
Check your Swiss broker and holdings — Swissquote, IBKR, UBS, VIAC, finpension, Frankly — for PFICs.
FBAR & Form 8938 threshold checker
See if you must file FinCEN 114 and/or Form 8938 this year.
Streamlined eligibility checker
See whether your facts may fit the Streamlined Foreign Offshore Procedures.
Foreign income → USD converter
Convert foreign income to USD with approximate IRS yearly-average rates.
Expat tax deadline checker
See the key US expat filing dates and how many days remain.
FEIE calculator (Form 2555)
How much foreign earned income you can exclude, prorated for a part-year qualifying period.
Self-employment tax abroad calculator
Estimate the Schedule SE tax the FEIE does not remove, and whether a treaty covers you.
Totalization agreement checker
Whether your country has a US social-security agreement, and what a certificate of coverage does.
Foreign pension US tax checker
Which US forms your foreign pension or retirement account is likely to trigger.
FEIE vs Foreign Tax Credit estimator
A rough directional read on whether FEIE or the Foreign Tax Credit fits.
Foreign company US tax checker
Which US filings your GmbH, Ltd, SAS or Sàrl is likely to trigger — and what has to be reviewed.