Skip to main content
All Articles
Financial Guide
6 min read July 3, 2026
Verified July 2026

How to Calculate the Foreign Earned Income Exclusion (and Stop Over-Paying US Tax)

Most American expats claim the FEIE incorrectly, leaving thousands of dollars on the table or triggering IRS penalties. The exclusion has a specific dollar ceiling, two qualifying tests, and a pro-ration formula that most tax software handles badly. Get the calculation right before you file.

How to Calculate the Foreign Earned Income Exclusion (and Stop Over-Paying US Tax)

Key Takeaways

  • The 2025 FEIE ceiling is $130,000 per qualifying individual. A married couple where both spouses qualify can exclude up to $260,000 combined.
  • Expats who fail to pro-rate the exclusion for partial qualifying years routinely over-claim by $8,000 to $22,000, triggering IRS notices and interest charges.
  • Calculate your qualifying days precisely, divide by 365, multiply by $130,000, then subtract your foreign housing exclusion before applying US marginal rates to the remainder.
  • Tool: Run your FEIE calculation with the CalcMoney Income Tax Calculator →

File Smarter This YearSPONSORED

Stop leaving money on the table. TurboTax finds every deduction automatically.

Interactive Calculator
Full screen
Loading Calculator
calcmoney.io/calculatorsOpen full screen

What the FEIE Actually Is

The Foreign Earned Income Exclusion is a provision under IRC Section 911. It allows qualifying US citizens and resident aliens living abroad to exclude a portion of foreign-earned income from US federal income tax. The exclusion applies only to earned income. Dividends, capital gains, rental income, and pension distributions do not qualify.

The 2025 exclusion ceiling is $130,000. The IRS adjusts this figure for inflation each year. For 2024, the ceiling was $126,500. For 2023, it was $120,000. Projecting forward without checking the current figure is a common and costly mistake.

The exclusion does not eliminate your filing obligation. You still file Form 1040 and attach Form 2555. You also still owe self-employment tax on qualifying income if you are self-employed. The FEIE removes income from the income tax calculation only.

The Two Tests That Determine Eligibility

You must satisfy one of two tests before you calculate anything.

The Bona Fide Residence Test

You qualify if you are a bona fide resident of a foreign country for an uninterrupted period that includes a full tax year. "Bona fide" is a facts-and-circumstances determination. The IRS looks at your intention, the nature of your visa, where your family lives, and where you maintain a permanent home. A tourist visa generally disqualifies you. A long-term work visa strengthens your case.

The Physical Presence Test

You qualify if you spend at least 330 full days in a foreign country or countries within any 12-month period. The period does not have to align with the calendar year. Days in transit through the US count as US days. A full day means midnight to midnight on foreign soil.

Most expats with clean records use the Physical Presence Test because it is objective and auditable. The Bona Fide Residence Test is harder to defend if challenged.

The Pro-Ration Formula

This is where most errors occur.

If you did not qualify for the full calendar year, you cannot claim the full $130,000. You must pro-rate the exclusion based on qualifying days.

The formula:

Maximum exclusion = ($130,000 / 365) x Number of qualifying days

For a leap year, divide by 366.

A qualifying day is any day you meet the conditions of whichever test you are using. Under the Physical Presence Test, qualifying days are the 330+ days you spent outside the US. Under the Bona Fide Residence Test, qualifying days run from the date your bona fide residence began through December 31 of that year.

Worked Example 1: Partial-Year Physical Presence

Scenario: Sarah is a US citizen who relocated to Germany on April 1, 2025. She spent zero days in the US from April 1 through December 31. That is 275 days abroad in the calendar year. She does not meet the 330-day threshold within the 2025 calendar year.

However, she can choose a 12-month period that straddles two tax years. If she uses April 1, 2025 through March 31, 2026 as her 12-month window, and she accumulates 330+ qualifying days in that window, she can claim the FEIE on her 2025 return. She must then count only the days within the 2025 calendar year that fall inside her qualifying 12-month period.

Qualifying days in 2025: 275 (April 1 through December 31). Pro-rated exclusion: ($130,000 / 365) x 275 = $98,082.

Sarah's gross foreign earned income in 2025: $115,000. Her FEIE claim: $98,082 (the lesser of her income and her pro-rated exclusion). Her taxable income before deductions: $115,000 minus $98,082 = $16,918.

She does not owe zero. She owes US tax on $16,918, calculated using the stacking method (see below).

Worked Example 2: Full-Year Physical Presence, Self-Employed

Scenario: Marcus is a freelance software consultant living in Portugal. He spent 341 days abroad in 2025, satisfying the Physical Presence Test for the full calendar year. His net self-employment income is $148,000.

Full-year exclusion ceiling: $130,000. His earned income exceeds the ceiling, so his FEIE is capped at $130,000. Taxable income before deductions: $148,000 minus $130,000 = $18,000.

Marcus also owes self-employment tax on the full $148,000 because the FEIE does not reduce SE tax liability. At a 15.3% SE tax rate applied to 92.35% of net income, his SE tax obligation is approximately $20,930.

This is a critical point. Many self-employed expats calculate their FEIE correctly and then forget SE tax entirely. The surprise bill averages $12,000 to $25,000 for consultants earning $100,000 to $160,000.

The Tax Stacking Rule

Claiming the FEIE does not put you in the lowest tax bracket on your remaining income. The IRS applies the "stacking rule" under IRC Section 1(f)(7).

Your excluded income occupies the lower brackets. Your remaining taxable income sits on top of that stack and gets taxed at the marginal rate it would reach if you had not excluded anything.

Example: If your total earned income is $155,000 and you exclude $130,000, your remaining $25,000 is taxed as if it were the 126th through 155th thousand dollars of income. In 2025, that income falls in the 22% and 24% brackets, not the 10% bracket.

Ignoring stacking causes under-payment. The IRS will assess the difference plus interest.

The Foreign Housing Exclusion and How It Interacts

Expats who pay qualified foreign housing expenses can claim the Foreign Housing Exclusion in addition to the FEIE. The housing exclusion reduces your taxable earned income further, but it has its own ceiling and a floor.

For 2025, the base housing amount (floor) is $19,800 (16.544% of $130,000, rounded). You can only exclude housing costs above that floor, up to a location-specific ceiling. High-cost cities like London, Singapore, and Zurich carry higher ceilings than the default.

The housing exclusion reduces the amount of income available for the FEIE. Total exclusions across both FEIE and housing cannot exceed your total foreign earned income.

Run these calculations in sequence: housing exclusion first, then FEIE on the remainder. Software that processes them in the wrong order produces an inflated exclusion amount.

Form 2555: What You Must File

Attach Form 2555 to your Form 1040. Key sections to complete accurately:

  • Part I: Your foreign address, tax home, and which test you are using.
  • Part II or III: The specific dates and details for your chosen test.
  • Part IV: Your foreign earned income broken down by source.
  • Part VI: The housing exclusion calculation, if applicable.
  • Part VII: The final FEIE amount after pro-ration.

The IRS matches Form 2555 data against W-2s and 1099s. Discrepancies trigger automated notices. Report every dollar of foreign earned income on Part IV before applying the exclusion.

Electing and Revoking the FEIE

The FEIE is an election, not an automatic benefit. You make the election by filing Form 2555. Once made, the election remains in effect for all future years until you revoke it.

Revoking is significant. If you revoke the election, you cannot re-elect it for five years without IRS permission. Taxpayers who revoke to claim the Foreign Tax Credit and then want to switch back often discover the five-year lockout applies exactly when their financial situation changes.

Model both scenarios before making the election or revocation. In some high-tax countries (Germany, France, the Netherlands), the Foreign Tax Credit produces a better outcome than the FEIE because foreign taxes paid exceed or approach the US tax otherwise owed.

Calculating Your Number

The FEIE calculation has four moving parts: qualifying days, earned income, housing expenses, and the stacking rule. Errors in any one variable compound across the others.

Use the CalcMoney Income Tax Calculator to input your qualifying days, gross foreign earned income, housing costs, and filing status. The calculator applies the current exclusion ceiling, pro-rates for partial years, and applies the stacking rule to your remaining income. You see your estimated federal tax liability before and after the exclusion in a single output.

That comparison tells you whether the FEIE, the Foreign Tax Credit, or a combination produces the lower US tax bill for your specific numbers.

You Might Also Like

Calculate your FEIE and compare it against the Foreign Tax Credit now →
Featured Partner
FIDELITY

Put These Numbers to Work

Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.

Run the Numbers

Affiliated. We may earn a commission.

OR

One money insight per week.

Calculator deep-dives, rate alerts, and financial analysis written for real decisions. Unsubscribe anytime.

1 email/week. No spam. Unsubscribe in one click.

Free Tools

Run the actual numbers

Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.

Open Free Calculators