As per the Act, Gratuity is payable on completion of 5 years of continuous services. That means that there should not be any loss of pay (that may be due to suspension/ absenteeism etc.).
Many companies count mini 5 years, i.e. only on completion of 5 years. Few companies, who thinks/ care for employees, also consider if any employee had completed mini 4.6 years of service or had completed 240 days in 5th year, that too if there should be no loss of pay in first four years or in firth year.
If any employee retires (officially as per date of birth) even before completing 5 years of services, then gratuity is payable considering that the respective employee had completed 5 years of services. Say for example, if the retirement age in company is 58 years and company hires any candidate at the age of 54 years. Employee gets retired after 4 years of service with the company. Then also in this case the employee is eligible for gratuity. But, this is not applicable in case of resignation.
There are few smart companies that will retire an employee after attaining the age of retirement and continues the services as Consultant/ Adviser. In these cases, the gratuity is applicable till the end of service/ association with the company and not till the age of retirement, as it is counted as continuous services. However, if there was considerable gap before rehiring the candidate, then gratuity is not payable.
In case of a death of an employee, the gratuity is payable calculating for the period worked with the company and for the remaining years of services considering that the employee was to work till retirement with the same company.
Thanks.