MarketHUD

Free calculator · Labour codes

Gratuity Calculator

Work out the gratuity due when you leave a job, under the Code on Social Security that replaced the Payment of Gratuity Act from 21 November 2025, and how much of it is tax-free.

Your service

₹
₹

Gross pay before deductions. Used for the rule that wages can't be less than half of it.

Employer covered by the gratuity law?

Employer type

Gratuity

₹4,75,962

11 years counted

Tax-free

₹4,75,962

Taxable

₹0

What this means

Gratuity is 15 days' wages for each year of service, where a month's wages are divided by 26 working days. With wages of ₹75,000 a month and 11 years counted (your extra months are more than six, so they count as a full year), that is ₹4,75,962.

Your basic pay plus DA is less than half of your total pay, so under the labour codes the wages used are ₹75,000 (half of total pay), not ₹60,000. Without this rule, gratuity would be ₹3,80,769.

Up to ₹20,00,000 of gratuity is tax-free over your working life; anything above that is taxed as salary.

By Rupesh Kumar · Last updated: · How our calculators work

How it's calculated

Gratuity = 15 × W × Y ÷ 26 (employers covered by the law)

W = higher of (basic + DA) and 50% of total pay

Y = completed years, plus 1 if extra months > 6

Gratuity = 15 × A × completed years ÷ 30 (employers not covered)

W
Last drawn monthly wages under the Code on Social Security
A
Average monthly salary over the last 10 months
26
Working days in a month; 15 ÷ 26 of a month's wages is 15 days' pay

Under the labour codes, which came into force on 21 November 2025, 'wages' means basic pay, dearness allowance and retaining allowance. If the allowances left out of wages are more than half of total pay, the excess is added back, so wages can't be less than 50% of total pay.

Worked example

Last basic pay plus DA of ₹60,000 a month, total pay of ₹1,50,000 a month, and 10 years 7 months of service with a covered employer. The 7 extra months count as a full year, so 11 years are used. Half of total pay is ₹75,000, more than basic plus DA, so wages are taken as ₹75,000.

Gratuity = 15 × ₹75,000 × 11 ÷ 26 = about ₹4,75,962. On basic plus DA alone it would have been about ₹3,80,769, so the 50% rule adds about ₹95,193.

Who gets gratuity

  • Permanent employees after five years of continuous service, on resignation, retirement or termination.
  • Fixed-term employees after one year of service under the contract, proportionately, since the labour codes took effect.
  • On death or disablement, gratuity is payable whatever the length of service.
  • Establishments with 10 or more employees are covered by the law. Other employers may pay gratuity under their own policy.

Tax on gratuity

  • Government employees: fully tax-free.
  • Everyone else: tax-free up to ₹20 lakh in total over your working life; any excess is taxed as salary.
  • The law caps gratuity payable by a covered employer at ₹20 lakh. Employers can choose to pay more.

Assumptions and limitations

  • Wages are the last drawn wages when you leave. For service before 21 November 2025, the labour ministry's FAQs say gratuity is paid on wages last drawn under the Code.
  • The 50% rule is applied using the total pay you enter. Employer PF and pension contributions, statutory bonus and some other items are treated differently in the exact calculation.
  • For employers not covered by the law, the calculation uses the pay you enter as the 10-month average.

Frequently asked questions

How is gratuity calculated?
For employers covered by the law: 15 × last monthly wages × years of service ÷ 26, counting any part-year of more than six months as a full year. ₹75,000 wages and 11 years gives about ₹4.76 lakh.
What changed for gratuity under the new labour codes?
From 21 November 2025, wages for gratuity can't be less than half of total pay, which raises gratuity for people with a low basic pay. Fixed-term employees now qualify after one year instead of five.
Do I get gratuity if I leave before 5 years?
Permanent employees usually need five years of continuous service. Fixed-term employees qualify after one year, and the minimum doesn't apply on death or disablement.
How much gratuity is tax-free?
All of it for government employees. For others, up to ₹20 lakh over your working life.

Sources