Decoding the Indian Gratuity system. Learn the secret 15/26 mathematical formula, the '4 years 240 days' loophole, and how to legally claim up to ₹20 Lakhs completely tax-free upon resignation.

You survive five grueling years at a corporate job. You endure the politics, the late nights, the bad coffee, and the endless Jira tickets. Finally, you draft your resignation letter, serve your 90-day notice period, and prepare to walk out.
During your exit interview, the HR department informs you that your final settlement will include a lump sum component called Gratuity. A week later, ₹3.8 Lakhs hits your bank account.
Most employees see this money, feel vaguely grateful, and move on.
But what if they calculated it wrong? What if they shortchanged you by ₹40,000 using the wrong "Last Drawn Salary" definition? What if your CA taxes the entire amount, failing to realize it is completely tax-exempt?
The Indian Payment of Gratuity Act, 1972 is one of the most powerful labor laws in the country. It forces corporations to financially reward loyalty. Yet, exactly how the math works remains shrouded in HR secrecy.
Today, we are bringing absolute transparency to the exact formulas, the hidden loopholes, and the taxation rules of Gratuity in India.
Gratuity is not a bonus. It is not an ex-gratia payment given out of the goodness of the CEO's heart.
It is a statutory right.
If a company has 10 or more employees, they are legally obligated under the Act to pay 15 days of salary for every single year you worked for them, provided you cross the 5-year loyalty threshold. It is a retirement benefit that you also get when you simply change jobs.
When you get an offer letter, your CTC (Cost to Company) breakdown often shows "Gratuity" as an annual component (e.g., ₹40,000 per year). This confuses beginners. They look at their payslip and wonder: "Where is this ₹3,333 deduction going every month?"
The truth: Gratuity is NOT deducted from your monthly gross salary. Your take-home pay is untouched by gratuity. Companies put it in the CTC structure purely for accounting purposes, to show you how much liability they are accruing for you every year. You only ever see that money as a massive lump sum the day you leave the company (after 5 years).
How does a company actually calculate that final lump sum check? They don't guess. They follow a rigid mathematical formula embedded in the law.
The Formula:
Gratuity = (Last Drawn Salary) × (15/26) × (Number of Completed Years of Service)
This looks simple, but every single variable in this formula has a very specific legal definition that HR departments occasionally "misinterpret." Let's break them down.
If your monthly highly-inflated CTC pay is ₹1.5 Lakhs, your gratuity will NOT be calculated on ₹1.5 Lakhs. Under the Gratuity Act, "Salary" strictly means:
(Note: This is why massive tech companies structure your salary as 30% Basic and 70% Special Allowance. It radically reduces their Gratuity payout liability when you eventually leave).
The law mandates that the company must pay you exactly 15 days of wages for every year you suffered through their management.
This is the greatest mathematical quirk in Indian labor law. When calculating what your "1 day" of salary is worth, the government does not divide your monthly salary by 30 days or 31 days.
The law states that a working month has only 26 days (excluding the 4 Sundays).
By dividing by 26, the government artificially inflates your daily wage, resulting in a much larger final payout for you.
How do you calculate years worked if you resign mid-year? The Gratuity Act is very generous here. If your final year of service exceeds 6 months, it is rounded up to a full completed year.
Let's calculate the payout for "Rahul".
The Calculation:
If Rahul's HR department accidentally calculated it based on a 30-day month, he would only get ₹2.4 Lakhs. That factor of 26 is worth ₹36,000 to him.
Human Resources policies are written to benefit the company. The law is written to benefit the employee. When they clash, you must know your rights.
The absolute biggest lie in corporate India is: "You must complete exactly 5 years (1825 days) to get gratuity. If you leave at 4 years and 360 days, you get zero."
This is entirely false. Section 2A(2) of the Payment of Gratuity Act defines "continuous service." It states that to complete a year, you must work a specific number of days in that 12-month trailing period. For a standard 5-day/6-day week establishment, that number is 240 days.
Therefore, if you complete 4 full years (4 × 365), and in your 5th year, you work for at least 240 days (roughly 8 months), you have legally completed 5 years of continuous service under the Act.
If an amateur HR person tries to deny it, politely forward them the Madras High Court ruling (Mettur Beardsell Ltd vs. Regional Labour Commissioner). They usually process the check within 24 hours.
The 5-year rule is a loyalty filter. But it is completely waived in tragic scenarios. If an employee dies in a car accident or suffers a permanent disability after just 8 months of joining a company, the employer MUST pay gratuity to the legal nominee immediately. The 5-year criteria does not apply. (If the employee dies, the formula is modified and calculation is based on different slabs, often resulting in larger payouts).
Receiving ₹5 Lakhs from your employer feels great until you realize you are in the 30% tax bracket. If the government taxes that check, you lose ₹1.5 Lakhs immediately.
Fortunately, the Income Tax Act recognizes gratuity as a retirement benefit, not standard salary. Under Section 10(10) of the Income Tax Act, Gratuity is massively tax-exempt.
The rules depend on who you work for:
If you work for the Central Government, State Government, or a local authority, your entire gratuity amount, no matter how massive it is, is 100% tax-free.
This applies to 99% of corporate workers. For you, the tax-exempt amount is the LEAST of the following three figures:
What this means: If your calculated gratuity is ₹8 Lakhs, your exemption is ₹8 Lakhs. You pay ZERO TAX on the entire check. It is entirely yours.
If you worked as a VP for 15 years and your gratuity check is ₹28 Lakhs, the first ₹20 Lakhs is tax-free. The remaining ₹8 Lakhs will be added to your taxable income for that year and taxed according to your slab rate.
The ₹20 Lakh tax exemption limit is a lifetime cumulative limit, not a per-company limit.
(Note: There are proposals in recent budgets to increase this ₹20 Lakh lifetime limit to ₹25 Lakhs or ₹30 Lakhs to adjust for wage inflation, but as of early 2026, ₹20 Lakhs is the hard barrier).
If you are a beginner early in your career, gratuity represents forced wealth accumulation. Here is how to play the game strategically:
Never resign impulsively at the 4 year, 6-month mark if you can avoid it. Look at your joining date. If you resign at 4 years 5 months, and serve a 3-month notice period, your final exit date is 4 years and 8 months (exceeding the 4yr 240 day limit). You just unlocked hundreds of thousands of rupees simply by timing your email correctly.
Modern startups love paying a low Basic Salary (₹20,000) and huge Special Allowances (₹80,000) so you take home more cash, and they incur lower PF/Gratuity liabilities. Traditional legacy companies (like Tata or L&T) often give a higher Basic component (₹50,000). When comparing offers, realize that a higher Basic Salary means the compound value of your Gratuity check over 5 years will be substantially larger.
When you eventually receive that check, calculate it yourself using the Basic * 15 * Years / 26 metric.
Do not blindly trust corporate payroll software. If it is short by ₹10,000, email HR detailing the specific math. They are legally bound to correct it.
Gratuity is technically a retirement vehicle. When that ₹4 Lakh hits your account on your 28th birthday instead of your 60th birthday, the urge to buy a car is overwhelming. Don't. Take that entire tax-free sum, put it straight into a Nifty 50 Index Fund, and forget about it. Let the compound interest on that untaxed capital turn your "thank you" check into a multi-million rupee retirement fallback.
Gratuity is not a complex financial derivative. It is a simple, beautiful math equation designed by labor unions in the 1970s to force companies to pay people for their time.
The 26-day division, the rounding logic, and the Section 10(10) tax shield are heavily skewed in favor of the employee. The only way you lose money in the Gratuity game is by remaining ignorant of the rules, resigning three days too early, or letting bad HR math go unchallenged.
Know your formula. Time your exits. Demand your check.
Amodh is a personal finance educator and the founder of KnowYourFinance. With a deep understanding of Indian taxation and investment products, he simplifies complex financial concepts to help young Indians build wealth safely.
Editorial Disclosure: The author holds investments in broad-market index funds and SGBs. This article is strictly for educational purposes and does not constitute professional investment advice. KnowYourFinance maintains complete editorial independence.
Download KnowYourFinance app and access 25+ calculators, enhanced planners, and personalized insights to implement what you've learned.
Download Free AppContinue your financial education with these related guides