Skip to main content
CrossBorderFreelance
Informational only — not tax or legal advice

This tool counts days only — it does not determine tax residency. The 183-day rule has many exceptions. Confirm your status with a qualified tax professional in each country where you may have a filing obligation.

Data last verified 8 Jun 2026 — methodology

How the Tax Residency Days Tracker counts days

Compiled by the Cross Border Freelance editorial team. Last reviewed . [REVIEWED] — CPA / international tax reviewer byline to be added after editorial review pass.

TL;DR

The tool counts calendar days per country using inclusive counting (both arrival and departure day count as full days), clips stays to the selected tax year window, and flags the 183-day threshold. It does not determine tax residency, apply treaty tie-breakers, or calculate tax owed.

1. Day counting logic

Days are counted as calendar days, inclusive of both the arrival day and the departure day. This is the most common convention used by tax authorities when counting physical presence days. For example, if you arrive in Germany on 1 March and depart on 5 March, that counts as 5 days (1, 2, 3, 4, 5).

The tool clips each stay to the selected tax year window. If a stay spans a year boundary (e.g., 28 December to 5 January), only the days within the selected year are counted.

What the tool does not do: It does not apply country-specific rules for partial days, transit days, or days spent in a country for medical treatment or other exempt purposes. These exceptions vary by country and treaty — consult a qualified tax professional for country-specific rules.

2. The 183-day threshold

Many countries use 183 days of physical presence as a threshold that may trigger tax residency. The tool flags this threshold as a warning chip in the results panel.

Important caveats:

  • Some countries use a different threshold (e.g., 90 days, 120 days, or 6 months).
  • Some countries count days differently (e.g., only full days, or days present at midnight).
  • Many countries have exceptions for treaty residents, short-term business visitors, and other categories.
  • Crossing the 183-day threshold does not automatically make you tax-resident — it is one factor among many.

Primary sources: HMRC Statutory Residence Test (RDR3), IRS Substantial Presence Test, ATO Tax Residency.

3. UK Statutory Residence Test (SRT) preview

When UK days are present in your scenario, the tool shows a UK SRT preview. This is informational only — it shows your UK day count as an input to the SRT, not the SRT result itself.

The UK SRT has three parts:

  1. Automatic overseas tests — if you meet one, you are automatically non-UK resident.
  2. Automatic UK tests — if you meet one, you are automatically UK resident.
  3. Sufficient ties test — if neither automatic test applies, your residency depends on the number of UK ties (family, accommodation, work, 90-day tie, country tie) combined with your UK day count.

The full SRT is described in HMRC's RDR3 guidance. This tool does not apply the SRT — it shows your day count as a starting point.

4. US Substantial Presence Test (SPT) preview

When US days are present in your scenario, the tool shows a US SPT preview using the weighted formula:

SPT count = (days in current year) + (days in prior year × 1/3) + (days in year before that × 1/6)

If the SPT count reaches 183 or more, you may be considered a US resident alien for tax purposes — unless you qualify for the closer connection exception or a treaty tie-breaker. This preview is informational only.

Primary source: IRS Substantial Presence Test, IRS Publication 519 (US Tax Guide for Aliens).

5. Tax year windows

Different countries use different tax year start dates. The tool uses the following windows when clipping stays to a tax year:

Country Tax year start Example (year 2026)
Most countries (US, EU, etc.) 1 January 1 Jan 2026 – 31 Dec 2026
United Kingdom 6 April 6 Apr 2026 – 5 Apr 2027
Australia, New Zealand, India 1 April or 1 July AU: 1 Jul 2026 – 30 Jun 2027

Tax year start dates are sourced from each country's official revenue authority. Last verified: .

6. Data sources

The tool uses reference data for 27 countries, each with:

  • Tax year start date — sourced from the country's official revenue authority.
  • Revenue authority URL — direct link to the official tax residency guidance page.
  • 183-day rule note — a plain-English summary of the general rule (not a legal interpretation).
  • lastVerified date — the date we last checked the data against the primary source.

We update reference data quarterly. If you spot an error, please use the feedback widget below.

7. What this tool does not do

  • Does not determine your tax residency status in any country.
  • Does not apply treaty tie-breakers (citizenship, permanent home, vital interests, habitual abode, nationality).
  • Does not calculate tax owed, filing obligations, or penalties.
  • Does not account for country-specific exceptions (transit days, medical treatment days, etc.).
  • Does not store your data on our servers — all data stays in your browser's localStorage.

For treaty analysis, use the Double Tax Treaty Lookup tool (coming soon). For residency determinations, consult a qualified international tax specialist.

Frequently asked questions

Does this tool determine if I am tax-resident in a country?

No. The tool counts calendar days per country — nothing more. Tax residency is determined by each country's tax authority based on facts and circumstances that include, but are not limited to, physical presence. The 183-day rule has many exceptions. Always confirm your status with a qualified tax professional in each country where you may have a filing obligation.

What is the 183-day rule?

Many countries use 183 days of physical presence in a calendar year (or tax year) as a threshold that may trigger tax residency. However, the exact rule varies: some countries count days differently (e.g., partial days, transit days), some use a rolling 12-month window rather than a calendar year, and many have exceptions for treaty residents, short-term visitors, and other categories. The 183-day threshold shown in this tool is a common starting point — not a definitive determination.

How does the UK Statutory Residence Test (SRT) work?

The UK SRT is more complex than a simple 183-day count. It uses automatic overseas tests, automatic UK tests, and a sufficient ties test that considers factors like family, accommodation, work, and 90-day ties. This tool shows your UK day count as an input to the SRT — it does not apply the SRT itself. See HMRC's official Statutory Residence Test guidance (RDR3) for the full rules.

How does the US Substantial Presence Test (SPT) work?

The US SPT counts days using a weighted formula: all days in the current year, plus 1/3 of days in the prior year, plus 1/6 of days in the year before that. If the total reaches 183 or more, you may be considered a US resident for tax purposes — unless you qualify for the closer connection exception or a treaty tie-breaker. This tool shows the SPT preview as informational only. See IRS Publication 519 for the full rules.

Does this tool account for tax treaties?

No. Tax treaties can override domestic residency rules through tie-breaker provisions. This tool counts days only — it does not apply treaty tie-breakers. For treaty analysis, use the Double Tax Treaty Lookup tool (coming in Week 7) or consult a qualified international tax specialist.

Where does the reference data come from?

Country tax year start dates and revenue authority links are sourced from each country's official tax authority website (e.g., HMRC for the UK, IRS for the US, ATO for Australia). The 183-day threshold note for each country is a plain-English summary of the general rule — not a legal interpretation. All data is last verified on 8 June 2026.

Can I trust the day count math?

The counting logic is deterministic: both the arrival day and departure day are counted as full days (inclusive counting), consistent with how most countries count physical presence. The tool clips stays to the selected tax year window. You can verify the logic in the open-source methodology below. That said, always cross-check with your own records and a tax professional before relying on any count for a filing.

Can I embed this tool on my website?

Yes. The tool is available as a free embeddable widget. Copy the iframe snippet below and paste it into your page. The widget is read-only when loaded with a ?scenario= parameter, or interactive when loaded without one. Attribution to crossborderfreelance.com is required.

Embed this tool on your website

Free to embed. Attribution to crossborderfreelance.com is required. The widget is interactive by default, or read-only when loaded with a ?scenario= parameter.

<iframe
  src="https://crossborderfreelance.com/widget/residency-tracker"
  width="100%"
  height="640"
  style="border:none;max-width:720px;"
  loading="lazy"
  title="Tax Residency Days Tracker by crossborderfreelance.com"
></iframe>

The widget loads lazily and has no cookies, no CMP, and no AdSense — safe to embed in any page.

Was this tool useful? — help us improve