Gratuity
The amount your employer owes under the Code on Social Security, whether you qualify yet, and how much of it is tax-free. The formula is fixed by law, and every step is shown below.
Your job
Employer
HRA, special allowance and the like. Only matters if they are more than half your pay.
Time in the job
Why the job ends
For the tax split. Some employers pay more than the law requires.
The ₹20 lakh tax-free limit is for a whole working life.
How it is worked
- Basic and DA
- ₹60,000
- Wages for gratuity
- ₹60,000
- 15 days' wagesA month is 26 working days
- ₹34,615
- Years countedA part year counts if it's over six months
- 8
- Gratuity by formula
- ₹2,76,923
- Tax-freeLeast of what you get, the formula, and what's left of ₹20 lakh
- ₹2,76,923
- Taxed as salary
- ₹0
Central and state government employees have their own gratuity rules, and their gratuity is fully tax-free. Rupees are rounded to the nearest one.
What the labour codes changed
Since 21 November 2025, gratuity comes from the Code on Social Security rather than the 1972 Act. The formula, the rounding and the cap stayed. Two things moved. Fixed-term employees now qualify after one year instead of five. And “wages” changed: if HRA and other excluded allowances are more than half your pay, the excess is added back.
That matters most to anyone with a low basic. On pay of ₹1 lakh a month with ₹30,000 basic, ten years used to earn ₹1,73,077. Under the Code, wages count as ₹50,000 and the same ten years earn ₹2,88,462.
Smaller employers
A business with fewer than ten employees isn’t bound by the Code, so gratuity there is whatever the contract promises. If it is paid, the tax-free part uses its own formula: half a month’s average salary over the last ten months, for each completed year, with part years ignored.
Common questions
What is the gratuity formula?
Last month's wages × 15 ÷ 26 × years of service. Fifteen days' pay for each year, with a month counted as 26 working days. On ₹50,000 of basic and DA after 10 years, that is ₹2,88,462.
Do I get gratuity before five years?
Not if you resign or retire, under the general rule. The five years are waived if the job ends through death or disablement, and fixed-term employees now qualify after one year. Some courts have counted 240 days worked in the fifth year as enough; this calculator asks for five full years.
Does a part year count?
Only if it is more than six months. Nine years and six months counts as nine (₹2,59,615), but nine years, six months and a day counts as ten (₹2,88,462).
Is there a maximum?
₹20 lakh, set in 2018 and carried into the Code on Social Security. An employer may pay more, but the extra is taxed.
How much gratuity is tax-free?
For private-sector employees, the least of what you receive, the formula amount and ₹20 lakh. The ₹20 lakh is a lifetime limit across employers. The exemption applies in both tax regimes. Gratuity paid while you are still in the job is fully taxed, and government employees' gratuity is fully tax-free.
Figures computed from the same functions as the calculator above. Rounded to the nearest rupee. Not legal advice.
More from Khaata
- CTC to in-hand salary calculatorWhat a CTC offer actually puts in your bank each month, with every deduction shown.
- Old vs new tax regime calculatorYour tax for 2026-27 under both regimes, line by line, and which one saves more.
- FD and RD calculatorMaturity value with quarterly compounding, the TDS your bank takes, and what you keep after tax.
- Emergency fund checkHow many months your emergency fund actually covers.