A good description of the tax system (federal, cantonal and communal) in Switzerland can be found here
http://www.ch.ch/
but for workers with B permit (less than 5 years in Switzerland), there is a special taxation rate that replaces federal, cantonal and communal taxes.
Tax is taken directly on the salary by the employer and the rate is dependent of the canton.
A good estimation of the tax can be found on this page:
www.comparis.ch/
We do our best to provide accurate and up to date information. However, if you have noticed any inaccuracies in this article, please let us know in the comments section below.