Kıdem tazminatı nasıl hesaplanır?

Kıdem tazminatı nasıl hesaplanır?