Skip to main content
KX Toolkit

Gratuity Calculator

Work out gratuity under the Code on Social Security with the 15/26 formula, the 6-month rule, the Rs 20 lakh cap and the tax-free part.

Calculators

How the gratuity calculator works

Gratuity is a lump sum your employer pays when you leave after qualifying service. Enter your last drawn monthly wages, your length of service, your employer type, your employment type and why you are leaving. The calculator checks eligibility, applies the formula and the ₹20 lakh ceiling, and splits the amount into its tax-free and taxable parts.

The law now in force

The Code on Social Security, 2020 came into force on 21 November 2025 and replaced the Payment of Gratuity Act, 1972. The Ministry of Labour and Employment states that for anyone leaving on or after that date, gratuity for the whole period of service is worked out under the Code, on the last drawn wages as the Code defines them.

Gratuity formula

Gratuity = last drawn monthly wages x 15 / 26 x years of service (section 53 of the Code).

  • 15 / 26 means fifteen days' wages for each year, counting 26 working days in a month.
  • Years of service = completed years, plus one more if the remaining part is more than six months. Six months exactly does not round up; six months and one day does.
  • Wages = basic pay + dearness allowance + retaining allowance. If allowances and other excluded payments are more than half of your total pay, the excess is added back to wages (section 2(88)).
  • The payable amount is capped at ₹20 lakh. An employer may pay more under a contract, agreement or award.

Examples: wages of ₹50,000 and 10 years 7 months of service count as 11 years, so gratuity is ₹50,000 x 15 / 26 x 11, about ₹3,17,308. With 10 years 6 months exactly it is 10 years, about ₹2,88,462. Wages of ₹80,000 for 20 years 9 months give about ₹9,69,231. Wages of ₹1,50,000 for 30 years give about ₹25,96,154 by the formula, so the ₹20 lakh ceiling applies.

The 50% rule: total pay of ₹1,00,000 with basic pay plus DA of ₹30,000 means ₹70,000 of excluded allowances, which is ₹20,000 more than half of total pay. Wages for gratuity become ₹50,000, and 10 years of service give about ₹2,88,462 instead of ₹1,73,077.

Who is eligible

  • Regular employees: at least 5 years of continuous service for retirement, superannuation or resignation.
  • No minimum service on death or disablement.
  • Fixed-term employees: eligible after 1 year of service under the contract, paid pro rata. The Code does not spell out the pro rata method, so the calculator uses the same formula with the six-month rounding and also shows a strictly proportional figure. For ₹40,000 and 1 year 2 months at the end of a contract, that is ₹23,077 (or ₹26,923 strictly proportional). Check the method with your employer.
  • Working journalists qualify after 3 years.
  • 240 days of work in 12 months (190 days in a mine or an establishment working less than six days a week) counts as a year of continuous service.

Employers covered by the Code

The gratuity chapter applies to every factory, mine, oilfield, plantation, port and railway company, and to every shop or establishment with 10 or more employees on any day in the previous 12 months. Gratuity must be paid within 30 days of becoming due.

If your employer is not covered, there is no statutory entitlement and your employer's own scheme applies. For these employees the calculator shows the most that can be tax free: half a month's average salary of the last 10 months for each completed year, ignoring any part year. With an average salary of ₹60,000 and 12 years 11 months of service, that is ₹60,000 / 2 x 12 = ₹3,60,000.

Current gratuity figures

ItemValueApplies fromSource
Gratuity per year of service15 days' wages (wages / 26 x 15)21 November 2025Code on Social Security, 2020, section 53
Ceiling on gratuity₹20,00,000Stated as current on 25 October 2026Ministry of Labour and Employment FAQs on the Labour Codes, Q71
Tax-free limit (non-Government)₹20,00,000Retirement or exit on or after 29 March 2018CBDT Notification 16/2019 (S.O. 1213(E), 8 March 2019)
Minimum service5 years regular, 1 year fixed-term21 November 2025Code section 53; PIB release of 21 November 2025; Ministry of Labour FAQs

If you have seen a different ceiling quoted elsewhere, check it with your employer. The Ministry of Labour's FAQs dated 25 October 2026 give ₹20 lakh.

Tax on gratuity

  • Central and State Government employees: fully exempt (section 19 of the Income-tax Act, 2025, Table Sl. No. 3; old section 10(10)(i)).
  • Employees covered by the gratuity law: exempt up to the lowest of the amount received, the 15/26 formula amount and ₹20 lakh (Sl. No. 5; old section 10(10)(ii)). The Act still names the Payment of Gratuity Act, 1972 here, so check with your tax adviser how it applies to gratuity under the Code.
  • Other employees: exempt up to the lowest of the amount received, ₹20 lakh, and half a month's average salary of the last 10 months for each completed year (Sl. No. 6; old section 10(10)(iii)). Salary here includes DA only if your terms of employment provide for it.
  • The ₹20 lakh limit is a lifetime total across all employers. The exemption is available in both the old and the new tax regime.

Sources

Code on Social Security, 2020, sections 2(88), 53 and 54 and the First Schedule; PIB release dated 21 November 2025; Ministry of Labour and Employment, Compilation of FAQs on the Four Labour Codes (as on 25 October 2026); Income-tax Act, 2025, sections 19, 202 and 536; CBDT Notification 16/2019.

This calculator gives an estimate for planning only. It is not financial, tax or investment advice. Rates, rules and tax laws change, so confirm the figures with your bank, post office or a qualified adviser before you invest.

How is gratuity calculated?
Under section 53 of the Code on Social Security, 2020, gratuity = last drawn monthly wages x 15 / 26 x years of service, where wages are basic pay plus DA plus retaining allowance. For example, wages of Rs 50,000 and 10 years 7 months of service (counted as 11 years) give about Rs 3,17,308.
Does 6 months of service count as a full year?
Only if it is more than 6 months. 10 years 6 months exactly counts as 10 years, while 10 years 6 months and 1 day counts as 11. On wages of Rs 50,000 that is the difference between about Rs 2,88,462 and Rs 3,17,308.
Are fixed-term employees eligible for gratuity after 1 year?
Yes. Since the Code on Social Security came into force on 21 November 2025, fixed-term employees qualify after 1 year of service under the contract and are paid pro rata. The exact pro rata method is not spelt out, so the calculator shows both the rounded and the strictly proportional figure; check the method with your employer.
What is the maximum gratuity I can get?
The ceiling is Rs 20 lakh, which the Ministry of Labour and Employment states is the current limit. An employer may pay more under a contract or award, but the tax-free limit for non-Government employees is also Rs 20 lakh over your lifetime.
Is gratuity taxable?
Government employees' gratuity is fully exempt. For others, gratuity is tax free up to the lowest of the amount received, the formula amount and Rs 20 lakh (section 19 of the Income-tax Act, 2025, old section 10(10)), in both tax regimes. Anything above that is taxed as salary.
What if my employer has fewer than 10 employees?
Shops and establishments with fewer than 10 employees are not covered by the gratuity chapter of the Code, so the employer's own scheme decides what you get. The most that can be tax free is half a month's average salary of the last 10 months for each completed year, up to Rs 20 lakh.

No reviews yet

Be the first to share your experience with the Gratuity Calculator.