How to Use the Presence Test Calculator
Determine your IRS residency status in minutes:
Enter your days of presence. Input the number of days you were physically present in the United States for each of the three relevant years: the current tax year, the year before, and two years before.
View the calculation. The tool applies the IRS formula: (current year days × 1) + (prior year days × 1/3) + (two years prior days × 1/6). If this total equals or exceeds 183, you meet the Substantial Presence Test.
Check additional requirements. You must also have been present at least 31 days in the current year. The calculator checks both conditions.
Understanding the Substantial Presence Test
The SPT is the primary way the IRS determines if a non-citizen is a 'resident alien' for tax purposes:
The formula: Days in current year count fully. Days in the prior year count at 1/3. Days from two years ago count at 1/6. The weighted total must reach 183.
Exempt individuals: Certain visa categories (F-1/J-1 students for up to 5 years, teachers/researchers for up to 2 years) are exempt from the SPT count.
Closer Connection Exception: Even if you meet the 183-day threshold, you may qualify for an exception if you maintain a tax home in another country and have a closer connection to that country.
Tax treaty override: Some tax treaties let you claim non-resident status even if you pass the SPT. Always check your country's treaty with the U.S.
Tips for Accurate Results
Ensure your calculation is correct:
- Count partial days — Any part of a day in the U.S. counts as a full day, with some exceptions (transit days, commuters from Canada/Mexico).
- Exclude exempt days — If you're on an F-1/J-1 visa within the exempt period, those days don't count. Enter only non-exempt days.
- Keep travel records — Use your passport stamps, I-94 records, and airline itineraries to calculate exact day counts.
- Consult a tax professional — The SPT has exceptions and nuances. This tool provides the mathematical calculation, but professional advice is recommended for complex situations.
Step-by-Step Instructions
- 1Open the Presence Test Calculator.
- 2Enter the number of days you were in the U.S. for the current year.
- 3Enter days for the prior year and two years prior.
- 4View the weighted total and whether you meet the 183-day threshold.
- 5Check if the 31-day minimum for the current year is also satisfied.