Gratuity Calculator

Find out how much gratuity you will get when you leave or retire, with the rounding rule, the new labour-code eligibility and the ₹20 lakh tax-free limit.

Free · No sign-up Runs in your browser Updated November 2026
Gratuity amount
—

Years counted
Tax-free (up to ₹20 lakh)

How to use the Gratuity Calculator

Enter your last salaryType your last monthly basic pay plus dearness allowance.
Add your serviceEnter completed years and extra months. More than six months counts as a full year.
Check eligibility and taxSee the amount, the years counted and how much is tax-free.

The gratuity formula

Gratuity = last monthly (basic + DA) × 15 × years of service ÷ 26

Gratuity is a thank-you payment for long service, paid when you resign, retire or are laid off after the qualifying period. It is based on your last basic pay plus dearness allowance, not on your full CTC.

What the labour codes changed

  • Fixed-term employees now become eligible after one year instead of five.
  • Wages are defined more widely. If basic pay plus DA is less than half of your total pay, the shortfall is added back when gratuity is calculated. This raises gratuity for people with a low basic.
  • The 15/26 formula and the 6-month rounding rule have not changed.

Worked example

Meera’s last basic plus DA is ₹60,000 a month. She leaves after 8 years and 7 months with a company that has 200 employees.

  • Seven extra months is more than six, so 9 years are counted.
  • Gratuity = ₹60,000 × 15 × 9 ÷ 26 = ₹3,11,538.
  • This is well under ₹20 lakh, so the whole amount is tax-free.

If she had left after 8 years and 5 months, only 8 years would count, and gratuity would be about ₹2,76,923. Waiting a few more weeks before resigning can make a real difference.

Tax-free limit

Employee type Tax-free amount
Government employees Fully exempt
Private, employer covered by the gratuity law Least of: actual gratuity, formula amount, ₹20 lakh
Private, employer not covered Least of: actual gratuity, half-month average salary × completed years, ₹20 lakh

The ₹20 lakh limit is for your whole working life. If you have already received tax-free gratuity from an earlier employer, that amount is reduced from the limit.

Many companies show gratuity inside CTC. To see how that affects your monthly pay, try the In-Hand Salary Calculator.

Frequently asked questions

What is the gratuity formula?

For employers covered by the gratuity law: last drawn monthly basic + DA × 15 × years of service ÷ 26. The 15 stands for 15 days of wages per year and 26 for working days in a month.

How many years do I need to get gratuity?

Usually five years of continuous service. Several courts have accepted 4 years and 240 days. Under the Code on Social Security, 2020, which took effect on 21 November 2025, fixed-term employees qualify after one year. In case of death or disability, gratuity is paid regardless of service.

How is a part year counted?

If you work more than six months in your last year, it counts as a full year. For example, 8 years and 7 months is counted as 9 years.

Is gratuity taxable?

For private-sector employees, gratuity is tax-free up to ₹20 lakh across your whole career. Anything above that is taxed at your slab rate. Government employees' gratuity is fully tax-free.

What if my company has fewer than 10 employees?

Such employers are not bound by the gratuity law, but many still pay it. For tax purposes, the formula uses half a month's average salary for each completed year, which is roughly salary × 15 × years ÷ 30.

Results are estimates for planning and learning, not financial, tax or legal advice. Read our Disclaimer. Built and checked by Avneesh Kumar Yadav. Found a mistake? Write to support@toolzia.in.