How to Calculate Gratuity: Formula, Examples and Rules Explained
Gratuity is one of the largest lump-sum payments most Indian employees ever receive from an employer, yet very few know how the number is actually arrived at until they read their final settlement letter. If you have completed several years with the same organisation and want to know exactly how much you are owed, this guide breaks down the formula, walks through real calculations, and explains the eligibility conditions and tax rules that decide how much of that amount you actually keep.
You will also find out how the new labour codes are changing gratuity payouts for millions of private sector employees in 2026, something most existing guides on this topic still get only partly right.
If you would rather skip the manual maths, our gratuity calculator does this instantly, you only need your last drawn salary and your joining and exit dates.
What Is Gratuity and Why Does It Exist?
Gratuity is a statutory, one-time payment made by an employer to an employee as a reward for continuous, long-term service. It is not a discretionary bonus. In India, it is a legal entitlement governed by the Payment of Gratuity Act, 1972, which applies to every factory, mine, oilfield, plantation, port, railway company, shop, and commercial establishment employing ten or more people on any day in the preceding twelve months.
An important detail many employees overlook: once an organisation is covered under the Act, it stays covered permanently, even if staff strength later falls below ten. Gratuity forms part of your Cost to Company structure, even though you never see it in your monthly payslip. It is released only when you exit the organisation, whether through resignation, retirement, superannuation, or in the unfortunate case of death or permanent disability.
How to Calculate Gratuity: The Formula
The method for how to calculate gratuity depends entirely on whether your employer falls under the Payment of Gratuity Act, 1972.
Formula 1: For Employees Covered Under the Act
Gratuity = (Last Drawn Salary × 15 × Number of Years of Service) ÷ 26
Breaking this down:
- Last Drawn Salary means Basic Pay plus Dearness Allowance (DA) only. HRA, conveyance, special allowances, and bonuses are excluded from this figure.
- 15 stands for 15 days of wages for every completed year of service, the statutory benefit rate.
- 26 represents the assumed number of working days in a month, since the four weekly offs are excluded.
- If your total service in the final year exceeds six months, it is rounded up to the next full year. Nine years and seven months becomes ten years for calculation purposes, while nine years and four months remains nine years.
Worked Example: Suppose your last drawn basic salary plus DA is ₹45,000, and you have completed 9 years and 8 months of service.
Since 8 months exceeds the 6-month threshold, service is rounded up to 10 years.
Gratuity = (45,000 × 15 × 10) ÷ 26 = ₹2,59,615 (approximately)
Formula 2: For Employees Not Covered Under the Act
Smaller establishments with fewer than ten employees fall outside the Act, though many still pay gratuity voluntarily as a retention benefit. Here, the formula changes slightly:
Gratuity = (Last Drawn Salary × 15 × Number of Years of Service) ÷ 30
The divisor becomes 30 because the calculation no longer excludes weekly offs, and only fully completed years are counted, with no rounding up for partial years.
Worked Example: For a last drawn salary of ₹35,000 and 6 years and 9 months of service under an employer not covered by the Act, service is counted as 6 completed years (no rounding).
Gratuity = (35,000 × 15 × 6) ÷ 30 = ₹1,05,000
Quick Comparison Table
| Particulars | Covered Under the Act | Not Covered Under the Act |
| Formula | (Salary × 15 × Years) ÷ 26 | (Salary × 15 × Years) ÷ 30 |
| Rounding of service | Over 6 months rounds up | Only completed years count |
| Salary component used | Basic + DA | Basic + DA (avg. of last 10 months in some cases) |
| Minimum service | 5 years (1 year for fixed-term staff under new rules) | Generally 5 years |
| Tax-free ceiling | ₹20 lakh | ₹20 lakh |
Step-by-Step: How to Use a Gratuity Calculator Online
Working this out manually is where most people make mistakes, particularly with the rounding rule and choosing the correct divisor. An online gratuity calculator removes that risk entirely. Here is how to use one correctly:
- Enter your last drawn basic salary plus DA. Do not use your gross or take-home salary; only Basic and DA count toward the calculation.
- Enter your joining date and your last working day. The calculator works out your exact tenure, including the rounding rule, automatically.
- Select whether your employer is covered under the Payment of Gratuity Act. Most private companies with 10 or more staff are covered.
- Choose your reason for leaving. Resignation and retirement follow the standard 5-year eligibility rule, while death or permanent disablement waives it.
- Review your result, which includes both the gratuity amount and how much of it falls within the tax-exempt limit.
Who Is Eligible for Gratuity?
Eligibility is where a large number of employees get confused, so it helps to be precise. Under the Payment of Gratuity Act, 1972, you generally qualify if:
- You have completed at least 5 years of continuous service with the same employer.
- You are exiting due to retirement or superannuation.
- You resign after completing the minimum qualifying period.
- You become permanently disabled due to an accident or illness, in which case the 5-year condition does not apply.
- You pass away while employed, in which case the amount is paid to your nominee or legal heir, again without the 5-year requirement.
Courts have generally interpreted “continuous service” generously. An employee who completes 240 days of actual work in their fifth year (190 days for establishments working a 5-day week) is often treated as having completed a full year for gratuity purposes, effectively bringing the qualifying period closer to 4 years and 8 months in practice. This interpretation can vary between employers and jurisdictions, so it is worth checking your specific appointment letter and company HR policy before you plan an exit date around it.
Gratuity Calculation for Private vs Government Employees
Private Sector Employees
Private employees are the largest group searching for a gratuity calculator, and the rules for them are as follows:
- Most private employers with 10 or more staff fall under the Act, and the 15/26 formula applies.
- Smaller, non-covered establishments use the 15/30 formula if they choose to pay gratuity voluntarily.
- The tax-exempt ceiling is currently ₹20 lakh; anything paid above this is treated as taxable income.
- Employers are legally required to settle gratuity within 30 days of it becoming due, with interest payable on delays.
Government Employees
Government employees, including Central and State Government staff and those in Public Sector Undertakings, are generally governed by pension and retirement gratuity rules rather than solely the Payment of Gratuity Act.
- Gratuity received on retirement or death is fully exempt from income tax, with no cap.
- Calculations typically follow the Central Civil Services (Pension) Rules, though the underlying principle of last drawn salary multiplied by years of service still applies.
- Dearness Allowance revisions applicable at the time of retirement are usually factored in.
Tax Treatment of Gratuity in India
How much of your gratuity you actually keep depends on your employment category, under Section 10(10) of the Income Tax Act:
- Government employees: Fully exempt, regardless of amount.
- Private employees covered under the Act: The exemption is the lowest of the actual gratuity received, ₹20 lakh, or the amount calculated using the statutory 15/26 formula.
- Private employees not covered under the Act: A similar three-way exemption applies, but the calculation uses the 15/30 formula and an average of the last 10 months’ salary rather than the single last drawn figure.
Any amount received above the applicable exempt limit is added to your taxable salary income and taxed at your normal income tax slab rate for that year.
What Changed Under the New Labour Codes
India’s four labour codes, including the Code on Social Security, 2020, which subsumes the Payment of Gratuity Act, 1972, were notified as effective law on 21 November 2025, with full central and state-level enforcement expected to be completed through 2026 as individual states finalise their rules. If you are searching for a “new gratuity calculator” or “gratuity calculator new rules,” these are the two changes that matter most.
1. A New Definition of “Wages”
Basic pay, dearness allowance, and retaining allowance must now together make up at least 50% of an employee’s total CTC. Many companies had historically kept Basic Pay artificially low, around 30 to 40% of CTC, and inflated other allowances like HRA and special pay instead. Since gratuity is calculated only on Basic plus DA, this practice quietly suppressed gratuity payouts for years. Under the new rule, if allowances exceed 50% of CTC, the excess is reclassified as wages for the purpose of computing gratuity, provident fund, and other statutory dues.
2. Higher Gratuity Payouts for Long-Tenured Employees
Because the calculation base increases under the new wage definition, employees who have completed several years of service can expect a noticeably higher gratuity payout compared to what the old salary structure would have produced, particularly in companies that previously kept Basic Pay low.
3. Gratuity for Fixed-Term Employees
Previously, only employees with 5 years of continuous service qualified for gratuity. Fixed-term and contract employees rarely reached that mark. Under the new codes, fixed-term employees become eligible for pro-rata gratuity after just 1 year of continuous service, while the traditional 5-year rule continues to apply to permanent staff.
4. Faster Full and Final Settlements
Full and final settlement of dues, including gratuity, is now expected to move faster than the earlier 30 to 45-day norm, though exact timelines will depend on how each state notifies and implements the rules.
Because implementation is being rolled out state by state, it is worth checking your own state’s notified rules or asking your HR team whether your company’s salary structure has already been restructured to reflect the 50% wage rule. This is also why relying on an old spreadsheet formula from a few years ago is risky in 2026, an updated calculator accounts for these changes automatically.
Common Mistakes People Make When Calculating Gratuity Manually
- Using gross salary instead of Basic plus DA. This is the single most common error and can significantly overstate the expected payout.
- Forgetting the rounding rule. Employees covered under the Act often forget that more than 6 months of service in the final year rounds up to a full year.
- Applying the wrong divisor. Using 26 for a non-covered employer, or 30 for a covered one, produces an incorrect figure.
- Ignoring the ₹20 lakh tax-exemption cap when estimating take-home value after tax.
- Assuming eligibility starts only after exactly 5 years, without accounting for the 240-day rule in the final year or the exceptions for death and disability.
Planning What to Do With Your Gratuity Payout
Once you have an estimate of your gratuity amount, it helps to think ahead about where that lump sum will go. If your priority is capital safety with a predictable return, the Fixed Deposit Calculator shows how your payout could grow over a fixed tenure. If you would rather build a long-term, tax-free retirement corpus, the PPF Calculator is a useful next step. For those comfortable with market-linked growth, the Step-Up SIP Calculator shows how a lump-sum gratuity payout combined with a growing monthly investment compounds over time.
If your employer’s restructuring under the new wage rules is affecting your broader compensation planning, the Compound Interest Calculator can help you visualise long-term corpus growth, and if you are weighing whether to close an existing loan using part of your gratuity, the EMI Calculator lets you compare both scenarios side by side.
Frequently Asked Questions
How is gratuity calculated in India?
For employees covered under the Payment of Gratuity Act, gratuity is calculated as (Last Drawn Salary × 15 × Years of Service) ÷ 26. For employees not covered under the Act, the divisor changes to 30, and only completed years of service are counted.
What salary is used to calculate gratuity, basic or gross?
Only your last drawn Basic Salary plus Dearness Allowance is used. Components like HRA, conveyance, bonus, and special allowances are excluded from the calculation.
What is the minimum service period required for gratuity?
Generally, 5 years of continuous service is required. This condition is waived in cases of death or permanent disablement. Under the new labour codes, fixed-term employees become eligible after just 1 year of continuous service.
What is the maximum tax-free gratuity amount?
For private sector employees, the maximum tax-exempt gratuity amount is currently ₹20 lakh under Section 10(10) of the Income Tax Act. Amounts above this are taxed as per your applicable slab. Government employees receive full tax exemption with no upper limit.
Can I receive gratuity before completing 5 years?
Yes. If you pass away or become permanently disabled due to an accident or illness while in service, the 5-year rule does not apply. Fixed-term employees are also now eligible after 1 year of continuous service under the new labour codes.
Is gratuity part of my CTC?
Yes, gratuity is usually included as a component of your Cost to Company, even though it is paid out only once, at the time of exit, rather than monthly.
How long does my employer have to pay gratuity after I leave?
Employers are required to pay gratuity within 30 days of it becoming due. Delayed payments attract simple interest on the outstanding amount.
Will the new labour codes increase my gratuity amount?
For many employees, yes. Since Basic Pay plus DA must now account for at least 50% of total CTC, the base used to calculate gratuity increases, which typically results in a higher payout compared to the older salary structure, especially for employees who have completed several years of service.
Conclusion
Knowing how to calculate gratuity puts you in a far stronger position when planning a resignation, approaching retirement, or simply reviewing your CTC breakup. The formula itself is straightforward once you know which salary components to use, whether your employer falls under the Payment of Gratuity Act, and how the rounding rule applies to your exact tenure. With the new labour codes reshaping how wages and gratuity bases are defined through 2026, checking your numbers regularly matters more than ever. Use our gratuity calculator to get an instant, accurate estimate based on your actual salary and service period, and revisit it periodically as your state’s implementation of the new rules progresses.
