Under the Payment of Gratuity Act, 1972.
Capped at ₹20 lakh under current rules. Years of service are rounded to the nearest full year (6+ months rounds up).