Tax days

183-day calculator

Count your days in a country over a calendar year, a tax year or any 12 months, using the counting method your country uses. It counts days only; it can’t tell you if you are tax resident.

Last checked 3 Nov 2026 against the official sources below.

Your stays in the country

Add each stay in the country you want to count. Leave “Left” empty if you’re still there.

    Count

    0

    Not legal or tax advice.

    How countries count

    “183 days” sounds simple, but countries differ on two things: which period they look at, and what counts as a day.

    CountryPeriodA day counts if
    United States3-year weighted formula (substantial presence test)You were there at any time that day
    United KingdomTax year, 6 April to 5 April (UK counter)You were there at midnight
    SpainCalendar year, more than 183 daysYou were in Spain. Short absences still count unless you prove tax residence elsewhere
    PortugalAny 12 months starting or ending in the year, more than 183 daysAny full or part day that includes an overnight stay
    New York State184 days or more in the tax year, with a permanent place of abode thereYou were there for any part of the day

    For Portugal, pick “At midnight” as the closest match. Days are only one part of residency. Home, work, family and tax treaties matter too, so check with a tax adviser before you rely on a number.

    Questions

    What is the 183-day rule?

    Many countries treat spending more than 183 days there in a year as one sign of tax residency. The details differ: which 12 months count, and whether part of a day or only a night there counts. Days are rarely the only test.

    Does a travel day count as a day?

    It depends on the country. In the US, any part of a day counts. In the UK, a day counts if you are there at midnight. In Portugal, a day counts if it includes an overnight stay.

    Calendar year or any 12 months?

    Spain uses the calendar year. The UK uses its tax year, 6 April to 5 April. Portugal looks at any 12-month period starting or ending in the year. Pick the window that matches your country.

    Does this tell me if I am tax resident?

    No. It counts days only. Residency also depends on your home, work, family and tax treaties. Talk to a tax adviser.

    Sources

    Last checked 3 Nov 2026.

    Not legal or tax advice.