CALCULATOR · OFFICIAL IRS FORMULA

Does the IRS consider you a tax resident? Count your days

It's the question that defines everything else: which forms you file, which structures you can use and which income you're taxed on. And it doesn't depend on your visa or your passport — it depends on the days you spent in the U.S.

Calculate your substantial presence

Enter the days you were physically in the U.S. each year. Any day you were present counts, even if only for a few hours.

Students (F, M, J, Q), teachers/researchers and diplomats (A, G) can be "exempt individuals": their days don't count, for limited periods.

Counted days (IRS formula)
0 / 183
Result

How the formula works

The IRS doesn't count "183 days this year." It counts a weighted average over three years.

This year's days + ⅓ of last year's + ⅙ of the year before

If the total reaches 183 or more — and you were also present at least 31 days this year — you meet the test and the IRS treats you as a tax resident.

Why it catches people off guard: someone who spends 120 days a year in the U.S. never reaches 183 in a calendar year, but does cross the threshold under the weighted formula. Three long summers in a row can make you a tax resident without you noticing.

Frequently asked questions

What counts as a "day in the U.S."?

Any day you were physically present, even part of the day. There are specific exceptions (transit of less than 24 hours to another country, days you couldn't leave because of a medical condition that arose there, certain commuters from Mexico and Canada).

I meet the test but my life is in my home country. Is there a way out?

There is the closer connection exception: if you were present fewer than 183 days this year, keep your tax home in another country and have stronger ties to it, you can file Form 8840 and continue to be treated as a non-resident. It must be filed on time — if you don't file it, you generally lose the exception.

What if my country has a treaty with the U.S.?

Several income tax treaties have "tie-breaker" rules for when two countries consider you a resident. It is claimed on the return and requires an analysis of the specific treaty.

Does being a tax resident give me immigration status?

No. They are entirely separate: tax residency defines who you file with, not where you can legally live or work.

What changes if I am a tax resident?

Quite a lot: you're taxed on your worldwide income (not just U.S.-source), you file a 1040 instead of a 1040-NR, the S-Corp door opens, your LLC's forms change and foreign asset reports appear. Your estate tax exposure changes too.

Did your result land near the line, or are you already over it?
That's exactly the case where a 15-minute consultation prevents a years-long problem: $29.

Book a $29 consult
Important notice: This calculator applies the general substantial presence test formula (IRC §7701(b)). It does not cover every exception for non-countable days or the exact time limits of the "exempt individual" categories, which depend on your visa, prior years and your history. It does not replace the analysis of an applicable treaty either. Tax residency is a technical determination with significant consequences: verify your case with a licensed professional before deciding. Informational and educational material; it does not constitute tax or legal advice. Sumalis is part of the Onell.us / Emprendenus ecosystem.