To count the days you've spent in each country, list the date you entered and left every country, then count with the rule that matters for why you're counting. For the Schengen 90/180 rule, every day you were there for any part of the day counts; for UK tax residence, only the days you were in the UK at midnight; for the US substantial presence test, any part of a day. The same trip gives different totals under different rules, so choose the rule first and then gather your evidence.
Step 1: pick the counting rule
| Why you're counting | What counts as a day |
|---|---|
| Schengen 90/180 rule | Every day you were in any Schengen country, even for an hour. Arrival and departure days both count, and all 29 countries share one total |
| UK tax residence | A day you were in the UK at midnight, with exceptions such as transit |
| US substantial presence test | Any day you were in the US at any time, with exceptions such as short transit and regular commuting from Canada or Mexico |
| Your own travel records | Your choice. "Any part of a day" is the generous one; "midnights" equals nights away |
If the count is for a legal or tax purpose, read the official rule for that country. The 183-day rule and the Schengen 90/180-day rule explain the two most common.
Step 2: gather the evidence
No single source is complete, so combine a few:
- Boarding passes and airline accounts. Most airlines keep past trips in your account. Search your email for "boarding pass", "e-ticket" and "itinerary".
- Hotel and rental bookings. Confirmation emails give check-in and check-out dates.
- Passport stamps. Useful for older trips, but there are none for crossings inside open-border areas, and some are faint or were never given. Since 10 April 2026, the Schengen countries record non-EU travelers electronically instead of stamping them, as explained in the EES guide.
- Photo locations. If your iPhone saved where each photo was taken, your library is a day-by-day record. See how to find every country from your iPhone photos, and why some photos have no location.
- Google Maps Timeline, if you had it on. See how to export your Google Maps Timeline.
- Card statements. Foreign transactions show where you were spending, day by day.
- Your calendar. Trips you blocked out often have the right dates.
Each source has gaps. Photos skip the days you didn't take any; card statements show where a payment was processed, not always where you stood. Where two sources agree, you can be fairly sure.
Step 3: build a simple table
One row per stay in a country:
| Country | Entered | Left | Days (any part) | Midnights |
|---|
In a spreadsheet, days counted by any part of a day are left minus entered plus one, and midnights are left minus entered. Add up each country's rows for your total.
A worked example
A trip from London in March 2027:
- 3 March: fly London to Lisbon.
- 10 March: fly Lisbon to Madrid.
- 15 March: fly Madrid to Paris.
- 18 March: train from Paris back to London.
| Country | Entered | Left | Days (any part) | Midnights |
|---|---|---|---|---|
| Portugal | 3 Mar | 10 Mar | 8 | 7 |
| Spain | 10 Mar | 15 Mar | 6 | 5 |
| France | 15 Mar | 18 Mar | 4 | 3 |
| Total | 18 | 15 |
Three things to notice:
- The country days add up to more than the trip. The trip ran from 3 to 18 March, 16 calendar days, but the country days total 18, because 10 and 15 March each count in two countries. That's correct under an "any part of a day" rule.
- Midnights equal nights away. 15 midnights, 15 nights in hotels.
- Schengen sees one trip. For the 90/180 rule, Portugal, Spain and France are all Schengen, so this trip uses 16 days of the 90, not 18.
The edge cases
- Overnight flights. Under a midnight rule, a night in the air may count for no country at all. Check how your rule treats it.
- Time zones and the date line. Use the local date where you were. A flight that leaves Tokyo on the 5th and lands in Los Angeles on the 5th gives you a day in both.
- Day trips. A day across a border is a full day in that country under an "any part" rule, and zero under a midnight rule.
- Layovers and cruise stops. Whether they count as a visit is a different question from how many days they add. See does a layover count and does a cruise stop count.
Let a tool do the arithmetic
Once you have dates, the days-in-country calculator totals them per country with the 183-day rule in mind, and the Schengen calculator handles the rolling 90/180 window. For flights in particular, a flight log is worth keeping anyway.
Globestamp keeps days in every country for you, with Schengen 90/180 and 183-day alerts (the alerts are Pro).