Tool
Day counter
Two tests run at once: whether you crossed 183 days this year, and whether the previous six years let your offshore income stay exempt. The counting rule has a sharp edge that catches most people.
A day counts only if you were in China for 24 hours that day. Arrival and departure days usually fail that test, so a Monday-to-Friday trip is three days, not five — and a trip there and back in one day is zero.
Your trips to China
Enter each stay. Interior days always count; arrival and departure days are excluded because you were not there a full 24 hours.
Illustrative only. The six-year test also depends on domicile, on whether the income is foreign-source and paid offshore, and on filings actually being made — none of which a date calculator can see.
What the six-year test actually asks
It is a lookback, not a countdown. To be taxed on your worldwide income you need all of the following: you spent 183 days or more in China this year, and in each of the previous six years you spent at least 183 days in China, and in none of those six years did you have a single absence longer than 30 days.
If any one of those six years fails either test, foreign-source income paid by an overseas party stays exempt for the current year — provided you file for it. One missed year resets everything.
First, the six-year window only starts counting from 2019, so the earliest anyone can lose the exemption is 2025. Second, the test is on days per year and on single absences — a year with 200 days present but one 40-day trip out fails just as a year with 100 days does.
The rules behind this are in Module 1; the choice that follows from resident status is in Module 4.