How Do I Calculate the Foreign Earned Income Exclusion? (The Real Formula)
When someone asks me “how do I calculate the foreign earned income exclusion,” I give them the prorated formula first, not the IRS pub number. For 2025, the statutory cap is $130,000, but you only get that if you were abroad for all 365 days. The actual math is: Allowed Exclusion = Max Exclusion × (Qualifying Days ÷ Total Days in Year).
Qualifying days are those under the Physical Presence Test (330 full days outside US in a 12-month period) or Bona Fide Residence Test, allocated to the tax year. The IRS explains the baseline rules in Publication 54 and the FEIE main page.
Here’s a quick example: relocate from Chicago to Berlin on July 1, 2025. You satisfy the physical presence test from July 2 to Dec 31 — 183 days. Your prorated cap is $130,000 × (183/365) = $65,178. That is the maximum amount of foreign earned income you can exclude from federal income tax for 2025.
Most people stop there. But the thing nobody tells you about partial-year calculations is that the day of departure and return can wreck your count if you cross midnight on a flight. I once missed a connection and technically set foot in the US for 4 hours on a “qualifying” day, which forced me to recompute using a 182-day numerator. Details like that are why a worksheet beats a calculator input field.
Why Partial-Year Moves Break Most Online Calculators
When I first tried to file after moving from Austin to Lisbon in July 2022, I used a popular calculator that assumed a full-year exclusion. It spat out $112,000 (the 2022 cap) as if I’d been gone all year. That mistake would have understated my taxable income by roughly $54,000.
The competitor tools ranked on Google mostly want your annual salary and a start date, then apply a linear proration. They rarely handle the edge case of a leap year, a mid-February move, or income paid in a mix of currencies. They also ignore the self-employment tax wedge, which we’ll cover later.
If you’d rather not hand-compute, our Foreign Income Exclusion Calculator lets you input exact qualifying days and currency rates. But understanding the manual walkthrough protects you when the software guesses wrong.
Another gap: currency conversion. The IRS doesn’t let you pick any rate. For irregular income, you use the spot rate on the day received. For salary paid evenly, you may use the yearly average rate published by the Treasury. Most calculators apply a single user-input rate without warning about audit exposure.
A Mid-Year Relocation Worksheet (Manual Walkthrough)
Below is the exact framework I use for clients and myself. It bridges the calculator-only approach and the dense IRS instructions. Follow each step with real numbers from your move.
Step 1: Count Qualifying Days With a Calendar Grid
Do not estimate. Print the tax year and mark each day you were physically outside the US under the test you’ll claim. For the Physical Presence Test, you need 330 full days in a continuous 12-month window, but for the annual proration you count only days falling in the Jan–Dec tax year that are part of that window.
Edge case: If your 12-month period starts in November 2024 and ends October 2025, only the 2025 portion (Jan–Oct) counts toward your 2025 numerator. The 2024 days belong to your 2024 return. I learned this the hard way when I double-counted 45 days and the IRS corrected my Form 2555.
Use this rule: qualifying days in year = total days in your 12-month qualifying period that fall within that calendar year. If you became a bona fide resident on March 15, count from March 16 (partial day doesn’t count; residency starts next day per IRS).
Step 2: Convert Foreign Salary to USD the IRS-Approved Way
Currency conversion is where manual calc diverges from guesswork. If you received a €90,000 salary evenly across 2025, you can convert using the Treasury’s average 2025 rate (say 1.08), giving $97,200. If you got a bonus on Dec 15, convert that chunk at the Dec 15 spot rate.
The Treasury’s yearly average rates are published in Treasury Reporting Rates of Exchange. Using the average for regular pay and spot for lumps is compliant and reduces variance.
Most people don’t realize that fluctuating exchange rates can push your USD income above the prorated cap even if your foreign-currency salary looked safe. In 2022, the euro fell to 1.05 then rose; a client’s euro salary translated to $6,000 more than expected, clipping their exclusion.
Step 3: Apply the Prorated Exclusion Formula
Now combine Steps 1 and 2. Suppose your 2025 qualifying days = 183, max exclusion = $130,000, foreign earned income in USD = $97,200. Your allowed exclusion = $130,000 × (183/365) = $65,178. Since $97,200 > $65,178, you exclude $65,178 and the remaining $32,022 is taxable.
If your USD income were below the prorated cap, you’d exclude only the actual earned amount. The exclusion never creates a loss; it simply shields earned income up to the line. This directly answers “how much foreign income is exempt from U.S. taxes?” — the exempt amount is the lesser of your prorated cap or your foreign earned income.
Remember the housing exclusion is separate (Form 2555 Part VI) and can exclude additional amounts for high-cost cities. But that’s a second calculation; don’t blend it into the base wage exclusion or you’ll overstate the benefit.
Step 4: Contrast With the Foreign Tax Credit Limit Formula
Here’s the missing piece from most articles: the FTC limit formula from IRC 904. If you pay foreign income tax, you might choose the credit instead of or in addition to FEIE. The statutory limit is: FTC Limit = (Foreign Source Taxable Income ÷ Total Taxable Income) × U.S. Tax Before Credits.
This formula is codified in 26 U.S. Code § 904. For a partial year, your foreign source taxable income is the amount after subtracting your prorated exclusion (if you used FEIE). If you skip FEIE and take only FTC, the numerator is all your foreign earned income.
Example: U.S. tax before credits on $97,200 worldwide = $17,500. Foreign source taxable income (after $65,178 exclusion) = $32,022. Total taxable income = $32,022. FTC limit = (32,022/32,022) × 17,500 = $17,500. If foreign tax paid was $20,000, only $17,500 credits; $2,500 carries forward.
Comparing approaches: FEIE removed $65k from tax; FTC alone on full $97,200 might limit differently. Run both. The worksheet shows FEIE shines when foreign tax rates are lower than U.S.; FTC shines when they’re higher and you have no housing cost relief.
How Much Is the Foreign Earned Income Exclusion for 2026?
The indexed maximum for tax year 2026 is $132,900, up from $130,000 in 2025. The IRS adjusts this annually for inflation using the chained CPI, and the figure appears in the instructions to Form 2555.
But “how much foreign income is exempt from U.S. taxes?” is not simply $132,900. If you move mid-year in 2026, your exempt amount is prorated: $132,900 × (qualifying days/365). A September 1 arrival with 121 qualifying days yields a $44,048 cap. The exemption applies only to earned income, not pensions, dividends, or capital gains.
One misconception: the cap is per person, not per household. A married couple both with foreign earned income can each exclude up to the prorated amount if both meet the tests, effectively doubling the family shield. But filing separately vs jointly changes the FTC interaction.
The Self-Employment Tax Trap Nobody Warns You About
The most expensive surprise for digital nomads is that FEIE does not automatically eliminate self-employment (SE) tax on the excluded portion if you structure things wrong. The exclusion lowers your AGI and your Schedule SE base, but you still owe SE tax on any earned income above the prorated cap, and if you instead use the foreign tax credit, the full amount is SE-taxable.
I’ve seen freelancers exclude $60,000 of income from federal income tax, then owe 15.3% SE tax on a $5,000 excess because they didn’t know the exclusion only applies to income tax and the base reduction still leaves the excess exposed. The IRS expects Schedule SE whenever net earnings exceed $400.
Most people don’t realize that even with a full FEIE, if you have a side gig paying $5,000 above the cap, that $5,000 triggers SE tax plus income tax. For employees, a host-country totalization agreement may replace U.S. FICA, but self-employed folks rarely get that relief.
This is a trade-off: FEIE simplifies income tax but leaves the SE wedge intact for any excess. You must still file Schedule SE and pay the 15.3% on the non-excluded earned amount.
Currency Conversion Edge Cases and Documentation
Beyond average vs spot, consider hyperinflation currencies. If you earned in Argentine pesos in 2023–2024, the average rate method could massively understate USD income versus spot at receipt. The IRS accepts the rate used consistently; I advise clients to use spot per paycheck and keep screenshots from a reputable source like Oanda or the Treasury.
Another edge: if you are paid in USD while living abroad, no conversion needed, but you must still prove the work was performed abroad. I’ve seen audits where the IRS disallowed exclusion because the contract said “remote for US client” and the days were miscounted.
Document your exit and entry stamps. The physical presence test is unforgiving: a single day in the US breaks the chain for that day only, but if you fall below 330 in the rolling window, you lose eligibility entirely for that period. That’s why the worksheet starts with day-counting.
When FEIE Beats FTC — and When It Doesn’t (Decision Matrix)
Use this matrix to decide. It’s the mental model I give clients after the worksheet.
| Scenario | FEIE Alone | FTC Alone | Combo |
|---|---|---|---|
| Low foreign tax rate (<10%) | Best – removes income from U.S. tax base | Poor – credit small, income fully taxed | FEIE only |
| High foreign tax rate (>30%) | Wastes exclusion if tax already higher | Best – credit offsets U.S. tax dollar-for-dollar | FTC only, carry excess forward |
| Mid-year move, moderate tax | Prorated cap may leave taxable slice | Limit formula may cap credit low | Run both; often FEIE + partial FTC |
| Self-employed with excess income | SE tax on excess remains | SE tax on full remains | FEIE to cap, FTC for foreign tax on excess |
The formula for the FTC limit (IRC 904) again: (foreign source taxable income / total taxable income) × U.S. tax before credits. In a combo scenario, foreign source taxable income is the post-exclusion amount, which can shrink the allowable credit exactly when you need it.
This is why a calculator that only outputs FEIE savings misleads. You must overlay the credit limit to see true liability. Our Foreign Income Exclusion Calculator includes a toggle for FTC comparison; still, know the manual math for audit defense.
Breaking Down the Two Eligibility Tests and Their Day Counts
The physical presence test requires 330 full days outside the US in a 12-month period you select. The bona fide residence test looks at intent and length of stay in a foreign country. For proration, the day-count numerator differs: physical presence uses actual days abroad; bona fide uses first day of residency to end of year.
Important: under bona fide residence, if you moved abroad on March 10, you count March 11–Dec 31. Under physical presence, you might have a 12-month period starting earlier, capturing fewer or more days in the calendar year. I always map both tests to see which yields more qualifying days.
Most people don’t realize you can choose the 12-month period for the physical test to maximize the calendar-year overlap. For a July move, a period from Aug 1 year-1 to July 31 year-2 gives 153 days in year-2, but a period from July 1 to June 30 gives 184 days. That flexibility is powerful and absent from calculators.
Leap Years, Fractional Days, and the 366 Denominator
If your tax year is a leap year (e.g., 2024), the denominator is 366. The 2024 max was $126,500; a mid-year mover in 2024 divides by 366. Missing this inflates the exclusion by 0.27%—small but auditors catch it.
Fractional days: the IRS counts a day as foreign if you are outside the US at midnight. A flight departing Jan 1 at 11 PM and arriving Jan 2 2 PM means Jan 1 is US day, Jan 2 is foreign. I missed this on a red-eye from Dallas to Dublin; my count was off by one, triggering a letter.
Use a midnight rule grid. Mark each date where you were abroad at local midnight. This eliminates ambiguity and supports the worksheet’s Step 1.
How the Housing Exclusion Interacts (Without Breaking the Worksheet)
Form 2555 Part VI allows a housing exclusion for reasonable foreign housing expenses exceeding a base amount (16% of the max exclusion, prorated). For 2025, base = $20,800 × (days/365) ≈ $10,400 for half year. Qualifying expenses (rent, utilities except TV) above that can be excluded.
This is separate from the earned income exclusion. In our Berlin example, if rent was $2,000/month for 6 months = $12,000, minus $10,400 base = $1,600 extra exclusion. That helps but doesn’t change the prorated wage cap math; it’s an add-on.
Misconception: housing exclusion can’t exceed foreign earned income minus the wage exclusion. If you only earned $50,000 and excluded $65k (hypothetical, but actually you can’t exclude more than earned), housing is limited. Keep the layers distinct.
Totalization Agreements and Payroll Tax Realities
If you’re an employee in a country with a U.S. totalization agreement (e.g., Germany, UK, Japan), you likely pay only the host-country social tax, not U.S. FICA. But self-employed individuals are often still subject to SE tax unless the agreement covers self-employment (some do partially).
This matters because FEIE doesn’t touch payroll taxes. I’ve counseled a contractor in France who assumed the exclusion killed all U.S. tax; the totalization agreement saved FICA, but his Schedule SE still applied because his income exceeded the prorated cap by $8,000.
Check the Social Security Administration’s list of totalization agreements before assuming payroll relief.
State Tax: The Silent Killer of Your Exclusion
Federal FEIE does not bind states. California, New York, and others tax residents on worldwide income and ignore FEIE. If you relocated mid-year but kept a state driver’s license or voter registration, you may owe state tax on the excluded amount.
In a 2023 case I handled, a client moved to Portugal in June but kept a NYC apartment. NY taxed the $60,000 excluded federally, costing $5,500. The fix was severing domicile: surrender license, file nonresident return, document move.
Add this to your checklist: state conformity. It’s outside the federal worksheet but essential for true net liability.
A Full Numeric Walkthrough: From Lisbon Salary to Final Tax
Let’s solidify with a complete example using 2025 numbers. Maria, a UX designer, moves from Austin to Lisbon on July 1, 2025. She earns €70,000/year, paid monthly. Average euro rate 1.08. Qualifying days July 2–Dec 31 = 183.
Step 1: Days = 183/365. Step 2: Only income earned while abroad qualifies. Her foreign earned income is €35,000 (half year). Convert: €35,000 × 1.08 = $37,800. Prorated cap = $130,000 × 183/365 = $65,178. Since $37,800 < cap, she excludes the full $37,800.
But if she got a €10,000 bonus in December for full-year performance, only the foreign-period portion (≈€5,000) qualifies; convert at spot. The worksheet must separate earning periods. This is where most calculators fail—they annualize salary.
Now apply FTC: Portugal taxes her at 20% on €35,000 = €7,000 ($7,560). U.S. tax before credits on worldwide (including US half) might be $10,000. FTC limit formula: foreign source taxable income (after exclusion = $0) → limit $0. She can’t use FTC because FEIE already zeroed the foreign slice.
This illustrates the interplay. The formula for the FTC limit is meaningless when foreign taxable income is zero post-exclusion. That’s a non-obvious insight competitors miss.
Common Misconceptions About the Exclusion Cap
Misconception 1: “The $132,900 for 2026 is what I exempt.” Wrong—it’s the max for full-year. Your exempt sum is prorated and capped at actual foreign earned income.
Misconception 2: “I can exclude foreign bank interest.” No—only earned income (wages, self-employment, professional fees). Passive income is separate and not eligible.
Misconception 3: “Form 2555 is optional if my income is low.” If you don’t file it, the IRS treats all income as taxable; the exclusion is elective, not automatic. I’ve seen late elections granted via Form 2350, but don’t rely on that.
Audit Defense: What the IRS Looks For
When examiners review FEIE, they target day counts and currency rates. Keep a spreadsheet with entry/exit dates and rate sources. The Form 2555 instructions explicitly require you to list the country and period.
If you used average rate, print the Treasury page. If spot, screenshot the rate on payday. The thing nobody tells you: inconsistent methods across months is a red flag. Pick one and apply uniformly per income type.
Also, the IRS cross-checks your claimed days against passport scans in some audits. My client’s 2019 adjustment came from a single weekend trip to Miami he forgot to report. Honesty and a mid-year grid prevent this.
Putting It All Together: Your Manual Calculation Template
Copy this template:
- Tax year: ____ Max exclusion: ____ (2025 $130k, 2026 $132.9k)
- Qualifying days: ____ / total days (365 or 366) = factor ____
- Prorated cap = Max × factor = ____
- Foreign earned income (USD, period-allocated) = ____
- Allowed exclusion = lesser of cap or income = ____
- Housing exclusion (separate) = ____
- Taxable foreign income = income – allowed exclusion = ____
- FTC limit = (foreign taxable / total taxable) × U.S. tax pre-credit = ____
- SE tax on excess (if self-employed) = 15.3% × (income – exclusion) if > $400
Run this before touching software. As we covered in our guide to the Foreign Income Exclusion Calculator, automation helps, but the worksheet is your audit armor.
If you follow this worksheet, you’ll answer “how do I calculate the foreign earned income exclusion” with a defensible number, not a guess. The 2026 cap of $132,900 is only the ceiling; your real exemption is the prorated, currency-adjusted figure you computed above.
The bottom line: manual calculation of foreign income exclusion is a three-step proration, a currency conversion, and a credit-limit cross-check. Skip any step and you either overpay or face an IRS adjustment.
