Overview

Easily calculate your total days in the US per year using your I-94 travel history. Stay informed and compliant with visa regulations.

Visa holders, green card applicants, international students and their advisers use this tool to answer one question: how many days have I actually spent in the United States? That figure matters when you check time against an authorized stay, prepare a naturalization or visa application that asks about prior presence, or gather dates for a tax residency review. Upload the travel history PDF from the CBP I-94 website or type in your own arrival and departure dates. The result leads with your days in the last 12 months, then gives the lifetime total, days this year, a Substantial Presence Test count and your longest absence, with a trip-by-trip table and year-by-year and month-by-month breakdowns below.

Formula and example

Stay days=(Departure date−Arrival date)+1\displaystyle \text{Stay days} = (\text{Departure date} - \text{Arrival date}) + 1
Total days=∑Stay days−Shared days\displaystyle \text{Total days} = \sum \text{Stay days} - \text{Shared days}
Total days=∑periodsPeriod days\displaystyle \text{Total days} = \sum_{\text{periods}} \text{Period days}

Where:

Stay days
— The days counted for one arrival and departure pair, including both the arrival day and the departure day.
Departure date
— The next departure after an arrival, or today's date when the ongoing stay box is ticked.
Arrival date
— The first arrival recorded after the previous departure.
Total days
— The number of distinct days in the US, shown as Total Days in the US; it is the same in the Yearly and Monthly views.
Shared days
— Days that fall in two stays, such as a same-day departure and re-entry, so each is counted only once.
Period days
— The counted days that fall within one calendar year or month, as shown in the Yearly and Monthly tabs.

Worked example

You enter two trips in 2024: arrival 2024-03-10 with departure 2024-06-20, and arrival 2024-09-01 with departure 2024-09-30.

  1. First stay

    (Jun 20−Mar 10)+1=102+1=103\displaystyle (\text{Jun 20} - \text{Mar 10}) + 1 = 102 + 1 = 103
  2. Second stay

    (Sep 30−Sep 1)+1=29+1=30\displaystyle (\text{Sep 30} - \text{Sep 1}) + 1 = 29 + 1 = 30
  3. Total days

    103+30−0=133\displaystyle 103 + 30 - 0 = 133
  4. Monthly view check

    22+30+31+20+30=133\displaystyle 22 + 30 + 31 + 20 + 30 = 133

Result

Total Days in the US is 133. The Yearly view shows 133 days for 2024, and the Monthly view shows 22, 30, 31, 20 and 30 days for March, April, May, June and September.

FAQs

How do I calculate how many days I have been in the US?

Pair each arrival with the next departure and count every calendar day from the arrival date through the departure date, including both, then add up every trip. For example, arriving on 2024-03-10 and leaving on 2024-06-20 counts as 103 days in this calculator. Uploading your I-94 travel history or entering the dates manually does this for every trip at once.

Where can I download my I-94 travel history?

U.S. Customs and Border Protection publishes I-94 records and travel history on its official I-94 website (i94.cbp.dhs.gov). Enter your passport details, open the travel history section and save it as a PDF, then upload that file here. If a trip is missing from CBP's record, use manual mode and add the dates from your passport stamps or boarding passes.

Does the calculator count both the arrival and departure day?

Yes. Any day you were in the US for part of the day counts, so both the arrival day and the departure day are included. A trip from September 1 to September 30 counts as 30 days, and arriving and leaving on the same day counts as 1 day. This matches the convention of the IRS substantial presence test; if a rule you follow excludes partial days, subtract them yourself.

Can I count days if I am still in the US right now?

Yes. Enter or upload your history with the last arrival left open and tick 'I am currently in the US'. The calculator then treats today as the departure date and counts the days from that arrival up to now. If you leave the box unticked, the open stay is not counted and the Record Check row says so.

Do the yearly and monthly views give the same total?

Yes. The calculator first builds the list of individual days you were in the US, then groups those days by calendar year or by month, so a trip that crosses a month or year boundary is split without losing or adding a day. For example, a stay from 2023-11-20 to 2024-03-01 counts 103 days in both views: 42 in 2023 and 61 in 2024, or 11, 31, 31, 29 and 1 by month.

Is this day count an official immigration or tax determination?

No. It is an arithmetic count of the dates you provide or that appear in your I-94 PDF. Immigration and tax rules each have their own counting methods and exceptions, so confirm the result with USCIS, the IRS or a qualified adviser before relying on it in a filing.

How to use

Count your days in the US from your I-94 travel history PDF or from dates you enter yourself.

  1. Choose the Input MethodSelect Upload PDF if you have downloaded your travel history from the official CBP I-94 website (i94.cbp.dhs.gov), or Enter Manually to type the dates in yourself.
  2. Upload your I-94 PDF or add Travel EntriesIn PDF mode, upload the travel history file; rows such as 2024-03-10 Arrival are read automatically. In manual mode, add one row per border crossing with the date in YYYY-MM-DD format (for example 2024-03-10) and the Entry Type set to Arrival or Departure.
  3. Tick 'I am currently in the US' if you have not left yetCheck this box when your last entry is an arrival with no departure, so the days from that arrival up to today are counted. It works for both PDF uploads and manual entries. Leave it unchecked and the open stay is left out, and the Record Check row tells you so.
  4. Switch between the Trips, Yearly and Monthly tabsTrips lists every stay with its arrival, departure, days in the US and the days outside before the next trip. Yearly shows days per calendar year, which suits annual presence checks, and Monthly gives a finer breakdown.
  5. Read the summary cardsThe highlighted figure is your days in the US over the last 12 months. The cards beside it give the lifetime total, days this calendar year, your Substantial Presence Test count, your longest absence and a record check. The test count turns amber at 183 days and the longest absence at 180 days, because those are the thresholds the IRS and USCIS apply.

Assumptions

  • Each trip counts every calendar day from arrival through departure, including both, and a day that appears in two trips (such as a same-day departure and re-entry) is counted once.
  • If two arrivals appear in a row, the first one starts the stay, and a departure with no earlier arrival is ignored.
  • The calculator does not apply visa-specific, tax or naturalization exceptions such as exempt days, commuter days or travel in transit.
  • Dates are read as calendar dates in YYYY-MM-DD format, and PDF mode reads only rows formatted as a date, Arrival or Departure, and a port code, so check the breakdown against your own records.

Explore more