Gratuity Calculator
What does your employer owe you when you leave? Work it out on the 15/26 formula — with the five-year eligibility check, the six-month rounding rule, the ₹20 lakh cap and the tax-free split. Estimate only — gratuity law changed on 21 November 2025, and this is not legal or tax advice.
Your gratuity — statutory amount
How it was worked out
Are you eligible?
Per month of service
The ₹20 lakh ceiling
The 50% wage rule (from 21 November 2025)
Covered vs not covered
Tax on your gratuity
Year by Year — What Each Year Adds
| Year of service | That year adds | Gratuity so far |
|---|
What Is Gratuity?
Gratuity is a lump sum your employer pays you when you leave after long service — a thank-you for the years you put in, written into law. It is not part of your monthly pay and it is not a bonus your employer chooses to give: for most formal-sector employees in India it is a legal entitlement, paid on retirement, resignation, termination, or to your nominee if you die in service.
The amount depends on only two things: your last drawn Basic + DA, and how long you worked for that one employer. Everything else on this page — the five-year rule, the rounding, the ₹20 lakh cap, the tax — is about those two numbers. If you are checking what you are owed before you resign, start with your last payslip: Basic + DA is the only pay that counts, not your CTC, not your gross salary, and not the HRA or special allowances on top of it.
The Gratuity Formula — How the Number Is Worked Out
For an employer covered by the gratuity law — broadly, one with ten or more employees — the formula is:
Gratuity = (Last drawn Basic + DA × 15 × Years of service) ÷ 26
The 15 is fifteen days’ wages for each year of service. The 26 is the number of working days the law counts in a month — thirty days less four Sundays — so fifteen days’ wages is 15/26 of a month’s pay. On ₹50,000 a month with 10 years of service: ₹50,000 × 15 × 10 ÷ 26 = ₹2,88,462.
Two details decide whether that number is right. First, the years: a part-year of more than six months counts as a full year — so 7 years 7 months counts as 8 years (₹2,30,769 on ₹50,000), but 7 years 6 months counts as 7 (₹2,01,923). The law’s words are “in excess of six months”, so exactly six months does not round up — although some employers and calculators count it, and if yours does, add one year to the result. Second, the cap: whatever the formula gives, the amount the employer must pay stops at ₹20,00,000.
For an employer not covered by the Act, the usual formula is different: average salary of the last 10 months × 15 × completed years ÷ 30 — completed years only, with no rounding up. On the same ₹50,000 and 10 years that gives ₹2,50,000, which is ₹38,462 less. The calculator above shows both figures side by side so you can see what the 26-versus-30 difference is worth.
Worked Examples
₹50,000 a month, 10 years. The case most people check first: ₹50,000 × 15 × 10 ÷ 26 = ₹2,88,462 — ₹28,846 for each year of service, or ₹2,404 for every month worked. All of it is tax-free, because it sits inside the ₹20 lakh lifetime limit.
₹40,000 a month, 5 years. The minimum qualifying service: ₹40,000 × 15 × 5 ÷ 26 = ₹1,15,385. At ₹60,000 a month the same five years gives ₹1,73,077.
The rounding edge. On ₹50,000 a month, 7 years 7 months counts as 8 years and pays ₹2,30,769; 7 years 6 months counts as 7 and pays ₹2,01,923. One month of service is worth ₹28,846 here — the difference between leaving in June and leaving in July.
The ceiling. On ₹2,00,000 a month with 25 years, the formula gives ₹28,84,615 — but the payable amount is capped at ₹20,00,000. The extra ₹8,84,615 is not owed under the statute.
Not covered. The same ₹50,000 and 10 years at an employer with fewer than 10 staff gives ₹2,50,000 under the 15/30 formula — ₹38,462 less than the covered figure.
Fixed-term. A two-year fixed-term contract on ₹50,000 a month gives ₹57,692 — payable when the contract ends, with no five-year wait, under the Code that came into force on 21 November 2025.
The Five-Year Rule — And the Exceptions
Gratuity needs five years of continuous service with the same employer. Continuous means unbroken — approved leave, sick leave and legal strikes still count, but a gap between two different employers does not: the clock restarts with each employer, and each employer pays only for the years you gave them.
There are three exceptions. On death or permanent disability there is no minimum at all — gratuity is payable whatever the length of service, to the nominee or legal heir. For fixed-term employees, the Code on Social Security, 2020 gives gratuity pro-rata after one year under the contract, with no five-year wait — a two-year contract now carries a gratuity cost that the same person on a two-year permanent stint would not have generated. For working journalists, five years is read as three.
Then there is the borderline case: four years and seven months. The rounding rule would count that as five years for the amount — but the rounding rule fixes the amount, not the eligibility, so under the strict reading you are not eligible yet. Several High Courts, however, have treated four years plus 240 days worked in the fifth year as completing five years, and many employers pay on that basis. There is no Supreme Court ruling either way, so this is the one case where you should ask HR which rule they follow — the calculator above flags it as “likely eligible” rather than pretending the answer is settled.
What Changed on 21 November 2025
On 21 November 2025 the four labour codes came into force, and gratuity moved from the Payment of Gratuity Act, 1972 into Chapter V (sections 53–59) of the Code on Social Security, 2020. Most of what people check did not change at all:
| Rule | Before (1972 Act) | Now (Code, from 21 Nov 2025) |
|---|---|---|
| Formula | 15 days’ wages × years ÷ 26 | Unchanged |
| Five-year rule | 5 years of continuous service | Unchanged for regular employees |
| Rounding | Part-year over 6 months counts as a full year | Unchanged |
| Ceiling | ₹20,00,000 (notified 29 Mar 2018) | Ceiling is whatever the government notifies; ₹20 lakh is the last notified figure |
| Fixed-term employees | No gratuity before 5 years | Pro-rata after 1 year under the contract |
| What counts as wages | Basic + DA only | Basic + DA, but excluded allowances above half of total pay are added back |
| Journalists | 5 years | 3 years |
One honest caveat: the central and state governments are still finalising the detailed rules under the Code, and until those rules are notified the existing rules, schemes and notifications under the old Acts continue to operate. If your exit is close to 21 November 2025, confirm with HR which set of rules your employer is applying.
Tax on Gratuity — The ₹20 Lakh Lifetime Limit
Gratuity is tax-free up to ₹20,00,000 — but that is a limit over your whole working life, across every employer, not per employer. The tax-free amount is the least of three figures: the gratuity actually received, ₹20 lakh minus any gratuity you already received from earlier employers, and the formula amount. Anything above that is taxed as salary in the year you receive it.
So if you received ₹8 lakh of gratuity from a previous employer and now receive ₹15 lakh, only ₹12 lakh of the second payment is tax-free and ₹3 lakh is taxable — at the 30% slab, about ₹90,000 of tax. Government employees are different: their gratuity is fully exempt, with no cap at all. The calculator above asks for gratuity already received and your slab, so the split it shows is yours, not a generic one.
The 50% Wage Rule — When Your Basic Is Too Small
Since 21 November 2025, Basic + DA cannot be counted as less than half of your total pay. If your salary is structured with a small basic and large allowances — a common way to cut PF and gratuity costs — the excess allowances above half of total pay are added back into the wage base.
Take a payslip with Basic + DA of ₹40,000 on total pay of ₹1,00,000: half of total pay is ₹50,000, which is more than ₹40,000, so the wage base becomes ₹50,000. Over 10 years that lifts the gratuity from ₹2,30,769 to ₹2,88,462 — ₹57,693 more. If your Basic + DA is already half or more of your total pay, the rule changes nothing. Enter your total monthly pay in the calculator above and it applies the rule for you; leave it blank and it uses Basic + DA as before.
Gratuity in Pakistan — A Different Law
Pakistan does not use the 15/26 formula. Under the West Pakistan Industrial and Commercial Employment (Standing Orders) Ordinance, 1968, an employee usually gets one month’s last drawn salary for every completed year of service, after at least one year of continuous service — not five. A part-year of more than six months counts as a full year there too, so 4 years 7 months counts as 5 years and pays five months’ salary.
Gratuity there is usually tax-exempt up to Rs 3,00,000 when paid from an unapproved fund, and fully exempt from a Commissioner-approved gratuity fund. It typically applies where the employer has no approved provident fund matching the employee’s contribution. This calculator follows Indian law — if you work in Pakistan, use the figures above only as a guide and check them with your HR team.
Common Mistakes
Using your CTC instead of Basic + DA. If your basic is 40% of your CTC, using the CTC overstates your gratuity by roughly two and a half times. Gratuity is worked out on Basic + DA only — check the payslip, not the offer letter.
Counting your whole career instead of one employer. Gratuity is per employer. Five years across three jobs is not five years of continuous service anywhere — each employer pays only for the years you gave them.
Assuming six months rounds up. The law says a part-year “in excess of six months” counts as a full year. Exactly six months does not round up — 7 years 6 months is 7 years, not 8. Some employers count it anyway, so check, but do not assume it.
Forgetting the lifetime ₹20 lakh limit. The tax-free limit is across every employer you ever worked for. Gratuity from a previous job eats into it, and the calculator above is the only place on this page that counts it.
Assuming the employer must pay above ₹20 lakh. The statute caps the obligation at ₹20 lakh. Anything above that is the employer’s choice, paid as ex gratia, and taxable.
Quoting the 1972 Act as if nothing changed. The formula is the same, but fixed-term employees and the 50% wage rule are new since 21 November 2025 — and the state rules under the Code are still being finalised, so confirm the current position with HR for an exit near that date.
Frequently Asked Questions
For an employer covered by the gratuity law (10 or more employees), gratuity = your last drawn monthly Basic + DA × 15 ÷ 26 × years of service. The 15 is fifteen days’ wages for each year, and the 26 is the working days in a month. So on ₹50,000 a month with 10 years of service it is ₹50,000 × 15 ÷ 26 × 10 = ₹2,88,462. Only Basic + DA counts — not HRA, bonuses or your full CTC. The calculator above does the same sum, and rounds to the nearest rupee.
Yes, for a regular employee: five years of continuous service with the same employer, in an establishment with 10 or more employees. The five-year condition does not apply on death or permanent disability — gratuity is payable whatever the length of service. Fixed-term employees are different since 21 November 2025: they get gratuity pro-rata after one year under the contract, with no five-year wait. Working journalists need three years instead of five.
Under the strict rule you are not eligible yet — the five-year condition is about continuous service, and the rounding rule (a part-year over six months counts as a full year) fixes the amount, not the eligibility. But several High Courts have treated four years plus 240 days worked in the fifth year as completing five years, and many employers pay on that basis; there is no Supreme Court ruling either way. At ₹50,000 a month, 4 years 7 months counts as 5 years and comes to ₹1,44,231 — the calculator above shows this as “likely eligible” and tells you to confirm it with HR.
₹20,00,000 is the most an employer is legally required to pay under the Act — the ceiling was last notified on 29 March 2018, and the Code on Social Security, 2020 says the ceiling is whatever the government notifies. If the formula gives more, the payable amount is capped at ₹20 lakh: on ₹2,00,000 a month with 25 years the formula gives ₹28,84,615, but the payable amount is ₹20,00,000. An employer may pay more voluntarily, but the excess is treated as ex gratia and is taxable.
Up to ₹20,00,000 over your whole working life, across every employer — not per employer. For a private-sector employee the tax-free amount is the least of three figures: the gratuity actually received, ₹20 lakh minus any gratuity you already received from earlier employers, and the formula amount. Anything above that is taxed as salary in the year you receive it. Government employees are fully exempt, with no cap. The calculator above works the split out at your tax slab.
The Code came into force on 21 November 2025 and replaced the Payment of Gratuity Act, 1972. The formula (15/26), the five-year rule, the six-month rounding rule and the ₹20 lakh ceiling did not change. What changed: fixed-term employees now get gratuity pro-rata after one year under the contract, with no five-year wait; wages now follow the Code definition, so if your excluded allowances are more than half your total pay, the excess is added back into the wage base (the 50% wage rule); and working journalists need three years instead of five. State rules under the Code are still being finalised — until they are notified, the old rules continue to operate.
Because the law treats a month as 26 working days — thirty days less four Sundays. Fifteen days’ wages is therefore 15/26 of a month’s pay, not 15/30. Dividing by the smaller number gives a larger daily rate, so the 26-day convention is in your favour: on ₹50,000 a month with 10 years, 15/26 gives ₹2,88,462 while 15/30 gives ₹2,50,000 — ₹38,462 less. Employers outside the Act commonly use 30, which is why the calculator above lets you compare both.
Then the employer is not covered by the Act, and the usual formula is different: gratuity = average salary of the last 10 months × 15 × completed years ÷ 30, with no rounding up of a part-year. On the same ₹50,000 a month and 10 years that gives ₹2,50,000 instead of ₹2,88,462. The five-year rule still applies, and the tax treatment is the same — the exempt amount is the least of the gratuity received, ₹20 lakh and the formula amount. Use the “not covered” switch in the calculator above to see both figures side by side.
No — Pakistan is a different law. Under the West Pakistan Industrial and Commercial Employment (Standing Orders) Ordinance, 1968, an employee usually gets one month’s last drawn salary for every completed year of service, after at least one year of continuous service — not five. A part-year of more than six months counts as a full year there too. Gratuity is usually tax-exempt up to Rs 3,00,000 when paid from an unapproved fund, and fully exempt from a Commissioner-approved gratuity fund. This calculator follows Indian law; if you work in Pakistan, check the figures with your HR team.