Dear Vasmin,
I would like to request you kindly to go through the entire Code on Social Security, 2020 so that you can clear your doubts not only on gratuity but also on other social security measures like EPF, ESI, etc., on your own.
Anyway, let me answer your query in a nutshell as follows: Chapter V of the CSS, 2020 covers the entire provisions of gratuity under sections 53 to 58. No major changes except proportionate gratuity to fixed-term workers based on the actual length of service rendered. The calculation of gratuity under section 53(2) shall be based on the 'wages' as defined under section 2(88) of the Code. The formula is similar to the present formula of the sum of basic and D.A subject to the proportional addition of other allowances excluded in the case of a shortfall of the sum being less than 50% of the gross monthly wages. A detailed explanation of continuous service has been provided under section 54 of the Code.