Swiss citizens pay their taxes at the end of the year. Foreign workers (without permit C) have their fiscal amount paid directly from their employer every month. This is called withholding tax. The employer directly pays this tax to the tax authorities in Switzerland. This amount varies from canton to canton and can change annually.
Thanks to the withholding tax calculator, you can easily calculate your tax rate directly online and compare the cheap cantons.