Days in Country Calculator
Add your stays to count how many days you've spent in a country in a year, a tax year or any rolling window, and see how many days you have left before a limit like 183.
183 days in a year is a common tax-residence test; the real rules differ by country, so check your country's tax authority. For 90 days in any 180, see our Schengen calculator.
Set the date your tax year starts. The buttons are just examples.
The number of days you're checking against.
Shows the date you'd reach the limit if you stayed every day from here.
E.g. "183 days or more" vs "no more than 90 days".
Your log has more than one country.
How your days are counted
Your stays, step by step: pick the period, count the days, compare with your limit.
- 1
Pick the period
1 Jan 2026 →
31 Dec 2026 - 2
Count your days
arrival + departure
= 150 days - 3
Take it from the limit
183 − 150 = 33 left
- 4
Stay from a date
From 1 Nov 2026
reach 183 on 3 Dec 2026
Read more: the formula, a worked example, counting rules and notes
The tool turns each stay into a list of counted days, joins them (a day in two overlapping stays counts once), keeps the days that fall in your period, and compares the total with your limit. You choose every rule: how days count, the period and the limit. Nothing here is a country's official rule.
The formula
days in a stay = exit − entry + 1 (arrival and departure days count)
or = exit − entry (only nights count)
days used = counted days inside the period
days left = limit − days used
reach date = the day the count hits the limit if you stay every day from your date
Worked example
The tool starts with three stays in the 2026 calendar year and a limit of 183, counting arrival and departure days:
- 5 January to 20 March: 27 + 28 + 20 = 75 days
- 1 June to 15 July: 30 + 15 = 45 days
- 1 to 30 September: 30 days
Days used = 75 + 45 + 30 = 150, so days left = 183 − 150 = 33. If you stay every day from 1 November 2026, November's 30 days take you to 180, and 1, 2 and 3 December take you to 183. So you'd reach 183 on 3 December 2026, and leaving by 2 December keeps you at 182.
Counting only nights, the same stays are 74 + 44 + 29 = 147 nights, leaving 36. From 1 November, the 183rd night is 6 December, and leaving on 6 December keeps you at 182 because that night isn't spent there.
Counting rules you'll meet
| Rule | 1 to 3 May | Same-day visit |
|---|---|---|
| Arrival and departure days both count | 3 days | 1 day |
| Only nights (midnights) count | 2 nights | 0 |
Notes
- 183 days in a year is a common tax-residence test, but the real rules differ by country: the period, how days are counted, and other tests (a home, family, work, days in earlier years). Check your country's tax authority, or ask a tax adviser.
- For the Schengen area's 90 days in any 180, use our Schengen calculator, which also finds the earliest date you can come back.
- With several countries in Advanced mode, a day you travel between two countries counts in both when arrival and departure days count.
- A tax year that starts on 29, 30 or 31 of a month starts on the month's last day when the month is shorter.
Common questions
How do I count the days I've spent in a country?
List every stay with the date you arrived and the date you left, pick the period (a calendar year, a tax year or a rolling window), and choose how days are counted. The tool adds up the days in that period, counting a day once even if two stays overlap.
Do the arrival and departure days count?
It depends on the rules you're checking. Some count any part of a day as a day, so both the arrival and departure days count: 1 to 3 May is 3 days. Others count only the nights (midnights) you spend there: 1 to 3 May is 2 nights, and a same-day visit counts 0. Pick the rule that matches yours; the result changes straight away.
Is 183 days the rule for tax residence?
183 days in a year is a common test, but the real rules differ by country. Some use a calendar year, some a tax year that starts on another date, some any 12 months in a row, and many add other tests such as your home, family or work. Check your country's tax authority. This tool only does the counting.
What is a rolling 12-month window?
Instead of a fixed year, a rolling window looks back a set number of days from a date, such as the 365 days ending today. The window moves forward each day, so old days drop out. In Advanced mode the tool also finds your busiest window, the 365 days (or any length you choose) that hold the most days.
When would I reach the limit if I stayed?
Enter a 'stay from' date. The tool adds every day from then on and shows the date your count would reach the limit, plus the last day you could leave to stay under it.
Related calculators
Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.