Day-Counting Variations by Country: Calendar, Tax-Year, Rolling & Cumulative
How countries count tax residency days varies: calendar-year, non-calendar tax-year, rolling 12-month, weighted, and cumulative methods, with worked examples.
Countries count tax residency days in five fundamentally different ways: by calendar year (most of the world), by a non-calendar tax year (the UK, India, and others), over a rolling 12-month window (Portugal, the Schengen area), with a weighted multi-year formula (the US Substantial Presence Test), or on a cumulative basis that adds up across years (Hong Kong, some treaty clauses). A trip that's harmless under one method can tip you into residency under another, which is why the same calendar of travel produces different answers in different jurisdictions.
If you only learn one thing here, learn this: "183 days" is not one rule. The threshold may be similar across borders, but the window the days are measured against is where people get caught. Below are the five methods, who uses them, and worked examples that show how the same travel can produce opposite outcomes.
The five day-counting methods at a glance
| Method | Window measured | Used by (examples) |
|---|---|---|
| Calendar year | 1 Jan – 31 Dec of one year | Germany, France, Spain, Italy, Canada, most of the world |
| Non-calendar tax year | A fixed year that doesn't start 1 Jan | UK (6 Apr–5 Apr), India (1 Apr–31 Mar), Australia (1 Jul–30 Jun) |
| Rolling 12-month | Any 12-month or 180-day period, sliding | Portugal (183 in any 12 months), Schengen (90/180) |
| Weighted multi-year | Current year + fractions of two prior years | United States (Substantial Presence Test) |
| Cumulative / multi-year | Days added across two or more years | Hong Kong (300 over two years), some treaty provisions |
Calendar-year counting (the default)
Most countries reset the clock at midnight on 31 December. Spend more than 183 days in the calendar year and you're generally a tax resident; the count starts over on 1 January. This is the simplest method and the one behind the familiar 183-day rule. Germany, France, Spain, Italy, the Netherlands, and Canada all use a calendar-year frame as the core day test (each layers its own domicile or ties tests on top).
Worked example. You spend 100 days in Spain from October through December, then another 100 days from January through March. You never exceeded 183 days in either calendar year (100 and 100), so the day test alone doesn't make you resident, even though you spent 200 consecutive-ish days in the country. The calendar boundary protected you. Run the same trip against a rolling rule below and the outcome flips.
Non-calendar tax years (UK, India, Australia)
A handful of important jurisdictions don't use 1 January as the boundary. The UK tax year runs 6 April to 5 April; India runs 1 April to 31 March; Australia runs 1 July to 30 June. The day-counting logic is the same as calendar-year counting, you just measure against a year that starts on a different date.
This matters more than it sounds. The UK's Statutory Residence Test counts midnights present in the country across the 6 April–5 April year. A long winter stay that straddles New Year is one continuous trip to you, but the UK splits it across the April boundary, while a calendar-year country splits the same trip at 1 January. The two countries will assign your days to different years, and you can end up resident in both, or neither, for a given period.
When two countries use different year boundaries, never assume your home-country day total maps onto the other country's year. Re-bucket every trip into each jurisdiction's own tax year before comparing to a threshold.
Rolling windows (Portugal, Schengen)
Rolling rules are the trap that calendar thinkers walk into. Instead of resetting at a fixed date, the window slides with you. Portugal treats you as resident if you spend more than 183 days in any 12-month period, not the calendar year. The Schengen 90/180 rule is the same idea for short stays: on any given day, you look back 180 days and count.
Worked example (same trip, opposite result). Take the Spain example above, 100 days Oct–Dec, then 100 days Jan–Mar, but apply it to Portugal's rolling rule. Now look at any 12-month window spanning that stretch: it contains roughly 200 days. You're over 183 in a 12-month period, so the day test is met even though you never exceeded 183 in either calendar year. The calendar boundary that saved you in Spain does nothing in Portugal.
Use the 183-day calculator for rolling-window jurisdictions and the Schengen calculator for short-stay 90/180 planning. Both compute the worst-case window for you rather than a single year total.
Weighted multi-year counting (the US SPT)
The United States is the outlier. Its Substantial Presence Test doesn't ask whether you spent 183 days this year, it weights three years together. You count all of your days in the current year, one-third of last year's days, and one-sixth of the year before. If the weighted total is 183 or more (and you were present at least 31 days this year), you meet the test. See the full weighted formula breakdown and the SPT glossary entry for the mechanics.
| Year | Days present | Weight | Weighted days |
|---|---|---|---|
| Current year | 120 | × 1 | 120 |
| Prior year | 120 | × 1/3 | 40 |
| Two years prior | 120 | × 1/6 | 20 |
| Total | – | – | 180 (under 183 → not resident) |
What this means. A steady 120 days a year in the US keeps you just under the line, but bump the current year to 124 and the weighted total crosses 183. Someone who would clearly be a non-resident under a simple calendar count can be a US resident under the weighted formula because prior-year days follow you forward. The closer-connection exception and treaty tie-breakers can still rescue you, but the day math comes first.
Cumulative and multi-year counting (Hong Kong)
Some rules add days across years rather than weighting or resetting them. Hong Kong's common day test looks at presence of more than 180 days in a single year of assessment or more than 300 days across two consecutive years of assessment. China's well-known six-year rule layers a multi-year clock on top of its 183-day test to determine when worldwide income becomes taxable. India adds a secondary test that combines a 60-day current-year presence with 365 days over the four preceding years.
- Hong Kong: >180 days in one year, or >300 days over two consecutive years, a cumulative two-year add-up.
- India: 182 days in the year, or 60+ days this year plus 365+ days across the prior four years (a sliding multi-year backstop).
- China: 183 days in a year for residency, with a separate six-consecutive-year clock governing worldwide-income exposure.
- Treaty days: some tax treaties count an employee's days across a rolling 12-month period for the dependent-personal-services article, independent of either country's domestic year.
For cumulative jurisdictions, your prior-year travel records are not optional history, they are live inputs to this year's status. Keep them as carefully as the current year's.
Track once, apply every window
What even counts as a 'day' varies too
Before you trust any total, note that jurisdictions disagree on what a single day even is. The US generally counts any day you are physically present at any moment (with narrow exemptions for transit and certain commuters). The UK SRT counts the day only if you are present at midnight, with a separate deeming rule for excessive daytime visits. Some countries ignore pure airport layovers; others count any calendar day you touched the ground.
- Presence-at-any-time (US-style): arrival and departure days both count.
- Midnight rule (UK-style): only days where you're present at midnight count toward the headline test.
- Transit / layover: often excluded if you never clear immigration, but the rules differ, so check each country.
We cover the gritty edge cases, layovers, partial days, and midnight rules, in tax residency edge cases. The headline number means nothing until you know which day definition produces it.
The practical answer to all of this is to record actual entry and exit dates once, then let the relevant window do the math for each country you touch. Tax Days stores your trips and applies calendar-year, non-calendar tax-year, rolling, weighted, and cumulative tests per jurisdiction, so the same travel log answers each country's question its own way. Set your jurisdictions in a couple of minutes and the counts update as you log trips.
Frequently asked questions
Do all countries use the calendar year to count tax residency days?
No. Most do, but the UK uses 6 April to 5 April, India uses 1 April to 31 March, and Australia uses 1 July to 30 June. Others use rolling 12-month windows (Portugal, Schengen) or weighted multi-year formulas (the United States).
What is a rolling 12-month residency rule?
It's a window that slides with you rather than resetting on a fixed date. Portugal treats you as resident if you exceed 183 days in any 12-month period. You can stay under 183 in each calendar year yet still trigger residency on a rolling basis.
Why does the US count days differently from everyone else?
The US Substantial Presence Test weights three years: all of the current year's days, one-third of the prior year, and one-sixth of the year before. Prior-year days carry forward, so you can meet the test with well under 183 days in the current year. See the substantial presence test calculator.
Does an arrival or departure day count as a full day?
Usually yes, but it depends on the method. Presence-at-any-time countries (like the US) count both arrival and departure days. The UK counts a day only if you're present at midnight. Pure airport layovers are often excluded, but check each jurisdiction.
Can the same trip make me resident in one country but not another?
Yes. A 200-day stay split across New Year stays under 183 in each calendar year (so a calendar-year country may not tax you), but the identical trip exceeds 183 days in a rolling 12-month window (so a rolling-rule country would). The window, not just the day total, decides.
What is cumulative day counting?
Some jurisdictions add days across multiple years. Hong Kong counts more than 300 days over two consecutive years, and India has a backstop combining 60 days this year with 365 over the prior four years. Prior-year travel becomes a live input to your current status.
Sources & further reading
Every rule on this page is drawn from primary sources. Verify the current law before making a residency decision.