Gratuity Calculator

Gratuity under the Code on Social Security, 2020, from the actual dates of service, for regular and fixed-term employees, with every step shown.

1

Service

2

Wages

Basic pay, DA, retaining allowance and other pay not excluded by the Code.
Work out wages with the 50% rule
Type amounts as a sum with + and -, for example 20000+3000-500. Excluded items: HRA, conveyance, bonus, overtime, commission, employer PF and NPS.
More options (optional)
Paid leave, lay-off and maternity leave count as days worked under section 54. Enter only other unpaid absences in the final year.

⚖ Gratuity Result

Enter the dates and wages, then select Calculate Gratuity.
📅

Who qualifies

Regular employees after 5 years of continuous service; fixed-term employees after 1 year under the contract; no minimum on death or disablement.

🧮

The formula

Wages × 15 ÷ 26 × years. A final part-year of more than six months counts as a full year. Maximum Rs. 20 lakh.

⏳

The 240-day rule

A year of service is 240 days worked, or 190 in a five-day establishment (section 54), so 4 years and 240 days counts as 5.

💰

Which wages

For exits from 21 November 2025, wages under the Code, with the excess added back when excluded allowances are over half of pay.

Worked example - 4 years 9 months, wages Rs. 45,000

A regular employee joins on 1 March 2021 and leaves on 15 December 2025, with monthly wages of Rs. 45,000 in a covered establishment and no unpaid days.

Eligibility

Service is 4 years, 9 months and 15 days. The fifth year, from 1 March 2025 to 15 December 2025, has 290 days, more than 240, so service counts as 5 years under section 54.

Gratuity

Rs. 45,000 × 15 ÷ 26 × 5 = Rs. 1,29,808. Well under Rs. 20 lakh, and for a private employer the whole amount is within the formula, so it is fully tax-exempt.

Without the 240-day rule this employee would have 4 complete years and no gratuity.

Common mistakes

Counting only complete years

4 years and 240 days worked in the fifth year counts as 5 years of service under section 54, or 190 days in an establishment working fewer than six days a week. Stopping at 4 complete years refuses gratuity that is due.

Rounding a part-year of exactly six months up

Only a final part-year of more than six months counts as a full year. 7 years and exactly 6 months is 7 years; 7 years, 6 months and 1 day is 8.

Using gross salary as wages

Gratuity is calculated on wages under the Code: basic pay, dearness allowance and retaining allowance. Where the excluded allowances are more than half of total pay, the excess is added back. Gross salary overstates it.

Dividing by 30 in a covered establishment

For an establishment covered by the Code, 15 days' wages are worked out on a 26-day month: wages × 15 ÷ 26. Dividing by 30 underpays by about 13%.

Holding fixed-term employees to five years

A fixed-term employee qualifies after 1 year of service under the contract. Applying the 5-year rule to them refuses gratuity that is due.

Ignoring gratuity exempted earlier

The Rs. 20 lakh tax exemption is a lifetime limit across employers. Gratuity exempted at an earlier employer reduces what can be exempt now.

Frequently asked questions

How is gratuity calculated?

Gratuity = wages × 15 ÷ 26 × years of service, for an establishment covered by the Code on Social Security, 2020. A final part-year of more than six months counts as a full year. The amount payable is capped at Rs. 20 lakh.

Is an employee with 4 years and 240 days eligible?

Yes. Under section 54 of the Code, a year of continuous service is counted once 240 days are worked in it, or 190 days in an establishment that works fewer than six days a week. 4 years plus 240 days worked in the fifth year counts as 5 years, which meets the requirement.

When does a fixed-term employee get gratuity?

After 1 year of service under the contract, on a pro-rata basis, under section 53 of the Code on Social Security, 2020, as set out in the Ministry of Labour and Employment release of 21 November 2025. The same formula applies: wages × 15 ÷ 26 × years, with a final part-year of more than six months counted as a full year.

Which wages are used under the Code?

Basic pay, dearness allowance and retaining allowance. HRA, conveyance, bonus, overtime, commission and employer PF and NPS contributions are excluded, but if the excluded items are more than half of total pay, the excess is added back to wages. The calculator does this when you fill in total pay and excluded items.

What applies to an exit before 21 November 2025?

The Payment of Gratuity Act, 1972, under which wages mean basic pay plus dearness allowance. The calculator switches to that basis when the last working day is before 21 November 2025.

How much of the gratuity is tax-free?

For a private employer, the least of the gratuity received, the formula amount and the unused part of the Rs. 20 lakh lifetime limit is exempt under section 19 of the Income-tax Act, 2025. The rest is taxed as salary. Gratuity from a government employer is fully exempt.