Gratuity Calculation Explained (Formula, Eligibility and Tax)
- What gratuity is and who is eligible
- The gratuity formula
- Why it uses basic + DA, not gross salary
- How years of service are rounded
- A worked example
- How gratuity is taxed
- Government employees
- Private-sector employees
- Common misconceptions about eligibility
- Frequently asked questions
- How long does the employer have to pay gratuity?
- Does notice period count towards years of service?
- Is gratuity paid if I leave after four years?
On this page
- What gratuity is and who is eligible
- The gratuity formula
- Why it uses basic + DA, not gross salary
- How years of service are rounded
- A worked example
- How gratuity is taxed
- Government employees
- Private-sector employees
- Common misconceptions about eligibility
- Frequently asked questions
- How long does the employer have to pay gratuity?
- Does notice period count towards years of service?
- Is gratuity paid if I leave after four years?
Gratuity is a lump sum your employer pays you when you leave after a long stretch of continuous service. It's a reward for staying, paid when you resign, retire or are laid off. For many salaried people it's the largest single payment they receive when leaving a job, yet few know how it's worked out until they're filling in the exit paperwork.
The calculation itself is short. The details are what trip people up: which salary figure it uses, how part-years are counted, and how much of the payout is tax-free. This guide covers each in turn.
What gratuity is and who is eligible
For decades, gratuity in India has been governed by the Payment of Gratuity Act, 1972, which covers establishments with 10 or more employees. Its provisions have since been carried into the Code on Social Security, 2020, which the government brought into force in November 2025. The core formula and the five-year rule for regular employees are unchanged.
- Eligibility: at least five years of continuous service with the same employer, for leaving through resignation, retirement, superannuation or termination.
- Exception: if employment ends because of death or disablement, the five-year minimum doesn't apply, and gratuity is paid to the employee or their nominee.
- Fixed-term employees: under the Code on Social Security, employees on fixed-term contracts become eligible after one year of service rather than five.
- Ceiling: the statutory maximum payout under the Act is ₹20 lakh. Employers can pay more voluntarily or under a company scheme.
The gratuity formula
Gratuity = Last drawn salary × 15 × Years of service ÷ 26
The numbers aren't arbitrary. The law entitles you to 15 days' wages for every completed year of service. A month is treated as having 26 working days (30 days minus four Sundays), so one day's wage is monthly salary ÷ 26, and 15 days' wages is monthly salary × 15 ÷ 26. Multiply that by your years of service and you have the formula.
Why it uses basic + DA, not gross salary
"Last drawn salary" in the formula means basic salary plus dearness allowance (DA), not your gross or CTC figure. HRA, special allowance, bonuses and other allowances are left out. Since many private-sector salary structures set basic at 40-50% of CTC, gratuity is often much smaller than people expect when they picture it based on their full monthly salary.
The Code on Social Security adds a safeguard here. If the excluded allowances make up more than half of your total pay, the excess is counted back into wages. That can raise the gratuity base for employees whose basic pay was set unusually low.
How years of service are rounded
Service is counted in completed years, but a final part-year of more than six months counts as a full year. So 10 years and 7 months counts as 11 years, while 10 years and 5 months counts as 10. That rounding can shift the payout by a full year's worth of gratuity, which is worth knowing if you're choosing your last working day.
A worked example
Suppose your basic salary plus DA at exit is ₹60,000 a month and you've worked for 10 years and 7 months:
- Last drawn salary (basic + DA): ₹60,000
- Years of service: 10 years 7 months → rounded up to 11 (the final part-year is more than six months)
- Gratuity = 60,000 × 15 × 11 ÷ 26 = ₹3,80,769
- Had you left at 10 years 5 months instead: 60,000 × 15 × 10 ÷ 26 = ₹3,46,154, about ₹34,600 less
Tip
If you're planning a resignation and your service is just short of the six-month mark in the final year, check your notice period. Serving a few extra weeks to cross more than six months can add a full year to the gratuity calculation, often worth more than a month's basic salary.
How gratuity is taxed
The tax treatment depends on who you worked for. This exemption was covered by Section 10(10) of the Income-tax Act, 1961 — the reference most people still know it by — and continues under the Income-tax Act, 2025 (in force from 1 April 2026), which renumbers and reorganises most sections, so confirm the current provision rather than relying on the old section number.
Government employees
Gratuity received by central and state government employees, including defence staff and local authority employees, is fully exempt from income tax, with no upper limit.
Private-sector employees
For employees covered by the gratuity law, the exempt amount is the least of three figures: the gratuity actually received, the formula amount (15 ÷ 26 × last drawn salary × years of service), and ₹20 lakh. Anything above that is taxed as salary income. For employees whose employer isn't covered by the law, the exemption uses a different formula: half a month's average salary, averaged over the last 10 months, for each completed year, with no rounding up of part-years. The same ₹20 lakh cap applies.
The ₹20 lakh exemption is a lifetime limit, not a per-job limit. If you've received tax-exempt gratuity from an earlier employer, that amount counts against the same ₹20 lakh.
Common misconceptions about eligibility
- "Resigning means losing gratuity." Generally not true. Resignation and retirement are both valid ways of leaving, as long as the five-year continuous-service threshold is met.
- "Being terminated means no gratuity." Not automatically. Termination alone doesn't cancel eligibility. However, the law allows an employer to forfeit gratuity wholly or partly if termination was for specific serious misconduct, such as wilful damage to the employer's property, riotous or violent behaviour, or an offence involving moral turpitude.
- "The five years have to be exactly five calendar years." The meaning of continuous service has been tested in court, and some rulings have accepted slightly less than five full years in particular circumstances. Don't rely on this without advice specific to your case.
- "Gratuity is part of my CTC, so I'll get it anyway." The gratuity provision in a CTC breakup is an accounting entry. You only receive gratuity if you meet the eligibility conditions when you leave.
Watch out
This is general guidance, not legal advice. Gratuity eligibility in disputed cases, such as contract staff, transfers between group companies or termination for misconduct, depends on your specific facts and the rules in force when you leave. If a claim is refused, you can apply to your state's controlling authority for gratuity, and it's worth getting professional advice.
Frequently asked questions
How long does the employer have to pay gratuity?
The employer is required to work out the gratuity and pay it within 30 days of it becoming payable. If payment is delayed without a valid reason, the employer is liable to pay simple interest on the amount for the period of delay.
Does notice period count towards years of service?
Yes. The notice period is part of your employment, so it counts towards continuous service. Your service ends on your actual relieving date, not the date you submit your resignation.
Is gratuity paid if I leave after four years?
For a regular permanent employee, generally no. The five-year minimum applies, except in cases of death or disablement. Fixed-term employees are the main exception under the newer rules, becoming eligible after one year.
Gratuity comes down to three inputs: basic plus DA, completed years (with the six-month rounding rule), and the fixed 15 ÷ 26 multiplier. Check which salary figure your employer uses, know where you stand on the rounding rule, and you'll know what to expect well before your final settlement arrives.
Ready to put this into practice?
Calculate Your Gratuity Free