Gratuity calculator
Work out the gratuity your employer owes you when you leave, under the Code on Social Security that replaced the Payment of Gratuity Act on 21 November 2025. Enter your last basic pay plus DA and your years of service. The calculator also checks the five-year rule and shows how much is tax-free.
How gratuity is calculated
Gratuity = last drawn monthly wages × 15 ÷ 26 × years of service. The law gives 15 days' wages for each year, and treats a month as 26 working days. Wages means basic pay plus dearness allowance (and retaining allowance, if any). The total is capped at ₹20,00,000.
Years of service are completed years, plus one more if the part year is more than six months. With ₹50,000 a month in basic pay and DA, 15 days' wages are ₹28,846 (₹50,000 ÷ 26 × 15). For 10 years 7 months of service, the law counts 11 years, so gratuity is ₹3,17,308. For 10 years and exactly 6 months, it counts 10 years and pays ₹2,88,462.
Gratuity for common salaries
The amounts below assume whole years of service and wages that already meet the 50% rule. An asterisk marks the ₹20,00,000 cap. At ₹1 lakh a month in basic pay and DA, the cap is reached after 35 years.
| Basic pay + DA a month | 5 years | 10 years | 15 years | 20 years | 25 years | 30 years |
|---|---|---|---|---|---|---|
| ₹25,000 | ₹72,115 | ₹1,44,231 | ₹2,16,346 | ₹2,88,462 | ₹3,60,577 | ₹4,32,692 |
| ₹50,000 | ₹1,44,231 | ₹2,88,462 | ₹4,32,692 | ₹5,76,923 | ₹7,21,154 | ₹8,65,385 |
| ₹75,000 | ₹2,16,346 | ₹4,32,692 | ₹6,49,038 | ₹8,65,385 | ₹10,81,731 | ₹12,98,077 |
| ₹1,00,000 | ₹2,88,462 | ₹5,76,923 | ₹8,65,385 | ₹11,53,846 | ₹14,42,308 | ₹17,30,769 |
| ₹1,50,000 | ₹4,32,692 | ₹8,65,385 | ₹12,98,077 | ₹17,30,769 | ₹20,00,000* | ₹20,00,000* |
Who gets gratuity
- Your employer must be covered. The gratuity chapter of the Code applies to every factory, mine, plantation, port and railway company, and to every shop or establishment with 10 or more employees on any day in the last 12 months.
- You need five years of continuous service when you resign, retire or your job is ended.
- The five-year condition does not apply on death or disablement, or when a fixed-term contract ends. Fixed-term employees get gratuity pro rata; the government says they become eligible after one year. This applies from 21 November 2025.
- On death, gratuity goes to your nominee, or to your legal heirs if there is no nomination.
The 50% wage rule
Since 21 November 2025, one definition of wages applies to gratuity, PF and the other labour laws. Basic pay, DA and retaining allowance are wages. If the allowances counted in the test add up to more than half of your total pay, the excess is added to wages. The Ministry of Labour gives this example: total pay of ₹76,000 a month, basic pay and DA of ₹20,000, allowances of ₹40,000 and ₹16,000 of pay left out of the test. Half of ₹76,000 is ₹38,000, so ₹2,000 is added and gratuity is worked out on ₹22,000.
For a salary of ₹1,00,000 a month with a basic pay of ₹25,000, wages for gratuity become ₹50,000. Over 8 years that is ₹2,30,769 in gratuity, against ₹1,15,385 on basic pay alone. Enter your total monthly pay above to apply the rule. Employers may differ on which items count in the test, so check your payslip with HR.
Tax on gratuity
Gratuity is part of salary, but a large part is tax-free under section 19 of the Income-tax Act, 2025. The exemption applies in both the old and new tax regimes.
- Central and state government employees: all of it is tax-free.
- Employees covered by the gratuity law: the amount worked out under the law is tax-free, up to ₹20,00,000. Anything extra your employer pays is taxed as salary.
- Employees not covered: the lowest of the gratuity received, ₹20,00,000, and half a month's average salary (basic pay plus DA over the last 10 months) for each completed year. Part years are ignored here.
The ₹20,00,000 is a lifetime limit across all employers. If ₹5,00,000 was tax-free when you left an earlier job, only ₹15,00,000 more can be tax-free later. For example, an employee who is not covered, earns ₹50,000 a month and receives ₹3,17,308 after 10 years 7 months gets ₹2,50,000 tax-free (₹50,000 ÷ 2 × 10 years) and pays tax on ₹67,308. To see the tax on the taxable part, add it to your salary in the old vs new tax regime calculator.
Section 19 of the Income-tax Act, 2025 still refers to the Payment of Gratuity Act, 1972, which the Code on Social Security replaced. This calculator treats gratuity under the Code the same way. Government employees' gratuity follows their pension rules, not this formula. Figures are rounded to the rupee for display.
Planning with your gratuity
Gratuity often arrives with your PF balance when you retire. To see how long the two together can pay a monthly income, try the SWP calculator. To check whether they cover your retirement, see whether ₹1 crore is enough to retire in India.
Questions people ask
How is gratuity calculated?
Gratuity = last drawn monthly wages × 15 ÷ 26 × years of service. Wages means basic pay plus dearness allowance. A part year of more than six months counts as a full year. The total cannot exceed ₹20,00,000. On ₹50,000 a month and 10 years 7 months of service, gratuity is ₹3,17,308.
Is 4 years and 8 months enough for gratuity?
Not on resignation, on the text of the law. Section 53 of the Code on Social Security needs five years of continuous service when you resign or your job ends. The six-month rounding only applies to the amount once you are eligible. The five-year condition does not apply on death, disablement, or the end of a fixed-term contract. If you are close to five years, ask your employer how it counts your service; section 54 of the Code sets out which absences and breaks still count as continuous service.
Do fixed-term employees get gratuity?
Yes. Under the Code, gratuity is due when a fixed-term contract ends, on a pro rata basis, without the five-year condition. The government's explainer on the Code says fixed-term employees become eligible after one year of continuous service. This applies from 21 November 2025, when the Code came into force, and not to earlier years.
How much gratuity is tax-free?
For employees covered by the gratuity law, the amount worked out under the law is tax-free, up to ₹20,00,000 in a lifetime across all employers. Anything your employer pays above that is taxed as salary. If your employer is not covered, the tax-free part is the lowest of what you receive, ₹20,00,000, and half a month's average salary for each completed year. Government employees' gratuity is fully tax-free. The exemption applies in both the old and new tax regimes.
Did the new labour codes change my gratuity?
The formula is the same: 15 days' wages for each year. What changed is the meaning of wages. If your allowances are more than half of your total pay, the excess now counts as wages, which raises gratuity for people with a low basic pay. Fixed-term employees also became eligible without five years of service.
Sources: Ministry of Labour and Employment: FAQs on Labour Codes (gratuity, wages and the 50% rule), Jan 2026; The Code on Social Security, 2020, sections 2(34), 2(88), 53 and 54 and the First Schedule (India Code); PIB: Code on Social Security, 2020, gratuity for fixed-term employees, 22 Nov 2025; Income Tax Department: Income-tax Act, 2025, section 19 (Table, Sl. No. 3 to 6, and sub-section (2)); Income Tax Department: Income-tax Act, 2025, section 202 (new tax regime); Income Tax Department: gratuity tax-free limit raised to ₹20 lakh (S.O. 1420(E), 29 Mar 2018 and S.O. 1213(E), 8 Mar 2019).