Goodfit

Free HR calculator

Gratuity calculator

Enter the last monthly basic pay plus DA and the years of service. You see the gratuity amount, the formula with your numbers and whether the person can get gratuity yet. It follows the labour codes in force since 21 November 2025. Free, with no sign-up.

Basic pay plus dearness allowance in the last month.

Optional. If allowances are more than half of total pay, the extra counts as wages.

Gratuity = monthly basic + DA × 15 ÷ 26 × years of service. A part year of more than 6 months counts as a full year.

Gratuity amount

₹1,38,462

Tax-free for private sector staff up to ₹20 lakh

With your numbers: ₹30,000 × 15 ÷ 26 × 8 = ₹1,38,462

How it is worked out
ItemValue
Monthly basic + DA₹30,000
Years counted8
Days of pay for each year15 of 26
Tax-free part₹1,38,462
Gratuity payable₹1,38,462

How useful was this tool?

Rate this tool from 1 to 5 stars

The gratuity formula

For a company with 10 or more employees, gratuity = last drawn basic + DA × 15 ÷ 26 × years of service. The 15 stands for 15 days of pay for each year. The 26 is the number of working days in a month.

Example: basic + DA of ₹30,000 and 7 years 8 months of service. The 8 months is more than 6, so it counts as a full year. ₹30,000 × 15 ÷ 26 × 8 = ₹1,38,462.

A company with fewer than 10 employees does not have to pay gratuity by law. Many pay it anyway as company policy. They usually give half a month of pay for each completed year: average basic + DA of the last 10 months × 15 ÷ 30 × completed years.

Who gets gratuity

Under the Code on Social Security, 2020, an employer pays gratuity to:

  • A permanent employee with 5 years of continuous service, when they resign, retire or are let go
  • A fixed-term employee with 1 year of service, paid pro rata for the time worked
  • The nominee or family of an employee who dies, with no minimum service
  • An employee who has to leave because of a disability, with no minimum service

What changed with the labour codes

The four labour codes came into force on 21 November 2025. Two changes matter for gratuity.

First, fixed-term employees now get gratuity after 1 year instead of 5. Second, wages have one meaning across all the codes. Wages are basic pay, DA and retaining allowance. If allowances such as HRA and conveyance are more than half of total pay, the extra counts as wages. So a low basic no longer means a low gratuity.

The Ministry of Labour says the new meaning of wages applies to anyone who leaves on or after 21 November 2025, for all their years of service. Fill in "Total monthly pay" in the calculator to apply this rule.

Tax on gratuity

For private sector employees, gratuity is tax-free up to ₹20 lakh in total over a working life. Any amount above that is taxed as salary. Gratuity paid to central and state government employees is fully tax-free.

The law also sets ₹20 lakh as the most an employer has to pay. A company can choose to pay more. Gratuity is due within 30 days of the date it becomes payable, which is usually the last working day.

Work out the PF a leaver can withdraw

More free HR tools

FAQ

Questions about the gratuity calculator

Is this gratuity calculator free?
Yes. There is no sign-up and no limit. The sums run in your browser, so Goodfit never sees the numbers you type.
How are extra months counted?
For a company covered by the law, a part year of more than 6 months counts as a full year. So 7 years 7 months counts as 8 years, and 7 years 6 months counts as 7 years.
Is gratuity paid after 4 years and 8 months?
The law asks for 5 years of continuous service. Some court rulings have counted 4 years and 240 working days as 5 years, but this is not settled. The calculator follows the plain rule of 5 completed years.
How much gratuity does a fixed-term employee get?
A fixed-term employee qualifies after working 1 year under the contract. The amount is pro rata, so the calculator uses the exact months worked: 1 year 6 months counts as 1.5 years. Someone on an 11-month contract does not qualify.
Which rules does this calculator use?
The rules for the financial year 2026-27: the Code on Social Security, 2020, in force since 21 November 2025, and the Ministry of Labour FAQs updated on 25 October 2026. The result is an estimate. Your company policy may give more, so check large or unusual cases with a lawyer or tax adviser.

Free to start

See why people leave, by team and manager

Goodfit runs a short exit interview call with each person who resigns. You get a report that ranks the reasons people give, split by team and manager.

  • 20 free assessments
  • No card needed
  • Set up in minutes
Book a demo