Back to ToolsBack to MapleLedger

Free Tool

U.S. Tax Residency Calculator

Substantial Presence Test (SPT) & U.S. Stay Days Calculator for estimating weighted U.S. days, travel totals, and days in the USA. Educational only and not tax advice.

Substantial Presence Test calculator

Educational browser-only estimate. No account, upload, backend call, I-94 login, passport collection, or tax filing advice.

This tool estimates the arithmetic used in the IRS Substantial Presence Test formula. It does not determine tax residency and is not tax advice.

Track Your U.S. Stay Days

This U.S. stay days calculator can also help estimate how many days you have already spent in the United States, how many days remain before reaching common day-count thresholds, and your yearly travel totals.

Use the simple entry mode when you already know your totals, or travel range mode as a U.S. travel days calculator for manually entered arrival and departure dates.

Choose input mode

Enter yearly U.S. day totals directly, or add U.S. travel date ranges and let the calculator group them by calendar year.

Mode

SPT estimate

Formula: current year + previous year / 3 + second previous year / 6.

Currently below the Substantial Presence Test formula threshold.Weighted score: 0 of 183.
Current year days (2026)0
Previous year days (2025)0
Second previous year days (2024)0
Weighted SPT score0
Current-year days >= 31No
Weighted score >= 183No
Approximate additional current-year days before reaching the 183 weighted threshold: 183. The 31-day current-year minimum needs 31 more current-year days.
U.S. Stay Days SummaryCurrent Year Days: 0Approximate Remaining Days Before 183: 183Informational only. This does not determine legal or tax conclusions.

How to Find and Check Your U.S. Travel History

Use these notes to help gather U.S. travel history, Canadian snowbird travel days, and U.S. stay days before reviewing the Substantial Presence Test summary.

Official I-94 travel history

Travelers can use the official CBP I-94 website at i94.cbp.dhs.gov/home to view recent U.S. arrival and departure travel history.

CBP and USA.gov describe I-94 travel history as covering the last 10 years where available. Manually copy dates from official records into this calculator if they are useful for your review.

Do not enter passport details into MapleLedger. This page does not collect passport information, import I-94 records, scrape I-94 data, automate login, or upload travel records.

Canadian snowbird note

Many Canadian snowbirds track U.S. days manually throughout the year. Most Canadian citizens visiting or transiting the U.S. may not need an I-94 form, but U.S. travel history may still be useful to review where available.

Cross-check personal records

Use more than one source when checking travel dates. Helpful records may include:

  • Passport stamps
  • Flight confirmations
  • Hotel stays
  • Credit card transactions
  • Travel insurance records
  • Calendar entries
  • Toll or parking records
  • Emails and receipts

Missing or inconsistent records

I-94 travel history may be incomplete or may not show every relevant trip. Do not rely only on one source. If records conflict, keep your own written travel log and supporting documents.

Suggested workflow

  1. Check I-94 travel history if available.
  2. Add each U.S. trip as a date range.
  3. Cross-check against personal records.
  4. Review the SPT and U.S. stay-days summary.
  5. Use your browser to save or print the results for personal reference.

Form 8840 and closer connection exception

Some non-U.S. individuals who meet the Substantial Presence Test formula may review IRS Form 8840 and the closer connection exception.

This calculator does not say you qualify, determine eligibility, provide filing advice, generate Form 8840, or file forms.

This calculator is for educational planning only. It does not determine tax residency and does not replace official records, IRS guidance, or professional cross-border tax advice.

Related date calculator

Need to calculate travel dates first? Try the Date Calculator for single ranges and multi-range totals before entering U.S. travel days here.

Date CalculatorMore tools