Skip to content
Bapna Digital

Gratuity calculation formula in India, with examples (2026)

Bapna Digital ·

Gratuity is a lump sum your employer pays when you leave, as a thank-you for long service. It is one of the few parts of your pay that you cannot negotiate away, because the law sets both who gets it and how much.

The formula

For an employer covered by the gratuity law (10 or more employees):

Gratuity = Last monthly wage × 15 × Years of service ÷ 26

  • Last monthly wage is your basic pay plus dearness allowance (DA) for the last month you worked.
  • 15 stands for 15 days' wages for every year you worked.
  • 26 is the number of working days the law assumes in a month (30 days less 4 Sundays).
  • Years of service counts a final part-year of more than six months as a full year. 10 years and 7 months counts as 11; 10 years and 6 months counts as 10.

If your employer is not covered by the law but pays gratuity anyway, the usual practice is 15 ÷ 30 instead of 15 ÷ 26, and only completed years count.

Worked examples

Example 1. Your last basic pay plus DA is ₹50,000 and you worked 10 years and 8 months.

  • Years counted: 11 (the 8 months round up)
  • Gratuity = 50,000 × 15 × 11 ÷ 26 = ₹3,17,308

Example 2. Last basic plus DA ₹30,000, service 6 years and 4 months.

  • Years counted: 6 (4 months is not more than six)
  • Gratuity = 30,000 × 15 × 6 ÷ 26 = ₹1,03,846

Example 3. Same as example 2, but the employer is not covered by the law.

  • Gratuity = 30,000 × 15 × 6 ÷ 30 = ₹90,000

You can check your own figure in seconds with our gratuity calculator.

What changed with the labour codes

India's four labour codes came into force on 21 November 2025 and replaced the old Payment of Gratuity Act. Three changes matter for gratuity:

  1. Fixed-term employees qualify after one year. People hired for a fixed term now earn gratuity after one year of continuous service instead of five. Permanent employees still need five years, except on death or disability.
  2. "Wages" must be at least half of your pay. Basic pay, DA and retaining allowance together must make up at least 50% of your total pay. If your employer keeps basic low and allowances high, the extra allowance above 50% is added back when working out gratuity. For many people this raises the amount.
  3. Gratuity must be paid within 30 days of leaving, or the employer owes interest.

How much is tax-free?

For private-sector employees, gratuity is tax-free up to ₹20 lakh in your working life. Anything above that is added to your income and taxed at your slab rate. Government employees have a separate, higher limit.

Who does not get gratuity?

  • Permanent employees who leave before completing five years (unless on death or disability).
  • Employees dismissed for certain kinds of misconduct, where the employer can withhold part or all of it.

A quick checklist before you resign

  • Find your last basic pay plus DA on your payslip.
  • Count your service from your joining date to your last working day.
  • If your basic is less than half your gross pay, work the formula on half your gross pay instead.
  • Ask HR for the gratuity figure in writing and compare it with the calculator.

Planning the rest of your retirement money? See how your provident fund adds up with the EPF calculator.

Questions

What is 15/26 in the gratuity formula?

15 is 15 days' wages for each year of service, and 26 is the number of working days the law assumes in a month. Together they mean you get about 58% of a month's wage for every year you worked.

Is gratuity calculated on basic pay or gross salary?

On basic pay plus dearness allowance. Under the labour codes in force since November 2025, if basic plus DA is less than half of your total pay, the shortfall is added back, so gratuity is worked out on at least half your pay.

Can I get gratuity after 4 years and 8 months?

Courts have often treated 4 years and 240 working days in the fifth year as five years of continuous service, but it depends on your case. Fixed-term employees now qualify after just one year.

Free tools for this

Read next

Your whole business in one link

A free bio link page for Instagram and WhatsApp, with ordering, UPI, hours and a lead form.

Make your free bio link