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 on | Back on | Where you were | Days |
|---|
Paste or import trips (CSV, I-94 history, calendar file)
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
- Choose where you live now and fill in the dates the tests need: green card, PR or visa dates.
- Add each trip outside that country with the day you left, the day you came back and where you were.
- Or open Paste or import to add trips from a CSV, your I-94 travel history or a calendar file.
- Press Run every test and read each card: met, not met or the earliest date.
- 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
- IRS: Substantial presence test (reviewed 14 March 2026)
- IRS: Closer connection exception to the substantial presence test (reviewed 16 July 2026)
- IRS practice unit: Substantial Presence Test (present at any time during the day)
- USCIS Policy Manual, Volume 12, Part D, Chapter 3: Continuous Residence (dates of travel)
- USCIS: Form N-400 instructions (913 and 548 days; edition 04/01/24)
- USCIS: Early Filing Calculator (90 days)
- IRCC: Check if you are eligible to apply for citizenship (1,095 days; modified 11 September 2025)
- Ontario: Apply for OHIP and get a health card (153 and 212 days)
- ATO: Residency – the 183-day test (updated 3 June 2026)
- Home Affairs: Residence calculator (general residence requirement)
- Inland Revenue NZ: Tax residency status for individuals (updated 25 June 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.