Private by design: your dates never leave your browser Rules checked 8 November 2026 · How we calculate

183-Day Rule Calculator

Many countries treat you as a tax resident once you spend 183 days there. Count your days by calendar year and by rolling 12 months for any country.

Quick answer

183 days is about 6 months. Many countries treat you as tax resident once you spend 183 days or more there in a year. Some count their tax year and others any rolling 12 months, and a few count only midnights. Staying under 183 days does not guarantee non-residence if your home, family or work is there.

Private calculation · runs in your browser, nothing is uploaded Rules checked 8 November 2026 How we calculate

Your details

Pick a country to use its day-count test.
Usually 183. Change it for other rules.
Defaults to today.

Your results

Your dates are saved only in this browser. Nothing is sent to us.

How many months is 183 days?

183 days is about 6 months: 6.01 months at the average month length, or 26 weeks and 1 day. It is just over half of a 365-day year, which is why reaching it means you spent most of the year in that country. Counting from 1 January, the 183rd day is 2 July in a normal year and 1 July in a leap year.

Six calendar months and 183 days aren't the same thing. Depending on the months involved, six months can be anywhere from 181 to 184 days. For example, 1 January to 30 June is only 181 days in a normal year, while 1 July to 31 December is 184. So always count days when a rule says 183.

What is the 183-day rule?

"183 days" (just over half a year) is the most common threshold countries use to decide if you are a tax resident. It also appears in most tax treaties, which use it to decide when an employee working abroad becomes taxable there. But the details differ from country to country:

  • Calendar year vs rolling 12 months. Some countries count days in their tax year, and others use any 12-month period. Tax treaties often use "any 12-month period starting or ending in the fiscal year". This calculator shows both.
  • Partial days. Most countries count any part of a day as a day of presence, which is what this calculator does. Some count only midnights, and the UK's Statutory Residence Test counts days on which you are in the UK at midnight.
  • 183 is not the only test. You can become a tax resident with fewer days if your home, family or main economic ties are in the country. Some countries use lower thresholds or a weighted formula over several years, such as the US substantial presence test.

What is the day-count test in each country?

Pick a country in the calculator to apply its test. These are the day-count tests only. Each country can also treat you as resident because of your home, family or economic ties.

CountryTax resident if you spendCounted over
SpainMore than 183 daysCalendar year
PortugalMore than 183 daysAny 12 months starting or ending in the tax year
Thailand180 days or moreCalendar year
Canada183 days or more (deemed resident)Calendar year
New ZealandMore than 183 daysAny 12 months
United States183 weighted days over 3 yearsSee the substantial presence test
United Kingdom183 days or more, or other tests6 April to 5 April: see the statutory residence test

Canadians splitting winters between Canada and the US should use the snowbird calculator, which also checks provincial health limits.

Who uses this calculator?

  • Digital nomads and remote workers who want to avoid becoming tax resident somewhere by accident.
  • Snowbirds and second-home owners splitting the year between countries.
  • Employees on assignment abroad who want to check a treaty's 183-day limit.
  • Visa holders with a "maximum days per year" condition. Change the threshold to match.

How to use it

Enter every stay in the country: the day you arrived and the day you left. Both days count. The calculator combines overlapping entries, counts days per calendar year, shows the 12 months up to your chosen date, and finds the busiest 12-month period across all your stays.

Tax residency has serious consequences and every country's rules differ. Treat this as a day counter, not a residency decision. Confirm with that country's tax authority or a tax adviser.

Frequently asked questions

Do arrival and departure days count toward 183 days?
In most countries any part of a day counts as a day of presence, so this calculator counts both. A few countries count only midnights spent in the country.
How many months is 183 days?
183 days is about 6 months, or just over half a year. Counting from 1 January, the 183rd day is 2 July in a normal year and 1 July in a leap year.
Is the 183-day rule per calendar year?
It depends on the country. Some use the tax year and others use any rolling 12-month period, as many tax treaties do. This calculator shows both.
If I stay under 183 days, am I definitely not a tax resident?
No. Many countries also look at where your permanent home, family and economic interests are. You can be a resident with fewer days.

Official sources

Add this calculator to your website

Run an immigration, relocation or expat site? Embed this calculator for free. It resizes automatically, works on mobile, and your visitors' dates stay in their own browser.