Substantial Presence Test Calculator & U.S. Day Planner

Calculate the current-year and weighted three-calendar-year day thresholds for the U.S. substantial presence test. Use annual physical-presence totals or enter inclusive visit dates, then record exclusions already established for your records. The date worksheet counts overlapping ranges once, reconciles totals by month and year, and lets you compare an entered record with hypothetical additional countable days. The result covers day-count arithmetic only.

U.S. day-count worksheet

Check both substantial presence day thresholds

Enter annual totals or travel dates, apply documented exclusions, and explore how additional counted days change the three-year total.

Choose the year and entry method

Use the year for which you want to check the day thresholds.

Both entry methods retain their own draft.

Entered and projected day counts

These results evaluate the day thresholds from the entered data. Residency, exceptions, treaty positions and filing requirements need a separate assessment.

Adds days only to the analysis year and leaves entered totals unchanged.

Entered weighted days 180. Projected weighted days 183.

Entered days

Three-year weighted total

180 days

31 current-year counted days
Met · 120 days
183 weighted days
Below

Below one or both day thresholds

Projection with 3 added days

Three-year weighted total

183 days

31 current-year counted days
Met · 123 days
183 weighted days
Met

Both day thresholds met

The entered record needs 3 more countable current-year days to meet both thresholds. 245 days in 2025 are not entered as present. That calendar capacity does not assign any actual dates.

Enter the three annual totals

Count a calendar day of physical presence once. Include all presence first and then subtract only exclusions you have already established.

2025 · Full
2024 · One third
2023 · One sixth

See how each calendar year contributes

Weighted-day progress

Scale 0 to 190 weighted days. The dotted line marks 183 days. Both the 31-day test and the weighted test apply.

Entered180 weighted days

Projection183 weighted days

  • 2025 · 120
  • 2024 · 40
  • 2023 · 20
  • Added current-year days · 3
Calendar-year day ledger
YearPresentExcludedCountedMultiplierWeighted days
20251200120Full120
20241200120One third40
20231200120One sixth20

Export the day-count worksheet

Save the year totals, both threshold checks and the projection. Date mode also exports the interval and monthly audit.

Download day-count CSV
Selectable day-count CSV copy

How to use this calculator

  1. Select the analysis calendar year and an entry method. Load the IRS annual-count example or the overlapping-travel example for a starting point.
  2. In annual totals mode, enter physical presence and any independently confirmed excluded days for each year.
  3. In date mode, add visits and documented exclusion intervals. Include the first and last relevant dates. Check that exclusions fall within entered physical presence.
  4. Compare the 31-day and 183 weighted-day checks. Add hypothetical countable current-year days to explore the numerical threshold.
  5. Review the weighted contributions and, in date mode, the monthly and overlap audit. Export the worksheet when the entries match your records.

The Formula

The mathematical logic powering this calculation is:

The IRS lists two numerical thresholds. Count at least 31 days during the analysis calendar year and at least 183 weighted days in the three-year window. Weighted days = counted days in the analysis year + one third of counted days in the prior year + one sixth of counted days two years earlier. Check the two thresholds independently. This workbook uses exact integer sixth-days: 6 × current + 2 × prior + earlier, compared with 1,098. No fractional threshold is rounded upward.
For annual totals, counted days = entered physical presence − entered excluded days. Each year is limited by its Gregorian calendar days. In date mode, both endpoint dates are included. A visit that crosses December 31 is allocated to each respective calendar year. Duplicate or overlapping visits form a union of distinct dates. Documented exclusions also form a union, and each excluded date must be present in the visit union. A label in the audit gives unique dates contributed by an interval after earlier entries of the same type.
Generally the IRS regards physical presence at any time of a specified day as present, subject to its exclusions and exceptions. Enter dates as applicable to your records without browser time-of-day conversions. Travel through the United States, certain commuters, crew members, qualifying medical circumstances and exempt-individual rules need separate review. The worksheet subtracts days you identify and does not determine whether an exclusion applies.
The projection adds hypothetical additional countable days only in the analysis year. Minimum current-year count = maximum of 31 and the whole-day ceiling of 183 minus the two prior years’ weighted contributions. Days still needed = maximum of zero and that minimum less entered current-year count. Exclude every already-entered physical date from projection capacity, even if that date is excluded from the counted total. That limit represents arithmetic capacity, with no assumptions about calendar dates still available or eligibility.
Enter an analysis calendar year from 2000 to 2099. Annual entries require whole days from zero up to the relevant year’s capacity. Date mode accepts up to 80 intervals within the selected three calendar years. Day status uses the current IRS rule for the entered counts. The worksheet does not review historical law, jurisdiction, residence status, treaties, the closer connection exception, green card rules, legal filing or documentation.

Worked Example

If you input:

  • Analysis calendar year: 2025
  • Counted days in 2025, 2024 and 2023: 120 each, with zero excluded days
  • Hypothetical added counted days in 2025: 3

Result:

The IRS example weights these days as 120 + 40 + 20 = 180. The 120 entered current-year days meet the 31-day threshold, and the weighted total remains three days below 183. With three hypothetical added countable days, 123 + 40 + 20 = 183, meeting both day thresholds in the projection. This describes only the numerical test.

Frequently Asked Questions

Can I meet the 183 weighted-day threshold with fewer than 31 days this year?

The prior years can push the weighted count above 183 even when current-year count is under 31. Both requirements apply, so check each result.

How are overlapping trips counted?

A date present in multiple visits still counts once. Each documented exclusion date on a visit also counts once in the excluded total. The per-interval audit shows repeated and newly added dates.

Do dates on both sides of New Year’s Day count?

Both endpoints are inclusive, and each included date is assigned to its own calendar year. The exact weight can therefore change within one trip.

Why are some weighted days displayed as fractions?

Prior-year days carry a third or a sixth of a day. The worksheet retains all sixth-days before checking the threshold, including when the difference is below one day.

Does the projection tell me how many more days I may stay?

It shows the count needed to meet both day thresholds on the entered assumptions. Visit dates, subsequent exclusions, tax status and travel permission require separate review.

Can I use this to determine residency or a tax return?

Use it to check the day-count arithmetic. IRS Publication 519 addresses other residency tests, closer connection, treaty circumstances, tax status and reporting.

Similar Calculators