Calculator Guides Privacy policy
If this is your first year with U.S. days, the two prior years in the formula may be zero. That changes the weighted total — but it does not, by itself, set your residency start date.
The substantial presence test always looks at three calendar years: the year under review, plus 1/3 of the counted U.S. days in the prior year, plus 1/6 of the counted U.S. days in the year before that. If you had no counted U.S. days in those earlier years, those pieces are zero. The weighted total is then simply your current-year counted U.S. days.
In that situation you still need at least 31 counted U.S. days in the current year, and the weighted total still has to reach 183. With a zero lookback, that means 183 counted U.S. days in the current year. If you arrived in July and spent the rest of the year in the United States, the current-year count may be well below 183, so the day-count test may not be met even if you were present for most of the months after arrival.
If a prior year has only a few U.S. days, they still enter the formula at 1/3 or 1/6. A short trip two years ago can add a fraction of a day. This tool keeps those fractions exact. See the lookback walkthrough for the official three-year example.
Enter the tax year you want to review and include any U.S., foreign, or “other” ranges you have in the review year and the two years before it. If a prior year truly had no U.S. presence, you can leave it blank; unspecified days are not counted as U.S. days. Then read the current-year 31-day result and the weighted total together.
Arrival mid-year can raise other questions, including whether you are a dual-status taxpayer, when residency starts or ends, and whether a first-year choice or a closer connection rule applies. Publication 519 discusses those topics. This calculator does not compute first-year or last-year dual-status residency dates, the 10-day de minimis rule, or the first-year choice. A day-count result is not a residency start date and is not a determination that you are, or are not, a U.S. tax resident.
If Form 8840 may be relevant in a later year, read Form 8840 and the closer connection exception.
Enter your travel calendar once. All day-count math runs in your browser.