Free payroll calculators

Gratuity calculator: the 15/26 formula, worked out

Gratuity is 15 ÷ 26 × the last drawn monthly wage × the years counted. Enter the last drawn pay and the two dates. You get the amount payable under the law in force on the last working day, the Code on Social Security or the Payment of Gratuity Act, and every step of the working, so you can check it line by line.

HRA, conveyance, special and other allowances. Used when the last working day is on or after 21 November 2025: above half of total pay, they count as wages. The Labour Ministry's FAQ of 16 March 2026 also counts employer PF and pension contributions and statutory bonus, and leaves out gratuity, ESI and other retirement benefits.

Use four years and 240 days only if the employer follows it. Courts have accepted it, and some employers apply it, but the law says five years. A fixed-term contract that has ended under the Code needs one year, whichever you choose.

Gratuity payable

₹—

Your result appears here, with the service period, the years counted, the formula and the ceiling.

Rules used: the law in force on the last working day, as Workdome's payroll applies it in every full and final settlement. From 21 November 2025, the Code on Social Security, 2020, sections 2(88) and 53. Before that date, the Payment of Gratuity Act, 1972, section 4. Ceiling ₹20,00,000, notified by the central government in 2018 and given as current in the Labour Ministry's FAQ of 30 December 2025. Checked against Workdome's own computation on 7 November 2026. This is an estimate for planning, not legal advice, and an employer's own policy can pay more than the law requires.

How it is calculated

Fifteen days' wages for every year of service

Gratuity is 15 days of the last drawn wages for each year counted. For a monthly salary, both the Code and the 1972 Act divide the monthly wage by 26, the working days in a month, and multiply by 15. What changed on 21 November 2025 is which wage goes in.

The formula

Amount
15 ÷ 26 × last drawn monthly wage × years counted
Wage from 21 Nov 2025
Basic pay plus dearness allowance. If other pay is more than half of total pay, the excess is added.
Wage before that
Basic pay plus dearness allowance only. HRA, bonus, overtime and other allowances are not counted.
Ceiling
₹20,00,000. The law requires nothing above it.

Years counted

Service
From the date of joining to the last working day, both days included.
Part year
More than six months rounds up to a full year. Exactly six months does not.
Eligibility
Five years of continuous service. On death or disablement the period does not apply. Under the Code, a fixed-term contract that has ended needs one year.

Worked example. Basic ₹30,000, no DA and ₹70,000 of other pay, joined 1 April 2021, last working day 31 March 2026. That is exactly five years, so five years count. Half of the ₹1,00,000 total is ₹50,000, and other pay is ₹20,000 over that, so the wage is ₹50,000: 15 ÷ 26 × ₹50,000 × 5 = ₹1,44,230.77. On basic alone it would be ₹86,538.46.

Questions

Gratuity questions HR teams get asked

Is gratuity paid if someone resigns before five years?

No. The law needs five years of continuous service, whether the person resigns, retires or is let go. There are two exceptions: on death or disablement gratuity is paid whatever the length of service, and under the Code a fixed-term contract that has ended needs one year. Some employers count four years and 240 days as five years, following court rulings; the calculator has that option.

How is a part year counted?

A part year of more than six months counts as a full year. Six months exactly, or less, does not count. Someone with 7 years and 6 months gets 7 years; someone with 7 years, 6 months and 1 day gets 8.

Which salary is used?

It depends on the last working day. From 21 November 2025 the Code starts with basic pay plus dearness allowance and, if other pay is more than half of total pay, adds the excess. Before that date the 1972 Act uses basic pay plus dearness allowance alone. If the salary changed in the last month, it is the rate in force on the last working day. The wage rule, with an example.

Why 26 and not 30?

Gratuity is 15 days' wages per year of service, and for a monthly salary the law says to divide the monthly wage by 26 and multiply by 15. A month is taken as 26 working days, not 30 calendar days. Why the law uses 26.

What is the maximum gratuity?

₹20,00,000, the ceiling the central government notified in 2018, which the Labour Ministry's FAQ of December 2025 gives as current. The calculator shows the full working above the ceiling and then caps the amount. An employer can pay more under its own policy or a contract.

Does the law apply to every employer?

The Code's gratuity chapter applies to every factory, mine, oilfield, plantation, port and railway company, and to shops and other establishments with ten or more employees on any day of the preceding twelve months. Once it applies, it keeps applying even if the headcount later falls below ten.

Gratuity, done in the settlement

Workdome works out gratuity, leave encashment and notice recovery for every leaver from the salary structure on file, and shows how each figure was reached on the full and final statement.

Request a demo