This Demonstration shows the effective tax rate and the amount of income tax if one works as an expatriate in China. The Chinese income tax law is very different from what American workers are used to. This Demonstration helps to clarify some of the confusions.
The official Chinese currency is the renminbi (denoted CNY or RMB) and the unit of currency is the yuan.
Chinese income tax law mandates a deduction up front from an individual's income. If one is a non-Chinese citizen, the deduction is CNY 4800. If one is a Chinese national, the deduction is CNY 2000. Using the net amount, one needs to find the appropriate tax rate from a given table. Multiply the net amount and the appropriate tax rate; then deduct an amount that is predetermined by the Chinese government. Hence, there is always some sort of confusion about how much tax an expat needs to pay. (In the program, r[x] is the rate and d[x] is the deduction.)