If you're a US citizen and spend a significant amount of time abroad, you can save up to $22,000 on your income taxes. Do you qualify? This is a physical presence test calculator for the US foreign earned income tax exclusion.
Simply put, the foreign earned income tax exclusion (form 2555) allows citizens to exclude up to $105,900 of foreign earned income if they meet various requirements. To qualify, you must be physically present in a foreign country for at least 330 full days during any 12-month period. There are a few exceptions and edge cases to watch out for, which this tool will help you catch. You can read an excerpt from the official rules at the bottom of this page.
Start by filling in the calendar with each trip you took during the 12-month period you'd like to exclude. You'll find the physical presence test results below the calendar, along with some configuration options.
Below is an excerpt from page 15 of "2016 Publication 54", which can be found here. It describes the physical presence test in great detail, and includes multiple examples.
You meet the physical presence test if you are physically present in a foreign country or countries 330 full days during a period of 12 consecutive months. The 330 days don't have to be consecutive. Any U.S. citizen or resident alien can use the physical presence test to qualify for the exclusions and the deduction.
The physical presence test is based only on how long you stay in a foreign country or countries. This test doesn't depend on the kind of residence you establish, your intentions about returning, or the nature and purpose of your stay abroad.
330 full days. Generally, to meet the physical presence test, you must be physically present in a foreign country or countries for at least 330 full days during a 12-month period. You can count days you spent abroad for any reason. You don't have to be in a foreign country only for employment purposes. You can be on vacation.
You don't meet the physical presence test if illness, family problems, a vacation, or your employer's orders cause you to be present for less than the required amount of time.
Exception. You can be physically present in a foreign country or countries for less than 330 full days and still meet the physical presence test if you are required to leave a country because of war or civil unrest. See Waiver of Time Requirements, later.
Full day. A full day is a period of 24 consecutive hours, beginning at midnight.
Travel. When you leave the United States to go directly to a foreign country or when you return directly to the United States from a foreign country, the time you spend on or over international waters doesn't count toward the 330-day total.
Example. You leave the United States for France by air on June 10. You arrive in France at 9:00 a.m. on June 11. Your first full day of physical presence in France is June 12.
Passing over foreign country. If, in traveling from the United States to a foreign country, you pass over a foreign country before midnight of the day you leave, the first day you can count toward the 330-day total is the day following the day you leave the United States.
Example. You leave the United States by air at 9:30 a.m. on June 10 to travel to Kenya. You pass over western Africa at 11:00 p.m. on June 10 and arrive in Kenya at 12:30 a.m. on June 11. Your first full day in a foreign country is June 11.
Change of location. You can move about from one place to another in a foreign country or to another foreign country without losing full days. If any part of your travel is not within any foreign country and takes less than 24 hours, you are considered to be in a foreign country during that part of travel.
Example 1. You leave Ireland by air at 11:00 p.m. on July 6 and arrive in Sweden at 5:00 a.m. on July 7. Your trip takes less than 24 hours and you lose no full days.
Example 2. You leave Norway by ship at 10:00 p.m. on July 6 and arrive in Portugal at 6:00 a.m. on July 8. Since your travel isn't within a foreign country or countries and the trip takes more than 24 hours, you lose as full days July 6, 7, and 8. If you remain in Portugal, your next full day in a foreign country is July 9.
In United States while in transit. If you are in transit between two points outside the United States and are physically present in the United States for less than 24 hours, you aren't treated as present in the United States during the transit. You are treated as traveling over areas not within any foreign country.
How to figure the 12-month period. There are four rules you should know when figuring the 12-month period.
Example 1. You are a construction worker who works on and off in a foreign country over a 20-month period. You might pick up the 330 full days in a 12-month period only during the middle months of the time you work in the foreign country because the first few and last few months of the 20-month period are broken up by long visits to the United States.
Example 2. You work in New Zealand for a 20-month period from January 1, 2015, through August 31, 2016, except that you spend 28 days in February 2015 and 28 days in February 2016 on vacation in the United States. You are present in New Zealand for at least 330 full days during each of the following two 12-month periods: January 1, 2015 โ December 31, 2015 and September 1, 2015 โ August 31, 2016. By overlapping the 12-month periods in this way, you meet the physical presence test for the whole 20-month period. See Figure 4-B on the top of this page.
I'm Shane Reustle and I built FEIE Calc after struggling every year to calculate travel dates and transit days for IRS form 2555 (feie). I hope you find this information useful. If you have questions, feel free to reach out and ask via email or @reustle on twitter.
Disclaimer: I'm neither an accountant nor a lawyer. Use the information from this site at your own discretion, and please don't sue me.