₹RupeeKhata

Gratuity Calculator

Enter your last basic pay and length of service to see the gratuity you are entitled to under the new labour code rules — including the 1-year rule for fixed-term staff, the 50% wage rule and how much is tax-free.

By the RupeeKhata editorial team · Last reviewed 6 November 2026 · How we calculate

How is gratuity calculated under the new labour code?

Gratuity = last monthly wages (basic + DA) × 15 ÷ 26 × years of service, under the Code on Social Security, 2020. Permanent employees qualify after 5 years, fixed-term employees after 1. On ₹50,000 wages for 10 years it is ₹2,88,462; up to ₹20 lakh is tax-free for private-sector employees.

Type of employment

Employer

₹
₹

Gross pay before deductions — used to apply the 50% wage rule

years
months

More than 6 months counts as a full year

₹

From earlier employers — the ₹20,00,000 tax-free limit is for your whole life

Gratuity payable

₹4,50,000

₹4.5 lakh

Wages used
₹60,000 / month
Service counted
13 years
Tax-free
₹4,50,000
Taxable
₹0

₹60,000 × 15 ÷ 26 × 13 years = ₹4,50,000

What gratuity is

Gratuity is a lump sum your employer pays when you leave after a qualifying period of service — on retirement, resignation, termination, or to your family on death. It is a statutory benefit: since 21 November 2025 it is governed by the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972, along with the Social Security (Central) Rules, 2026.

The formula

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

  • Wages are your last drawn basic pay plus dearness allowance — subject to the 50% rule explained below.
  • 15 ÷ 26 gives 15 days' wages for each year, treating a month as 26 working days.
  • Years of service are completed years, with any part over six months rounded up.

Worked example

A permanent employee leaves after 12 years and 7 months. Their last basic pay plus DA was ₹60,000 a month. The 7 months count as a full year, so service is 13 years:

₹60,000 × 15 ÷ 26 × 13 = ₹4,50,000

That is ₹34,615 for each year of service, and all of it is tax-free because it is well within the ₹20,00,000 lifetime limit.

What changed under the labour codes

Fixed-term employees after one year

Employees on fixed-term contracts now qualify for gratuity after 1 year of service instead of 5, and it is paid pro rata. We could not find a worked method for part-years in the ministry's published guidance, so the calculator rounds them the same way as for permanent staff. On a ₹40,000 basic, a contract of 1 year 3 months earns ₹23,077 (one year counted); 1 year 7 months earns ₹46,154 (two years counted). An employer counting exact service would pay ₹28,846 on the first contract and ₹36,538 on the second, so check your contract or ask HR.

The 50% wage rule

Many salary structures keep basic pay low and put the rest in allowances, which also kept gratuity low. Under the codes, if allowances exceed 50% of total pay, the excess is treated as wages. Take someone earning ₹70,000 a month with a ₹30,000 basic: wages for gratuity become ₹35,000 — half of ₹70,000. After 10 years, gratuity rises from ₹1,73,077 to ₹2,01,923. Enter your total monthly pay in the calculator to apply the rule.

The ceiling and tax

  • Ceiling: gratuity payable under the law is capped at ₹20,00,000. With a ₹2.5 lakh basic and 25 years of service, the formula gives ₹36,05,769, but the statutory amount is ₹20,00,000. Central government employees are outside this limit: their own service rules set a ₹25,00,000 ceiling and a different formula.
  • Tax: government employees' gratuity is fully exempt. For others, up to ₹20,00,000 is tax-free across your entire career — if you received ₹18 lakh tax-free at an earlier job, only ₹2 lakh more can be tax-free. The rest is taxed as salary.

A large taxable gratuity can push you into a higher bracket for the year. Check the impact with our income tax calculator.

Practical points

  • Claim on time. Apply to your employer when you leave; the employer must respond and pay within the time limits in the rules, or pay interest for delay.
  • Nominate. Make sure your gratuity nomination with the employer is up to date so your family can claim without difficulty.
  • Use it well. A retirement gratuity often works best alongside your other savings — for example in a fixed deposit for income or towards your NPS and other retirement plans.

The rules shown reflect the Code on Social Security and the Central Rules as reviewed on the date above; employer-specific schemes may be more generous. Our method is explained on the methodology page.

Frequently asked questions

How is gratuity calculated?

Gratuity = last drawn monthly wages × 15 ÷ 26 × years of service. “Wages” means basic pay plus dearness allowance. The 26 reflects the working days in a month, so 15/26 of a month’s wages works out to 15 days’ pay for every year of service.

After how many years do I get gratuity?

Permanent employees qualify after 5 years of continuous service. Under the Code on Social Security, fixed-term employees qualify after just 1 year, with gratuity in proportion to their service. The minimum does not apply if employment ends because of death or disablement.

How are part-years counted?

A part of a year longer than six months counts as a full year. So 12 years and 7 months counts as 13 years, but 12 years and 6 months counts as 12.

What is the 50% wage rule?

Under the labour codes, if allowances such as HRA and special allowance make up more than 50% of your total pay, the excess is counted as wages. In effect, gratuity is worked out on at least 50% of your total pay, which raises it for people whose basic pay is a small part of their salary.

Is gratuity taxable?

For government employees, gratuity is fully tax-free. For everyone else, up to ₹20,00,000 is tax-free over your whole working life — the limit is shared across all employers. Anything above that is taxed as salary in the year you receive it, under either tax regime.

Is there a maximum gratuity?

For employees covered by the labour code, gratuity payable under the law is capped at ₹20,00,000. An employer may choose to pay more, but the extra is a voluntary payment, and any amount above the tax-free limit is taxable. Central government employees have a separate ceiling of ₹25,00,000 under their own service rules.

Does this calculator work for government employees?

Only as a rough estimate. Central government employees get gratuity under their own service rules, which use a different formula and a ceiling of ₹25,00,000 since January 2024, and state governments set their own terms. Your pension or accounts office can give the exact figure.

Official sources

The rules and rates this calculator uses, from the government or regulator that sets them. Links checked 12 November 2026.

How we use them is explained in How we calculate. Spotted an outdated rule? See our corrections log.

More calculators