Gratuity Calculator
Work out the gratuity your employer owes you under the Code on Social Security, 2020. Enter your last-drawn basic plus DA, any special allowance, total pay and service to see the gratuity, how much of it is tax-free and how much is taxed, starting from 8 years 8 months on ₹60,000.
With the default inputs, ₹60,000 basic plus DA, no other pay counted as wages and ₹1,00,000 total pay a month, 8 years 8 months of permanent service:
- Gratuity
- ₹3,11,538
- Tax-Free
- ₹3,11,538
- Taxable
- ₹0
With the default inputs, ₹60,000 basic plus DA, no other pay counted as wages and ₹1,00,000 total pay a month, 8 years 8 months of permanent service:
- Gratuity
- ₹3,11,538
- Tax-Free
- ₹3,11,538
- Taxable
- ₹0
How much gratuity you get
A gratuity calculator works out the lump sum your employer owes you when you leave after at least 5 years, or 1 year on a fixed-term contract. It's 15 days' wages for each year of service, on a 26-day month. On ₹60,000 of basic plus DA and 8 years 8 months of service, that's ₹3,11,538.
All of it is tax-free, because it's well under the ₹20,00,000 limit for a private-sector employee and it's all worked out on basic plus DA. The calculator above takes your last-drawn basic plus DA, any other pay that counts as wages (a special allowance, say), your total monthly pay for the Code on Social Security's 50% wages rule, your years and months of service, and whether you're on a fixed-term contract. It shows the gratuity, how much of it is tax-free and how much is taxable.
The gratuity calculation formula
Section 53(2) of the Code on Social Security, 2020 sets the rate at 15 days' wages for every completed year of service, or part of a year over six months, at the rate of wages last drawn. For a monthly-paid employee, Explanation 3 to that section says 15 days' wages means the monthly wage divided by 26 and multiplied by 15. The Payment of Gratuity Act, 1972, which the Code replaced on 21 November 2025, used the same formula.
Gratuity = 15 × W × N ÷ 26
- W
- Monthly wages last drawn: basic pay plus dearness allowance (and retaining allowance, if any), plus any other pay the Code doesn't exclude, such as a special allowance. HRA, conveyance, overtime, commission, bonus and the employer's PF contribution are excluded, but if they come to more than half your total pay, the excess is added back to W
- N
- Years of service: every completed year, plus one more if the final part-year is more than six months
- 15
- 15 days' wages for each year counted
- 26
- Working days in a month, so a month's wages ÷ 26 is one day's wages
So each counted year at ₹60,000 of wages is worth about ₹34,615, a little over half a month's pay. Note that W is your last-drawn wage, not an average. A raise in your final year lifts the gratuity for every year you've worked, not just the last one.
Gratuity by years of service
Here's what the formula pays after 5 to 30 completed years, at the default ₹60,000 a month and at ₹1,50,000. Each row is the calculator's own function run on those inputs when this page was built, so the figures match what the calculator shows.
| Years of service | Gratuity at ₹60,000 | Gratuity at ₹1,50,000 | Tax-free | Taxable |
|---|---|---|---|---|
| 5 years | ₹1,73,077 | ₹4,32,692 | ₹4,32,692 | ₹0 |
| 10 years | ₹3,46,154 | ₹8,65,385 | ₹8,65,385 | ₹0 |
| 15 years | ₹5,19,231 | ₹12,98,077 | ₹12,98,077 | ₹0 |
| 20 years | ₹6,92,308 | ₹17,30,769 | ₹17,30,769 | ₹0 |
| 25 years | ₹8,65,385 | ₹21,63,462 | ₹20,00,000 | ₹1,63,462 |
| 30 years | ₹10,38,462 | ₹25,96,154 | ₹20,00,000 | ₹5,96,154 |
At ₹60,000 a month, gratuity grows in a straight line and never gets near the ceiling: you'd need 58 years at that wage to reach ₹20,00,000. At ₹1,50,000, the formula passes ₹20,00,000 from 24 completed years. That's where the ceiling and the tax split, covered below, start to matter.
What counts as wages under the new labour code
Under the 1972 Act, wages for gratuity meant basic plus DA and nothing else. Many employers kept basic low and paid the rest as allowances, which kept gratuity small. The Code on Social Security turns that around. Section 2(88) defines wages as all remuneration, then lists what's left out: bonus, the value of house accommodation, the employer's PF and pension contribution, conveyance allowance, HRA, overtime, commission, and a few one-off items such as gratuity itself and retrenchment compensation. Anything not on that list is wages. A special allowance isn't on it, so it counts in full.
Then comes the first proviso, the 50% rule. If the excluded payments add up to more than half of your total remuneration, the amount above half is counted as wages as well. In effect, the wages the formula uses can't fall below half of your total pay. The Labour Ministry's FAQs on the Labour Codes say the revised definition applies to gratuity from 21 November 2025, and that performance-based incentives, ESOPs, the variable part of pay and reimbursements aren't part of wages.
One caution on the special allowance. The FAQs describe the 50% rule more loosely than the Code, as applying to all allowances other than basic, DA and retaining allowance, and never name a special allowance. Read that way, a special allowance counts only through the 50% rule. The calculator follows the Code's text. If your employer follows the FAQs' wording, leave the second field at zero and keep the special allowance in total pay, and the calculator gives you that figure instead.
So the calculator asks for three pay figures. Enter basic plus DA in the first field, and a special allowance or any other pay not on the exclusion list in the second. For total monthly pay, add up every fixed monthly payment, the excluded allowances included, plus your employer's PF contribution, because the proviso compares the exclusions against all of your remuneration. It's not your take-home. Leave out bonus, incentives and ESOPs; the calculator works on a month's fixed pay.
Take a low-basic payslip: ₹30,000 basic plus DA in a total of ₹1,00,000, with no special allowance and the same 8 years 8 months of service as the defaults. Excluded allowances are ₹70,000, more than half of pay, so the wages rise to ₹50,000. Gratuity comes to ₹2,59,615, against ₹1,55,769 on basic plus DA alone. The rule is worth ₹1,03,846 here.
Now one with a special allowance: ₹40,000 basic plus DA, ₹30,000 special allowance and ₹30,000 of HRA and conveyance, ₹1,00,000 in all, with the same service. The wages are ₹40,000 + ₹30,000 = ₹70,000, already more than half of pay, so the 50% rule adds nothing. Gratuity comes to ₹3,63,462. On the cautious tax reading explained below, ₹2,07,692 of it is tax-free and ₹1,55,770 is taxable.
And if your wages are already half your pay or more, as in the defaults, the 50% rule changes nothing. ₹60,000 out of ₹1,00,000 clears the bar, so the wages stay at ₹60,000.
How the last part-year rounds
The final part-year counts as a full year only if it's more than six months. Exactly six months doesn't qualify, because section 53(2) says "in excess of six months".
So one month can be worth a year's gratuity. At the default wages, 7 years 6 months counts as 7 years and pays ₹2,42,308. Stay a month longer, to 7 years 7 months, and it counts as 8 years and pays ₹2,76,923, ₹34,615 more.
If you're planning a resignation date, check where your part-year falls. Serving notice can carry you past the line. The rounding doesn't help you qualify, though: at 4 years 11 months on a permanent job, the calculator shows ₹0, because you haven't completed 5 years.
Who qualifies for gratuity
The Code on Social Security covers establishments with 10 or more employees. Within them, here's who gets gratuity and when:
- Permanent employees: after at least 5 years of continuous service, on retirement, resignation or termination.
- Fixed-term employees: after one year of service under the contract, paid pro rata. The Labour Ministry's FAQs say a fixed-term employee is eligible on rendering one year from the start of the contract, so an 11-month contract doesn't qualify. Neither the Code nor the FAQs spell out how pro rata is worked out. The calculator applies the same 15/26 formula with the same rounding, so 1 year 3 months pays ₹34,615 and 1 year 8 months pays ₹69,231 at the default wages. Confirm the method with your employer.
- Death or disablement: the 5-year minimum doesn't apply. On death, gratuity goes to your nominee or legal heirs. The calculator applies the 5-year test, so for this case enter the service as if it qualified.
- Gratuity can be forfeited, wholly or in part, if you're dismissed for causing loss to the employer's property, for violent or disorderly conduct, or for an offence involving moral turpitude in the course of your job.
What about 4 years and 240 days? Continuous service has a specific definition in section 54 of the Code, and in some readings 4 years and 240 days in the fifth year has been treated as meeting the 5-year requirement. If you're close, check your specific situation rather than assuming. The calculator itself needs the full 5 years.
The ₹20 lakh ceiling and how gratuity is taxed
Two separate limits share the same number. The first caps the gratuity your employer must pay by law: section 53(3) of the Code lets the Central Government notify a maximum, and the Labour Ministry's FAQs put it at ₹20,00,000, the same ceiling the 1972 Act had since March 2018. Your employer can pay more if your contract, an agreement or an award gives better terms.
The second is the tax-free limit. For a non-government employee, section 19 of the Income-tax Act, 2025, which replaced section 10(10) of the 1961 Act from 1 April 2026, lets gratuity up to ₹20,00,000 come out of your salary income tax-free. Government employees' gratuity is fully tax-free. Anything above the limit is taxed as salary at your slab.
So when does the calculator show a taxable amount? In two cases. The first is when the formula gives more than ₹20,00,000. Take ₹1,50,000 of wages and 25 years of service: the formula gives ₹21,63,462. By law your employer owes ₹20,00,000. If your terms pay the full formula amount, ₹20,00,000 of it is tax-free and the other ₹1,63,462 is taxed.
The second is when your wages go beyond basic plus DA, through a special allowance or the 50% rule. The Income-tax Act, 2025, as enacted, ties the exemption for covered employees to the gratuity worked out under section 4 of the 1972 Act, and that Act's wages, in its section 2(s), were basic plus DA with every other allowance left out. The Finance Act, 2026 didn't change that entry. Read literally, gratuity on anything more isn't exempt, even far below ₹20,00,000. In the special allowance example that's ₹1,55,770 of the ₹3,63,462; in the low-basic example, the ₹1,03,846 the 50% rule added. The calculator takes this cautious reading, so its tax-free figure never exceeds the formula on basic plus DA.
There's a real argument the other way. Section 8 of the General Clauses Act, 1897 says that when a Central Act repeals and re-enacts a provision, a reference to it in another law is read as a reference to the re-enacted provision, unless a different intention appears. The Code re-enacts the 1972 Act's gratuity rule as its section 53, so on that reading the whole gratuity under the Code would be exempt up to ₹20,00,000, special allowance and 50% rule included. Neither reading is settled. Until the CBDT clarifies, check with your employer or a tax adviser how they'll report it.
If your employer isn't covered by the Code
The Code's gratuity chapter covers every factory, mine, plantation, port and railway company, and every shop or establishment that has had 10 or more employees on any day in the past twelve months. A smaller employer outside it isn't bound by the Code, though some pay gratuity under their own terms. If yours does, a different rule decides how much is tax-free: the least of the gratuity you actually get, the ₹20 lakh notified limit, and half a month's average salary for each completed year of service. Salary here is basic plus DA, averaged over the ten months before the month you leave, and only completed years count, with no rounding.
On the defaults, with ₹60,000 of average salary and 8 completed years, the half-month formula gives ₹2,40,000. A covered employee with the same pay and service gets ₹3,11,538 under the Code's formula. The calculator above uses the Code's formula, so for a non-covered employer, treat its result as an upper bound and use the half-month figure for the tax-free part.
When gratuity is paid, and what to do if it's late
You apply to your employer in writing once gratuity becomes payable. Under section 56 of the Code, the employer has to work out the amount whether or not you've applied, give you written notice of it, and pay within 30 days of the date it became payable.
What if they don't? A late payment carries simple interest from the date gratuity became payable to the date it's paid, at a rate capped by the government's notified rate for long-term deposits. If the amount itself is in dispute, the employer must deposit what it admits it owes with the competent authority, and either side can apply to that authority to settle the dispute. Its order can be appealed within 60 days.
Keep your appointment letter, your last payslips and your relieving letter. They prove the wages and the service the formula runs on.
What the calculator assumes
A few simplifications sit behind every figure. Know them before you plan around the result.
- You're a monthly-paid employee. Piece-rated and seasonal employees have their own rules in section 53(2).
- Basic plus DA, other wages and total pay are your last-drawn monthly figures. Total pay means fixed monthly pay with the employer's PF contribution; annual, variable or one-off payouts such as bonus, incentives and ESOPs are left out.
- The tax split assumes a non-government employee with no tax-free gratuity from an earlier job. Under the not-covered rule, the ₹20,00,000 limit is reduced by any gratuity exempted in earlier years. A government employee's gratuity is fully tax-free.
- The result is the formula amount. It doesn't cap the payout at ₹20,00,000; above that, only better contract terms make the extra payable.
- Fixed-term pro rata uses the same formula and rounding as permanent service, because no other method has been prescribed.
Where to go next
Once you know your gratuity, these take it further.
- Gratuity rules in IndiaThe law behind the numbers: the move to the Labour Codes, the Ministry's FAQs and the common misunderstandings about gratuity.
- Retirement Corpus CalculatorSee how far a gratuity lump sum goes towards the corpus you'll need.
- SWP CalculatorTurn a lump sum into a monthly income and see how long it lasts.
- Income Tax CalculatorIf part of your gratuity is taxable, add it to your salary and see the tax under each regime.
- EPF guideGratuity's partner on your payslip: how EPF builds up and when you can withdraw it tax-free.
Frequently Asked Questions
How is gratuity calculated?
Gratuity = 15 × last-drawn monthly wages × years of service ÷ 26. Wages are basic plus DA plus any other pay the Code on Social Security doesn't exclude, such as a special allowance, and a final part-year of more than six months counts as a full year. On ₹60,000 of basic plus DA, no special allowance and 8 years 8 months of service, that's 15 × ₹60,000 × 9 ÷ 26 = ₹3,11,538, all of it tax-free.
How is gratuity calculated under the new labour code?
The formula is the same, but the Code on Social Security, 2020, in force from 21 November 2025, widens wages. Any pay not on its exclusion list, such as a special allowance, counts in full. And if HRA, conveyance, the employer's PF and the other excluded items are more than half your total pay, the excess counts as wages too. On ₹30,000 basic in a ₹1,00,000 total, wages rise to ₹50,000 and gratuity for the same service is ₹2,59,615 instead of ₹1,55,769, ₹1,03,846 more. Fixed-term employees now qualify after one year.
How much gratuity is tax-free?
For a non-government employee, up to ₹20,00,000 under section 19 of the Income-tax Act, 2025, and, on a literal reading, no more than the same formula gives on basic plus DA alone, so gratuity on a special allowance or from the Code's 50% wages rule may be taxed. On ₹40,000 basic plus DA and ₹30,000 special allowance for 8 years 8 months, the calculator shows ₹3,63,462, of which ₹2,07,692 is tax-free and ₹1,55,770 taxable. That reading isn't settled: section 8 of the General Clauses Act, 1897 would read the reference to the repealed 1972 Act as one to the Code, exempting the whole amount up to ₹20,00,000. Government employees' gratuity is fully tax-free. The same ₹20,00,000 also caps what an employer must pay by law. On ₹1,50,000 of wages and 25 years, the formula gives ₹21,63,462: if your terms pay all of it, ₹20,00,000 is tax-free and ₹1,63,462 is taxed at your slab.
Does 6 months count as a full year for gratuity?
No, it has to be more than six months. At ₹60,000 of wages, 7 years 6 months counts as 7 years and pays ₹2,42,308, while 7 years 7 months counts as 8 years and pays ₹2,76,923. One extra month adds ₹34,615.
Can I get gratuity before 5 years of service?
Yes in three cases. A fixed-term employee qualifies after one year of service under the contract, paid pro rata: 1 year 3 months at ₹60,000 pays ₹34,615 on the calculator's method, while an 11-month contract pays ₹0. The 5-year minimum is also waived on death or disablement. Some readings treat 4 years and 240 days as meeting the requirement, so check your situation if you're close.
When does my employer have to pay gratuity?
Within 30 days of the date it becomes payable, under section 56 of the Code on Social Security. If the employer pays late, it owes simple interest from that date until payment. If the amount is disputed, the employer must deposit what it admits it owes with the competent authority, and you can apply to that authority to decide the rest.