What the Gratuity Calculator (India) does
This gratuity calculator works out the gratuity due under the Code on Social Security, 2020, in force from 21 November 2025: 15 days' wages for every completed year of service, or part over six months, at 15/26 of your last monthly basic pay plus DA, capped at ₹20 lakh, with the 1-year rule for fixed-term employees and the tax-free part.
The Code also changed what counts as wages: if allowances are more than half of your total pay, the excess is added back to wages, which raises gratuity for people with a low basic salary. The calculator applies that rule, checks eligibility, counts your service exactly from the dates and splits the amount into tax-free and taxable parts. It runs in your browser.
How to use it
- Enter your date of joining and last working day, the reason for leaving, and whether you were a fixed-term employee.
- Enter your last monthly basic pay plus dearness allowance (and retaining allowance, if any).
- Optionally enter your total monthly pay including all allowances, so the 50% wages rule can be applied.
- Open the tax section to say whether your employer is covered by the gratuity law, whether you are a government employee, and the amount actually received.
- Read the gratuity, the years counted and how much of it is tax-free.
Reading the results
Gratuity is paid for each completed year of service; a final part year counts as a full year if it is more than six months.
Employees normally need five years of continuous service, but not on death or disablement; fixed-term employees qualify after one year on a pro rata basis.
For employees of covered employers, the tax-free part is the lowest of the gratuity received, ₹20 lakh and the formula amount; government employees' gratuity is fully exempt.
Worked example: 10 years 6 months 14 days of service, basic + DA ₹50,000 a month
Service from 1 April 2016 to 15 October 2026 is 10 completed years and a part year of more than six months, so 11 years are counted.
Gratuity = ₹50,000 x 15 / 26 x 11 = ₹3,17,308 (rounded), well within the ₹20 lakh ceiling, and all of it is tax-free for an employee of a covered employer.
If the same person had basic + DA of ₹30,000 but total pay of ₹80,000, wages would be raised to ₹40,000 by the 50% rule. Load the examples to compare.
Formulas and scoring rules
- Gratuity
gratuity = monthly wages x 15 / 26 x years counted, capped at ₹20,00,000- Years counted
completed years + 1 if the remaining part is more than six months- Wages
wages = basic + DA + retaining allowance; if other allowances exceed 50% of total pay, wages = 50% of total pay- Tax-free part
covered employer: least of (received, ₹20 lakh, formula); not covered: least of (received, ₹20 lakh, 1/2 x average monthly salary x completed years)
India: the Code on Social Security, 2020
The four Labour Codes came into force on 21 November 2025, and the Code on Social Security replaced the Payment of Gratuity Act, 1972. The formula of 15 days' wages per year and the ₹20 lakh ceiling continue; what changed is the uniform definition of wages, with allowances above 50% of pay added back, and gratuity for fixed-term employees after one year of service.
The employer must pay gratuity within 30 days of it becoming payable. If it does not, you can apply to the controlling authority under the Code.
Tax on gratuity
Gratuity is taxed as salary, with an exemption for the amount described above. Government employees' gratuity is fully exempt. Any taxable part is added to your income for the year you receive it; relief for arrears or lump sums may be available when filing.
Limitations: what the result does not prove
- It does not cover seasonal establishments (7 days' wages a year), employer schemes more generous than the law, or court rulings on counting 240 days in the fifth year.
- For non-covered employers, the average salary of the last 10 months is approximated by your current wages.
- It is an estimate, not legal or tax advice. Your HR department or a labour law adviser can confirm the amount.
Privacy: where your data goes
Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics. Session recording and tag-manager scripts are switched off on this page.
Standards and sources
- Ministry of Labour and Employment - FAQs on the Code on Social Security, 2020 (gratuity)
- PIB - Labour Codes come into force
- Income-tax Act, 2025 - Gazette of India
Frequently asked questions
How is gratuity calculated under the new labour code?
Gratuity is 15 days' wages for each completed year of service, or part over six months, worked out as last monthly wages x 15 / 26 x years, capped at ₹20 lakh.
Is gratuity payable after one year of service?
For fixed-term employees, yes, on a pro rata basis under the Code on Social Security; permanent employees still need five years except on death or disablement.
What is the 50% wages rule for gratuity?
If allowances other than basic, DA and retaining allowance are more than half of your total pay, the excess is added to wages, so gratuity is worked out on at least half of total pay.
Is gratuity taxable in India?
Government employees' gratuity is fully exempt; for others the lowest of the amount received, ₹20 lakh and the formula amount is tax-free and the rest is taxed as salary.
Does 4 years and 7 months count as 5 years for gratuity?
A part year over six months counts as a full year once you are eligible, but eligibility needs five years of continuous service; some courts have accepted 4 years and 240 days, so check your case.
What is the maximum gratuity amount?
The ceiling under the law is ₹20,00,000; an employer can pay more under its own scheme, but the tax-free limit for non-government employees is also ₹20 lakh.
Last reviewed by the A2Z.Tools team against the sources listed above.