BorderDays

How BorderDays counts your days

Last updated: 19 September 2026

This page explains exactly what the calculator does, so you can check any result by hand.

From trips to days

Each trip is a country, an arrival date and a departure date. A trip with no departure date is counted up to today; a planned trip with no departure date counts only its arrival day. Days that two trips to the same country share are counted once. A travel day can count in two countries at once, because most laws count any part of a day.

Two ways to count a day

Most rules count any part of a day, so arrival and departure days are full days. These rules count only the nights spent in the country, so the departure day does not count:

The period each rule looks at

Calendar year from 1 January to 31 December, unless listed below.

Tax years with another start date:

Moving windows: the count is re-done every day over the previous days, so old days drop out as new ones are added.

One continuous stay, where short breaks do not interrupt the stay:

Rules with more than one test

What the colours mean

How the planner decides

The longest stay is the longest continuous stay from the chosen date for which no day of the stay is at or over the limit, and which does not bring forward a breach that your other trips would cause later. The planner looks up to 730 days ahead.

The earliest start is the first date, within about three years, on which a stay of the length you chose passes the same test. For rules that count nights, the latest departure is the morning after the last counted night.

Importing Google Maps Timeline

The Timeline file is read in your browser. Each location is placed in a country using Natural Earth borders at 1:50 million scale, which are accurate to within a few kilometres. Locations up to 0.25° from a border (coasts, lakes, GPS drift) go to the nearest country; locations further out at sea are skipped.

Some territories are drawn inside another country on that map and are separated because they follow different rules: French Guiana, Guadeloupe, Martinique, Réunion and Mayotte from France; Gibraltar; the Caribbean Netherlands from the Netherlands; Svalbard and Jan Mayen from Norway; and the Vatican, Ceuta and Melilla, which are smaller than the map's resolution.

A country counts on a day when a recorded stay, or the start or end of a journey, falls in it that day, when at least two raw GPS fixes do, or when it is the only country that day, so a single stray GPS fix across a border does not add a country. Dates use the time zone stored in the file; older files without one use an estimate based on longitude. Every imported trip is shown for review before it is added.

Where the rules come from

Every rule was checked against a named source on the date shown. Most were compared with PwC Worldwide Tax Summaries and, where a country publishes one, the tax authority's own page. When the two disagree we follow the law: PwC still describes Chile's rule from before Law 21.210 of 2020, and says "more than 183 days" for Estonia where the Estonian Tax and Customs Board says "at least 183 days".

A routine runs every week: it checks that every source still answers, reports rules not re-checked for 180 days, and flags any PwC summary reviewed after our last check.

RuleChecked againstDate
Schengen 90/180 ruleEuropean Commission2026-09-12
United States tax residencyPwC Worldwide Tax Summaries2026-09-12
United Kingdom tax residencyPwC Worldwide Tax Summaries2026-09-12
Ireland tax residencyPwC Worldwide Tax Summaries2026-09-12
Canada tax residencyPwC Worldwide Tax Summaries2026-09-12
Australia tax residencyPwC Worldwide Tax Summaries2026-09-12
New Zealand tax residencyPwC Worldwide Tax Summaries2026-09-12
Spain tax residencyPwC Worldwide Tax Summaries2026-09-12
Portugal tax residencyPwC Worldwide Tax Summaries2026-09-12
France tax residencyPwC Worldwide Tax Summaries2026-09-12
Germany tax residencyPwC Worldwide Tax Summaries2026-09-12
Italy tax residencyPwC Worldwide Tax Summaries2026-09-12
Greece tax residencyPwC Worldwide Tax Summaries2026-09-12
Cyprus tax residencyPwC Worldwide Tax Summaries2026-09-12
Estonia tax residencyEstonian Tax and Customs Board2026-09-12
Czechia tax residencyPwC Worldwide Tax Summaries2026-09-12
Croatia tax residencyPwC Worldwide Tax Summaries and the Croatian General Tax Act, article 432026-09-19
Switzerland tax residencyPwC Worldwide Tax Summaries2026-09-12
Türkiye tax residencyPwC Worldwide Tax Summaries2026-09-12
Georgia tax residencyPwC Worldwide Tax Summaries2026-09-12
United Arab Emirates tax residencyPwC Worldwide Tax Summaries2026-09-12
India tax residencyPwC Worldwide Tax Summaries2026-09-12
Thailand tax residencyPwC Worldwide Tax Summaries2026-09-12
Singapore tax residencyPwC Worldwide Tax Summaries2026-09-12
Malaysia tax residencyPwC Worldwide Tax Summaries2026-09-12
Indonesia tax residencyPwC Worldwide Tax Summaries2026-09-12
Vietnam tax residencyPwC Worldwide Tax Summaries2026-09-12
South Africa tax residencyPwC Worldwide Tax Summaries2026-09-12
Brazil tax residencyPwC Worldwide Tax Summaries2026-09-12
Colombia tax residencyPwC Worldwide Tax Summaries2026-09-12
Chile tax residencyLaw 21.210, Diario Oficial of Chile (24 February 2020)2026-09-12
Peru tax residencyPwC Worldwide Tax Summaries2026-09-12
Uruguay tax residencyPwC Worldwide Tax Summaries2026-09-12
Costa Rica tax residencyPwC Worldwide Tax Summaries2026-09-12

What BorderDays does not model

Found a mistake?

Please tell us at the contact address listed in the footer of this site, with a link to the source that shows the correct rule.