Guides to U.S. presence day counts

Short explanations of the substantial presence test, Form 8840, and the FEIE 330-day test, written to match what the calculator on this site actually does.

These pages explain the day-count rules used by the free calculator at form8840.com. They are planning notes, not legal or tax advice. Start with the test you are trying to understand, or open the calculator and come back to a guide if a result is unclear.

Open the calculator

Enter your travel calendar once. All day-count math runs in your browser.