What is gratuity?
Gratuity is a lump sum your employer pays when you leave, retire or are laid off after a minimum period of service. It rewards long service and is paid on top of your final salary and leave encashment. This calculator estimates the amount from your last monthly basic pay plus dearness allowance (DA) and your years of service.
Gratuity formula
For employers covered by the gratuity law (generally those with 10 or more employees):
Gratuity = Last monthly wages × 15 × Years of service ÷ 26
15 stands for 15 days of wages for each year, and 26 for the working days in a month. A part year of more than six months counts as a full year, so 10 years and 7 months counts as 11 years.
If your employer is not covered, many employers still pay gratuity using a slightly lower formula: last wages × 15 × completed years ÷ 30, without rounding up part years.
What changed with the labour codes
The Code on Social Security, 2020 came into force on 21 November 2025. The formula is the same, but two things changed:
- Fixed-term employees now qualify for gratuity after one year of continuous service. Permanent employees still need five years, except on death or disability.
- Wider definition of wages. Wages are basic pay plus DA, but if your allowances are more than 50% of your total pay, the excess is added back. So if your basic is only 35% of your pay, gratuity is worked out on 50% instead.
Worked examples
| Case | Wages | Years counted | Gratuity |
|---|---|---|---|
| 10 years 7 months, basic + DA ₹40,000 | ₹40,000 | 11 | ₹2,53,846 |
| 5 years 4 months, basic + DA ₹40,000 | ₹40,000 | 5 | ₹1,15,385 |
| 5 years, basic ₹35,000 of ₹1,00,000 total pay | ₹50,000 (50% rule) | 5 | ₹1,44,231 |
| Not covered, 10 years, ₹40,000 (÷30 formula) | ₹40,000 | 10 | ₹2,00,000 |
The third row shows the effect of the 50% rule: on basic pay alone the gratuity would be ₹1,00,962, about ₹43,000 less.
Is gratuity taxable?
- Government employees: fully tax-free.
- Private sector employees: tax-free up to the lowest of ₹20 lakh, the amount actually received, and the amount by the formula. Anything above that is taxed at your slab rate.
- The law also caps the gratuity an employer must pay at ₹20 lakh, though an employer can choose to pay more.
This is an estimate. Your employer's policy, how your pay is structured and the final rules under the labour codes decide the actual amount. Check your offer letter or HR policy, and ask a chartered accountant about tax.
Frequently asked questions
How is gratuity calculated?
For covered employers: last monthly basic + DA × 15 × years of service ÷ 26. A part year of more than six months counts as a full year.
After how many years do I get gratuity?
Permanent employees need five years of continuous service. Since 21 November 2025, fixed-term employees qualify after one year.
Is gratuity tax-free?
For private-sector employees, up to ₹20 lakh in total is tax-free. Government employees' gratuity is fully tax-free.
Does the labour code change my gratuity?
The formula is the same, but if allowances are more than half of your pay, the excess is added to wages, which can raise your gratuity.
When must the employer pay gratuity?
Within 30 days of it becoming payable. A delay can attract interest.