Presence Test Calculator

Calculate your IRS Substantial Presence Status.

CalculatorsFreeNo Signup
4.7(640 reviews)
All Tools

Loading tool...

About Presence Test Calculator

Determine U.S. residency status using the IRS Substantial Presence Test (SPT) formula.

Presence Test Calculator Features

  • Day count calculation
  • IRS formula application
  • Residency status check
If you've spent time in the United States on a visa, you may need to determine your tax residency status using the IRS Substantial Presence Test (SPT). The Presence Test Calculator applies the official IRS formula — counting days from the current year and the two preceding years with specific weighting factors — to tell you whether you meet the 183-day threshold for U.S. tax residency. Essential for international students, workers on H-1B/L-1 visas, and anyone splitting time between countries.

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

  1. 1Open the Presence Test Calculator.
  2. 2Enter the number of days you were in the U.S. for the current year.
  3. 3Enter days for the prior year and two years prior.
  4. 4View the weighted total and whether you meet the 183-day threshold.
  5. 5Check if the 31-day minimum for the current year is also satisfied.

Presence Test Calculator — Frequently Asked Questions

What is the Substantial Presence Test?+

The SPT is an IRS test that determines if a non-U.S. citizen is a 'resident alien' for federal tax purposes. It uses a weighted day-count formula across three years. Meeting the test means you're taxed on worldwide income, similar to a U.S. citizen.

Do F-1 student visa days count?+

F-1 students are generally exempt from the SPT for their first 5 calendar years in the U.S. During this exempt period, their days of presence do not count toward the 183-day threshold.

What happens if I meet the Substantial Presence Test?+

You're classified as a 'resident alien' for tax purposes and must report your worldwide income to the IRS. You'll file Form 1040 (like U.S. citizens) rather than Form 1040-NR.

Share this tool: