Salary & Income

Gratuity Calculator

Estimate gratuity under the new Labour Codes, with the 50% wage rule, fixed-term rules and the ₹20 lakh ceiling.

By Nitin Raturi · Last reviewed

Your pay and service

How to use the Gratuity Calculator

Estimate gratuity under the Code on Social Security, 2020, including the 50% wage rule.

  1. Choose how the job ends.
  2. Enter your last monthly basic pay and DA.
  3. Enter monthly allowances and any other pay in your total.
  4. Enter your completed years and extra months of service.
  5. Read the gratuity, the wages it uses and the years counted.

Good to know

  • Use the pay rate last drawn, not an average.
  • Compare with the basic-only figure to see what the 50% rule adds.

Monthly amounts as last drawn. Based on the Code on Social Security, 2020, in force from 21 November 2025.

How the job ends

How the job ends

The minimum service depends on why the job ends.

How to fill it in

  • Resignation or retirement: at least five years of continuous service.
  • End of a fixed-term contract: at least one year, paid pro rata.
  • Death or disablement: no minimum service.

Example

A one-year fixed-term contract on the worked pay gives ₹28,846.

Keep in mind: The amount is capped at ₹20,00,000. Government employees under their own gratuity rules are not covered.

Basic pay and DA

Your last monthly basic pay, plus dearness allowance and any retaining allowance. These always count as wages for gratuity.

How to fill it in

  • Enter rupees a month: 40000, 40k or 0.4 lakh.
  • Use the rate last drawn when the job ends.
  • Allowed range: ₹1 to ₹10,00,00,000.

Example

₹40,000 of basic and DA alone would give ₹2,53,846 over the worked service.

Allowances

Monthly pay that the law leaves out of wages: HRA, conveyance, special allowance, employer PF, overtime and commission. Under the Labour Codes, any part above half your total pay counts as wages again.

How to fill it in

  • Enter the monthly total of these payments, or 0.
  • Leave out annual performance incentives; the Ministry of Labour says they are not wages.

Example

The Ministry of Labour's illustration adds back ₹2,000, taking wages to ₹22,000.

Keep in mind: Which components your employer counts can differ. Check your payslip and HR policy.

Other pay in your total

Any other monthly amount in your total remuneration that is not one of the allowances, such as gratuity or retirement benefits shown in a monthly CTC.

How to fill it in

  • Enter rupees a month, or 0 if none.
  • It raises the total used for the 50% test.

Completed years of service

Whole years of continuous service with this employer.

How to fill it in

  • Enter a whole number from 0 to 60.
  • Add any extra months in the next field.

Example

10 years 7 months counts as 11 years.

Extra months

Months beyond the completed years. A part year counts as a full year only when it is more than six months.

How to fill it in

  • Enter 0 to 11.

Example

With 6 extra months instead of 7, gratuity falls to ₹2,88,462.

Estimated gratuity

₹3,17,308

Wages of ₹50,000 a month ÷ 26 × 15 days × 11 years = ₹3,17,308.

Wages for gratuity
₹50,000 a month
Added back by the 50% rule
₹10,000
Years counted
11 years
On basic and DA only
₹2,53,846
Ceiling
₹20,00,000

Code on Social Security, 2020, section 53, for a monthly rated employee. Wages follow the 50% rule in section 2(88). Seasonal, piece-rated and government employees, better terms in your contract and income tax are not covered.

How this calculator works

  1. Step 1Wages₹50,000Basic and DA, plus allowances above half of total pay.
  2. Step 2Daily rate₹1,923.08Monthly wages divided by 26 working days.
  3. Step 3Years counted11 yearsA part year counts only above six months.
  4. Step 4Gratuity₹3,17,30815 days of wages for each counted year, up to ₹20 lakh.

Gratuity is a lump sum your employer pays when the job ends. From 21 November 2025 it follows section 53 of the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972.

The amount is 15 days of wages for every counted year of service. For a monthly paid employee, 15 days means monthly wages divided by 26, times 15.

The Ministry of Labour says gratuity paid on or after 21 November 2025 uses the new wage definition and the wages last drawn, for the whole of your service.

The 50% wage rule

Allowances above half of your total pay now count as wages, so a low basic no longer shrinks your gratuity as much.

Wages for gratuity are basic pay, dearness allowance and retaining allowance. HRA, conveyance, special allowance, employer PF, overtime and commission are excluded, but only up to half of your total pay.

The Ministry of Labour's own illustration
Limit
50% of total remuneration
Added back
allowances − limit, if positive
Wages
basic + DA + added back
  • BBasic pay and DA ₹20,000
  • AAllowances ₹40,000
  • TTotal remuneration ₹76,000
  1. Allowance limit50% × ₹76,000₹38,000
  2. Added back₹40,000 − ₹38,000₹2,000
  3. Wages₹20,000 + ₹2,000₹22,000

The figures are from the Ministry’s FAQs of 30 December 2025. The calculator applies the same steps to your pay.

Worked example: resigning after 10 years 7 months

Gratuity for the worked plan
Gratuity
wages ÷ 26 × 15 × years counted
  • BBasic pay and DA ₹40,000
  • AAllowances ₹60,000
  • nService 10 years 7 months
  1. Allowance limit50% × ₹1,00,000₹50,000
  2. Wages₹40,000 + ₹10,000₹50,000
  3. Years counted10 + 1 (7 months is over six)11
  4. Gratuity₹50,000 ÷ 26 × 15 × 11₹3,17,308

On basic and DA alone, the same service would give ₹2,53,846. The 50% rule adds ₹63,462 here.

When the part year counts

  • 4 years 11 months₹0 (under five years)
  • 10 years 6 months₹2,88,462
  • 10 years 7 months₹3,17,308
Gratuity on the worked pay for nearby lengths of service

One month can change the result by a full year of gratuity. Six extra months do not count; seven do. Leaving a month short of five years after resigning gives nothing.

Who qualifies

  • Resign or retire5 yearsContinuous service with the same employer.
  • Fixed term ends1 yearPaid pro rata: a one-year contract on the worked pay gives ₹28,846.
  • Death or disablementNo minimumPaid to the nominee or heirs on death.

“Pro rata” is not defined further in the Code. The calculator counts part years the same way for every exit, and also shows a strict month-by-month figure so you can compare.

Read the result

The headline is the estimated gratuity, capped at ₹20,00,000.

The table shows the wages used, how much the 50% rule added and the years counted. At 10 years 7 months, the ceiling applies once monthly wages pass about ₹3,15,152.

Your employer must pay within 30 days of the gratuity becoming payable. A contract or award with better terms still applies.

Assumptions and limits

  • Monthly paid onlySeasonal and piece-rated workers use different rules.
  • Government staffEmployees under their own government gratuity rules are not covered.
  • Income taxThe taxable part of gratuity is not worked out here.
  • Continuous serviceBreaks, and days actually worked near the five-year mark, can matter.

Forfeiture for misconduct, working journalists’ three-year rule and employer-specific schemes are outside this tool.

Gratuity is one part of a salary package. The in-hand salary calculator shows the monthly take-home from your CTC, and the retirement planner shows how a lump sum fits into a longer plan.

Common mistakes

  • Mistake: Using basic pay alone after November 2025.

    Instead: Include allowances above half of total pay, as the 50% rule requires.

  • Mistake: Dividing monthly pay by 30.

    Instead: Use 26 days, as the Code says for monthly rated employees.

  • Mistake: Counting exactly six extra months as a year.

    Instead: Only a part year of more than six months counts.

  • Mistake: Including annual performance bonuses in wages.

    Instead: Leave them out; the Ministry says they are not wages.

Checking the method

Every golden case is rebuilt from the Ministry's wage steps and a month-by-month walk of days earned.

An independent script follows the Ministry of Labour’s illustration for wages and counts days earned month by month, then applies the ₹20 lakh ceiling. It reproduces the Ministry’s ₹22,000 wage figure exactly.

Read how we test our calculators, or browse more money calculators.

Frequently asked questions

How is gratuity calculated?

Monthly wages ÷ 26 × 15 × years counted. ₹50,000 over 11 counted years gives ₹3,17,308.

What changed under the new Labour Codes?

From 21 November 2025, allowances above half of total pay count as wages. In the Ministry of Labour's example, ₹20,000 basic becomes ₹22,000 of wages.

Do fixed-term employees get gratuity after one year?

Yes. A fixed-term employee qualifies after one year of service under the contract, paid pro rata. On the worked pay, one year gives ₹28,846.

Does a part year count?

Only if it is more than six months. Ten years and seven months counts as eleven years; ten years and six months counts as ten.

What is the maximum gratuity?

The Central Government ceiling is currently ₹20,00,000. Your employer may pay more under a contract or scheme.

Is gratuity taxable?

Part or all of it may be exempt from income tax depending on your employer and the amount. This calculator does not work out the tax.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 3 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.