183-Day Calculator: Count Your Days in Each Country
By Heavnn Editorial TeamReviewed by Stéphane Gombauld, co-founderLast reviewed 19 November 2026
Quick answer
Add each stay with its arrival and departure dates. The calculator counts days per country in a calendar year (the test most countries use for residency) and the maximum in any 12-month period (the window many treaties use for employment income). Reaching 183 is a strong warning sign, but staying below it does not guarantee you are not resident.
Calendar year or rolling 12 months?
| Window | Where it is used | Example |
|---|
| Calendar year | Many domestic residency tests | Spain, Portugal, Italy |
| Tax year not equal to calendar year | Some domestic tests | UK (6 April to 5 April) |
| Any 12-month period | Employment income in many treaties | OECD Model Article 15 |
| Rolling periods over several years | Some domestic tests | Combined day tests in some countries |
How days are counted
Most countries count any part of a day as a day present; some count midnights, and some exclude transit days. The calculator counts arrival and departure days as present, which is the cautious approach. Read the 183-day rule on Heavnn University for country examples.
Frequently asked questions
Does the 183-day rule mean I am resident after 183 days?
In many countries, yes, but not everywhere, and ties can make you resident with fewer days.
Do travel days count?
Usually yes. Some countries count only midnights or exclude transit. When in doubt, count them.
What is the UK's equivalent?
The Statutory Residence Test, which combines day counts with ties. See UK contractors working abroad.
Keep reading
Sources