Free calculator · no account

US Substantial Presence Test calculator

The US does not count one year. It counts three, weighted — and adds a 31-day minimum that most calculators quietly leave out.

Days you were present in the United States

Count any day you were in the US for any part of it.

counts in full

counts one third

counts one sixth

Sojourn is a record-keeping tool, not tax advice. This calculator applies the day-count arithmetic to the numbers you enter. It does not apply the exempt-individual rules, the closer-connection exception or any treaty — confirm your position with a US tax professional.

How the test works

You meet the Substantial Presence Test for a year if both of these are true:

ConditionWhat it means
31 days this yearYou were present in the US for at least 31 days in the current year. If not, the test is not met, however large the total.
183 weighted daysAll your days this year, plus one third of last year's, plus one sixth of the year before's, add up to 183 or more.

The weighting is what catches people. Someone who spends about 122 days a year in the US — every year — reaches 183 on the weighted count without ever spending half a year there.

Common questions

Do partial days count?

Yes. Any day you were physically present for any part of it counts.

What about passing through a US airport?

A day spent only in transit between two foreign points, for under 24 hours, generally does not count.

Is this the same as being a US tax resident?

Meeting the test usually makes you a resident alien for tax purposes, but there are exceptions — exempt individuals such as certain students and teachers, the closer-connection exception, and treaty tie-breakers. This page does not apply them.

RuleValue
Threshold183 weighted days
WeightingCurrent year × 1 · prior year × ⅓ · year before × ⅙
Current-year minimum31 days
Day countingAny part of a day counts
Last reviewed1 May 2026

Source: Internal Revenue Service — Substantial Presence Test.

Three years of dates, kept for you

This page needs you to know your day counts for three years. Sojourn keeps them as you travel, weights them correctly, and tracks the US alongside every other country you count.

See how Sojourn works