Severance pay is due if the employer gives notice (unless the reason is your conduct or a lack of ability not caused by health), if the employer ceases without a legal successor, or if you quit with immediate effect because the employer seriously breached its duties (Mt. 77–78).
How much?
It depends on the years at the employer: 1 month's absence fee after 3 years, 2 after 5, 3 after 10, 4 after 15, 5 after 20 and 6 after 25 years. If the employment ends within five years before the old-age pension age, 1–3 months more are due.
When it is not due
When you resign, when you part by mutual agreement (unless you negotiate it), when employment ends during probation, and if you already receive an old-age pension.
Work out yours with the notice period and severance calculator.