Gratuity calculator (India)
Type your last drawn basic + DA and years of service. See the gratuity payable under section 53 of the Code on Social Security, 2020 and how much of it is tax-free.
Applies the Code’s 50% rule to the wages.
Is it taxable?
Leave empty to use the amount above.
Since 21 November 2025 gratuity is paid under section 53 of the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972. The Income-tax Act, 2025 still names the 1972 Act for the exemption of covered employees; this tool uses the same 15/26 formula and ₹20 lakh limit. Not calculated: seasonal workers (7 days a season), piece-rated wages, working journalists (3 years), and forfeiture. Better terms in your contract still apply.
Rates and limits as of 20 November 2026, checked against the official text. Source: Code on Social Security, 2020 (No. 36 of 2020), Gazette of India Extraordinary, 29 September 2020 and the provisions listed below.
This is an estimate, not tax or legal advice. Your employer’s payroll, EPFO, ESIC or your State tax department has the final figure. Check with them or a professional before you rely on it.
Provisions used by this tool
- Code on Social Security, 2020 (No. 36 of 2020), Gazette of India Extraordinary, 29 September 2020: s.53(2) and Explanation 3: 15 days’ wages for every completed year or part above six months; monthly wage ÷ 26 × 15
- Code on Social Security, 2020 (No. 36 of 2020), Gazette of India Extraordinary, 29 September 2020: s.53(1) and second proviso: five years’ continuous service, not needed on death, disablement or end of a fixed-term contract; third proviso to s.53(2): fixed-term pro rata
- Social Security (Central) Rules, 2026, G.S.R. 344(E), 8 May 2026: rule 33(1)(a) second proviso: a fixed-term employee is eligible after at least one year; a further part-year above six months counts as one year
- S.O. 1420(E), 29 March 2018: gratuity not to exceed twenty lakh rupees: S.O. 1420(E): gratuity not to exceed twenty lakh rupees; continued by s.164(2)(a) of the Code until replaced under s.53(3)
- S.O. 5319(E), 21 November 2025: commencement of the Code on Social Security, 2020: Sections 17-141 (including Chapter V, gratuity) and s.164(1) item 6 (repeal of the Payment of Gratuity Act, 1972) in force from 21 November 2025
- Code on Social Security, 2020 (No. 36 of 2020), Gazette of India Extraordinary, 29 September 2020: s.2(88): wages = basic + DA + retaining allowance, with the excess of excluded payments over half of total remuneration added back
- Income-tax Act, 2025 (No. 30 of 2025), Gazette of India Extraordinary, 21 August 2025: s.19(1) Table Sl. No. 5: gratuity under the Payment of Gratuity Act, 1972, up to the amount under its s.4(2)-(3) (15/26 formula, ₹20 lakh ceiling)
- Income-tax Act, 2025 (No. 30 of 2025), Gazette of India Extraordinary, 21 August 2025: s.19(1) Table Sl. No. 6 and s.19(2)(a)-(b): least of gratuity received, the notified limit less earlier exemptions, and half a month’s average salary (last 10 months, basic + DA) for each completed year
- Income-tax Act, 2025 (No. 30 of 2025), Gazette of India Extraordinary, 21 August 2025: s.19(1) Table Sl. No. 3: death-cum-retirement gratuity of Government employees, entire amount
- S.O. 1213(E), 8 March 2019 (Notification 16/2019): ₹20 lakh limit for tax-free gratuity: S.O. 1213(E): ₹20 lakh for retirement, death or termination on or after 29 March 2018; continued under the 2025 Act by its s.536(2)(j)
- Income-tax Act, 2025 (No. 30 of 2025), Gazette of India Extraordinary, 21 August 2025: s.202(2)(a): the new regime withdraws s.19(1) Table Sl. No. 1 only, so these gratuity and leave exemptions apply in both regimes
A new law for an old benefit
For fifty years gratuity was governed by the Payment of Gratuity Act, 1972. On 21 November 2025 that Act was repealed and Chapter V of the Code on Social Security, 2020 took its place. The core formula did not change, but the Code adds fixed-term employees, a wider definition of wages and new procedures under the Social Security (Central) Rules, 2026.
The formula
Gratuity is fifteen days’ wages for each completed year of service. For someone paid monthly, a day’s wage is the last monthly wage divided by 26, so the amount is wages × 15 ÷ 26 × years. A final part year longer than six months counts as a full year: 10 years and 7 months is treated as 11. The total cannot exceed ₹20 lakh, the ceiling notified in 2018 and carried into the Code by its savings clause.
Which wages
Under the Code, wages are basic pay, DA and retaining allowance. When allowances like HRA and conveyance make up more than half of total pay, the excess is added to wages. Someone with a basic of ₹30,000 and total pay of ₹1 lakh would have gratuity worked out on ₹50,000.
Five years, with exceptions
Gratuity normally needs five years of continuous service. That condition does not apply on death or disablement. A fixed-term employee whose contract ends is eligible after one year, with a further part year above six months rounded up.
Tax
Government employees receive it tax-free. For others the Income-tax Act, 2025 exempts the formula amount up to ₹20 lakh where the gratuity law covers them, or, for employers outside it, half a month’s average salary for each completed year, again within ₹20 lakh over a lifetime. The rest is taxed as salary, in either regime.
Not covered
Seasonal establishments, piece-rated pay, working journalists and forfeiture for misconduct are not modelled. A contract or award that pays more still applies. On leaving, also check your leave encashment.
How to use it
- Type your last drawn basic pay + DA, and your total pay if allowances are large.
- Type the completed years and extra months of service.
- Choose why the job ends: resignation, end of a fixed term, or death or disablement.
- Read the gratuity and, below, the tax-free and taxable parts.
Privacy: how it works
Everything is calculated in your browser. The amounts you type are not sent to any server and are not stored.
Official sources
Rates and limits come from the Code on Social Security, 2020, the Employees' Provident Funds Scheme, 2026, the Social Security (Central) Rules, 2026 and notifications in the Gazette of India, from EPFO and ESIC, from State tax departments for professional tax, and from the Income-tax Act, 2025 for tax (links in the box under the tool). DoItJag is not affiliated with any of them.
Frequently asked questions
What is the gratuity formula?
Monthly wages ÷ 26 × 15 × years of service, counting a part year above six months as a full year, up to ₹20 lakh. Wages are basic + DA, plus any part of the allowances above half of total pay under the new Code.
Do I get gratuity before five years?
Only on death or disablement, or at the end of a fixed-term contract after at least one year of service. Otherwise five years of continuous service are needed.
Is the Payment of Gratuity Act still in force?
No. It was repealed when the Code on Social Security, 2020 came into force on 21 November 2025. The formula and the ₹20 lakh ceiling carry on under section 53 of the Code.
Related tools
- Leave encashment calculator (India)
- PF and ESI contribution calculator
- In-hand salary calculator (India)
- Date Difference Calculator