The gratuity formula
For a company with 10 or more employees, gratuity = last drawn basic + DA × 15 ÷ 26 × years of service. The 15 stands for 15 days of pay for each year. The 26 is the number of working days in a month.
Example: basic + DA of ₹30,000 and 7 years 8 months of service. The 8 months is more than 6, so it counts as a full year. ₹30,000 × 15 ÷ 26 × 8 = ₹1,38,462.
A company with fewer than 10 employees does not have to pay gratuity by law. Many pay it anyway as company policy. They usually give half a month of pay for each completed year: average basic + DA of the last 10 months × 15 ÷ 30 × completed years.
Who gets gratuity
Under the Code on Social Security, 2020, an employer pays gratuity to:
- A permanent employee with 5 years of continuous service, when they resign, retire or are let go
- A fixed-term employee with 1 year of service, paid pro rata for the time worked
- The nominee or family of an employee who dies, with no minimum service
- An employee who has to leave because of a disability, with no minimum service
What changed with the labour codes
The four labour codes came into force on 21 November 2025. Two changes matter for gratuity.
First, fixed-term employees now get gratuity after 1 year instead of 5. Second, wages have one meaning across all the codes. Wages are basic pay, DA and retaining allowance. If allowances such as HRA and conveyance are more than half of total pay, the extra counts as wages. So a low basic no longer means a low gratuity.
The Ministry of Labour says the new meaning of wages applies to anyone who leaves on or after 21 November 2025, for all their years of service. Fill in "Total monthly pay" in the calculator to apply this rule.
Tax on gratuity
For private sector employees, gratuity is tax-free up to ₹20 lakh in total over a working life. Any amount above that is taxed as salary. Gratuity paid to central and state government employees is fully tax-free.
The law also sets ₹20 lakh as the most an employer has to pay. A company can choose to pay more. Gratuity is due within 30 days of the date it becomes payable, which is usually the last working day.
Work out the PF a leaver can withdraw