Substantial Presence Test Calculator

Substantial Presence Test Calculator | Cumberland & Co.

Substantial Presence Test Calculator

Estimate U.S. tax residency under IRC §7701(b)(3)

A nonresident alien generally becomes a U.S. resident for tax purposes if present in the U.S. for at least 31 days in the current year, and the weighted total below reaches at least 183 days — counting all days in the current year, plus 1/3 of days in the prior year, plus 1/6 of days in the year before that. Enter calendar days, not 24‑hour periods.
Year
Days present
Counted days
0
0
0
Total weighted days 0
Enter your day counts above Results will update automatically.
This tool provides a general estimate only and does not constitute tax advice. The Substantial Presence Test is subject to exceptions, including for exempt individuals (certain students, teachers, trainees, and diplomats) and the closer connection exception (Form 8840). Days that are not counted toward the test — such as certain commuter days or days in transit — are not reflected here. For a review of your specific situation, contact Cumberland & Co.

You can become a US tax resident based solely on the number of days you spend physically present in the country.

The formula:

  • Count all days you were present in the current year at full value
  • Count one-third of the days from the first preceding year
  • Count one-sixth of the days from the second preceding year

If these calculations total 183 days or more, and you were present for at least 31 days in the current year, you meet the substantial presence test.

Form 8840: The Critical Filing Requirement

If you meet the substantial presence test, in order to claim the closer connection exception so you are not treated as a U.S. tax resident, you must file Form 8840 (Closer Connection Exception Statement for Aliens). This form is specifically used to claim the closer connection to a foreign country exception to the substantial presence test.

Filing deadline: Form 8840 must be filed by the due date of your income tax return. For most foreign individuals, this means June 15 if you are not filing a US tax return, or by the tax return due date (April 15 or June 15, plus any extensions) if you are filing a return.

Late filing consequences: If you don't file Form 8840 on time, you cannot claim the closer connection exception. The IRS may excuse late filing only if you can show by clear and convincing evidence that you took reasonable steps to learn about the filing requirement and made significant efforts to comply.

Common Mistakes to Avoid:

  • Assuming short visits don't matter: Any day you're in the US counts, even brief ones. Weekend trips add up.
  • Forgetting the three-year look back: Many people focus only on the current year and miss that prior years affect their status.
  • Neglecting Form 8840: Filing Form 8840 late can cost you the ability to claim the closer connection exception.
  • Relying on green card status alone: Even green card holders can sometimes claim treaty benefits, but this requires proper filing.
  • Mixing up physical presence with other tests: The substantial presence test is strictly about days in the US. Other factors matter only for the closer connection exception.

When to Seek Professional Help:

International tax residency rules are complex. The stakes are high. Most foreign nationals who spend significant time in the US benefit from working with a tax professional experienced in this area of the US tax law.

A qualified advisor can:

  • Calculate your substantial presence accurately
  • Determine if you qualify for the closer connection exception
  • Prepare Form 8840 properly
  • Advise on tax treaty benefits
  • Help with past compliance issues if needed
  • Discuss how you can plan your visits to avoid unintended tax consequences

The cost of professional guidance is typically far less than the tax liability and penalties that can result from unexpected tax residency.

Key Takeaways:

Numbers below are rounded for ease to remember and to provide a buffer to be more conservative in the calculations.

120 days or less: If you don’t want to file any tax forms in the United States related to your presence you should keep your number of days each year 120 (rounded down) or less (and have no reportable US income).

180 days or less: If you are a tax resident of another country and have a closer connection there you should plan not to exceed 180 (rounded down) days in any calendar year. If you are between 120 and 180 days each year you will generally meet the substantial presence test. You will need to file Form 8840 with the IRS to establish your closer connection, but you likely can avoid being a US tax resident as long as your fact pattern supports your position.

183 or more: If you have 183 or more days in a single calendar year you can no longer use Form 8840 to be treated as a nonresident for tax purposes. You must be from a country that has a tax treaty with the United States that contains an article allowing you to take a center of vital interests in that other country. While this may have you treated as a nonresident for income tax purposes, it would not relieve you of the need to file international information disclosure forms. It is beyond the scope of this article to cover this topic.

Author’s Notes:

This is not intended to be tax advice and does not replace consulting with a qualified tax professional.

Each person’s situation is unique. Small differences in a fact pattern can significantly change reporting requirements.

It is important to consult with tax professionals who regularly handle taxpayers with cross border issues or fact patterns that are more complex. The expertise of the professional is more important than where they are physically located. Professionals that have expertise in these matters can help ensure you understand your specific obligations and explore available options. Consulting with tax professionals who regularly handle international property transactions can help you maximize your profits and minimize your U.S. taxes and reduce risk.

I am happy to advise you on determining if you are in compliance, what options may exist if you are out of compliance, and next steps to take in order to be in compliance with US tax law.

Questions or Inquiries can be sent to: [email protected]