Swiss Source Tax (Quellensteuer) Tariff Code and Withholding Calculator
Answer a few questions about your family and job to get your Quellensteuer code, then enter your canton's rate to see the tax per payslip and per year.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Describe your household
Choose single or married and say whether your spouse works.
- 2Add children and church
Enter the number of children and tick church tax if you are a member.
- 3Mark special cases
Tick cross-border commuter from Germany or second job if they apply.
- 4Enter pay and rate
Type the monthly gross, the number of payments and the rate from the cantonal table.
- 5Read the code and the tax
Check the tariff code, the deduction per payment and the threshold message.
About this tool
Foreign employees without a C permit, and cross-border commuters, usually pay Swiss income tax through source tax: the employer deducts it from each payslip and pays it to the canton. The rate depends on a tariff code printed on your payslip, such as B2Y or C0N. The letter describes your household, the digit is the number of children you support, and Y or N tells whether church tax is included. Each canton publishes its own percentage tables for every code, so the same salary can be taxed quite differently in Geneva and Zug. This tool works out the code from your answers, applies the rate you read from your canton's table, and shows the withholding per payment and per year. It also tells you whether your income is above the 120,000 franc threshold that makes a subsequent ordinary tax assessment mandatory.
Who this is for
People on a B or L permit, cross-border commuters from Germany and other countries, and employers or payroll staff who want to check that the right code is used.
The letters
A is for single people without children. B is for married couples where only one spouse works. C is for married couples where both spouses earn an income. H is for single people who live with children or dependants whose upkeep they mainly pay. D is for an additional job alongside a main job. For cross-border commuters from Germany who meet the special treaty conditions, L, M, N, P and Q replace A, B, C, H and D, and the Swiss tax is capped at 4.5 percent of gross pay. There are further codes for special cases, such as E for the simplified procedure and G for replacement income paid directly by an insurer, which this tool does not choose.
The children digit and church tax
The number after the letter is the number of children for whom you can claim the deduction, from 0 to 9. The final letter is Y if you belong to a church that levies church tax in the canton, and N if you do not. Changing the church status changes the rate in most cantons by a few tenths of a percent.
Ordinary assessment
If your gross income is 120,000 francs or more in a year, the canton carries out a subsequent ordinary assessment and you must file a tax return for that year and the following years. Below the threshold you can ask for one by 31 March of the following year, for example to claim pillar 3a contributions, pension fund buy-ins or high childcare costs. Once chosen, the ordinary assessment stays until the end of source taxation.
Worked example
A married employee whose spouse also works, with two children and church membership, has the code C2Y. With 7,500 francs a month, 13 payments and a rate of 6.5 percent from the cantonal table, the employer deducts 487.50 francs per payment and 6,337.50 francs a year.
Limits
This tool does not hold the 26 cantonal rate tables, so the rate must come from your canton's official table. It is not tax advice.
Worked example
A married employee with a working spouse, two children and church membership is coded C2Y; at 7,500 francs a month and 6.5 percent the deduction is 487.50 francs a payment.
Quick facts
- Category: Money & Tax
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ESTV, source tax (Quellensteuer) tariff codes and the 120,000 CHF threshold (QStV, from 2021)
Frequently asked questions
Where do I find my source tax rate?
Each canton's tax office publishes tables for every tariff code and income band. Your payslip also shows the code and the rate that was applied.
What does C2Y mean?
C means a married person whose spouse also works, 2 means two children, and Y means that church tax is included.
What happens above 120,000 francs?
The canton carries out a subsequent ordinary assessment, so you file a tax return, and the source tax already paid is credited.
Can I file a tax return below the threshold?
Yes. You can ask for an ordinary assessment by 31 March of the following year, and it then applies for the following years too.
Why is the rate capped for German cross-border workers?
Under the tax treaty with Germany, Switzerland may withhold at most 4.5 percent from cross-border commuters who return home every day.
Is my data stored?
No. All answers stay in your browser.
