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

Rolling Window Days Calculator

Many visa and tax rules are written as "no more than X days in any Y days". Set your rule, add your stays, and see days used, any overstays, and how long you can stay next time.

Quick answer

A rolling-window rule such as "90 days in any 180" is checked on every single day: count that day and the days before it in the window, and the total must not exceed the limit. Calendar years and visa years don't matter. Days drop out of the window one at a time.

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

Your details

The X in "X days in any Y days".
The Y. Use 365 for "in any 12 months".
Defaults to today.
Shows how long you could stay.
Finds the earliest arrival date that allows it.

Your results

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

When should you use a rolling-window calculator?

Use it for any rule written as a maximum number of days within a moving window, where both arrival and departure days count. For example:

  • "90 days in any 180 days": the Schengen Area uses this, as do several non-Schengen countries for visa-free visitors. For Schengen itself, use our dedicated Schengen calculator.
  • "183 days in any 12 months": the test many tax treaties use for employees working abroad. Use 183 and 365.
  • Visa conditions such as "no more than 30 days in any 60".

Always check the exact wording of the rule you're following. If it says "in a calendar year" or "per visit" rather than "in any period", it isn't a rolling rule. Try our 183-day calculator for calendar-year counts.

Which real rules use a rolling window?

  • Schengen short stays: 90 days in any 180.
  • UK settlement: no more than 180 days outside the UK in any 12 months, on the ILR route.
  • Ontario health coverage: at least 153 days in Ontario in any 12 months, covered by the snowbird calculator.
  • Portuguese tax residence: more than 183 days in any 12-month period that starts or ends in the tax year, one of the presets in the 183-day calculator.

These rules don't all treat travel days alike. This calculator counts arrival and departure days as days present, while UK settlement counts only whole days abroad, so use the dedicated calculator wherever there is one.

How does a rolling window work?

For every day you're in the country, the calculator counts that day plus the days before it inside the window (179 days back for a 180-day window). If the count is ever over your limit, it flags the first day of each overstay. Arrival and departure days both count as days present. Overlapping stays are only counted once.

It can also plan ahead. Enter a next arrival date to see the last day you could stay, or a number of days to find the earliest arrival date that allows a stay that long.

Worked example

A visa allows 30 days in any 60. You stay 1–20 March 2026 (20 days) and return on 1 April. Looking back 60 days from each day of the second visit, the count reaches 31 on 11 April, so the limit is broken that day. Arriving on 1 April, the last day you could stay is 10 April.

Frequently asked questions

What does "90 days in any 180 days" mean?
On any day you are in the country, you look back over that day and the 179 days before it. You may not have been present on more than 90 of those days.
Does the window reset on 1 January?
No. A rolling window moves forward one day at a time. Calendar years are irrelevant.
Do arrival and departure days count?
This calculator counts both as days present, which is how most rolling stay limits work. Check the rule you are following.

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.