Quick Answer: An employee covered by statutory gratuity under the Code on Social Security, 2020, with a last-drawn monthly salary of ₹60,000 and 20 years 7 months of service (rounded up to 21 years), is entitled to ₹7,26,923.08 in gratuity, and since that falls below the ₹20,00,000 ceiling, the entire amount is tax-free under Section 19 of the Income-tax Act, 2025.
What does this calculator do?
Gratuity is a lump-sum payment employers make to employees who complete at least 5 years of continuous service, on superannuation, retirement or resignation, or (with the service requirement waived) on death, disablement or the end of a fixed-term contract. Two separate laws govern it. The Code on Social Security, 2020, whose gratuity chapter came into force on 21 November 2025 and repealed the Payment of Gratuity Act, 1972, fixes how much gratuity an eligible employee is owed and caps that amount. Section 19 of the Income-tax Act, 2025, which replaced Section 10(10) of the 1961 Act from Tax Year 2026-27, decides how much of the payout is tax-free. The Code sets the entitlement; the Income-tax Act sets the exemption.
The formula itself did not change when the Code replaced the 1972 Act: 15 days' wages for every completed year of service, with a month counted as 26 working days. The ceiling did not change either. Section 53(3) of the Code says the gratuity payable shall not exceed the amount the Central Government notifies, and Section 164(2)(a) keeps the ₹20,00,000 ceiling notified under the old Act in force until a new figure is notified. None has been.
This calculator computes the 15/26 formula amount (rounding a part-year of service that exceeds 6 months up to a full year, as Section 53(2) requires), caps the statutory payout at ₹20,00,000, and then applies the income-tax exemption test: telling you what the law makes payable, how much of what you actually receive is tax-free, and how much, if any, is added to your taxable salary.
How is this calculated?
Step 1: Formula amount (Section 53(2), Code on Social Security, 2020):
Formula Amount = 15/26 × Last Drawn Monthly Salary × Years of Service
The divisor 26 is the days-in-a-month convention Explanation 3 to Section 53 prescribes for a monthly-rated employee. "Years of service" is rounded: any part-year of service in excess of 6 months rounds up to a full year (so 7 months rounds up; exactly 6 months or fewer does not). If you switch off statutory coverage, the calculator uses 15/30 instead, a common employer-policy convention.
Step 2: Statutory payout (Section 53(3)):
Statutory Gratuity = min(Formula Amount, ₹ 20,00,000)
The cap applies to employees covered by the Code. It does not apply to government employees, whom Explanation 1 to Section 53 excludes, or to employers outside the Code.
Step 3: Amount received. By default the calculator assumes your employer pays exactly the statutory amount. If your employer pays more under its own policy or contract (Section 53(5) preserves better terms), enter that figure in "Gratuity Actually Paid by Employer".
Step 4: Tax exemption (Section 19(1) Table, Income-tax Act, 2025), for a covered, non-government employee (Sl. No. 5):
Exempt Amount = min Gratuity Actually Received; ₹20,00,000 (ceiling); The Formula Amount
Taxable Gratuity = Gratuity Actually Received − Exempt Amount
For a non-covered employee (Sl. No. 6), the third limb is half a month's salary for each completed year of service, with no rounding up of a part-year. Government employees skip the test: Sl. No. 3 exempts their death-cum-retirement gratuity in full, with no ceiling. The exemption works inside the computation of salary income, not as a Chapter VIII deduction, so it applies under both the old and the new tax regime.
Worked Example
Using the calculator's default inputs:
- Last Drawn Monthly Salary (Basic + DA): ₹60,000
- Completed Years of Service: 20 years, plus 7 additional months
- Covered by statutory gratuity: Yes
- Government Employee: No
- Gratuity actually paid: 0 (the statutory amount)
Step by step:
- 7 months exceeds the 6-month threshold, so service rounds up: 20 years → 21 years.
- Formula amount: ₹60,000 × 15 ÷ 26 × 21 = ₹7,26,923.08.
- Statutory payout: below the ₹20,00,000 ceiling, so ₹7,26,923.08 is payable.
- Exemption test: least of (₹7,26,923.08 received, ₹20,00,000 ceiling, ₹7,26,923.08 formula amount) = ₹7,26,923.08.
- Taxable gratuity: ₹0.
Now a higher earner: ₹2,00,000 last-drawn monthly salary and exactly 30 years of service. The formula gives ₹2,00,000 × 15 ÷ 26 × 30 = ₹34,61,538.46, but Section 53(3) caps what the law makes payable at ₹20,00,000. If the employer pays the statutory ₹20,00,000, all of it is tax-free and nothing is taxable.
If that employer instead pays the full ₹34,61,538 under a more generous company scheme, the exemption still stops at ₹20,00,000 and ₹14,61,538 is taxable as salary income in the year of receipt.
What does this calculator not account for?
- The Code's wider definition of wages. Under Section 2(88) of the Code, if the allowances excluded from "wages" exceed half of total remuneration, the excess is added back to wages, which can raise the pay gratuity is worked out on. The calculator uses the Basic + DA you enter as the monthly wage; if your allowances exceed half your pay, enter the higher wage the Code produces.
- Fixed-term employees. The Code waives the five-year minimum on expiry of fixed-term employment and pays gratuity pro rata. The calculator does not test eligibility; it computes the formula for the service you enter.
- The 15/30 formula sometimes used by employers outside the Code. Gratuity paid by a non-covered employer is a matter of policy or contract, not law, and this calculator's "not covered" option uses a common market convention (15/30) rather than a statutory rule.
- Government employees' own gratuity rules. Central and State Government employees receive gratuity under their service rules, not Section 53, with a different formula and ceiling. The calculator applies the 15/26 formula to them as an approximation; only the tax treatment (fully exempt) is exact.
- Seasonal establishments, which the Code treats separately (7 days' wages per season of employment).
- Piece-rated employees, whose daily wage is the average of total wages over the 3 months immediately before termination.
- Multiple gratuity payouts across a career. For non-covered employees, Section 19(2)(a) reduces the ₹20,00,000 limit by gratuity already exempted in earlier tax years; the calculator assumes no earlier exempt gratuity.
- Ten-month average salary. For non-covered employees the tax limb uses the average salary of the ten months before retirement; the calculator uses the last-drawn salary you enter.
What mistakes do people make with this?
- Assuming the formula amount is what you will be paid. Above ₹20,00,000 the law stops. An employer is only obliged to pay the capped figure; anything more depends on its own policy.
- Assuming the entire gratuity payout is automatically tax-free. It is fully exempt only while the amount received stays under both the ₹20,00,000 ceiling and the formula amount. A payout above the statutory amount is taxable on the excess.
- Getting the 6-month rounding rule backwards. Only a part-year exceeding 6 months rounds up; exactly 6 months (or fewer) does not, a distinction that changes the final number for borderline cases.
- Still citing the Payment of Gratuity Act, 1972. That Act was repealed on 21 November 2025. Its formula and ceiling carry on under Section 53 of the Code on Social Security, 2020, but references to "Section 4" are out of date.
- Treating PSU employment as "government employment" for the fully exempt treatment: PSU employees are generally treated as non-government employees, subject to the ₹20,00,000 ceiling.
Frequently Asked Questions
Is gratuity taxable in India?
What is the maximum gratuity amount?
What is the minimum service required to receive gratuity?
How is the 15/26 gratuity formula calculated?
Does the Code on Social Security change the gratuity formula?
What is the current tax-free gratuity limit?
Is gratuity exemption available under the new tax regime?
Can my employer pay me more gratuity than the statutory amount?
Does gratuity get taxed differently if I resign versus if I am terminated?
Sources
- Code on Social Security, 2020 (Act 36 of 2020), Section 53 (payment of gratuity), Section 164 (repeal of the Payment of Gratuity Act, 1972 and savings), India Code text as on 21 November 2025. indiacode.nic.in/bitstream/123456789/16823/1/aA2020-36.pdf
- Income-tax Act, 2025 (Act 30 of 2025), Section 19(1) Table, Sl. Nos. 3, 5 and 6, Gazette of India Extraordinary, 21 August 2025. egazette.gov.in/WriteReadData/2025/265620.pdf
Also consulted: Ministry of Labour and Employment Notification S.O. 1420(E), 29 March 2018 (₹20,00,000 gratuity ceiling); CBDT Notification No. 16/2019, S.O. 1213(E), 8 March 2019 (₹20,00,000 limit for other gratuity).