| Formula | wages × 15 × years ÷ 26 |
| Working | ₹30,000 × 15 × 8 ÷ 26 |
| Calculated amount | ₹1,38,462 |
| Payable, after the ceiling | ₹1,38,462 |
Doing this for 50 or 500 employees every month?
Ankastra computes gratuity on eligible service and includes it in full and final settlement.
The gratuity formula
Gratuity = last drawn monthly wages × 15 × years of service ÷ 26. Wages means basic pay plus dearness allowance. It pays 15 days' wages for each year of service on a 26 day working month, and a final part year of more than six months counts as a full year.
What changed under the Code on Social Security
- Fixed-term employees become eligible after one year of service, rather than five
- The ₹20 lakh ceiling continues
- Wages are defined by the Code on Wages: if allowances outside basic pay and DA exceed half of total pay, the excess is added back to wages, which can raise gratuity. This calculator uses the wages you enter.
Worked examples
| Basic + DA | Service | Years counted | Gratuity |
|---|---|---|---|
| ₹25,000 | 5 years 2 months | 5 | ₹72,115 |
| ₹30,000 | 7 years 8 months | 8 | ₹1,38,462 |
| ₹45,000 | 12 years 6 months | 12 | ₹3,11,538 |
| ₹60,000 | 20 years 7 months | 21 | ₹7,26,923 |
Seven months rounds up a year; six months does not.
Questions people ask
After how many years is gratuity payable?
After five years of continuous service, or one year for fixed-term employees under the Code on Social Security. It is also payable on death or disablement regardless of service.
Does six months of service count as a year?
No. A final part year counts as a full year only when it is more than six months.
What is the maximum gratuity?
₹20 lakh.
Sources
Every figure on this page comes from the sources below. Rules change, so check the effective date against the current notification before running payroll.
- Code on Social Security, 2020: gratuity, including one year eligibility for fixed-term employees (Mondaq comparison of old and new law)
- Gratuity under the Labour Codes, Lakshmikumaran and Sridharan
- Code on Social Security, 2020: section 53, payment of gratuity (bare act text) (secondary reproduction of the Act)
- The Kanal: Labour Ministry confirms the gratuity ceiling of ₹20 lakh (August 2026)