Skip to content
Free tool

Days in Country Counter

Add your trips and see how many days you have spent in each country this year, how many you have left, and which residency limit you will hit first.

Travel days

A day you travel counts in both countries, the way the US counts any part of a day. This is the cautious reading.

Your trips

Add each stay with its country. Each country is checked against its own threshold and counting window.

  • Trip 1

How days in a country are counted

Most residency rules count whole days of presence, but they disagree on partial days. The US counts any part of a day spent in the country, so the day you arrive and the day you leave both count. The UK generally counts a day only if you are there at midnight, with limited exceptions for transit.

Transit has its own rules. The US Substantial Presence Test generally ignores days you are in transit between two foreign points for under 24 hours, while New York counts any part of a day in the state, even a connection at JFK. When a rule is unclear, count the travel day in both places: it is the cautious reading, and it is how this counter works by default.

Day thresholds by country

WhereThresholdWindowCounting rule
United States (federal)183 weighted3 years (1, 1/3, 1/6)Substantial Presence Test; any part of a day counts
United Kingdom183 (automatic)6 April to 5 AprilStatutory Residence Test; midnight rule
Canada183Calendar yearDeemed resident if you sojourn 183 days; ties also matter
Australia1831 July to 30 JuneOne of several tests, alongside domicile and resides
Spain183Calendar yearMore than 183 days, sporadic absences can count
Portugal183Any 12 months183 days, or a home you intend to keep
GermanyAbout 6 monthsContinuous stayHabitual abode after more than six months, which can span two years
France183Calendar yearOne of several tests, alongside home and main activity
Thailand180Calendar year180 days or more in the tax year
New York184Calendar yearWith a permanent place of abode; any part of a day counts
New Jersey184Calendar yearWith a permanent place of abode
Massachusetts184Calendar yearWith a permanent place of abode
Connecticut184Calendar yearWith a permanent place of abode

Thresholds are simplified. Follow each link for the full rule and its sources.

Worked example: a nomad's year

Take the example the counter loads: Portugal from 5 January to 20 March, Spain to 2 May, Thailand to 30 August, a month in the US, then Portugal again until 18 December. Counting travel days in both countries, that is 159 days in Portugal, 44 in Spain, 120 in Thailand and 26 in the US.

No single country reaches 183 days, so on day counts alone the year is clear. Portugal is the closest line: 24 more days there would cross it. Note too that Portugal and Spain are both Schengen states, so those days also count toward the 90/180 visa limit, which this counter shows as its own card.

Days in a country vs tax residency

A day count is only one way to become tax resident. A home kept available, where your family lives, where your work and money are, and your domicile can all make you resident on far fewer days. And two countries can each claim you in the same year.

When that happens, a tax treaty usually settles it with tie-breaker rules: permanent home, then centre of vital interests, then habitual abode, then nationality.

Walk through them with the treaty tie-breaker tool, and see what domicile means for your status.

Related tools

Questions

Tracking several countries at once

What does a days in country counter do?

You add each stay with its country and dates. The counter totals your days in every country, checks each one against that country's own threshold and counting window, and shows days left, a leave-by date and the limit you will reach first.

Which jurisdictions can I track?

Any that use a day-count threshold, most countries (183 days), US states (184 for NY/NJ/MA/CT, 200 for Hawaii/Oregon, and so on), or a custom number you set. For Schengen's rolling 90/180 window and the US Substantial Presence Test, use the dedicated calculators, which handle their special logic.

How is a day counted?

This tool counts any day on which you were present as a full day in the window you set. Some jurisdictions instead require presence at midnight or exclude transit days, always check the specific rule.

Does it store my travel data?

No. The calculation runs entirely in your browser. Nothing is uploaded, logged, or stored.

Does the day I arrive count?

Usually, yes. Most day-count rules, including the US Substantial Presence Test and New York's 184-day rule, count any part of a day, so the arrival day and the departure day both count. The UK is the main exception: it generally counts the days you are present at midnight.

Do layovers count?

It depends on the rule. The US generally excludes days in transit between two foreign points for less than 24 hours, and the UK has a narrow transit exception. New York counts any part of a day in the state, so a connection at a New York airport can count. When in doubt, count it.

What is the 183-day rule in a rolling 12 months?

Some countries count 183 days in any 12-month period rather than the calendar year, so days from late last year still count this spring. The counter uses each country's own window, a rolling 365 days where the rule says so.

Can I be resident in two countries?

Yes. Each country applies its own rules, so you can be resident in two at once. A tax treaty between them usually decides which one has the first right to tax you as a resident through tie-breaker rules.

What proof do I need of my days?

Keep evidence that shows where you were each day: passport stamps, boarding passes, travel itineraries, card statements and phone location history. Tax authorities and auditors look for records made at the time, not reconstructed later.

How do I count days for a US state?

Pick the state from the US states list. Most states count any part of a day in the state toward their statutory residency test, and several, like New York, only apply the day count if you also keep a permanent place of abode there.

Let your phone race the thresholds for you

Tax Days tracks 80+ residency rules across 254 jurisdictions at once and warns you before you cross any of them.

Download Tax Days on the App Store