How do I count days abroad for the physical presence rule?
Subtract the departure and return days from each trip, because both count as days in the US. You need 913 days in the US over five years, or 548 over three.
Count the days between the day you left and the day you came back, then drop both of those days, because USCIS counts the departure day and the return day as days of physical presence in the United States (USCIS Policy Manual, Volume 12, Part D, Chapter 4). Add up the result for every trip in the statutory period and subtract it from the period to see how many days you were in the country.
The target
Under the general rule you need to have been physically present for at least 30 months (913 days) of the five years before filing. For a spouse of a US citizen under the three-year rule the figure is 18 months (548 days) of the three years (Part G, Chapter 3). Physical presence is measured to the filing date, and it is separate from continuous residence. A person can pass one and fail the other.
The arithmetic for each trip
Days abroad on a trip equal the number of days from the departure date to the return date, minus one. If you left on March 1 and returned on March 11, you were away on March 2 through March 10, which is nine days. A trip that left and returned on the same day is zero. A trip that left on December 28 and returned on January 3 is five days abroad.
Do trips shorter than a day count at all? The N-400 tells applicants not to list day trips where the whole trip was completed within 24 hours (Form N-400), so they never appear in Part 8. A same-day return across a border, with no night away, adds no days abroad.
A worked five-year case
Say you file on June 1, 2026. The five-year window starts June 1, 2021, which is 1,826 days, counting the leap day in 2024. Your trips: 60 days abroad in 2022, 45 days in 2023, 150 days in 2024 for a family emergency, and 30 days in 2025. That is 285 days abroad, leaving about 1,541 days in the US, well over 913.
You can fail the arithmetic only with very long absences. But the same case can still fail on residence: the 150-day trip is under six months, so no presumption, whereas a single 200-day trip would draw one.
Where to get the dates
The N-400 asks for each trip's departure date, return date and countries. Reliable sources are passport stamps, boarding passes, e-ticket receipts and the I-94 travel history on the CBP website. An applicant who cannot reconstruct a trip should not guess. Officers can compare the list with CBP's own entry records, and a trip left off the form has to be explained at the interview.
What goes wrong
Counting months rather than days, counting the departure and return days as absence (it only costs margin, but it produces a number that disagrees with the officer's), and forgetting short trips to Canada or Mexico that included a night away. If the total is close to the limit, an immigration attorney can check it before the filing date is fixed.