Skip to content
Tax & DeductionsFree · No signup · 80K/month

Digital Nomad Tax Residency Optimizer — FEIE vs FTC vs Stay

Compare US-stay vs FEIE (Form 2555) vs FTC route across 12+ nomad destinations. Bona Fide vs Physical Presence eligibility, state shedding, treaty offsets, self-employment tax — surfaces best route + savings vs baseline.

  • Instant result
  • Private — nothing saved
  • Works on any device
  • AI insight included
Reviewed by CalcBold EditorialLast verified Methodology

Digital Nomad Tax Residency Optimizer

US citizens + permanent residents are taxed on worldwide income regardless of residence. Non-US citizens face different (often simpler) rules — this calculator targets US persons.

Drives state-shed potential. High-tax states (CA, NY, NJ, OR, MN) audit shed claims aggressively. FL/TX/NV/WA/SD/TN/WY/AK/NH have no state income tax.

Country where you'll spend most days abroad. Treaty countries (Portugal, Spain, Estonia, Malta, Croatia) offer FTC simplification. UAE/Panama/Georgia have near-zero local tax. Confirm visa requirements separately.

FEIE Physical Presence Test requires 330 days outside US in any 12-month period. Bona Fide Residence allows occasional US visits but requires full tax-year residence abroad.

Self-employment tax (15.3%) is owed regardless of FEIE — totalization agreements with 30+ countries can exempt this. W2 path is simpler but employer must allow remote-from-abroad.

Salary or business profit. FEIE 2025 caps at $130,000 (IRS Rev. Proc. 2024-40). Income above the cap is taxed normally.

Rent + utilities abroad. Foreign Housing Exclusion adds ~$17K above FEIE in standard cities; high-cost cities (London, Hong Kong, Tokyo) get larger caps. See IRS Form 2555 instructions for city-specific limits.

Shedding requires moving driver's license, voter registration, mailing address, banking, and severing CA/NY/NJ ties. Without shed, state still claims tax. Shed audits go back 4+ years.

FBAR (FinCEN 114) required when foreign accounts exceed $10K aggregate at any point. FATCA Form 8938 thresholds higher. Penalties for non-filing are severe ($10K–$100K+).

Embed builderDrop the Nomad Tax on your site →Free widget · 3 sizes · custom theme · auto-resizes · no signupGet embed code

What This Calculator Does

The Digital Nomad Tax Residency Optimizer compares the three viable paths a US person can structure their tax life around when working from abroad: stay (just live there but file normal US returns), FEIE (Foreign Earned Income Exclusion via Form 2555), or FTC (Foreign Tax Credit via Form 1116). Drop your domicile state, target country, days abroad, income type (W-2 / 1099 / business), gross income, foreign housing cost, and whether you intend to shed state residency. The calculator runs each route end-to-end — federal + self-employment + state — and surfaces the recommended path plus dollar savings versus the US-stay baseline.

US citizens and green-card holders are taxed on worldwide incomeregardless of residence (IRC §61). FEIE under IRC §911 lets you exclude up to $130,000 (2025, IRS Rev. Proc. 2024-40) of foreign earned income if you clear either the Physical Presence Test (330 full days outside the US in any 12-month window) or the Bona Fide Residence Test (settled abroad with no fixed return date). FTC under IRC §901 credits foreign income tax against your US bill, useful when local rates are high or you want to keep contributing to Roth IRA / 401(k) (FEIE-excluded income doesn’t count as “earned” for retirement contributions per IRC §219(f)(1)). Get the route wrong and you can pay tens of thousands more than necessary, or worse, fail FBAR / FATCA disclosure requirements with $10K-$100K+ penalties.

The Math / Formula / How It Works

Three layers stack. Federal income tax applies to all three routes; FEIE excludes the first $130K of earned income, FTC credits foreign tax dollar-for-dollar (limited to US tax on the foreign-source income). Self-employment tax (15.3%) is owed on full earnings even with FEIE unless a totalization agreement with the host country exempts it (US has 30+ — Spain, UK, Germany, Canada, Japan, Korea, Australia, Italy, France, etc.). State taxapplies if you keep domicile in your home state; shedding to FL/TX/NV/etc requires a real domicile change (DL, voter reg, bank, mailing address) — California, New York, and New Jersey audit aggressive shed claims back 4+ years.

Worked example: $150,000 1099 income, single, CA domicile, 340 days in Portugal, $18K foreign housing, intent to shed. Stay route: federal ~$26K + CA state ~$10.5K + SE tax ~$21.2K = ~$57,700. FEIE route: federal on ($150K − $130K − $17K housing) = $3K → ~$300 federal + 0 state (shed) + $21.2K SE = ~$21,500. FTC route: depends on Portuguese tax — typical ~$15-20K paid locally credited against $26K federal = ~$6-11K residual + 0 state + $21.2K SE = ~$30-35K. Best: FEIE saves ~$36,200/yrversus US-stay. If Portugal is Bona Fide and you’ll spend 5 years there, that’s ~$180K of cumulative tax shielded — assuming you maintain the 330-day count and file Form 2555 + FBAR + (if applicable) FATCA Form 8938.

How to Use This Calculator

  1. Confirm US citizen or green-card holder. If yes, worldwide-income taxation applies regardless of where you live; this calculator’s logic targets US persons.
  2. Pick current state of domicile. High-tax states (CA, NY, NJ, OR, MN) audit shed claims aggressively; no-tax states (FL, TX, NV, WA, SD, TN, WY, AK, NH) make the shed step free.
  3. Pick target country. Treaty countries (Portugal, Spain, Estonia, Malta, Croatia, Italy, Germany, UK) simplify FTC math via clear bilateral allocation rules; near-zero-tax countries (UAE, Panama, Georgia, Bahamas, Bermuda) maximize FEIE’s value because there’s minimal local tax to credit.
  4. Set days abroad in your 12-month window. 330+ unlocks FEIE Physical Presence Test; below 330 means you need Bona Fide Residence (subjective) or fall back to FTC / stay.
  5. Pick income type (W-2 / 1099 / business). 1099 and business owe SE tax regardless of FEIE; W-2 path is simpler but employer must allow remote-from-abroad (employer creates payroll/nexus exposure in the host country).
  6. Enter annual income and foreign housing cost. FEIE excludes up to $130K (2025) plus a foreign housing exclusion (~$17K standard, higher caps in London / Hong Kong / Tokyo per Form 2555 instructions).
  7. Set state residency intent (keep / shed) and FBAR willingness. FBAR (FinCEN 114) required when foreign account aggregate > $10K at any point in the year.

Three Worked Examples

Example 1 — Lisbon-based 1099 dev, CA shed

$150,000 1099 income, CA domicile, Portugal target, 340 days abroad, $18K housing, shed intent. Stay route: ~$57,700 total tax. FEIE route: ~$21,500. Savings vs stay: ~$36,200/yr. CA shed must be airtight (DL, voter reg, mail forwarding, sold home or sublet without return-intent). 330-day count must be documented (passport stamps, flight records). File Form 2555 with 1040 + FBAR if Portuguese bank accounts > $10K aggregate.

Example 2 — Dubai W-2 expat, FL domicile, $250K

$250,000 W-2, FL domicile (already no state tax), UAE target, 340 days abroad, $35,000 housing (Dubai high-cost cap). Stay route: federal ~$54K + 0 state + ~$22K FICA (employer-half only matters here since W-2) = ~$54K personal. FEIE route: federal on ($250K − $130K − $25K housing exclusion capped) = $95K → ~$18K federal + 0 state + 0 SE (W-2) = ~$18K. Savings: ~$36,000/yr. UAE has no local tax, so FTC is not viable. FEIE is the clean win. Note: FBAR required for any UAE bank account > $10K.

Example 3 — UK-based 1099, NY domicile, FTC route

$200,000 1099, NY domicile, UK target, 320 days abroad (BELOW PPT threshold — needs Bona Fide), $30K housing. Stay route: federal ~$40K + NY ~$13K + SE ~$28K = ~$81K. FEIE route: ineligible (320 days < 330; not yet Bona Fide). FTC route: UK tax on $200K ~$50,000 (with personal allowance); federal $40K credit-limited to $40K → $0 federal residual; NY ~$13K (kept domicile); SE $28K ($28K × 15.3% even with UK-US totalization the SE is reduced if UK NIC paid, but confirm with practitioner) = ~$41K total US plus $50K UK. Savings vs US stay: ~$40K — but offset by higher UK tax bill. Net out-of-pocket worse than stay unless income flows substantially via Roth IRA / 401(k) accumulation FEIE would block.

Common Mistakes

  • Counting travel-through-US days as “abroad.” The 330-day count is brutal: any partial day touching US soil (layover, customs entry) counts against you. Use direct connections through Doha, Frankfurt, Reykjavik when possible. Document boarding passes, passport stamps, and credit-card geo-tagged transactions.
  • Assuming FEIE eliminates self-employment tax. It doesn’t. SE tax (15.3% on net earnings up to the Social Security wage base, then 2.9% Medicare uncapped) is owed on the full amount even with FEIE (per IRC §1402). Totalization agreements can exempt this — check the SSA totalization page for your country before assuming SE savings.
  • Skipping FBAR / FATCA filing. FBAR (FinCEN 114) required when foreign account aggregate exceeds $10K at any point in the year — penalty up to $10K non-willful, $100K or 50% of account value willful. FATCA Form 8938 has higher thresholds ($200K single abroad, $400K MFJ abroad). Banks now report automatically under FATCA; non-filing is high-risk. The IRS Streamlined Filing Procedures offer amnesty for non-willful past failures.
  • Sloppy state shedding.A “move” in your head is not a move in the eyes of CA / NY / NJ auditors. Required: change driver’s license, voter registration, vehicle registration, mailbox; sever ties (sell home or rent it out, close in-state professional licenses, switch to non-state-tax bank); spend < 183 days in the old state (CA also looks at “closer connection” factors per FTB Pub 1031). Partial shed almost always loses on audit.
  • Killing Roth IRA contributions with FEIE.FEIE-excluded income doesn’t count as “earned” for IRA contribution purposes (IRC §219(f)(1)). If you exclude all $130K, you can’t contribute to any IRA. Workaround: leave ~$8-10K outside FEIE intentionally (preserves IRA + Roth IRA contribution eligibility); or use FTC instead.
  • Forgetting nomad visa ≠ tax residency. Portugal D7, Spain DNV, Estonia e-Residency, Croatia Digital Nomad — these unlock legal residence in the country, notautomatic foreign tax residency. You still owe US tax on worldwide income; you may also owe local tax depending on the country’s rules. Some nomad visas deliberately avoid creating tax residency (Croatia’s digital nomad visa) to keep things simple; others (Portugal NHR successor) create both.

How to Read the Verdict

  1. If days abroad ≥ 330 + low-tax country (UAE, Panama, Georgia, Bahamas): FEIE wins, often by $25-50K/yr. Pair with state shed if domicile is high-tax. File Form 2555 + FBAR. Consider preserving ~$10K outside exclusion to keep IRA contribution eligibility.
  2. If days abroad ≥ 330 + high-tax country (UK, Germany, France): FTC usually beats FEIE.The local tax is already high enough to fully credit US tax. FTC also keeps income “earned” for retirement contributions.
  3. If days abroad < 330 and not yet Bona Fide: stay or part-FTC.Don’t claim FEIE without one of the two tests cleanly satisfied. Fall back to FTC if local taxes paid; otherwise just file as a US resident.
  4. If income above $130K + housing cap: FEIE-then-FTC stack. Exclude first $130K + housing via FEIE; credit foreign tax against the residual via FTC on the remainder. This is form-heavy but legitimate; expat CPA recommended.

Related Calculators

If you’re not ready for full international move, the domestic version often saves $5K-15K/yr — run the Multi-State Remote Work Tax Exposure Calculator for state-arbitrage scenarios. Pair with the Global Salary Equivalence Calculator to layer in lifestyle parity — a $130K-equivalent salary in Lisbon may net you 30% more discretionary spend than NYC after rent + healthcare + VAT normalize. And run the Should I Move Country Calculator for the holistic move-country decision (career, family, visa friction, timeline-to-payback) before optimizing tax structure.

When State Shedding Is Worth the Effort

State tax is the single most overlooked nomad win. CA at 9.3% average + NY at 6.85% + NJ at 6.37% + OR at 9.9% mean a $150K nomad keeps an extra $9-15K/yr just by shedding cleanly. But shedding is not free: physical presence requirements (sometimes 6 months minimum), document chain (DL, registration, mailing), and 4+ year audit lookback for CA/NY/NJ. If you’re a nomad for < 18 months and plan to return, the shed often isn’t worth the audit risk; if you’re committing to 3+ years abroad, full shed via a real domicile change to FL/TX/NV (mailbox + DL via a service like Escapees / Americas Mailbox in SD) typically pays off many times over. Shed always pairs cleanly with FEIE since federal exclusion + state elimination compound.

Frequently Asked Questions

The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.

  • What is the 330-day rule?
    Physical Presence Test (PPT) for FEIE: you must be physically outside the US for 330 full days during any 12-month period. The 12 months don't have to align with calendar year. Travel days through US airports count partially against you. Most nomads use January 1 → December 31 of year 2 to lock in eligibility for both years simultaneously.
  • Bona Fide vs Physical Presence — which is easier?
    PPT is bright-line: count days, get 330. Bona Fide Residence is subjective — requires settling abroad with no fixed return date, foreign tax filing, no US ties (sold home, kids in foreign school). PPT is the default starting path; Bona Fide unlocks more flexibility (US visits) once you're established.
  • Does FEIE eliminate all my taxes?
    No. FEIE excludes only earned income up to $130K (2025). Investment income, dividends, capital gains, rental income — none qualify for FEIE. Self-employment tax (15.3%) is owed on the full amount unless a totalization agreement exempts it. Foreign tax may also apply locally.
  • When is FTC better than FEIE?
    Foreign Tax Credit (Form 1116) wins when your foreign tax rate exceeds US rate, or when you want to keep contributing to Roth IRA / 401k (FEIE-excluded income doesn't count as 'earned' for retirement contributions). High-tax countries (UK, Germany, France) often favor FTC. Low-tax (UAE, Panama) favor FEIE.
  • How does state shedding work?
    Move driver's license, voter registration, vehicle registration, mailbox to FL/TX/NV/etc. Sever ties: sell home, close in-state professional licenses, unregister from in-state services. Spend < 183 days in old state. CA + NY + NJ require multi-year clean break — partial shed often rejected on audit.
  • What about self-employment tax?
    SE tax (12.4% Social Security + 2.9% Medicare = 15.3%) is owed on your full net earnings even with FEIE. Totalization agreements (US has 30+) let you pay foreign social insurance instead — exempting US SE tax. Without an agreement, you pay both. Spain, UK, Germany, Canada, Japan, Korea, Australia all have agreements.
  • Can I contribute to Roth IRA while abroad?
    Only if you have earned income that is *not* excluded by FEIE. Two paths: (1) earn under FEIE cap and exclude all → no Roth contribution allowed; (2) use FTC instead of FEIE → all income counts → can contribute. Some nomads keep ~$10K outside FEIE intentionally to preserve Roth eligibility.
  • Do I need to file FBAR?
    Yes if foreign account aggregate exceeds $10K at any point during the year. File FinCEN Form 114 by April 15 (auto-extended to October 15). Penalty for non-willful failure: $10K per violation. Willful: up to $100K or 50% of account value. Banks now report automatically (FATCA) — non-filing is high-risk.
  • Best low-tax nomad destinations 2025?
    Zero tax: UAE (Dubai DNV), Panama, Georgia, Bahamas, Bermuda. Low tax: Portugal (~20% NHR successor), Estonia (~20%), Croatia (0% on foreign income), Malta (15% remittance basis), Costa Rica (territorial — foreign income often untaxed). Treaty status matters as much as headline rate — affects FTC arithmetic.
  • What about accidental Americans?
    Born in US to foreign parents and never lived here? You're still a US citizen for tax purposes — must file 1040 + FBAR + FATCA. IRS Streamlined Filing Procedures offer amnesty for non-willful past non-filing. Renunciation costs $2,350 + exit tax if net worth > $2M. Many accidentals first realize this when banking abroad fails KYC checks.
  • Do nomad visas help with US taxes?
    Nomad visas (Portugal D7, Spain DNV, Estonia e-Residency, Croatia, Malta, Greece, etc.) let you legally reside in the country — they DON'T affect US tax obligations. They DO establish foreign tax residency, which can simplify FTC and unlock treaty benefits. Best of both worlds: nomad visa + 330 days + treaty country.
  • Should I use a CPA?
    Yes. Expat returns add Form 2555 / 1116 / 8938 / FBAR / sometimes 5471 (foreign corp) or 8865 (foreign partnership). Specialists charge $1,500-$5,000/yr but catch errors that compound. DIY through TurboTax / Olt.com works for clean PPT cases without rentals or businesses, but risk is high.