Skip to content

Gratuity calculation: formula, eligibility and tax, with a calculator

Gratuity is a lump sum an employer pays when you leave after long service. Since 21 November 2025 it is governed by the Code on Social Security, 2020, which kept the familiar 15/26 formula but widened who qualifies and changed what counts as wages.

Reviewed by Vijay Dhawan, Managing Partner, LexVerge LLP · Published

Quick answer

Gratuity is calculated as 15/26 × last drawn monthly wages (basic plus DA) × years of service, with a final part-year over six months counted as a full year. Under the Code on Social Security, in force from 21 November 2025, fixed-term employees qualify after one year, and the tax-free limit is ₹20 lakh.

  • Five years for permanent staff; waived on death or disablement
  • 50% rule: excess allowances count as wages
  • Tax exemption: least of actual, formula and ₹20 lakh

Official source: Ministry of Labour and Employment: Code on Social Security, 2020 explainer

Calculate your gratuity

Gratuity calculator

Wages = basic pay + DA (+ retaining allowance). Under the labour codes, if allowances excluded from wages exceed 50% of total pay, the excess is added back. Estimate only.

The formula

For an employer covered by the law (broadly, one with ten or more employees):

Gratuity = 15 ÷ 26 × last drawn monthly wages × years of service

  • 15/26 is fifteen days’ wages, taking a month as 26 working days.
  • Years of service: every completed year counts, and a final part-year of more than six months counts as a full year. Seven years and seven months counts as eight; seven years and five months counts as seven.
  • Wages: basic pay plus dearness allowance and retaining allowance. HRA, conveyance, overtime, bonus and most other allowances are excluded, but see the 50 percent rule below.

Example. Basic plus DA of ₹50,000 and 7 years 7 months of service: 15/26 × 50,000 × 8 = ₹2,30,769.

In seasonal establishments, gratuity is seven days’ wages for each season worked instead of fifteen.

Who is eligible

SituationEligible?
Permanent employee leaving after 5 years of continuous service (resignation, retirement, superannuation)Yes
Fixed-term employee whose contract endsYes, pro rata, after one year of continuous service; the five-year condition does not apply
Death or disablement due to accident or diseaseYes, whatever the length of service; paid to the nominee or legal heirs on death
Permanent employee leaving before 5 yearsNo, unless the employment contract or company policy is more generous
Dismissed for misconduct causing loss, riotous or violent behaviour, or an offence involving moral turpitudeCan be forfeited, fully or partly, by following the prescribed process

Continuous service includes periods of authorised leave, sickness, accident, lawful strike and lay-off. Some High Courts have also held that 240 days of work in the fifth year can complete the fifth year for the eligibility test.

The 50 percent wage rule

The labour codes stop employers from shrinking gratuity by keeping basic pay artificially low. If the allowances excluded from “wages” add up to more than 50 percent of total remuneration, the excess is treated as wages for gratuity, PF and other code benefits.

Example. Total pay ₹1,00,000 a month, of which basic plus DA is ₹35,000 and allowances are ₹65,000. Allowances exceed half of total pay by ₹15,000, so wages for gratuity become ₹50,000, not ₹35,000. Over ten years that lifts gratuity from about ₹2.02 lakh to ₹2.88 lakh.

Many employers restructured salaries after November 2025 for this reason. If your basic is well under half your gross, check your payslip against the rule.

Maximum gratuity and when it must be paid

  • Ceiling: gratuity under the law is capped at an amount notified by the Central Government, currently ₹20 lakh. Employers can pay more under their own policy, but the excess is taxable.
  • Timing: the employer should pay within 30 days of it becoming payable. Late payment carries simple interest, and the employee can approach the controlling authority under the Code.
  • Nomination: employees should file a nomination early; it decides who receives gratuity on death.

How gratuity is taxed

EmployeeExempt amount
Central or state government employeeFully exempt
Private employee, employer covered by the gratuity lawLeast of: actual gratuity, 15/26 × last drawn wages × years (part-year over six months rounded up), and ₹20 lakh
Private employee, employer not coveredLeast of: actual gratuity, half a month’s average salary (last 10 months) × completed years, and ₹20 lakh

The ₹20 lakh exemption is a lifetime limit across all employers, reduced by gratuity exempted earlier. The exemption (formerly section 10(10)) applies in both the old and new tax regimes. Any taxable excess is salary in the year received; relief for arrears-style lump sums can sometimes be claimed through the prescribed form. Gratuity received by a nominee after the employee’s death is not salary and is generally not taxable in the nominee’s hands.

Gratuity and its exempt part appear in your Form 16 from the last employer.

Frequently asked questions

How is gratuity calculated?

For covered employers: 15/26 × last drawn monthly wages (basic plus DA) × years of service, with a final part-year of more than six months counted as a full year.

Is gratuity payable before 5 years?

Permanent employees generally need five years of continuous service. Fixed-term employees get pro-rata gratuity after one year, and the condition is waived on death or disablement.

What is the maximum gratuity amount?

The statutory ceiling is currently ₹20 lakh. The tax exemption for private employees is also capped at ₹20 lakh over a lifetime.

Is gratuity taxable in the new tax regime?

The exemption applies in both regimes. Private employees are exempt up to the least of actual gratuity, the formula amount and ₹20 lakh; the rest is taxable as salary.

Does the 50% wage rule increase gratuity?

It can. If allowances excluded from wages exceed half of total pay, the excess is added to wages for gratuity, which raises the amount for employees with a low basic salary.

Reviewed by Vijay DhawanManaging Partner, LexVerge LLP · checked against current MCA, GST and Income-tax rules

Received gratuity or leave encashment this year?

A FilingBase CA checks the exemption on your Form 16 and files your return from ₹499.

File my ITR

Official references

The statutory sources behind this page. We keep our guidance aligned to them — verify anything time-sensitive directly.

Content on this page is reviewed by a chartered accountant or advocate at LexVerge LLP. It is general guidance, not advice on your specific facts.

See pricing Talk to an Expert