Gratuity Calculator (India)

Work out the gratuity you are owed under the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972 on 21 November 2025. Enter your last drawn monthly Basic + DA and how long you have worked — the result, the years credited and the full arithmetic update as you type.

Gratuity payable
₹2,88,462
Service credited
10 years
15 days’ wages (per year)
₹28,846

Whole years of service, so there is no part-year to round — 10 years credited.

50,000 × 15 × 10 ÷ 26 = 2,88,462

Five years of continuous service is normally required. Under the Code, gratuity becomes payable once you have completed five years, whether you leave on superannuation, retirement or resignation. That condition does not apply if employment ends because of death or disablement — then it is payable however short the service — or when a fixed-term contract ends, where one year of service is enough. See the FAQ on four years and 240 days, which is the one genuinely contested edge.
On this page
  1. Covered by the Code vs not covered — the same person, two answers
  2. How the gratuity formula works
  3. A worked example, step by step
  4. Gratuity payable at a glance — salary × years of service
  5. What counts as salary, and what does not
  6. Before you rely on the number
  7. Frequently asked questions
  8. Sources
  9. Related tools
Cite this page

APA

Internet Tool Wizard. (n.d.). Gratuity Calculator (India). https://www.internettoolwizard.com/tools/gratuity-calculator/

MLA

“Gratuity Calculator (India).” Internet Tool Wizard, www.internettoolwizard.com/tools/gratuity-calculator/.

Chicago

Internet Tool Wizard. “Gratuity Calculator (India).” https://www.internettoolwizard.com/tools/gratuity-calculator/.

Covered by the Code vs not covered — the same person, two answers

Whether your employer falls under the Code changes three things at once: the divisor, how a part-year is treated, and which salary figure is normally used. Worked on one person — ₹65,000 a month, 12 years 7 months of service.

 Covered by the CodeNot covered
Daily-wage divisor26 (a month is treated as 26 working days)30 (half a month per year, by convention)
Per year of servicesalary × 15 ÷ 26salary × 15 ÷ 30
Part-year of 7 monthsRounds up — over six months counts as a full yearIgnored — completed years only
Years credited1312
Salary basisLast drawn wages: Basic + DA, plus the 50% ruleOften the average of the last 10 months
Statutory ceiling₹20,00,000Contractual; ₹20,00,000 is the tax-free limit
Gratuity on this example₹4,87,500₹3,90,000
Difference₹97,500 more when the Code applies — 25% higher, from the smaller divisor and the rounded-up year together

The "average of the last 10 months" convention is not in the Code — it comes from the income-tax rule for gratuity outside the Code (now section 19 of the Income-tax Act, 2025). If your scheme uses it, type that average into the salary box and switch to "Not covered".

How the gratuity formula works

Section 53(2) of the Code on Social Security, 2020 states the rule in one sentence: for every completed year of service, and for any part of a year in excess of six months, the employer pays fifteen days’ wages based on the wages last drawn. For a monthly-rated employee, Explanation 3 to section 53 then says those fifteen days’ wages are found by dividing the monthly wage by twenty-six and multiplying by fifteen — the same rule the 1972 Act had in section 4. Put together:

Gratuity = last drawn monthly wages × 15 × years of service ÷ 26

Two details do all the work. First, the divisor 26: a month is treated as twenty-six working days, not thirty, so fifteen days’ wages come to a little over half a month’s pay rather than exactly half. Second, the part-year rule, which is stricter than most people assume — the round-up is for a part-year strictly in excess of six months. Seven months rounds up. Exactly six months does not. Six months and a day does. This calculator applies that boundary literally, which is why 12 years 6 months credits 12 years while 12 years 7 months credits 13.

Finally the result is compared against the statutory ceiling of ₹20,00,000. If the formula produces more, the amount payable under the Code is the ceiling, and the calculator says so rather than quietly showing a smaller number than the arithmetic implies.

A worked example, step by step

Take an employee covered by the Code with last drawn wages (Basic + DA) of ₹65,000 a month who has served 12 years and 7 months.

  1. Credit the service. 12 completed years, plus a part-year of 7 months. 7 is more than six, so it rounds up to a full year: 13 years credited.
  2. Find fifteen days’ wages. 65,000 ÷ 26 = 2,500 a day, and × 15 = ₹37,500 for each year of service.
  3. Multiply by the years credited. 37,500 × 13 = ₹4,87,500. Written as one line: 65,000 × 15 × 13 ÷ 26 = 4,87,500.
  4. Apply the ceiling. ₹4,87,500 is below ₹20,00,000, so nothing is capped and the gratuity payable is ₹4,87,500.

Now change one thing. Had the same person served 12 years and six months instead of 7, the part-year would not round up, the credit would be 12 years, and the gratuity would be ₹4,50,000 — ₹37,500 less for a single day’s difference in leaving date. That cliff is real, it is in the statute, and it is worth checking before you set a last working day.

Gratuity payable at a glance — salary × years of service

Every figure below is produced by the same formula the calculator uses, for an employee covered by the Code with whole years of service and no part-year.

Monthly wages5 yrs10 yrs15 yrs20 yrs25 yrs30 yrs
₹20,000 ₹57,692₹1,15,385₹1,73,077₹2,30,769₹2,88,462₹3,46,154
₹30,000 ₹86,538₹1,73,077₹2,59,615₹3,46,154₹4,32,692₹5,19,231
₹50,000 ₹1,44,231₹2,88,462₹4,32,692₹5,76,923₹7,21,154₹8,65,385
₹75,000 ₹2,16,346₹4,32,692₹6,49,038₹8,65,385₹10,81,731₹12,98,077
₹1,00,000 ₹2,88,462₹5,76,923₹8,65,385₹11,53,846₹14,42,308₹17,30,769
₹1,50,000 ₹4,32,692₹8,65,385₹12,98,077₹17,30,769₹20,00,000*₹20,00,000*

* 2 of these 36 cells hit the ₹20,00,000 statutory ceiling — the raw formula gives more, but that is the maximum payable under the Code. Scroll the table sideways on a small screen.

What counts as salary, and what does not

Getting the salary figure right matters more than any other input, because gratuity scales with it directly. Under section 2(88) of the Code, "wages" for gratuity means the basic pay plus dearness allowance you last drew, plus any retaining allowance. Some parts of pay are left out at first:

  • House rent allowance and conveyance — left out at first, but the 50% rule below can bring part of them back.
  • Overtime, commission and bonus — named as left out in the Code’s definition of wages.
  • Employer contributions to provident fund or pension — these are cost to the company, not wages paid to you.
  • Reimbursements for travel, phone or medical spend — a repayment of your own expense is not a wage.

The 50% rule. Add up the parts that were left out. If they come to more than half of your total pay, the part above half is added back to your wages. So under the Code, wages for gratuity are usually at least half of your total pay. Before 21 November 2025 there was no such rule: on a package where Basic + DA was 40% of the total, gratuity was worked out on that 40%. Under the Code the same package is worked out on about half. Pay items the Code does not name, such as a “special allowance”, are a grey area, and exactly what counts as total pay is set by your employer’s payroll — so ask them for your wages figure if you are not sure.

Use the last payslip before you leave, not an annual average, because the Code fixes the rate at the wages last drawn. Two exceptions: piece-rated workers use the average daily wage over the three months before the job ends, and employees outside the Code are commonly computed on the average of the last ten months.

Before you rely on the number

  • This is an estimate; your employer’s own computation governs. It applies the statutory formula to the figures you type. Payroll works from your service record and your final salary structure, and those are the numbers that get paid.
  • Continuous service has its own definition. Under section 54 of the Code, time away for sickness, an accident, leave, lay-off, or a strike, lock-out or work stoppage that is not your fault still counts as continuous service. Absence without leave counts too, unless your employer passes a formal order treating it as a break in service.
  • Gratuity can be forfeited. Under section 53(6), if you were dismissed for an act or negligence that damaged the employer’s property, gratuity is cut by the amount of the loss. If you were dismissed for riotous or disorderly conduct or violence, or for an offence involving moral turpitude committed in the course of employment, it can be forfeited wholly or in part.
  • It is due within 30 days. Under section 56 the employer must pay within thirty days of gratuity becoming payable, whether or not you apply for it. If it pays late, it owes simple interest, at a rate no higher than the one the Government notifies for long-term deposits.
  • The ceiling is a statutory limit, not a promise. An employer may pay more as ex-gratia; the excess simply loses the protection and tax treatment the law attaches.
  • When your job ended matters. If it ended before 21 November 2025, the old Payment of Gratuity Act, 1972 applied. If it ends on or after that date, the Code applies, and your service before that date still counts (section 54).

Frequently asked questions

Who is eligible for gratuity in India?

Since 21 November 2025, gratuity comes from Chapter V of the Code on Social Security, 2020. It replaced the Payment of Gratuity Act, 1972, which applied until then. Under section 53(1) you get gratuity when your job ends — on retirement, resignation, reaching retirement age, death or disablement — after at least five years of continuous service. The Code covers every factory, mine, oilfield, plantation, port and railway company, and every shop or establishment that had ten or more employees on any day in the last twelve months. The five-year rule does not apply when the job ends because of death or disablement: then gratuity is paid however short the service, and on death it goes to the nominee or the heirs. It also does not apply when a fixed-term contract ends: the Government’s rules say a fixed-term employee qualifies after one year of service, and is paid for the time worked. For working journalists the five years become three. Employers outside the Code often pay gratuity anyway under the contract; then your contract or scheme decides the amount, not the Code.

How is gratuity calculated?

Section 53(2) of the Code says the employer pays fifteen days’ wages, at the rate of the wages last drawn, for every completed year of service and for any part of a year over six months. For a monthly-paid employee, Explanation 3 to section 53 says those fifteen days’ wages are the last monthly wage divided by twenty-six and multiplied by fifteen — a month is treated as twenty-six working days. That gives the familiar formula: gratuity = last drawn monthly wages × 15 × years of service ÷ 26. For example ₹50,000 × 15 × 10 ÷ 26 = ₹2,88,462. This is the same rule the 1972 Act had in section 4. Two special cases: a worker in a seasonal establishment gets seven days’ wages for each season, and the Government may notify a number of days other than fifteen. The calculator above shows this exact line of arithmetic for whatever you enter, so you can check it against your employer’s figure digit by digit.

Which salary do I enter — gross, take-home or Basic?

Enter your wages as the Code defines them in section 2(88): Basic pay plus dearness allowance (DA), plus any retaining allowance. House rent allowance, conveyance, overtime, commission, bonus and the employer’s PF contribution are left out at first. Then comes the 50% rule: if the left-out parts add up to more than half of your total pay, the part above half is added back to your wages. So if Basic + DA is less than half of your total pay, the figure to enter may be about half of your total pay instead. Exactly what counts as total pay is decided by your employer’s payroll, so ask them if you are not sure. Use the LAST DRAWN monthly figure — the one on your final payslip — not an average across the year, because the Code fixes the rate at the wages last drawn. Two exceptions worth knowing: for a piece-rated worker the daily wage is the average over the three months before the job ends (without overtime), and if you are not covered by the Code your employer may use the average of your last ten months’ salary instead, in which case type that average into the salary box.

Does 4 years and 7 months count as five years?

This is the single most argued question in gratuity, and it is still not settled. On the plain wording, the six-month round-up in section 53(2) decides how much you are paid, not whether you have the five years — so four years and seven months is under five years and nothing is due. On the other side, the Madras High Court in Mettur Beardsell Ltd. v. Regional Labour Commissioner read the old Act’s continuous-service rule (section 2A) together with section 4(1) and held that an employee who works 240 days in the fifth year has completed that year, making four years plus 240 days enough. The Code repeats the same 240-day rule in section 54, so the same argument can still be made, but we have not found a court ruling on it under the Code yet. Many employers follow the Madras reading; the Supreme Court has not settled it for the whole country, so the outcome can depend on your employer and your state. This calculator does not take sides: it computes on the service you enter and simply flags when that service is under five years. Fixed-term employees are different: they need one year, not five.

Does the six-month round-up apply if my employer is not covered by the Code?

Sources genuinely disagree here, and it is worth saying so plainly rather than pretending otherwise. For employees covered by the Code the rule is statutory and beyond argument: a part-year strictly in excess of six months counts as a full year. For employees outside the Code — where gratuity is contractual — some references apply the same round-up, while others credit only completed years and treat any part-year as ignored, because there is no statute to import the rule from. There is no single authority that settles it, since the answer really comes from the employer’s own scheme. Our "not covered" mode takes the narrower reading and credits completed years only, so it never overstates what you are owed. If your scheme document says otherwise, use the "covered" mode’s year count and substitute the 30-day divisor your scheme specifies.

Why divide by 26 for some employees and 30 for others?

The divisor 26 is written into the law: Explanation 3 to section 53 of the Code, like the old Act before it, converts a monthly wage to a daily wage by treating the month as twenty-six working days, on the reasoning that four weekly days of rest are not working days. That is why covered employees get monthly salary ÷ 26 × 15 per year, which is a little over half a month’s pay. Where the Code does not apply, the widely used contractual convention is half a month’s salary per completed year — monthly salary ÷ 30 × 15 — because there is no statutory daily-wage rule to follow. On the same salary and service the 26-day basis is worth about 15% more than the 30-day basis, which is why the covered-versus-not-covered table above matters more than it looks.

What is the maximum gratuity payable?

The ceiling is ₹20,00,000. Section 53(3) of the Code lets the Central Government notify the maximum. The ₹20 lakh figure was notified under the old Act with effect from 29 March 2018, after the Payment of Gratuity (Amendment) Act, 2018 replaced the old fixed limit of ₹10,00,000. Section 164(2) of the Code keeps notifications made under the old Act in force until they are replaced, and we have not found a new figure notified under the Code. Anything the formula produces above the ceiling is capped, and the calculator says so when it happens. An employer is free to pay more than the ceiling as an ex-gratia or contract amount — section 53(5) protects better terms in an agreement or contract — but the extra part loses the protection and the tax treatment that gratuity under the law gets.

Is gratuity taxable in India?

From 1 April 2026 the Income-tax Act, 2025 replaced the Income-tax Act, 1961. Gratuity received in tax year 2026-27 or later is dealt with in section 19 of the new Act; the old section 10(10) still covers gratuity received before that. Government employees: gratuity under government pension rules is fully tax-free. Employees covered by the gratuity law: the tax-free part is the amount the statutory formula gives, up to the ₹20,00,000 ceiling. Everyone else: the tax-free part is the smallest of the gratuity actually received, half a month’s salary (averaged over the last ten months) for each completed year of service, and the notified limit, which has been ₹20,00,000; that limit is a lifetime total across all your employers, not a fresh limit at each job. Anything above the tax-free part is taxed as salary in the year you receive it. One loose end: as passed in 2025, the new tax Act’s table still names the old 1972 Act rather than the Code. Tax rules change more often than the gratuity formula does, so treat this as orientation and confirm the current position for your own return.

Does anything I type here get sent anywhere?

No. The calculator runs on your own device — the arithmetic happens in the page itself, so your salary and your length of service never leave your device, are never uploaded, stored or logged, and are not visible to us. Once the page has loaded you can even switch off your connection and it will keep working.

Sources

Every rule applied on this page is taken from the law itself — the Code on Social Security, 2020, the notification that brought it into force, and the Government’s rules under it — not from a secondary summary. Each link below was checked and is the authority for the rule named against it.

Where the sources genuinely disagree — the four-years-240-days question, whether the six-month round-up reaches employees outside the Code, and how pay items the Code does not name are treated — the FAQ says so instead of picking a side and presenting it as settled.

Was this page helpful?

Explore more tools

Browse all 91 tools →