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

Use the calculator

  • Worked example
  • Stays in your browser
  • Interactive form needs JavaScript

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.
Worked example inputs
ItemResult
Tax year to check2025
Date you arrived abroadAugust 10, 2025
Trip 1December 20, 2025 to January 3, 2026
Worked example result
ItemResult
ResultAt least one 12-month window meets the 330 full-day count for 2025.
Window with the most days in 2025July 22, 2025 to July 21, 2026
Full days abroad in that window330
Qualifying days in 2025144 of 365
Maximum exclusion for 2025USD 51,288 (USD 130,000 × 144 ÷ 365)
AssumptionYour foreign tax home starts on the day you arrived abroad and ends the day before any move back.
Still neededA tax home in a foreign country for the same period, and foreign earned income. Form 2555 does the official computation.

Key facts

Key facts, checked November 11, 2026
FactWhat the source saysSource
Days neededAt least 330 full days in a foreign country or countriesOfficial source
WindowAny 12 consecutive months, not only the calendar yearOfficial source
Full day24 consecutive hours, midnight to midnightOfficial source
2025 exclusion limitUSD 130,000Official source
2026 exclusion limitUSD 132,900Official source
Part-year limitLimit × qualifying days in the year ÷ 365 (366 in a leap year)Official source

How to use this calculator

  1. 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.
  2. 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.
  3. Choose the tax year. The calculator tests every 12-month window that overlaps that year and keeps the one with the most qualifying days.
  4. 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.

Which days count toward the 330
DayFull day abroad?
Midnight to midnight in any foreign countryYes
The day you arrive abroadNo. It is a partial day
The day you leaveNo. It is a partial day
Every day from leaving to returning, both travel days includedNo. The calculator treats them as days away
Time over international waters or in international airspaceGenerally no
A trip between foreign countries that never touches the United StatesYes. Leave it out, because every full day in any foreign country counts

Why does it test so many windows?

  1. 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.
  2. It matters in a move year The exclusion is prorated by the qualifying days inside the tax year.
  3. The calculator tries every start date From one year before the tax year through its last day.
  4. 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.

Worked exampleThe IRS example for 2025
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
  • If they differ, the source wins

Keep reading

General information from IRS and FinCEN publications, not tax advice. US Expat Desk is a private company, not affiliated with the US government.

  1. Read the answer
  2. 2Free check, 7 questions
  3. 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

$499a year

Start the free check

Opening soonWhat's included