Tool
Day counter
Two clocks run at once when you work in China: the 183-day test for the year, and the six-year clock that decides whether your offshore income stays out of scope. This counts both.
Your trips to China
Enter each stay. Include the year before your reference year so the six-year clock has something to count.
Illustrative only. Entry and exit days are both counted as present, which is the usual convention — but confirm the counting method for your case. The six-year test also involves conditions this tool simplifies, including how an absence spanning two calendar years is treated.
It counts the days it can see and says so when it cannot. If you have no records for a year, it will show zero rather than assume you were away — because a certificate of residence and a plausible story are different things.
The rules behind it are in Module 1. The six-year clock in particular is a transitional policy that has been adjusted repeatedly, so treat the status below as a prompt to check, not a verdict.