How Many Days Have You Spent Abroad? Three Rules, Three Answers

How Many Days Have You Spent Abroad? Three Rules, Three Answers

· Nen

Ask someone with forty countries how long they have spent abroad and you usually get a number of trips, not a number of days. "Maybe sixty trips?" That is a different question. A long weekend in Lisbon and five months working in Singapore are both one trip each, and they do not weigh the same in anyone's life.

Days are the better unit. They are also surprisingly hard to count, because "a day abroad" has no single definition. Tax authorities count one way, border systems count another, and your own memory counts a third way that has nothing to do with either. This guide sets out the main rules, shows why they give different answers for the same trip, and explains how to keep a record that lets you work out whichever number you actually need.

One thing first: this is about keeping a personal travel record. If you need a day count for tax residence or visa compliance, the official rules below are where you start, and a professional adviser is where you finish. Your travel log is evidence, not a ruling.

Three rules, one trip, three answers

Take a simple example. You fly out of London at 22:30 on Friday 3 April, land in Lisbon after midnight, spend the week there, and fly home at 07:00 on Saturday 11 April.

How many days were you abroad?

The calendar rule counts every date on which you were outside your home country at any point. Friday 3 April counts, because you left that evening. Saturday 11 April counts, because you were in Lisbon that morning. That gives nine days.

The border rule is how the Schengen area counts short stays. Under Article 6 of the Schengen Borders Code, the date of entry is treated as the first day of stay and the date of exit as the last day of stay (legislation.gov.uk, Regulation 2016/399 Article 6). You entered Portugal just after midnight, on Saturday 4 April, and exited on Saturday 11 April. That gives eight days. The departure evening in London does not count, because you had not yet entered.

The midnight rule is how HMRC counts days for the UK Statutory Residence Test. You have spent a day in the UK if you are in the UK at the end of the day, meaning midnight (HMRC manual RFIG20710). Turn that around and ask where you were at midnight each night. You were in the air or in Lisbon at midnight on 3 April through midnight on 10 April. On 11 April you were home by midnight. That is eight nights away, so eight days not spent in the UK, but a different eight from the border rule's.

Nine, eight and eight, from one ordinary week. Stretch that across twenty years and a few hundred trips and the gap between methods grows to weeks.

Why the official rules disagree

Each rule answers a different question, so none of them is wrong.

The midnight rule asks where you live. Sleeping somewhere is a reasonable signal of that, so the question is where you were when the day ended. HMRC adds its own complications: a transit day, where you arrive and leave without doing anything unrelated to the trip, can be excluded (RFIG20730), and a deeming rule can count days where you were in the UK but left before midnight (RFIG20720).

The United States asks almost the opposite. For the substantial presence test, the IRS treats you as present on any day you are physically in the country at any time during the day (IRS, Substantial Presence Test). A short hop counts as a full day. The test then weights past years: all days in the current year, one third of the days in the year before, and one sixth of the days in the year before that, against a 183-day threshold. There are exceptions here too, including transit between two foreign points in under 24 hours.

The border rule asks how long you have been in. It uses stamps and entry records, so a date is a date whatever time you crossed.

The calendar rule is the one most people use without thinking about it. It asks on how many dates you were somewhere else. It is generous, because both travel days count in full, and that makes it a good fit for a personal record: it matches what you remember, which is "I was away on the 3rd".

What you need in your record to work out any of them

The good news is that you do not need to pick a rule now. If your record holds the right raw facts, any of the counts above can be worked out later. The bad news is that most people's records hold the wrong facts.

A photo roll gives you dates on which you took photos. A boarding pass inbox gives you departure dates for flights you booked yourself. A passport gives you stamps for some borders and nothing for others. None of them is complete.

The facts that matter are:

  1. The date you arrived in each country, and roughly when (before or after midnight matters for the border and midnight rules).
  2. The date you left each country.
  3. Your home country at the time. If you moved, "abroad" changed meaning on the day you did.
  4. Anywhere you only passed through, such as a layover, because two of the rules above treat transit differently.

Write those down per trip and you can recount everything. Record only "Portugal, April" and you can recount nothing.

If you are rebuilding older years, the method in how to log your travel history retroactively applies directly: start with fixed anchors such as flight confirmations and passport stamps, then fill the gaps between them. If you are still on the road, logging a trip while you are on it is far easier than reconstructing it afterwards, because nobody remembers which night they crossed a land border three years later.

The edge cases that change the total

A few situations cause most of the disagreement, and it helps to decide how you will record them before you meet them.

Overnight flights. On a flight that leaves on the 3rd and lands on the 4th, where were you at midnight? Under the midnight rule, not in your home country. Under the border rule, not yet in the destination either. Record both the departure date and the arrival date, not just one "travel date".

Land borders with no stamp. Driving from Portugal into Spain leaves no mark in your passport. If you care about per-country days, not only days away from home, you have to write the crossing date down yourself. Our guide to logging a road trip that crosses six countries covers this in detail.

Layovers. A four-hour connection in Doha is a day in Qatar under the calendar rule, and it is not a stay in any sense that matters to you. Decide whether a layover counts as a country before your total starts to include airports you never left. The same question comes up when counting countries at all, which is why what counts as visiting a country recommends writing your rule down.

Two places on the same day. If you were in Vienna in the morning and Bratislava by evening, that is one day abroad, not two. Any count that adds up days per country and then sums them will double-count it. Count unique dates.

Moving countries. If you lived in Dubai for three years, trips back to the UK during that time were abroad from where you lived. Most spreadsheets get this wrong because they hard-code one home country for all time.

How MapMyWorld counts time abroad, and where it falls short

MapMyWorld has a Time Spent Abroad card on the Stats page. It is worth being exact about what it does, because it uses the calendar rule on a narrower set of facts than the list above.

The card looks at every place in your record marked Visited or Lived that has a visit date and is in a country other than the home country set on your profile. For each of those places it counts the dates from the visit date to the depart date, and then counts each calendar date once, however many places fall on it. So Vienna and Bratislava on the same day count as one day, which is the correct behaviour. It shows the total, a months-and-days version where a month is treated as 30 days, and a breakdown for your five most recent years. The year and month filters on the Stats page apply to it. (Logic in server/routes/stats.ts, the /api/stats/time-abroad route; card in client/src/pages/stats.tsx.)

Now the limitations, plainly.

It counts days on which you logged a place, not days you were away. The add and edit place forms only have a single Date of Visit field (client/src/components/add-place-dialog.tsx, edit-place-dialog.tsx). There is no way in those forms to say you stayed somewhere for a week, so a place usually contributes one day. A week in Lisbon with three places logged on three different dates counts as three days, not eight. The card is a floor, not a total.

Trip dates are not used. A trip in MapMyWorld has start and end dates, which would be a better source of days away, but the Time Spent Abroad calculation reads places only.

Home country is a single current value. If you moved abroad, the card compares every place against where you live now. Years you spent living elsewhere will be counted as time abroad from today's home, not from the home you had then.

It needs a home country. If your profile has no home country set, every place with a visit date counts as abroad, including the ones down the road. Set it in Settings before you trust the number.

It is not a tax or visa calculation. It applies none of the midnight, border, transit or deeming rules above.

The number is still useful. It tells you something true: on at least this many different dates, you were somewhere else and cared enough to log it. For a lot of people with a long travel history, that floor is already larger than they would have guessed.

A practical method you can use today

If you want a count you can rely on, here is the approach that holds up for all three rules.

  1. Pick your home country for each period of your life. Write down the date each one started.
  2. For each trip, record the date you left home and the date you got back. Add the arrival and exit date for each country if you crossed more than one.
  3. Log each place with the date you were actually there. Accuracy to the day matters more than completeness of places.
  4. Count unique dates, not trips or places. This avoids double-counting two countries on one day.
  5. When you need an official number, apply the official rule to your record, not to your memory, and check it against the source that governs it.

In MapMyWorld, steps 3 and 4 are what the Stats card already does for you. The Free plan includes 5 places as a lifetime allowance, 1 trip and unlimited countries, which is enough to see how the calculation behaves on a recent trip. Pro, at $7.99 a month or $59.99 a year, removes the place cap, so the card can reflect a full history. Steps 1, 2 and 5 still need you, and for now a trip's own dates are the most reliable record of exactly how long you were gone.

The number of days you have spent abroad is one of the few travel figures that says something about how you have lived, not just where you have been. It is worth counting properly, and properly starts with writing the dates down.

Start your record — free