Free calculatorPayroll and HR

Gratuity calculator, on the new Labour Code rules

Enter last drawn basic pay and DA and your dates of service to see the gratuity due, the years counted, the formula with your numbers in it and how much of it is tax-free.

  • Code on Social Security, 2020
  • 15 ÷ 26 × wages × years
  • Fixed-term: one year
  • ₹20 lakh ceiling

Written for India. Elsewhere:Gratuity calculator (UAE) UAEEnd of service calculator, Saudi Arabia Saudi Arabia

Last updated

Gratuity

₹

A month. Include retaining allowance if you pay one.

₹

A month: HRA, conveyance, special allowance and the rest. Used only for the 50% wage rule.

If allowances are more than half of total pay, the excess counts as wages for gratuity.

Length of service
Employment

Permanent staff need 5 years' continuous service; fixed-term employees 1 year.

Why employment ended

On death or disablement there is no minimum service.

The gratuity chapter covers factories, mines, plantations, ports, railways, and shops and establishments with 10 or more employees on any day in the last twelve months.

Gratuity payable

₹2,07,692

For 9 years of service counted, on wages of ₹40,000 a month

Service
8 years, 9 months
Years counted
9
Tax-free
₹2,07,692
How it is worked outAmount
Wages for gratuityBasic and DA, with the 50% rule₹40,000
Fifteen days' wages₹40,000 ÷ 26 × 15₹23,077
Years countedCompleted years, plus one for more than six months9
Gratuity₹40,000 × 15 ÷ 26 × 9₹2,07,692
Tax-free partLeast of the gratuity, ₹20,00,000 and ₹40,000 × 15 ÷ 26 × 9₹2,07,692
Taxable partAdded to salary income for the year₹0

Rules as at 6 November 2026: Code on Social Security, 2020, Section 53 (in force from 21 November 2025); ceiling ₹20,00,000; tax under the Income-tax Act, 2025, Section 19 (formerly Section 10(10)) for non-government employees. Rounded to the rupee.

How gratuity is calculated

Gratuity is fifteen days' wages for every year of service, on the wages last drawn. For a monthly paid employee, the Code on Social Security, 2020 fixes fifteen days' wages as the monthly wage divided by 26 and multiplied by 15. The 26 is the working days in a month, so gratuity comes to a little over half a month's wages for each year.

Gratuity = last drawn wages × 15 ÷ 26 × years of service counted
Section 53 of the Code on Social Security, 2020, in force from 21 November 2025.
TermWhat it means
WagesBasic pay, DA and retaining allowance, as last drawn. Under the Labour Codes, allowances above half of total pay are added back.
15 ÷ 26Fifteen days' wages for a monthly paid employee (Section 53, Explanation 3)
Years countedCompleted years, plus one more if the part year is over six months
Ceiling₹20 lakh in all, unless a contract or award gives more

Piece-rated employees use the average daily wage of the last three months, without overtime. Seasonal employees get seven days' wages for each season instead of fifteen.

Who is eligible for gratuity

Gratuity is paid when employment ends: on retirement, resignation, termination, death or disablement, or at the end of a fixed-term contract. How long the employee must have worked depends on why it ended.

EmployeeMinimum continuous service
Permanent, on resignation, retirement or termination5 years
Fixed-term, at the end of the contract1 year
Any employee, on death or disablementNone
Working journalist3 years

The gratuity chapter applies to every factory, mine, oilfield, plantation, port and railway company, and to every shop or establishment that employed ten or more people on any day of the last twelve months. Once covered, an establishment stays covered even if its headcount falls.

How years of service are counted

Count completed years from the date of joining to the last working day. If the part year left over is more than six months, it counts as a full year. Exactly six months does not.

ServiceYears counted
8 years, 5 months8
8 years, 6 months8
8 years, 6 months and 1 day9
8 years, 9 months9

For employers outside the Code who pay gratuity under their own policy, the income-tax formula counts only completed years, so 8 years and 9 months is 8.

Wages for gratuity and the 50% rule

Under the Labour Codes, wages are basic pay, DA and retaining allowance. If HRA, conveyance, special allowance and the other excluded allowances come to more than half of total pay, the part above half is added back to wages. Salary structures with a low basic now pay more gratuity.

Amount
Basic pay and DA₹30,000
Other allowances₹50,000
Total pay₹80,000
Half of total pay₹40,000
Wages for gratuity₹40,000
Gratuity for 9 years (₹40,000 × 15 ÷ 26 × 9)₹2,07,692
On basic and DA alone (₹30,000 × 15 ÷ 26 × 9)₹1,55,769

The tax-free formula still uses basic pay and DA, so in this example ₹51,923 of the gratuity is taxable even though the whole amount is under ₹20 lakh.

A worked example

A permanent employee joined on 1 February 2018 and left on 31 October 2026, with last drawn basic pay and DA of ₹40,000 a month and ₹30,000 of other allowances. These are the calculator's starting figures.

  1. Service is 8 years and 9 months. The 9 months are more than six, so 9 years are counted.
  2. Allowances of ₹30,000 are less than half of ₹70,000, so wages for gratuity are ₹40,000.
  3. Fifteen days' wages: ₹40,000 ÷ 26 × 15 = ₹23,077.
  4. Gratuity: ₹40,000 × 15 ÷ 26 × 9 = ₹2,07,692.
  5. Tax-free: the least of ₹2,07,692, ₹20 lakh and the same formula on basic and DA, so all ₹2,07,692 is exempt.

Is gratuity taxable?

Gratuity paid to central and state government employees is fully exempt. For everyone else, the Income-tax Act, 2025 exempts the least of three amounts in Section 19 (formerly Section 10(10) of the 1961 Act), and the rest is taxed as salary.

Exempt amount: the least of the three in each column. The ₹20 lakh is a lifetime limit across employers.
Employer covered by the CodeEmployer not covered
Gratuity actually receivedGratuity actually received
₹20 lakh₹20 lakh
15 days' salary (basic and DA) for each year counted, last drawn, ÷ 26Half a month's average salary of the last 10 months for each completed year

When gratuity must be paid

The employer must pay gratuity within 30 days of it becoming payable. Late payment carries simple interest from the date it fell due, unless the delay was the employee's fault and the competent authority allowed it.

  • On death, gratuity goes to the nominee, or to the heirs if no one was nominated.
  • Gratuity can be forfeited to the extent of damage caused, or wholly or partly for violent conduct or an offence of moral turpitude in the course of employment.
  • Salary and other wages in a full and final settlement are due within two working days; gratuity has its own 30-day limit.

Emplotec HRMS

Or let payroll work out gratuity for every exit.

In Emplotec, gratuity is part of payroll on the Labour Codes. When an employee leaves, it comes into the full and final settlement from the service record and the wages already on file.

  • Recruitment to exit in one record, including the full-and-final settlement with gratuity, leave and recoveries.
  • Component-based payroll on the Labour Codes, so the 50% wage rule is applied the same way for PF and gratuity.
  • The settlement posts to your accounts, and the year's TDS flows into Form 130 (formerly Form 16).
  • Employees see their own records on web and mobile self-service.
Exits, November 2026Plant 1 and head office · 5 leaving
ExitsSettlementsLettersApprove settlementsExport register
Emplotec2 fixed-term contracts end this month. Both have passed one year, so gratuity is included.
Leaving this month5
Gratuity due₹5.88L
Due within 30 days4
Not yet eligible1
Gratuity on exit
EmployeeServiceWagesGratuityStatus
R. SundaramMaintenance8 y 9 mPermanent₹40,000₹2,07,692Approved
M. FathimaAccounts11 y 2 mPermanent₹52,500₹3,33,173Ready
K. ArjunAssembly1 y 4 mFixed-term₹24,000₹13,846Ready
P. DeepaQuality2 y 0 mFixed-term₹28,500₹32,885Draft
S. VigneshStores3 y 7 mPermanent₹26,000Not eligibleUnder 5 years
Before you approve
  • Last working days confirmed
  • 50% wage rule applied
  • Nominations on file4 of 4
  • Recoveries from Stores

Exits for November, with gratuity worked out for each employee who qualifies. Example companies, people and figures.

Questions people ask about the gratuity calculator

What is the formula for gratuity?

Last drawn wages × 15 ÷ 26 × years of service counted. Wages are basic pay and DA, plus any allowances above half of total pay under the Labour Codes.

Is gratuity payable after one year of service?

For fixed-term employees, yes: the Code on Social Security, 2020 removed the five-year condition at the end of a fixed term, and the government puts their eligibility at one year. Permanent employees still need five years, except on death or disablement.

Is 4 years and 7 months counted as 5 years for gratuity?

For the amount, a part year of more than six months counts as a full year, so 4 years and 7 months gives 5 years. Whether it meets the five-year eligibility condition is a separate question that courts have decided on the facts of continuous service, so check before relying on it.

What is the maximum gratuity amount?

₹20 lakh, the ceiling carried over into the Code on Social Security. An employer can pay more under a contract or award, but anything above ₹20 lakh is taxable for a non-government employee.

Is gratuity taxable?

For non-government employees, the least of the gratuity received, ₹20 lakh and 15 days' salary for each year counted is exempt under Section 19 of the Income-tax Act, 2025 (formerly Section 10(10)). Anything above that is taxed as salary.

Why is gratuity divided by 26?

Because the Code counts a month as 26 working days. Fifteen days' wages for a monthly paid employee is the monthly wage ÷ 26 × 15.

Run this inside one system.

Tell us how your business runs. We'll show you Emplotec doing this work on your own numbers, and reply within one working day.

WhatsApp