HomeUS · TAX PRESENCE
US · TAX PRESENCE

US Substantial Presence Test calculator

Count all current-year days, one-third of last year’s days and one-sixth of the year before. Then check exclusions and exceptions before relying on the result.

LOCAL · NO DATA UPLOADED

Try the calculator

us-spt-2026.1 · reviewed 2026-09-20

How the weighted total works

The day test requires at least 31 days in the current year and a weighted three-year total of at least 183 days. The current year counts in full, the previous year at one-third and the second previous year at one-sixth.

Worked substantial presence test examples

Use countable days after reviewing exclusions. These arithmetic examples check the two day-count gates, not your final tax status.

  • 120 / 120 / 120 days: 120 + 40 + 20 = 180 weighted days. Below the 183-day threshold; this matches the IRS worked example.
  • 183 / 0 / 0 days: 183 weighted days and at least 31 current-year days. Both numerical gates are met, before exceptions.
  • 30 / 360 / 360 days: 30 + 120 + 60 = 210 weighted days. The test still fails because current-year presence is below 31 days.
Each example lists current year, previous year, then second previous year. Passing these numerical gates does not resolve exempt days, closer-connection or treaty questions.

Which US days should you enter?

The IRS generally counts any day you are physically present in the United States for any part of that day. Review its exceptions before entering countable totals; the calculator does not determine which days you may exclude.

What this result cannot decide

  • Whether days qualify for an exempt-individual or medical-condition exclusion
  • Whether a closer-connection exception or treaty applies
  • Your official residency starting or ending date

Track every trip from one ledger

Save actual travel dates once to build gross US presence and Schengen day-count summaries. Gross recorded days do not automatically exclude exempt days. Keep the FEIE foreign-day test separate from US substantial presence.

Planning a move for work?

Research immigration routes separately from this US tax-day calculation. A saved route or preparation checklist does not decide your tax status, exempt days or permission to stay.

Frequently asked questions

How do you calculate the substantial presence test?

First check for at least 31 US days in the current year. Then add all countable current-year days, one-third of the previous year’s countable days and one-sixth of the second previous year’s countable days. The basic day test is met when both gates are satisfied, subject to exclusions and exceptions.

How do you calculate the 183-day rule?

For this US test, 183 is a weighted three-year total, not simply 183 physical days in the current year. Current-year days count in full, the prior year at one-third and the second prior year at one-sixth.

How can someone meet the substantial presence test?

The basic day-count test requires at least 31 countable US days in the current year and at least 183 weighted days across the three-year formula. Exempt days, medical exclusions, closer-connection rules and treaties can change the final treatment.

Who may be treated as an exempt individual for day counting?

Depending on detailed IRS conditions and time limits, some foreign-government-related individuals, certain teachers or trainees, certain students and professional athletes temporarily present for a charitable sports event may exclude days. Review the IRS instructions and Form 8843; the calculator does not decide eligibility.

Official source: IRS Substantial Presence Test →

Independent planning tool. Calculations are informational estimates—not official determinations or legal, tax or immigration advice. Verify your dates, status and exceptions with the relevant authority or a qualified professional.