Tools

Tax Residency Day Counter: Track Your Days in Each Country

General information, not advice. This guide explains how things usually work. Fees, rules and products change and depend on your country and situation, so check the provider's or authority's own page before you act. See our disclaimer.

Some links may be affiliate links. They never change what we recommend. How we make money.

Tax residency day counter

Add each stay with its arrival and departure dates. The counter shows the days in each country per calendar year and in the busiest 12-month window, and flags common thresholds. Nothing you type leaves your browser.

The UK, for example, counts a day if you are there at midnight. Check each country's rule.
CountryArrivalDepartureDays

Leave the departure date empty if you are still there; today is used.

–

A day count is only one residency test. A home, family or economic ties can make you resident with fewer days, and staying under a threshold does not prove non-residency. See tax residency explained.

If you move between countries, the number of days you spend in each one can decide where you pay tax. Many countries use a day test, often 183 days, and some count over a calendar year while others count over any 12-month period. Keeping track by memory or by counting passport stamps is unreliable, and the busiest 12 months often cross two calendar years.

This free counter adds up your stays per country, per calendar year and over your busiest rolling 12 months, and flags when you reach the threshold you choose.

How this counter works

  1. Add each stay: the country, the arrival date and the departure date. Leave the departure empty if you are still there.
  2. Choose how to count travel days. Many countries count any day you are present, including arrival and departure days. Others, such as the UK, count a day only if you are in the country at midnight. Pick the method closest to the country you are checking.
  3. Choose the threshold to flag: 183 days (the most common), 180 days (used for example by Thailand) or 90 days.
  4. Read the results for each country: days per calendar year and the busiest 12-month window, with its start date.

Overlapping stays in the same country are counted once per day. Everything runs in your browser; nothing is stored or sent.

Worked example

The counter starts with two example stays: Spain from 1 September of last year to 15 February, then Portugal from 15 February to 30 June.

  • Spain: 122 days last year and 46 days this year, so neither calendar year reaches 183, and the busiest 12 months total 168 days.
  • Portugal: 136 days this year (137 in a leap year).

Neither country reaches 183 days on the day count alone. But remember that Portugal uses any 12-month period, Spain also looks at where your main economic interests are, and both look at whether you have a home there. A day count below the threshold does not prove you are not resident.

Why calendar years and rolling windows both matter

  • Calendar-year countries (such as Spain and Thailand) look at days within each tax year. Splitting a long stay across December and January can keep both years below the threshold.
  • Rolling-window countries (such as Portugal) look at any 12 consecutive months. The same split stay can exceed 183 days in a rolling window.
  • Weighted tests exist too: the US substantial presence test counts all days this year, one third of last year’s days and one sixth of the year before. This counter does not apply that formula; read the 183-day rule explained for how it works.

What this counter cannot tell you

A day count is only one test. You can be tax resident with fewer days if you have:

  • a permanent home available to you in the country;
  • your family living there;
  • your main business or economic interests there;
  • the nationality of a country that taxes by citizenship, such as the United States.

Read tax residency explained for the other tests, and do digital nomads have to pay taxes? for what this means in practice.

Tips for keeping a reliable record

  • Log every border crossing on the day, including short trips.
  • Keep boarding passes, booking confirmations and accommodation receipts.
  • Note where you slept each night if you are close to a threshold.
  • Export or save your list regularly; this page does not store it.

Frequently asked questions

Does the day I arrive count?

In many countries yes, but not in all. The UK, for example, generally counts days by presence at midnight. Choose the counting method that matches the country you are checking.

Is 183 days the limit everywhere?

No. 183 is common, but some countries use other thresholds or other tests altogether. Check each country’s official definition.

If I stay under 183 days, am I safe?

Not necessarily. Homes, family and economic ties can make you resident with fewer days, and your previous country may still consider you resident.

Does the counter save my data?

No. It runs in your browser and nothing is stored. Copy your stays somewhere safe if you want to keep them.

Next steps

Read tax residency explained and double taxation treaties explained, and if more than one country could claim you, see when to hire an international tax advisor.

Sources and further reading

Official pages and primary sources where you can check the rules, fees and rates discussed in this guide. They are updated by their publishers, so check them for the current figures before you decide.

  1. Substantial presence test (IRS (US))
  2. Statutory Residence Test guidance (RDR3) (HMRC, GOV.UK)
  3. Income taxes abroad (Your Europe (European Union))
  4. The Revenue Department of Thailand (Revenue Department (Thailand))

Written and reviewed by the Borderless Money Guide Editorial Team

We research each guide from official sources and provider documentation, and review it when fees or rules change. How we research and review our guides. Spotted an error? Tell us.

Related guides

All Tools guides →
Tools

Currency Conversion Cost Calculator

Free currency conversion cost calculator: enter the amount, the mid-market rate and your card's fees to see the hidden cost of paying or withdrawing abroad,…

Reviewed 8 October 2026
Tools

International Transfer Fee Calculator

Free international transfer fee calculator: compare quotes from banks and transfer apps by total cost, including the hidden exchange-rate margin, and see how…

Reviewed 6 October 2026