A senior software engineer I spoke to recently was preparing to leave a company after seven years. She knew she was owed gratuity, she had a rough idea of what the formula looked like, and she had assumed the company would simply compute it correctly at exit. What surprised her was the size of the cheque, close to ₹4 lakh, and the realization that she could have estimated it nearly to the rupee at any point in the previous two years if she'd known how the formula treats months, years, and the precise meaning of "last drawn salary."
Gratuity is one of the more transparent elements of Indian salaried compensation once you know where to look. This guide walks through who qualifies, the formula that does the actual work, and how a few decisions about when to resign and what salary structure you're on can change the result in ways most employees don't anticipate.
For a quick number, the Gratuity Calculator handles the arithmetic. The rest of this article explains what the calculator is doing and where the edges of the rules are.
What gratuity actually is
Gratuity is a one-time lump sum payment made by the employer to an employee on the conclusion of employment, recognising long service. For employers covered by the Payment of Gratuity Act, 1972, it is a statutory entitlement: not a bonus, not discretionary, and not capped by the goodwill of HR.
Covered employees become entitled to gratuity on:
- Resignation after completing the qualifying service
- Retirement or superannuation
- Death, payable to the nominee
- Disablement due to accident or disease
There is no qualifying-service requirement in cases of death or disablement; gratuity is payable regardless of how long the employee had been with the employer.
For employers not covered by the Act (for example, very small establishments), gratuity may still be paid based on the employer's policy. The Act sets a floor; many employers either follow the Act exactly or offer terms equal to or better than the statutory formula.
Who qualifies
The headline qualifying rule under the Act is five years of continuous service with the employer. Some practical details routinely trip people up.
Continuous service in this context has a defined statutory meaning. It includes periods of authorized leave, accidents during the course of employment, and lay-off. Strikes (other than illegal strikes) and lockouts are generally counted. Breaks for reasons attributable to the employer are typically protected.
The five-year requirement is waived when service ends due to death or disablement.
There has been long-running debate over whether the "five years" requires exactly five calendar years or whether 4 years and 240 days of service in the fifth year is enough. Courts in some jurisdictions have read the rule generously, but employees should not assume early eligibility. Confirming with the employer's policy and recent legal guidance is the safer approach.
A practical reading for planning purposes: most employees should plan around five completed years for a smooth, uncontested gratuity entitlement.
The formula
For employees covered under the Payment of Gratuity Act, the formula is:
Gratuity = (Last drawn salary × 15 × Years of completed service) ÷ 26
Three things in that formula deserve unpacking:
Last drawn salary for gratuity purposes generally means the last drawn basic salary plus dearness allowance (DA). It does not include HRA, conveyance, bonus, overtime, special allowance, or any other component. This is the most common source of surprise: employees who assume gratuity is based on CTC or gross find the number smaller than expected.
Fifteen days is the statutory benefit per completed year of service. It represents half a month's salary at the formula's effective rate.
Twenty-six is the divisor representing a standard working month under the Act (a 30-day month minus 4 weekly holidays). The "26" is what turns half a month's pay into a daily equivalent that the formula multiplies up.
For employees of an employer not covered by the Act (in practice, fewer cases today), the formula often used is:
Gratuity = (Last drawn salary × 15 × Years of completed service) ÷ 30
The denominator changes from 26 to 30, which produces a slightly smaller number. For all calculations below we'll assume the Act-covered case unless noted.
How years of service round
The Act treats fractional service years with a specific convention. A completed year is one full year. A partial year of six months or more is treated as a completed year. A partial year of less than six months is generally not counted.
Practical example. An employee with 6 years and 7 months of service is treated as 7 years for gratuity calculation. An employee with 6 years and 4 months is treated as 6 years.
That single rule can change the gratuity number by tens of thousands of rupees, and it's worth knowing when planning a resignation date. Quitting on the day you cross six-and-a-half years gets you the seven-year multiplier; quitting two months earlier gets you the six-year multiplier on the same salary.
Worked examples
Take three Indian employees at different career points.
Example 1: A mid-career professional resigning after seven years. Last drawn basic + DA = ₹85,000 per month. Years of service = 7. Gratuity = (85,000 × 15 × 7) ÷ 26 = ₹3,43,269 (rounded).
Example 2: A senior employee retiring after 22 years. Last drawn basic + DA = ₹1,50,000 per month. Years of service = 22. Gratuity = (1,50,000 × 15 × 22) ÷ 26 = ₹19,03,846 (rounded).
Example 3: An employee with 5 years and 8 months of service. Last drawn basic + DA = ₹55,000 per month. Years of service rounded to 6 (because the eight months in the partial year is more than six months). Gratuity = (55,000 × 15 × 6) ÷ 26 = ₹1,90,385 (rounded).
The Act also sets a maximum gratuity ceiling, currently ₹20 lakh for covered employees in most cases. Any amount above the ceiling is at the employer's discretion or as per the employer's policy; the statutory entitlement caps there.
For estimating "last drawn basic" itself before the gratuity arithmetic, the Salary Calculator is useful when employees know their CTC but not the basic breakdown that gratuity depends on.
Last drawn salary: the trap and the safeguard
The single biggest source of error in gratuity estimates is using the wrong number for "last drawn salary."
Common wrong inputs:
- CTC: includes employer EPF, gratuity reserve, insurance, variable pay. Not the formula's input.
- Gross monthly pay: includes HRA, special allowance, conveyance. Also not the formula's input.
- Net (in-hand) pay: even further from the formula because it nets out tax and PF.
The correct input under the Act is essentially basic + DA as drawn in the final month before exit. For employees on salary structures heavy in special allowance with a relatively low basic, this means the gratuity number can be modest even on a generous-looking CTC.
A practical safeguard during salary structure negotiations: a structure with a healthier basic doesn't only feed EPF; it also feeds gratuity. Two CTCs of identical size, one with 30% basic and one with 50% basic, can produce gratuity numbers a few lakh apart at a senior level.
Tax treatment
Gratuity has its own exemption structure under Indian income tax law, separate from the standard deduction or 80C cap.
For government employees, gratuity received on retirement, death, or disablement is fully exempt from income tax.
For non-government employees covered under the Payment of Gratuity Act, the exemption is the least of:
- The actual gratuity received
- ₹20 lakh (the statutory ceiling)
- The amount computed using the statutory formula
For non-government employees not covered under the Act, the exemption uses a similar "least of three" formula with slightly different inputs.
Any amount above the exemption is taxable in the year of receipt, under whichever tax regime the employee is filing. The India Income Tax Calculator can help estimate the marginal impact when a large taxable portion lands in a high-income year.
The combined effect of the formula and exemption is that for most career-track salaried employees with a long tenure, gratuity arrives substantially or fully tax-free, which contributes to its outsized value at exit.
Gratuity versus EPF: not the same thing
Gratuity is sometimes mentally bundled with EPF, because both are "what you get at the end," but they're structurally distinct.
EPF is a corpus, contributed monthly by both employee and employer, growing with interest declared annually by the EPFO. It belongs to the employee throughout employment and is portable across jobs via the UAN. The detail of how EPF grows is covered in our EPF Calculator India article.
Gratuity is a one-time employer payment on exit, calculated by formula at the moment of exit. There is no running gratuity balance you can withdraw or check during employment. The employer maintains the gratuity liability on its books; the employee sees the cash at exit.
Both reward continuity of service. Both are tax-favoured for long tenure. But they answer different questions: EPF is "what have I accumulated over my career?" Gratuity is "what does my employer owe me at the end?"
Job changes, breaks, and gratuity
Gratuity is per-employer, not portable. Resigning after seven years at one employer and joining a new one resets the gratuity clock at the new employer.
This is one of the under-discussed costs of job-hopping. An employee who changes jobs every three years might never reach the five-year qualifying threshold for any single employer and could go an entire career without gratuity. The same employee, taking jobs at four-and-a-half years each, would also miss the qualifying threshold despite long total work history.
For employees considering a move close to the five-year mark, the gratuity at the current employer is often non-trivial relative to short-term salary jumps elsewhere. The arithmetic is worth running on the Gratuity Calculator before deciding.
Career breaks, sabbaticals, and transitions handled as deputations or transfers may or may not affect the continuous-service computation, depending on terms. The Act's interpretation of "continuous service" is generally protective of the employee, but the specifics depend on how the employer documents the break.
Common mistakes
Using CTC or gross instead of basic + DA. The formula uses basic + DA. Using anything else overstates the result.
Forgetting the rounding rule. Six-and-a-half years counts as seven; six-and-three-months counts as six. The rule can change the cheque by a meaningful amount.
Assuming the five-year threshold is flexible. Court interpretations have softened it in some cases, but planning around five completed years is the safer default for most employees.
Forgetting the ₹20 lakh cap. Above that, the statutory entitlement ends. Anything more is policy, not legal entitlement.
Treating gratuity as portable. It isn't. Each employer's gratuity is calculated separately. Job changes reset the clock.
Overlooking tax on amounts above the exemption. A very large gratuity for a non-government employee covered by the Act can spill over the ₹20 lakh exemption ceiling, with the excess taxable. Plan around the year of receipt.
A few realistic scenarios
A junior employee resigning at 4 years and 10 months of service does not qualify for gratuity under the strict reading of the Act. Some employers may still pay an ex-gratia amount; the statutory entitlement does not exist.
A senior manager retiring at 30 years of service with a final basic of ₹2,00,000 has a formula gratuity of (2,00,000 × 15 × 30) ÷ 26 = ₹34,61,538, but the statutory entitlement and tax exemption cap at ₹20 lakh. The employer may pay the additional amount as per policy; the excess above the exemption is taxable.
An employee on maternity leave during a six-month window in year four continues to accrue continuous service under the Act's interpretation. Resigning at exactly five years from the date of joining the qualifying service applies.
FAQs
Who is eligible for gratuity in India? Employees of organisations covered under the Payment of Gratuity Act who complete five years of continuous service, on resignation, retirement, or in cases of death or disablement (where the five-year requirement is waived).
How is gratuity calculated under the Payment of Gratuity Act? For each completed year of service, the employee is entitled to 15 days of last drawn salary (basic + DA), computed as (last drawn salary × 15 × years of service) ÷ 26.
Does the company decide my gratuity amount? For employers covered under the Act, the formula and statutory ceiling set the entitlement. Employers may pay more as per policy, but cannot pay less than the statutory amount to a covered employee.
What counts as 'last drawn salary' for gratuity? Basic salary plus dearness allowance drawn in the final month before exit. HRA, bonus, special allowance, conveyance, and other components are excluded.
Is gratuity taxable? Government employees receive gratuity tax-free. For private-sector employees covered under the Act, the exemption is the least of the actual amount received, ₹20 lakh, or the statutory formula. Any excess is taxable in the year of receipt.
Will I lose gratuity if I resign before five years? Generally yes for resignation. Death and disablement are exceptions where the five-year requirement does not apply. Some legal interpretations treat 4 years and 240 days in the fifth year as qualifying, but planning around the five completed years is safer.
Related guides
- EPF Calculator India: How Your Provident Fund Grows Over Time
- India Income Tax Explained: Old Regime vs New Regime
- Stamp Duty and Registration Charges in India
This article is educational. The Payment of Gratuity Act, tax exemptions, and the statutory ceiling can be amended by Parliament. Individual employment situations vary by terms of service, employer policy, and the specifics of continuous service. For decisions, consult a qualified legal or HR professional.