Gratuity Calculator

Enter the wages your gratuity is computed on and your length of service to see what the Code entitles you to — including how the part-year rounding rule changes the answer.

10 sources, checked 3 November 2026

Your service

₹5,000 ₹10 L
Basic pay + DA + retaining allowance. HRA, conveyance, overtime, commission and similar items are left out, but if together they exceed half your total remuneration the excess is added back. See the first of the Common questions below.
0 45 yrs
Decimals are fine — 10.7 means 10 years and roughly 8 months.

What the formula gives

Gratuity payable

—

using the — formula

  • Monthly wages used —
  • Service counted —
  • Statutory ceiling —
  • Formula result before the ceiling —

What this calculator assumes
  • It takes the wage figure you typed at face value. Under the Code on Social Security, 2020 the base is basic pay plus dearness allowance plus retaining allowance. HRA, conveyance, overtime, commission and similar items are excluded, except for any amount by which they exceed half of all remuneration, which is added back. The Labour Ministry's own FAQs disagree on what that total includes, and the calculator cannot see your salary structure, so working out the add-back is your job before you type the number.
  • For a covered employer the divisor is 26, on the convention that a working month is 26 days, and the figure used is the wage last drawn. Choosing "No" does not model a payment rule. It shows the income-tax cap in serial number 6 of the section 19(1) Table of the Income-tax Act 2025: half a month's salary, a divisor of 30, for each completed year, with part years dropped rather than rounded. The Act averages that salary over the 10 months before the month you leave and leaves out every allowance and perquisite except dearness allowance where your terms of employment provide for it, so for that setting enter the average, not your Code wages.
  • For a covered employer, service of less than 5 years is treated as earning nothing. The Code waives that minimum on death, disablement, expiry of fixed-term employment, and on any event the Central Government notifies; working journalists qualify at 3 years. None of those exceptions is modelled here. The "No" setting applies no minimum, because serial number 6 sets none: it counts completed years only, so under one year it gives nil.
  • The result is capped at ₹20,00,000. For a covered employer that is the ceiling notified for gratuity payable under the Code. It is not the Central Government employees' ceiling of ₹25 lakh, which does not apply to private employment. On "No" the same figure is the tax limit notified in S.O. 1213(E) of 2019 and carried into serial number 6 by section 536(2)(j) of the Income-tax Act 2025, and the calculator does not reduce it for gratuity exempted or deducted in earlier tax years.
  • Nothing here is a tax computation. The income-tax limit is separate from the Code's payment ceiling, and it is a lifetime aggregate across employers only where your gratuity falls under serial number 6 of the section 19(1) Table; whether gratuity paid under the Code falls there or under serial number 5 is unsettled. This page does not know how much of any such limit you have already used at earlier employers, and government employees are exempt without any ceiling.

How gratuity is actually worked out

Start with the statute, because it changed and most calculators have not noticed. The Payment of Gratuity Act, 1972 was repealed on 21 November 2025, when the four Labour Codes came into force, and gratuity now sits in Chapter V of the Code on Social Security, 2020. The arithmetic is unchanged — but one of the rules around it moved, and it changes the figure many people should be entering.

Gratuity is not a share of your package. It is 15 days of pay for every year you served, and the answer turns on two numbers a payslip rarely makes obvious: the wages the Code says to use, and the years it lets you count. For a covered employer the formula is:

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

Take someone leaving after 10 years and 8 months on wages of ₹50,000 a month. The part year runs past six months, so service counts as 11 years. Fifteen times ₹50,000 is ₹7,50,000; across 11 years that is ₹82,50,000; divided by 26 it comes to ₹3,17,308. That is an entitlement, not a discretionary payment — a covered employer cannot pay less.

Why the divisor is 26, and when it becomes 30

The 26 is the part almost nobody can explain, and it is why a calculator built for another country gets this wrong. A working month is treated as 26 days, assuming one paid weekly off, so monthly pay divided by 26 is a day's wage and 15 of those days is roughly half a month's pay per year served. Divide by 30 instead and you are treating Sundays as working days, which shrinks the gratuity with the daily rate.

A shop or establishment that has not had ten or more employees on any day of the preceding twelve months falls outside the Code's gratuity chapter, unless the appropriate Government has notified it or the chapter has applied to it before; every factory, mine, oilfield, plantation, port and railway company is covered whatever its size. An employer outside that chapter is not bound by the 26-day convention, or by any formula in the chapter: what it pays, if anything, depends on your contract, its own scheme or any other law that applies to it, which this page has not checked. Where 15/30 does appear is the income-tax cap. Serial number 6 of the section 19(1) Table of the Income-tax Act 2025, which covers "any other gratuity", deducts the lowest of the amount received, the notified limit less anything exempted or deducted in earlier tax years, and half a month's salary for each completed year, with salary averaged over the 10 months before the month you leave and part years dropped rather than rounded. Same wages, same service, and the gap is close to a fifth: on ₹50,000 and 10 years 8 months, ₹3,17,308 under the Code's formula against ₹2,50,000 on the tax cap. If you do not know which side of the line your employer sits on, ask HR before you plan around either number.

The wage base moved, and most calculators still have the old one

Gratuity has always been computed on basic plus dearness allowance rather than on what lands in the bank, which is why many private structures hold basic to around a third of gross pay — it drags provident fund and gratuity liability down with it. The Code narrowed that gap. Section 2(88) counts basic pay, dearness allowance and retaining allowance as wages and excludes a list of items, among them statutory bonus, employer provident fund and pension contributions, conveyance, HRA, overtime, commission, and gratuity and retirement benefits — but if the excluded items other than gratuity and retirement benefits come to more than half of all remuneration (or such other percentage as the Centre notifies), the excess is added back. That is not a rule that wages are always half of what you are paid, and the Labour Ministry has measured "all remuneration" two different ways.

That proviso is worth real money on an allowance-heavy package. Take ₹1,00,000 a month with basic plus DA of ₹40,000, the other ₹60,000 made up of HRA, conveyance and similar excluded items with no gratuity or retirement component in it, and ten years at a covered employer. On the old reading the base is ₹40,000 and the answer is ₹2,30,769. Because the excluded ₹60,000 exceeds half of ₹1,00,000, the extra ₹10,000 is added back, the base becomes ₹50,000, and the entitlement is ₹2,88,462 — around ₹58,000 more.

Where pay does include gratuity or retirement components, the Ministry's guidance splits. Its FAQ of 30 December 2025 counts them in the total: ₹76,000 a month, with ₹20,000 of basic and DA, ₹40,000 of allowances and ₹16,000 of gratuity and retrenchment components, gives wages of ₹22,000, about 29% of the total. Its FAQs of 16 March 2026 say "Gratuity, ESI and other retirement benefits are not included", which on the same numbers would make wages ₹30,000. Until that is settled this page assumes no minimum share. The calculator cannot see your salary structure, so work out the add-back from your payslip, ask HR which reading your employer applies, and enter the result.

Five years, and the cliff at six months and a day

Two rules interact here and they are easy to confuse. Eligibility needs 5 years of continuous service. Rounding, once you are eligible, takes a part year of more than six months as a full year and drops anything up to and including six months — so exactly 5 years 6 months counts as 5, not 6.

The second rule cannot rescue you from the first. On ₹50,000 of wages with a covered employer:

  • Leaving at 4 years 7 months — nothing at all.
  • Leaving at 5 years 1 month — 5 years counted, ₹1,44,231.
  • Leaving at 5 years 7 months — 6 years counted, ₹1,73,077.

Six months of patience is worth ₹1,44,231; the six months after that are worth ₹28,846 more. If you are negotiating a notice period it is worth knowing what those weeks are priced at. Expand the table above to see the same steps against your own wages.

The 5-year minimum is waived on death, disablement, expiry of fixed-term employment, and on any event the Central Government notifies. On the expiry of a fixed-term contract the Code pays gratuity pro rata, but that is not the same as having no qualifying period: where the Centre is the appropriate Government (banks, insurers and central public sector undertakings among others), rule 33 of the Social Security (Central) Rules, 2026 requires at least one year of service under the contract, and rounds a further part year of more than six months up to a full year. Elsewhere your State's rules apply, and this page has not checked them. Working journalists qualify at 3 years. None of those is modelled here, so if one of them is your situation, do not read a nil result as the answer. Also treat "four years and 240 days counts as five" with caution — as far as we can tell it rests on High Court decisions applied inconsistently, not on settled law, and no calculator should build eligibility on it.

Two different ₹20 lakh limits, and why people confuse them

₹20 lakh appears twice here and means something different each time. The first is the ceiling on what the Code obliges an employer to pay, which is what this calculator applies to a covered employer (the "No" setting applies the second). It has never sat in the statute itself, only in a government notification, which is why it can move without Parliament sitting.

The second is the income-tax limit, which under the Income-tax Act 2025 sits at Section 19(1), Table. Whether it is a lifetime aggregate depends on which entry of that Table your gratuity falls under. For serial number 6, "any other gratuity", section 19(2)(a) makes it a total across every employer, not a fresh allowance at each job — take part of it on one exit and only the balance survives. Serial number 5, which deducts gratuity received under the Payment of Gratuity Act up to that Act's formula and ceiling, has no such rule, but it still names an Act repealed on 21 November 2025, and no primary source we have read settles which entry gratuity paid under the Code now falls in. Where the lifetime rule applies, no employer can see what you claimed elsewhere, so if you do not tell a new one the shortfall surfaces at assessment rather than at source. Government employees are outside all of this: their gratuity is fully exempt, with no ceiling.

The third number in circulation is ₹25 lakh, and it is the one to be careful with. It applies to Central Government employees only, under the CCS (Pension) Rules, and has no bearing on private employment. In our reading it is the commonest error in Indian gratuity writing, and a private-sector reader who plans around it is budgeting for money nobody owes them.

What this calculator cannot tell you

It answers one narrow question — what the formula produces on the numbers you entered:

  • What your wage base actually is. It takes the figure you type. Working out the add-back on an allowance-heavy package is a payslip exercise you do first, and it is the difference most likely to be missing from any number you have been quoted.
  • Whether your employer is covered. The select takes your word for it, and "No" shows the income-tax cap rather than anything an employer owes.
  • Whether your service is continuous. Long unpaid leave, a break and rejoin, or a transfer between group companies can all change what counts.
  • Forfeiture. The Code allows gratuity to be forfeited, wholly or in part, in defined circumstances involving damage caused by the employee or misconduct.
  • Your tax position. It applies the payment ceiling, or on "No" the serial number 6 tax limit, but does not know which entry of the tax Table a covered employer's gratuity falls under or, where the lifetime limit applies, how much of it earlier employers have used. It is not a tax computation.
  • Timing. Gratuity becomes payable within a defined period after it falls due, and delay carries consequences for the employer. If yours is overdue, that is a question for the authority designated under the Code, not for a calculator.

Used for what it is good for — sanity-checking a full-and-final statement, or pricing a notice period against a service anniversary — the formula is short enough to check an employer's arithmetic in a minute, provided you have the wage base right first.

Common questions

Is gratuity worked out on my full salary or only on basic pay?

On neither, exactly. The base is "wages" as section 2(88) of the Code on Social Security, 2020 defines them: basic pay, dearness allowance and retaining allowance. Left out are items such as statutory bonus, employer provident fund and pension contributions, conveyance, HRA, overtime, commission, and gratuity and retirement benefits. A proviso catches allowance-heavy structures: if the excluded items other than gratuity and retirement benefits come to more than half of all remuneration (or such other percentage as the Centre notifies), the excess is added back to wages. The Labour Ministry's own FAQs disagree on what that total includes. Its December 2025 example counts gratuity: ₹76,000 a month, made up of ₹20,000 basic and DA, ₹40,000 allowances and ₹16,000 gratuity and retrenchment components, gives wages of ₹22,000, about 29% of the total, because the allowances exceed half of ₹76,000 by ₹2,000. Its March 2026 FAQs say gratuity, ESI and other retirement benefits are not included; leave out the ₹16,000 and the same numbers would give wages of ₹30,000. Until that is settled there is no fixed minimum share, so work the add-back out from your payslip and ask HR which reading your employer applies.

I resigned at four years and nine months. Do I get anything?

On ordinary permanent employment, no. The 5-year minimum is tested against your actual continuous service, and the rule that rounds a part year of more than six months upwards applies only once you have crossed that threshold — it cannot be used to manufacture eligibility. The Code waives the minimum where service ends in death or disablement, on expiry of fixed-term employment (a fixed-term employee is then paid pro rata), and on any event the Central Government notifies. Working journalists qualify at 3 years. Note also that "four years and 240 days counts as five" is not settled law, whatever you have read.

My employer paid more than the formula. Is the extra tax free?

Nothing stops an employer paying above the formula: section 53(5) of the Code keeps your right to better terms under an award, agreement or contract, and in our experience better schemes are common in large companies. The tax deduction is capped, though, and how it is capped depends on which entry of the section 19(1) Table of the Income-tax Act 2025 your gratuity falls under. Serial number 5, which still names the repealed Payment of Gratuity Act, deducts the amount received only up to what that Act's formula gives within its ₹20 lakh ceiling, so anything above that is taxable. Serial number 6, "any other gratuity", deducts the lowest of the amount received, ₹20 lakh less whatever was exempted or deducted in earlier tax years, and half a month's salary for each completed year. No primary source we have read settles which entry covers gratuity paid under the Code. Whatever the deduction does not cover is taxable salary in the year you receive it, and your employer should deduct tax on it. Treat the headline offer and the amount that reaches your bank as two different numbers, and ask for the computation in writing.

Do I get gratuity if I change jobs every three years?

On permanent contracts, no — and this is the largest cost of frequent switching that nobody prices in. Gratuity does not accumulate across employers the way provident fund does: each employment is tested separately against the 5-year minimum, and service that falls short earns nothing. The exception worth knowing is fixed-term employment: when the contract expires, the Code waives the 5 years and pays gratuity pro rata, so a three-year fixed-term contract can pay where a three-year permanent stint pays nothing. It is not free of a qualifying period, though. Where the Centre is the appropriate Government, rule 33 of the Social Security (Central) Rules, 2026 requires at least one year of service under the contract; elsewhere your State's rules govern.

Is the ₹20 lakh limit per job or for my whole career?

Two different limits share that number. The ceiling on what the Code obliges an employer to pay applies to that employment. The income-tax limit is a lifetime total only for gratuity deducted under serial number 6 of the section 19(1) Table of the Income-tax Act 2025, which covers "any other gratuity": section 19(2)(a) takes off whatever was exempted or deducted in earlier tax years, from any employer, so only the balance survives. Serial number 5, which still names the repealed Payment of Gratuity Act, has no such rule, and no primary source we have read settles which of the two now covers gratuity paid under the Code. Where the lifetime rule applies, no employer can see what you claimed elsewhere, so the tracking is yours; if you do not tell a new employer, the shortfall surfaces at assessment rather than at source.

I have read that the limit is ₹25 lakh. Which is right?

₹25 lakh applies only to Central Government employees, under the CCS (Pension) Rules, raised when dearness allowance reached 50%. It has no application to private-sector gratuity, where the notified ceiling remains ₹20 lakh. Mixing the two is, in our reading, the commonest error in Indian gratuity content, and it is an expensive one to plan around. Government employees are also fully exempt from tax on gratuity with no ceiling at all, which is a separate point again.

Sources

Rates and rules on this page were read directly from the following sources on the dates shown. Figures change — if you are about to act on one, confirm it at the source.

  1. Code on Social Security, 2020 (36 of 2020), Chapter V, sections 53–58Ministry of Labour and Employment · checked 18 August 2026
  2. Tax slabs for salaried individuals, AY 2026-27Income Tax Department · checked 18 August 2026
  3. Code on Social Security, 2020 (36 of 2020): sections 1(8), 2(3), 2(34), 2(88) and 53, and the First Schedule — coverage, wages and fixed-term employmentLegislative Department, Ministry of Law and Justice (India Code) · checked 3 November 2026
  4. Social Security (Central) Rules, 2026, G.S.R. 344(E): rule 33 on fixed-term employeesMinistry of Labour and Employment (Gazette of India) · checked 3 November 2026
  5. FAQs on Labour Codes (30 December 2025): wages, the 50% rule for allowances and the worked exampleMinistry of Labour and Employment · checked 3 November 2026
  6. Additional FAQs on Labour Codes (16 March 2026): total remuneration for the 50% rule, fixed-term employeesMinistry of Labour and Employment · checked 3 November 2026
  7. The Income-tax Act, 2025 (30 of 2025): section 19(1) Table serial numbers 3, 5 and 6, section 19(2)(a), (b) and (g), and section 536(2)(j)Ministry of Law and Justice (Gazette of India) · checked 3 November 2026
  8. S.O. 1213(E), 8 March 2019: ₹20 lakh limit for the gratuity tax exemptionCentral Board of Direct Taxes (Gazette of India) · checked 3 November 2026
  9. S.O. 1420(E), 29 March 2018: ₹20 lakh ceiling under section 4(3) of the Payment of Gratuity Act, 1972Ministry of Labour and Employment (Gazette of India) · checked 3 November 2026
  10. DoPPW O.M. No. 28/03/2024-P&PW(B)/Gratuity/9559, 30 May 2024: Central Government employees' gratuity ceiling raised from ₹20 lakh to ₹25 lakh (copy circulated by NWDA)Department of Pension and Pensioners' Welfare (copy on nwda.gov.in) · checked 3 November 2026