First 100 join freeJoin →

Skip to content

Substantial presence test calculator

The IRS counts you as a US resident for tax purposes when you meet the substantial presence test, unless an exception applies.

Reviewed by Alex Thomas · Updated Oct 28, 2026

You do not meet the substantial presence test yet: 160 counted days of 183. You can spend about 22 more days this year before you'd cross it.

Some visa holders (F, J, M, Q and a few others) can exclude days. This tool does not apply those exclusions — enter only days that count.

Counted days

160

Does not meet the test

120 this year + 30 (⅓ of last year) + 10 (⅙ of the year before)

Need 183 counted days, and at least 31 days this year

Days you can still spend this year: 22

Even if you meet the test, you may still claim a closer connection to another country (Form 8840) when you qualify. This tool does not decide that for you.

Ask members who've been there

Questions

How does the substantial presence test work?
Add all days you were in the US this year, one-third of the days from last year, and one-sixth of the days from the year before. You meet the test at 183 or more, with at least 31 days in the current year.
Do weekends and partial days count?
Any day you are physically present in the US generally counts as a full day, including arrival and departure days, with limited exceptions listed in Publication 519.
What if I meet the test but live abroad?
You may still qualify for the closer-connection exception and file Form 8840. Talk to a tax professional before treating yourself as a nonresident.

Other tools

Sources

  1. IRS — Substantial Presence Testirs.gov
  2. IRS Publication 519irs.gov

Join ITIN Club — it's free

Ask members who've already done it, follow the first-year course step by step, and message other members directly. No SSN needed.

Founding 100