Gratuity is a lump-sum payment an employer gives an employee as a reward for long-term service. It is calculated using the formula: Last drawn monthly wages (basic pay + dearness allowance), multiplied by 15, divided by 26, and multiplied by years of service, according to Livemint. Here, 15 represents days' wages/year, while 26 represents working days in a month.