Popular

CGPA to percentageCBSE, Anna, KTU, VTU and morePhoto and signature resizerResize to 20 KB, 50 KB for exam formsCertificate and marksheet PDF compressorCompress a PDF to 100, 200 or 300 KBExam eligibility checkerEvery exam your date of birth allowsExam age eligibilityYour age on UPSC and other exam cut-offsPercentage calculatorMarks, increase and decreasePassport and visa photo makerEvery document, background and print sheetAge calculatorExact age in years, months and days
Salary & tax · 6 min read

Gratuity formula explained

By Manish MauryaUpdated
Gratuity formula explained: Ganakly guide cover

Quick answer

What is the gratuity formula?

The gratuity formula for covered employers is 15 × last monthly basic pay plus DA × years of service ÷ 26. A final part-year over 6 months counts as a full year. With ₹50,000 wages and 10 years 7 months, 11 years count, giving about ₹3,17,308. The statutory cap is ₹20 lakh.

  • Covered employer: 15 × wages × years ÷ 26
  • Not covered: 15 × average wages × completed years ÷ 30
  • Cap: ₹20 lakh, also the tax-free limit for non-government staff
Try the Gratuity calculatorWork out your own numbers as you read

Gratuity is a lump sum your employer pays when you leave, retire or are unable to continue working, as thanks for long service. The amount comes from one short formula. This guide explains every part of it, how service is counted and what changed when the Code on Social Security, 2020 came into force on 21 November 2025.

What is the gratuity formula?

For employers covered by the law, which generally means those with 10 or more employees:

Gratuity = 15 × last drawn monthly wages × years of service ÷ 26
  • Wages means basic pay plus dearness allowance (DA). HRA, bonus and most other allowances are left out, with one exception under the new Labour Code, covered below.
  • Years of service are completed years, plus one more if the final part-year is longer than 6 months.

For employers not covered by the law, gratuity they pay voluntarily is usually 15 × average monthly wages × completed years ÷ 30, with no rounding up of part-years.

Why does the gratuity formula use 15 and 26?

The law grants 15 days’ wages for every year of service. To turn a monthly salary into a daily rate, it treats a month as 26 working days, leaving out four weekly days off.

So 15 ÷ 26 is just “15 days’ pay”. It works out to about 57.7% of one month’s wages for every year you’ve worked. The non-covered formula divides by 30 instead, which gives a smaller daily rate and so a smaller payout.

How is gratuity calculated? Worked examples

All examples assume a covered employer unless the row says otherwise.

Monthly wages Service Years counted Gratuity
₹30,000 5 years 5 ₹86,538
₹50,000 10 years 10 ₹2,88,462
₹50,000 10 years 6 months 10 ₹2,88,462
₹50,000 10 years 7 months 11 ₹3,17,308
₹50,000 (not covered, ÷ 30) 10 years 7 months 10 ₹2,50,000
₹80,000 15 years 8 months 16 ₹7,38,462
₹1,00,000 20 years 20 ₹11,53,846
₹1,50,000 25 years 25 ₹20,00,000 (capped)
₹40,000 (fixed-term) 1 year 3 months 1 ₹23,077

Take the ₹50,000 and 10 years 7 months row: 15 × ₹50,000 × 11 ÷ 26 = ₹3,17,308. One extra month of service, from 6 to 7 months, adds about ₹28,846. You can check your own case with the gratuity calculator.

How are years of service counted?

Three rules decide the “years” in the formula:

  • The 5-year minimum. Regular employees must complete 5 years of continuous service to qualify. At 4 years 11 months, the Ganakly calculator shows nil. If you’re close to the mark, ask your employer or HR exactly how your service will be counted before you resign.
  • The 6-month rule. For covered employers, a final part-year of more than 6 months counts as a full year. Exactly 6 months doesn’t.
  • Death or disablement. Gratuity is paid regardless of length of service in these cases.

Continuous service usually includes paid leave and authorised breaks. If you changed roles within the same employer, all of it counts.

What changed under the new Labour Code?

The Code on Social Security, 2020, in force from 21 November 2025, kept the formula but changed who qualifies and what counts as wages:

  • Fixed-term employees qualify after 1 year, instead of 5, and are paid pro rata for their service.
  • Wages must be at least 50% of total pay. If allowances make up more than half your pay, the excess is treated as wages. For people with a low basic and large allowances, this can raise gratuity.
  • The ₹20 lakh ceiling continues for private-sector employees.

If your salary structure was revised after November 2025 to meet the 50% rule, a higher basic may also change your PF and take-home pay. The CTC to in-hand salary calculator shows that effect.

When does the ₹20 lakh gratuity cap apply?

The statutory amount is capped at ₹20 lakh. For non-government employees, this is also the lifetime tax-free limit. Central government employees have a ₹25 lakh limit under their own rules, and their gratuity is fully tax-exempt.

The cap only bites on long service with a high salary. At ₹1 lakh a month, you’d need about 34.7 years of counted service to reach it. At ₹1.5 lakh a month, 25 years gives about ₹21.63 lakh before the cap, so ₹20 lakh is paid.

What mistakes should you avoid?

  • Using gross salary instead of basic + DA. HRA and special allowance aren’t part of the formula unless the 50% rule applies.
  • Dividing by 30 when your employer is covered. Covered employers use 26, which pays about 15% more.
  • Leaving just before a milestone. Resigning at 4 years 10 months, or at exactly 6 months into a year, can cost you a full year’s gratuity.
  • Counting the CTC gratuity line as yours. Many offers include gratuity at 4.81% of basic in CTC, but it’s paid only once you qualify.
  • Assuming everything is tax-free. The ₹20 lakh exemption is for your whole working life, across all employers.
Key takeaway: gratuity is 15 days of basic + DA for every counted year, with the month taken as 26 days. Know your exact service date, because one extra month past the half-year can add a full year's gratuity.

Frequently asked questions

Why is gratuity divided by 26?

The law treats a month as 26 working days, leaving out four weekly days off. So 15 ÷ 26 of a month’s wages is 15 days’ pay for each year of service.

Does 6 months of service count as a full year for gratuity?

No, it must be more than 6 months. With ₹50,000 wages, 10 years and 6 months gives about ₹2,88,462 (10 years counted), while 10 years and 7 months gives about ₹3,17,308 (11 years counted).

What is the gratuity formula if my employer is not covered by the law?

Gratuity paid voluntarily by employers outside the law is usually worked out as 15 × average monthly wages × completed years ÷ 30, and part-years are not rounded up. With ₹50,000 and 10 years 7 months, that is ₹2,50,000.

How is gratuity calculated for fixed-term employees?

The same 15/26 formula applies, but fixed-term employees qualify after 1 year instead of 5. With ₹40,000 monthly wages and 1 year 3 months of service, gratuity is about ₹23,077.

How many years does it take to reach the ₹20 lakh gratuity cap?

It depends on your wages. At ₹1 lakh a month, you’d need about 34.7 years of counted service. At ₹1.5 lakh a month, 25 years gives about ₹21.63 lakh, so the cap of ₹20 lakh applies.

Can my employer pay more than ₹20 lakh gratuity?

Yes, an employer can pay more under its own policy, but the statutory amount is capped at ₹20 lakh. For non-government employees, only ₹20 lakh in a lifetime is tax-free; anything above that is generally taxed as salary.

Built and verified by Manish Maurya

Every formula is built from official rules, covered by automated tests and checked against worked examples before it goes live. Last reviewed . Found a mistake? Tell us.

Sources