Skip to content
Free payroll tool

Gratuity calculator

Enter last drawn basic pay plus DA and your length of service to calculate gratuity with the 15/26 formula. Gratuity becomes payable after five years of continuous service, or one year for fixed-term employees under the Code on Social Security, and is capped at ₹20 lakh.

Gratuity₹1,38,462
Years counted8
Formulawages × 15 × years ÷ 26
Working₹30,000 × 15 × 8 ÷ 26
Calculated amount₹1,38,462
Payable, after the ceiling₹1,38,462

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 + DAServiceYears countedGratuity
₹25,0005 years 2 months5₹72,115
₹30,0007 years 8 months8₹1,38,462
₹45,00012 years 6 months12₹3,11,538
₹60,00020 years 7 months21₹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.

  1. Code on Social Security, 2020: gratuity, including one year eligibility for fixed-term employees (Mondaq comparison of old and new law)
  2. Gratuity under the Labour Codes, Lakshmikumaran and Sridharan
  3. Code on Social Security, 2020: section 53, payment of gratuity (bare act text) (secondary reproduction of the Act)
  4. The Kanal: Labour Ministry confirms the gratuity ceiling of ₹20 lakh (August 2026)

See it run on your own attendance data

A 30 minute walkthrough on your shifts, your devices and your payroll rules. 14 day free trial, no credit card.

Call or WhatsApp +91 70101 10805