The IRS test from your days in the US: 31 this year and 183 weighted over 3 years
Estimates only, not financial advice. What you type stays on your device. Checked against sources on 16 Nov 2026.Checked against the tool’s code on 18 November 2026. Figures read from their sources on 16 November 2026. What we collect
You pass the IRS substantial presence test if you were in the US at least 31 days this year and 183 days over three years, counting all days this year, a third of last year's and a sixth of the year before. Example: 120 + 122/3 + 106/6 = 178.33 days, under 183, so the test is not met.
| Year | Days present | Counts as |
|---|---|---|
| 2026 | 120 | 120 |
| 2025 | 122 | 40.67 (one third) |
| 2024 | 106 | 17.67 (one sixth) |
| Total | 348 | 178.33 of 183 |
Nothing is uploaded: this runs in your browser.
2026 · Rates and rules read from IRS: Substantial presence test on 16 Nov 2026; they may have changed since.
Choose a day in the tax year you are testing.
Add each stay in the US with the day you arrived and the day you left, or paste a list.
Leave out days the IRS does not count, such as days as an exempt student or teacher.
Read the days this year against 31 and the weighted total against 183.
The substantial presence test decides whether someone who is not a US citizen or green card holder is treated as a US resident for federal income tax. The IRS page on the test sets two conditions for the current year: you were physically present in the United States on at least 31 days of that year, and on 183 days over the three-year period made of that year and the two before it, counting all days of the current year, one third of the days of the first year before and one sixth of the days of the second year before.
You are treated as present on any day you are in the US at any time during the day, so the arrival and departure days both count. This calculator adds your stays per calendar year and works out the weighted total exactly; 182.83 never rounds up to 183.
| Question | Answer |
|---|---|
| Current year | At least 31 days |
| Three years | 183 weighted days: 1 x this year + 1/3 x last year + 1/6 x the year before |
| Part days | Any part of a day in the US counts |
| Days not counted | Exempt individuals (many F, J, M and Q visa holders), regular commuters from Canada or Mexico, transit under 24 hours, crew, medical stays |
| Not checked here | The closer connection exception and tax treaty tie-breaker rules |
Checked on 16 November 2026 against the IRS page on the substantial presence test (last reviewed 14 March 2026). This page was last updated on 16 November 2026.
Leave out the days the IRS excludes before you type your stays; a student on an F visa, for example, is usually an exempt individual for five calendar years. Meeting the test can still be overridden by the closer connection exception on Form 8840 or by a treaty. An estimate from your dates, not legal or tax advice.
Your dates stay in your browser. Moving to Canada next? The Canada Citizenship Calculator counts physical presence for citizenship.
Add all your days in the US this year, one third of last year's days and one sixth of the days the year before. You meet the test when the total is 183 or more and this year alone has at least 31 days. 120 + 122/3 + 106/6 gives 178.33, so that person does not meet it.
Yes. The IRS treats you as present on any day you are physically in the United States at any time during the day, so the day you arrive and the day you leave both count. A stay from 1 March to 10 March is ten days. Transit under 24 hours between two foreign places is excluded.
Usually not. Students on F, J, M or Q visas are generally exempt individuals for five calendar years, and days as an exempt individual do not count. Teachers and trainees on J or Q visas are usually exempt for two of the last six years. Type only the days that count.
You are generally treated as a US resident for federal income tax for that year and report worldwide income. Two ways out exist for some people: the closer connection exception, claimed on Form 8840 when you were present fewer than 183 days this year, and tie-breaker rules in a tax treaty.
Not quite. The test uses 183 weighted days over three years, not 183 days in one year. 120 days a year every year gives 120 + 40 + 20 = 180 and fails, while 122 days a year gives 122 + 40.67 + 20.33 = 183 and passes. Many treaties use a separate 183-day rule.
Enter every stay in the US over the current year and the two before it, with the day you arrived and the day you left. Leave out days the IRS excludes, such as days as an exempt student or regular commuting days from Canada or Mexico. Nothing you type is uploaded.
Rates and rules change; check the source before you rely on a figure.
Still stuck? Ask about Substantial Presence Test Calculator (IRS 183 Days) and anybody who knows can answer. No account needed.
Same job, other tools: Additional Child Tax Credit Calculator – How much of the child tax credit comes back as a refund: 15% of earnings over $2,500 · NSO Tax Calculator – Federal tax on exercising non-qualified stock options and selling the shares · Wash Sale Rule Checker – Enter your trade dates to see whether a loss sale falls inside the 61-day wash sale window.
On the related tools: Bonus Depreciation Calculator – 100% bonus depreciation after 19 January 2025, or 40% / 20% for earlier purchases.
On the same topic: Canada Citizenship Calculator: 1,095 Days Presence – Your days of physical presence in Canada in the 5 years before you apply · Self-Employment Tax Calculator 2026 – 2026 SE tax, federal income tax with the QBI deduction, and your four quarterly payments · Date Calculator – Days, weeks and months between two dates, or a date plus or minus days, weeks or months.
More for US: all 42 US calculators.