Free tool

How many days have I been in the country, and when can I apply?

Add your trips once, or paste them from your I-94 history, a CSV or a calendar file. The calculator runs each day-count test that applies to you: US substantial presence, N-400, Canadian citizenship, Ontario health cover, Australian and New Zealand residence. You get the earliest dates, the trips that matter, and a report.

Your trips outside the country you live in

Left onBack onWhere you wereDays

Paste or import trips (CSV, I-94 history, calendar file)

Your trips are saved in this browser only.

Information only, not tax, legal or immigration advice. Rules change and your situation may be different. Check the official source or a qualified adviser before you act on this.

How to use it

  1. Choose where you live now and fill in the dates the tests need: green card, PR or visa dates.
  2. Add each trip outside that country with the day you left, the day you came back and where you were.
  3. Or open Paste or import to add trips from a CSV, your I-94 travel history or a calendar file.
  4. Press Run every test and read each card: met, not met or the earliest date.
  5. Download the report as CSV, copy it or print it for your application file.

How it works

Every day between the day you left and the day you came back is a day away. Travel days are counted the way each official source says: they count as days in the US for the substantial presence test and the N-400, and as days in Australia for the 183-day test; in New Zealand they count as days in the country. Canadian citizenship, Ontario and Australian citizenship pages do not say, so we count travel days as days away, which gives the later, safer date. Earliest dates assume you make no more trips. "12 months" windows use calendar months.

✓

Nothing leaves your device. Files and dates are read by your own browser. Nothing is uploaded or stored on our side; only your settings can be saved in this browser, and you can delete them.

Sources

Last checked: 29 Nov 2026

Questions

Does the day I leave or return count as a day in the US?

For the N-400, USCIS does not count the dates of travel as days outside the US. For the substantial presence test, any part of a day in the US counts as a day of presence.

How does time before PR count for Canadian citizenship?

IRCC counts each day in Canada as a temporary resident or protected person before PR as a half day, up to 365 days, within the 5 years before you apply. Enter your first day in Canada to include it.

Can I file the N-400 early?

USCIS lets you file up to 90 calendar days before you complete the continuous residence period. You still need 913 days (5-year rule) or 548 days (3-year rule) of physical presence.

I am a Canadian snowbird. What does the US count?

The substantial presence test card shows your weighted US days. If you meet the test but were in the US fewer than 183 days that year, the closer connection exception (Form 8840) may apply.

Are my trips uploaded?

No. Everything is worked out in your browser. Your trips are saved only in this browser so you can come back; Clear saved data removes them.