Gratuity Calculator: Formula, Who Can Get It, and Tax Rules

Gratuity amounts to 15 days' pay for every year you work, with a day's pay being your monthly salary ÷ 26. On last wages of ₹30,000 a month (basic + DA), 10 years of service gives ₹1,73,077.

Wages count as at least 50% of total pay under the labour codes.

Length of service

Gratuity due

—

How your gratuity is worked out
Wages a month
For each year (15 ÷ 26 × wages)
Years counted
Gratuity
Tax-free (up to ₹20 lakh)
Taxable as salary

For employees covered by the gratuity law. Your employer may pay more under its own scheme, but not less.

Gratuity by salary and years on the job

Last monthly salary (basic pay + DA) × 15 ÷ 26 × years.

Years of service Wages ₹30,000 a month Wages ₹50,000 a month
5 years ₹86,538 ₹1,44,231
7 years ₹1,21,154 ₹2,01,923
10 years ₹1,73,077 ₹2,88,462
15 years ₹2,59,615 ₹4,32,692
20 years ₹3,46,154 ₹5,76,923

How it's calculated

  1. Wages = your last monthly basic pay plus dearness allowance. If you provide total pay, wages must be at least 50% of that.
  2. Years counted = full years worked, plus an extra year if over six months remain. Your start date and final working day both count.
  3. Gratuity = 15 ÷ 26 × wages × years counted.
  4. You are eligible after 5 complete years of ongoing service, or 1 year on a fixed-term contract. No minimum if employment ends due to death or disablement.
  5. Up to ₹20 lakh of gratuity during your career is tax-free for private-sector workers; the rest gets taxed as salary.

Rules: the Code on Social Security, 2020, one of the laws effective from 21 November 2025. It retains the 15/26 formula from the Payment of Gratuity Act, 1972, and introduces the one-year rule for fixed-term staff and the 50% wage rule.

When to Use the Gratuity Calculator

Use the Gratuity Calculator when you're weighing a job change. It's handy once you have a job offer and are thinking about leaving your current position. You can see what gratuity amount you've earned and might miss if you switch jobs too soon.

The tool fits in once you've applied to roles on IT & Tech Jobs and have offers on the table. It's practical for understanding part of what you'll leave behind. Run the calculator after you receive an offer but before you hand in your notice. That way, you have all the details for your next steps.

Frequently Asked Questions

How do you calculate gratuity?
Gratuity = 15 ÷ 26 × last monthly wages (basic pay + DA) × years of service. For ₹30,000 monthly wages and 10 years of service: 15 ÷ 26 × 30,000 × 10 = ₹1,73,077. The 26 represents the working days in a month, so 15 ÷ 26 × wages equals 15 days' pay per year.
How long do I need to work to be eligible for gratuity?
5 years of continuous service with one employer. From 21 November 2025, under the labour codes, fixed-term workers qualify after 1 year (on ₹30,000 wages, one year gives ₹17,308). If you leave due to death or disablement, there's no minimum service.
Does a service of 7 years and 7 months count as 8 years?
Yes. Any part year over six months counts as a full year, so 7 years 7 months becomes 8 years. For ₹30,000 wages, this is ₹1,38,462 instead of ₹1,21,154 for 7 years. Six months or less does not count: 7 years 6 months remains 7 years.
What are considered wages for calculating gratuity?
Basic pay plus dearness allowance. Labour codes require wages to be no less than 50% of your total pay: if allowances exceed half, the extra counts as wages. With a basic pay of ₹20,000 and a total of ₹60,000 monthly, gratuity is calculated on ₹30,000, giving ₹1,73,077 for 10 years instead of ₹1,15,385.
Is gratuity subject to tax?
Gratuity up to ₹20 lakh is tax-free for private sector employees. This limit includes all gratuities from all employers across your career. Any amount beyond this is taxed as salary in the year you receive it.

More free tools

All free tools →

Looking for a job?