Tax-residency calculators
Browser-based, privacy-first calculators for the most common tax-residency rules. No signup, and nothing you enter leaves your device.
Quick residency check
A day-count check against each place's main threshold. Ties, homes and family can change the answer, so open the full calculator for your rule.
Which calculator do I need?
- US visa holder or F-1 studentSubstantial Presence Test calculator
- US citizen living abroadPhysical presence test (FEIE 330-day) calculator
- Leaving or arriving in the UKUK Statutory Residence Test calculator
- Nomad in several countriesMulti-country day counter
- New York part-year or second homeNew York 184-day rule calculator
- Two countries both claim youTreaty tie-breaker test
Start here
- Start here
Which calculator do I need?
Not sure where to start? Answer two quick questions and get pointed at the right calculator for your situation.
Open the calculator → - Treaties
Treaty tie-breaker walkthrough
Resident of two countries at once? Walk the OECD cascade (permanent home, vital interests, habitual abode, nationality) and see where it points.
Open the calculator →
US federal
- US Federal
Substantial Presence Test calculator
IRS 3-year weighted formula for non-citizen US tax residency. 31-day current-year minimum + 183 weighted-day threshold.
Open the calculator → - US Federal
FEIE 330-day calculator
Check whether you meet the Physical Presence Test, 330 full foreign days in a 12-month period, to claim the Foreign Earned Income Exclusion.
Open the calculator → - Cheat sheet
Puerto Rico presence test calculator
Check all five presence test alternatives in 26 CFR 1.937-1, from 183 days in Puerto Rico to 549 days over three years.
Open the calculator →
UK and Canada
- United Kingdom
UK Statutory Residence Test calculator
Enter your UK days and ties to see whether the SRT sufficient-ties test makes you UK resident for the 6 April – 5 April tax year.
Open the calculator → - International
Canada residency calculator
Score your residential ties and days in Canada to see whether the CRA would treat you as a factual or deemed resident.
Open the calculator →
Europe and Schengen
- International
Schengen 90/180 calculator
Rolling-window calculator for non-EU citizens in the Schengen Area. Days used, days remaining, and projected exhaustion date.
Open the calculator → - Cheat sheet
Spain 90-day rule calculator
Spain's 90-day limit is the Schengen 90/180 window, shared with every other Schengen country, not a separate Spanish allowance.
Open the calculator →
Several countries and utilities
- Generic
183-day rule calculator
Configure jurisdiction, threshold (183 / 184 / custom), and tax-year window. Works for any country or US state with a day-count rule.
Open the calculator → - Multi-jurisdiction
Multi-country day counter
Enter your trips once and see your day count against several residency thresholds at the same time, and which one you'll cross first.
Open the calculator → - Reference
Tax year calculator
See which tax year any date falls in for the UK, Australia, India, and more, with a reference table of tax year dates by country.
Open the calculator → - Cheat sheet
183 days in months
Convert any residency threshold into months and weeks, and see why the calendar answer is not the same as the arithmetic one.
Open the calculator →
Residency thresholds by country
| Place | Threshold | Counting period | Partial days | Calculator |
|---|---|---|---|---|
| United States | 183 weighted days (SPT) | Calendar year, 3-year formula | Any presence counts | Open |
| United Kingdom | 16 to 183 days, by ties (SRT) | 6 April to 5 April | Midnight test | Open |
| Canada | 183 days, or residential ties | Calendar year | Any part of a day counts | Open |
| Australia | 183 days, plus other tests | 1 July to 30 June | Generally counts | Open |
| Germany | More than 6 months, or a home | Any 12 months, spanning years | Generally counts | Open |
| France | 183 days, or home, work or economic centre | Calendar year | Generally counts | Open |
| Spain | More than 183 days, or economic or family centre | Calendar year | Sporadic absences can count | Open |
| Portugal | More than 183 days, or a habitual home | Any 12 months | Generally counts | Open |
| Cyprus | 60 days (with conditions) or 183 | Calendar year | Arrival and departure rules | Open |
| Panama | 183 days | Calendar year | Generally counts | Open |
| Thailand | 180 days | Calendar year | Generally counts | Open |
| New York | 184 days plus a permanent place of abode | Calendar year | Any part of a day counts | Open |
| Schengen Area | 90 days in any 180 (visa, not tax) | Rolling 180 days | Entry and exit days count | Open |
Why residency calculators disagree
Two calculators can give different answers for the same trips, and both can be right. The first reason is the counting period. Most countries count a calendar year, but the UK runs 6 April to 5 April, Australia 1 July to 30 June, and Germany, Portugal and several others look at any 12-month window, which can straddle two tax years.
The second is how partial days count. The US counts any presence during a day, the UK counts days you are in the country at midnight, and many countries count arrival and departure days in full. A long weekend trip can be one day in one system and three in another.
The third is the kind of test. A presence test, like the 183-day rule or the Substantial Presence Test, only looks at days. A ties test, like the UK Statutory Residence Test or Canada's residential ties, weighs your home, family and work alongside days, so you can be resident on far fewer days than the headline number.
Finally, when two countries both claim you, a tax treaty's tie-breaker decides which one wins for treaty purposes, using home, vital interests, habitual abode and nationality. That is a separate step from any day count.
Run the treaty tie-breaker test. Want the count kept for you instead? See the tax residency tracker.
Tax residency calculator questions
Is 183 days the rule everywhere?
No. It is the most common threshold, but Thailand uses 180 days, India 182, New York 184 with a home there, Cyprus has a 60-day route, and the UK can make you resident on as few as 16 days depending on your ties. Many countries also count homes and family, not only days.
Do travel days count?
Usually yes, but it depends on the rule. The US counts any part of a day, the UK counts days you are present at midnight, and Schengen counts both entry and exit days. Check how your country treats arrival and departure days before planning around a threshold.
Can I be tax resident in two countries?
Yes. Each country applies its own test, so two can claim you in the same year. If they have a tax treaty, its tie-breaker decides which one wins for treaty purposes. Our treaty tie-breaker test walks through it.
Is the Schengen 90/180 rule a tax rule?
No. It is a short-stay visa limit for non-EU visitors. You can stay well inside 90 days and still become tax resident in a Schengen country through a home or job there, or overstay the visa without becoming tax resident.
Do F-1 students count days for the Substantial Presence Test?
Generally not, for their first five calendar years in F, J, M or Q status: those are exempt days. After that, the days count. The Substantial Presence Test calculator applies the exempt years for you.
How do I prove my days in an audit?
With a record made at the time: a day-by-day log of where you were, backed by passport stamps, boarding passes and card statements. Reconstructing a year from memory is where most audits go wrong. Tax Days keeps that log automatically from your location and exports it as an audit-ready report.