Gratuity calculation formula, with worked examples
How gratuity is calculated in India: the 15/26 formula, who is eligible, how years of service are rounded, the ₹20 lakh limit and tax, with three worked examples.
JobTals Editorial Team
3 min read · 22 Nov 2026
›In this article
Gratuity is a lump sum an employer pays when someone leaves after long service. The formula most private companies in India use is:
Gratuity = last drawn (basic + DA) × 15 × years of service ÷ 26
So someone with a basic of ₹50,000 a month and seven years of service gets ₹50,000 × 15 × 7 ÷ 26 = ₹2,01,923.
The 15 stands for 15 days of wages for each year. The 26 is the number of working days the law assumes in a month.
Who is eligible
- Employees who have completed five years of continuous service with the same employer.
- On death or disablement, the five-year condition does not apply.
- Fixed-term employees qualify after one year of service under the Code on Social Security, 2020, which came into force in November 2025.
- The Act applies to establishments with 10 or more employees. Once covered, an establishment stays covered even if headcount falls.
Free tool
Gratuity Calculator
Gratuity from basic and service dates, with eligibility and tax.
How years of service are counted
A part year of more than six months counts as a full year. Six months or less is dropped.
| Service | Years used in the formula |
|---|---|
| 5 years 4 months | 5 |
| 5 years 7 months | 6 |
| 9 years 6 months | 9 |
| 9 years 6 months 1 day | 10 |
Three worked examples
| Employee | Monthly basic + DA | Service | Gratuity |
|---|---|---|---|
| Senior engineer leaving after 7 years | ₹50,000 | 7 years | ₹2,01,923 |
| Engineering manager leaving after 5 years 8 months | ₹1,20,000 | 6 years | ₹4,15,385 |
| Support engineer leaving after 4 years 11 months | ₹25,000 | Not eligible | ₹0 |
One note on the last case: some courts have counted 4 years and 240 days of work in the fifth year as five years. Most employers do not rely on this and pay only from five full years. If you are an employer and someone is that close, take legal advice before refusing.
Employers not covered by the Act
If a company is not covered, it can still pay gratuity under its own policy. For tax, the formula then uses 15 days' wages based on a 30-day month and the average salary of the last 10 months: average monthly salary × 15 × completed years ÷ 30. Completed years here means full years only.
The ₹20 lakh limit and tax
The maximum gratuity under the Act is ₹20 lakh. For private-sector employees covered by the Act, gratuity is tax-free up to the lowest of:
- the actual gratuity received,
- the amount from the formula above, and
- ₹20 lakh.
Anything above that is taxed as salary.
When it must be paid
The employer has to pay within 30 days of the gratuity becoming due. If it pays late, it owes simple interest on the delay. It cannot hold gratuity back to recover notice pay or other dues unless the law allows, for example after termination for proven misconduct that caused loss.
Gratuity inside CTC
Many offers show gratuity as about 4.81% of basic inside the CTC. That figure is 15 ÷ 26 ÷ 12, the yearly share of the formula. It is money the employee only gets after five years, so it should not be presented as part of monthly pay. Read what goes into CTC for the rest of the breakup.
What the new labour codes changed
The Code on Social Security, 2020, replaced the Payment of Gratuity Act from November 2025. The formula and the ₹20 lakh ceiling carried over. Two changes matter for most companies: fixed-term staff now qualify after one year, and the new definition of wages counts allowances above 50% of total pay, which can raise the base used for gratuity. We explain both in new gratuity rules under the labour codes.
Sources
- Payment of Gratuity Act, 1972, Section 4.
- Code on Social Security, 2020, Chapter V (Gratuity), Ministry of Labour and Employment.
- Income Tax Act, Section 10(10).
Frequently asked questions
What is the gratuity formula?
For employers covered by the Payment of Gratuity Act, gratuity = last drawn basic plus DA × 15 × years of service ÷ 26.
Who is eligible for gratuity?
Employees with at least five years of continuous service, or earlier on death or disablement. Under the Code on Social Security, fixed-term employees qualify after one year.
Is gratuity taxable?
For private-sector employees covered by the Act, gratuity is tax-free up to the lowest of the actual amount, the formula amount and ₹20 lakh.
Hiring for a role this quarter?