Gratuity calculator under the labour codes
Gratuity is 15 days' wages for each year of service, worked out on your last drawn wages. Enter your service and pay to see your gratuity and how much of it is tax-free.
Loading the tool…
How it works
- Choose permanent or fixed-term employment.
- Enter your years and months of continuous service. More than six months in the final year counts as a full year.
- Enter your last drawn monthly basic pay and dearness allowance. If you know your total monthly pay, enter it too: the calculator applies the 50% wages rule and shows whether your wages for gratuity should be higher than your basic.
- The result shows the gratuity due, whether the ₹20 lakh ceiling applies, and the tax-free portion.
The rules used
- Formula: 15 days' wages for every completed year of service, with a monthly wage divided by 26.
- Eligibility: five years of continuous service for permanent employees; one year for fixed-term employees, under the Code on Social Security, 2020, in force from 21 November 2025. The one-year rule applies to fixed-term employees on contracts from that date.
- Ceiling: ₹20 lakh, which is also the tax exemption limit for private-sector employees.
- Payment: the employer must pay within 30 days of it becoming due.
This is an estimate for planning. Your employer's gratuity trust or insurance policy, and the precise definition of wages in your pay structure, decide the final figure.
Questions
What is the gratuity formula?
Last drawn monthly wages × 15 × years of service ÷ 26. Wages means basic pay plus dearness allowance (and retaining allowance, if any). A part-year of more than six months counts as a full year.
Who is eligible?
Permanent employees after five years of continuous service (shorter on death or disablement). Under the Code on Social Security, in force since 21 November 2025, fixed-term employees qualify after one year, pro rata.
What is the 50% wages rule?
The labour codes say that if allowances and other excluded pay make up more than half of total pay, the excess is added back to wages. If your basic is a small share of your pay, your gratuity may be worked out on a higher wage figure than your basic.
How much gratuity is tax-free?
For private-sector employees, up to ₹20 lakh over your career, and no more than the formula amount. Anything above is taxed as salary. Gratuity itself is capped at ₹20 lakh unless your employer pays more voluntarily.
Use next
All tools →Full and final settlement
What your exit settlement should contain: salary, leave encashment, gratuity, bonus, recoveries.
FreeCTC to in-hand salary
Monthly take-home pay from your CTC, new or old tax regime, with PF, gratuity and professional tax.
FreeNotice period and buyout
Last working day from your resignation date, and what a notice buyout would cost.
FreeRelated guides
All guides →Gratuity rules in India: eligibility, formula and tax
Gratuity under the Code on Social Security: eligibility, the 15/26 formula, the one-year rule for fixed-term staff, the ₹20 lakh limit, tax and an example.
Read the guide →Pay and employment rulesLabour codes and salary structure: the 50% wages rule
How the labour codes in force since November 2025 affect salary structures: the definition of wages, the 50% rule, and the effect on PF, gratuity and pay.
Read the guide →Pay and employment rulesFull and final settlement rules in 2026
What goes into a full and final settlement: the two-working-day rule under the Code on Wages, gratuity timing, leave encashment, recoveries, documents.
Read the guide →