Free tool
Physical presence test calculator: do you have 330 full days abroad?
Last reviewed .
Enter the date you arrived abroad and every trip out of foreign countries. The calculator tests every 12-month window that touches your tax year, keeps the one with the most qualifying days, and checks for 330 full days. It then prorates that year's exclusion limit. Travel days and US days never count as full days abroad.
Use the calculator
A teacher arrives in Portugal on August 10, 2025, and flies home for the holidays from December 20, 2025, to January 3, 2026.
- The calculator looks for the 12-month window that gives the most qualifying days in 2025.
| Item | Result |
|---|---|
| Tax year to check | 2025 |
| Date you arrived abroad | August 10, 2025 |
| Trip 1 | December 20, 2025 to January 3, 2026 |
| Item | Result |
|---|---|
| Result | At least one 12-month window meets the 330 full-day count for 2025. |
| Window with the most days in 2025 | July 22, 2025 to July 21, 2026 |
| Full days abroad in that window | 330 |
| Qualifying days in 2025 | 144 of 365 |
| Maximum exclusion for 2025 | USD 51,288 (USD 130,000 × 144 ÷ 365) |
| Assumption | Your foreign tax home starts on the day you arrived abroad and ends the day before any move back. |
| Still needed | A tax home in a foreign country for the same period, and foreign earned income. Form 2555 does the official computation. |
Key facts
| Fact | What the source says | Source |
|---|---|---|
| Days needed | At least 330 full days in a foreign country or countries | Official source |
| Window | Any 12 consecutive months, not only the calendar year | Official source |
| Full day | 24 consecutive hours, midnight to midnight | Official source |
| 2025 exclusion limit | USD 130,000 | Official source |
| 2026 exclusion limit | USD 132,900 | Official source |
| Part-year limit | Limit × qualifying days in the year ÷ 365 (366 in a leap year) | Official source |
How to use this calculator
- Enter your arrival date abroad. Use the day you landed in your foreign country. It is a partial day, so the count starts the next day.
- Add every trip out. Enter the day you left and the day you came back for each US visit or other trip outside foreign countries. Both are partial days.
- Choose the tax year. The calculator tests every 12-month window that overlaps that year and keeps the one with the most qualifying days.
- Read the result and the prorated limit. If a window reaches 330 full days, the result shows the qualifying days in the year and the maximum exclusion for them.
How does the calculator count full days?
A full day is 24 hours, midnight to midnight, in a foreign country.
| Day | Full day abroad? |
|---|---|
| Midnight to midnight in any foreign country | Yes |
| The day you arrive abroad | No. It is a partial day |
| The day you leave | No. It is a partial day |
| Every day from leaving to returning, both travel days included | No. The calculator treats them as days away |
| Time over international waters or in international airspace | Generally no |
| A trip between foreign countries that never touches the United States | Yes. Leave it out, because every full day in any foreign country counts |
Why does it test so many windows?
- You pick the 12 months The IRS lets you choose any 12 consecutive months, and says to choose them carefully to get the maximum exclusion.
- It matters in a move year The exclusion is prorated by the qualifying days inside the tax year.
- The calculator tries every start date From one year before the tax year through its last day.
- It keeps the best window The one that reaches 330 full days and puts the most days inside the year you chose.
What does the prorated limit mean?
For a part year, the IRS multiplies the full-year limit by your qualifying days and divides by 365, or 366 in a leap year.
- Full-year limit
- USD 130,000
- Qualifying days in 2025
- 140
- Formula
- 140 ÷ 365 × USD 130,000
USD 49,863 maximum exclusion
You can exclude the lower of that amount and your foreign earned income.
Qualifying days also need a foreign tax home. The calculator assumes yours moved abroad the day you arrived and stays there until a move back. If not, the result is too high.
What this calculator does not decide
- Whether your tax home is in a foreign country.
- Whether your income is foreign earned income.
- Whether the bona fide residence test is a better route for you.
- Whether a war or civil unrest waiver applies.
- How to complete Form 2555. Your tax professional or software does the official computation.
Common questions
Do the 330 days have to be in a row?
No. The 330 full days can be spread across any 12 consecutive months. Short trips are fine as long as the total of full days abroad in the window stays at 330 or more.
Do travel days count toward the 330 days?
Usually not. The day you leave and the day you arrive are partial days. Only full 24-hour days in a foreign country count, and time over international waters does not count.
How many days can I spend in the United States and still pass?
In a 365-day window, 330 full days abroad leaves 35 days that are not full days abroad. Travel days use part of that allowance, so a single 30-day visit with two travel days fits, but a few long visits may not.
Can my 12-month window start before I moved abroad?
Yes. Any 12 consecutive months can be used. Only the days with a foreign tax home count as qualifying days for the exclusion, so the calculator counts qualifying days from your arrival date.
What is the maximum foreign earned income exclusion for 2026?
USD 132,900 per qualifying person, according to the IRS. For 2025 it is USD 130,000. Both are prorated for a part year.
Is the physical presence test the same for Form 8938?
It is similar, but the Form 8938 instructions say the 330 days must fall in a 12-month period that ends in the tax year being reported. Use the Form 8938 checker for that test.
Official sources (3), checked November 11, 2026
Keep reading
- How does the physical presence test work?
- How does the bona fide residence test work?
- Who qualifies for the foreign earned income exclusion?
- Foreign earned income exclusion calculator for a part year
- Form 8938 threshold checker: do you report foreign assets on your return?
- US tax, FBAR, and election dates calendar
General information from IRS and FinCEN publications, not tax advice. US Expat Desk is a private company, not affiliated with the US government.
- Read the answer
- 2Free check, 7 questions
- 3We file it
Yearly return
File your US return from abroad
- Federal return, FBAR and Form 8938
- Joint return included
- An email when rules change in your country