Welcome to Sprintax Calculus!

You can use these guides to get started

Substantial Presence Test

This article is for information only and is not tax advice.

The substantial presence test (SPT) is the IRS test that decides whether you are a US tax resident or a nonresident for a calendar year. It uses the number of days you spent in the US. Sprintax Calculus uses the test to classify you, so you must answer every question in Step 1 (Residency) accurately. You are a US tax resident for a year if you pass the SPT for that year. You pass when you meet two requirements about the days you were physically present in the US.

What are the two requirements of the substantial presence test?

  • 31-day requirement: You were in the US for at least 31 days in the current year.

  • 183-day requirement: Your weighted total of days over a three-year period is at least 183.

You must meet both requirements. If you meet only one of them, you do not pass the SPT.

How do I calculate the 183-day total?

The three-year period covers the year you are testing and the two years before it. Add these amounts:

  1. Count every day you were in the US in the year you are testing.

  2. Count one-third of the days you were in the US in the first year before it.

  3. Count one-sixth of the days you were in the US in the second year before it.

For the year 2026, the three years are 2026, 2025 and 2024.

ExampleDays in 2026Days in 2025Days in 2024Weighted totalResult
Person A120120120120 + 40 + 20 = 180Less than 183, so the person does not pass the SPT.
Person B150150150150 + 50 + 25 = 225At least 183 and at least 31 days in 2026, so the person passes the SPT.

Which days count as days in the US?

Any day that you are physically in the US at any time during the day counts as a day of presence. The US includes the 50 states, the District of Columbia and US territorial waters. It does not include US territories or airspace.

Which days do not count?

You do not count these days when you apply the test:

  • Days when you commute to work in the US from a residence in Canada or Mexico, if you regularly commute.

  • Days when you are in the US for less than 24 hours while you travel between two places outside the US.

  • Days when you work as a crew member of a foreign vessel.

  • Days when you could not leave the US because of a medical condition that developed while you were in the US.

  • Days when you are an exempt individual.

Who is an exempt individual?

An exempt individual does not count the days of presence in the US while the exemption applies. Common categories are:

  • Students on F, J, M or Q visas who substantially comply with the requirements of their visa. This exemption generally applies for up to 5 calendar years in total.

  • Teachers and trainees on J or Q visas who substantially comply with the requirements of their visa. This exemption generally applies for 2 years out of every 6-year period.

  • Foreign government-related individuals on A or G visas, with some exceptions.

  • Professional athletes who are in the US temporarily to compete in a charitable sports event.

To exclude these days, you generally must file Form 8843 with the IRS on time. Your institution or an immigration advisor can tell you whether you are an exempt individual.

What happens if I pass the substantial presence test?

You are a US tax resident for that year, and you are taxed as a US resident. The closer connection exception can apply in some cases. To use it, you must have been in the US for fewer than 183 days in the current year. You must also have a tax home in a foreign country and a closer connection to that country. You must file Form 8840 on time.

How does Calculus use the substantial presence test?

Calculus asks about your US citizenship, your Green Card status and your days in the US in Step 1 (Residency). It applies the SPT to your answers and classifies you as a resident or a nonresident. A wrong answer can lead to the wrong classification. Your institution uses the result to decide which tax rules and forms apply to you.

How do I find out how many days I was in the US?

  • Check the entry and exit stamps in your passport.

  • Check your travel history on the I-94 website of US Customs and Border Protection (CBP).

  • Check your flight and travel records.

If you are not sure about a date, use the records that you have and answer as accurately as you can.

What are the key facts about the substantial presence test?

QuestionAnswer
What does the substantial presence test decide?Whether you are a US tax resident or a nonresident for a calendar year.
What are the two requirements?At least 31 days in the US in the current year, and a weighted total of at least 183 days over three years.
How do I weight the days?Count all days in the current year, one-third of the days in the year before, and one-sixth of the days in the year before that.
What counts as a day in the US?Any day that you are physically in the US at any time during the day.
Do exempt individuals count their days?No. Students, teachers and trainees on certain visas do not count the days while the exemption applies.
Which form do exempt individuals file?Form 8843.
Where does Calculus ask about my days?In Step 1 (Residency).

Was this article helpful?

3 out of 3 found this helpful