Advertisement
Namecheap VPS hosting

Gratuity calculator

Find out how much gratuity you will get when you leave a job, retire or move on. Enter your last basic pay plus DA and your length of service, either as years and months or as your joining and leaving dates. The calculator applies the 15/26 formula, the rule that more than six months counts as a full year, the 1-year eligibility for fixed-term staff under the new labour codes, and shows how much is tax-free.

Is your employer covered by the Gratuity Act?
Most companies with 10 or more employees are covered.
Type of job
Use your last drawn basic salary plus dearness allowance.
Checks the 50% wage rule of the new labour codes.
Length of service
₹0 Gratuity
Service counted
Wages used
Formula
Tax-free part (private job)

Advertisement
Namecheap VPS hosting

How to use the gratuity calculator

  1. Choose whether your employer is covered by the Gratuity Act. Most firms with 10 or more employees are.
  2. Choose permanent or fixed-term, and the reason for leaving.
  3. Enter your last monthly basic pay + DA. Optionally add your total monthly pay to check the 50% wage rule.
  4. Enter your service as years and months, or as your joining and last working dates.
  5. Read your gratuity, the service counted and the tax-free part.

How it works

If your employer is covered by the Act:

Gratuity = last basic + DA × 15 ÷ 26 × years of service

  • 15 stands for 15 days' wages for each year of service.
  • 26 is the number of working days in a month.
  • A part of a year above six months counts as a full year. So 10 years 7 months counts as 11 years, but 10 years 5 months counts as 10.

If your employer is not covered:

Gratuity = average basic + DA of the last 10 months × 15 ÷ 30 × completed years

Here only completed years count.

Who is eligible

EmployeeMinimum service
Permanent5 years
Fixed-term (under the labour codes in force since November 2025)1 year
Death or disablementNo minimum

The 50% wage rule: under the new labour codes, if allowances other than basic and DA come to more than half of your total pay, the excess is added back to wages. In practice, wages for gratuity are at least 50% of your total pay. Enter your total monthly pay to apply this.

Tax: for government employees, all gratuity is tax-free. For private employees, the tax-free part is the lowest of the actual gratuity, the formula amount and ₹20 lakh over your whole working life.

Example

Last basic + DA of ₹40,000, 10 years 7 months in a covered company:

  • Service counted: 11 years (7 months is more than six)
  • Gratuity = 40,000 × 15 ÷ 26 × 11 = ₹2,53,846
  • All of it is tax-free, because it is under ₹20 lakh.

With 10 years 5 months, only 10 years count: 40,000 × 15 ÷ 26 × 10 = ₹2,30,769.

Frequently asked questions

What is the formula for gratuity?

For employers covered by the Gratuity Act: last basic + DA × 15/26 × years of service. For employers not covered: average basic + DA of the last 10 months × 15/30 × completed years.

How many years do I need to work to get gratuity?

Permanent employees need 5 years of continuous service. Fixed-term employees need just 1 year under the labour codes that came into force in November 2025. There is no minimum if the employee dies or becomes disabled.

Does 4 years 7 months count for gratuity?

Not for a permanent employee under the normal 5-year rule; rounding up only works out the amount once you are eligible. Some courts have counted 4 years and 240 working days as 5 years, so check with your employer or HR if you are close.

How much gratuity is tax-free?

All gratuity is tax-free for government employees. For private employees, up to ₹20 lakh in total over your career is tax-free; anything above is taxed as salary income.

What is the maximum gratuity I can get?

Under the law, employers only have to pay up to ₹20 lakh. Some employers pay more under their own policy, but the amount above ₹20 lakh is taxable.

Last updated: 29 October 2026