Gratuity Calculator 2026 in Excel (Free) – As Per New Labour Codes

gratuity calculator excel 2026

Advertisement

Quick answer: Gratuity = 15 × last month’s wages × years of service ÷ 26. Wages here mean basic pay + DA. Under the new Labour Codes, if basic + DA is less than half of total pay, the shortfall is added back.

  • Permanent employees need 5 years of continuous service.
  • Fixed-term employees qualify after 1 year.
  • On death or disablement there is no minimum.
  • A final part-year of more than 6 months counts as a full year.

Download the free gratuity calculator in Excel below. It works out eligibility, the gratuity amount and the tax-free part.

Key takeaways

  • Updated for the Code on Social Security, 2020, in force from 21 November 2025.
  • Applies the 50% wage rule, the 1-year rule for fixed-term staff and the 6-month rounding.
  • Shows the tax-free and taxable parts. The private-sector exemption is up to ₹20 lakh in a lifetime.
  • A second sheet works out gratuity liability for all employees at a date, for employers and year-end provisions.

↓ Jump to the free download

FOR EMPLOYEESYour gratuity, salary and tax in one file.XploreMoney shows your gratuity alongside take-home pay, EPF or NPS / GPF and old vs new tax — plus your budget, EMIs and SIPs. One-time ₹199.See XploreMoney — ₹199 →⚡ Instant download · ♾️ Lifetime access · 💳 Pay onceXploreMoney

Gratuity calculator 2026 in Excel as per new Labour Codes with 50% wage rule and tax-free amount
7 years 8 months of service counts as 8 years. With the 50% rule, wages become ₹35,000, so gratuity is ₹1,61,538.

Gratuity formula in 2026

Gratuity = 15 × W × N ÷ 26

  • W = last month’s wages (basic + DA, raised to at least 50% of total pay if needed)
  • N = years of service, counting a final part-year of more than 6 months as a full year
  • 15 = 15 days’ wages for each year
  • 26 = working days in a month

What changed with the new Labour Codes

RuleBefore 21 Nov 2025From 21 Nov 2025
Fixed-term employees5 years1 year (pro-rata)
Permanent employees5 years5 years (no change)
Wages for gratuityBasic + DABasic + DA, but allowances above 50% of total pay are added back
Death / disablementNo minimumNo minimum (no change)

Worked example

Ravinder joined on 11 March 2019 and leaves on 30 November 2026. His basic pay is ₹28,000, he gets no DA, and his total monthly pay is ₹70,000.

Advertisement
  1. Service: 7 years 8 months 19 days. The last part-year is more than 6 months, so 8 years count.
  2. Wages: basic + DA is ₹28,000. Half of total pay is ₹35,000, so ₹7,000 is added back. Wages for gratuity = ₹35,000.
  3. Gratuity: 15 × 35,000 × 8 ÷ 26 = ₹1,61,538.

Under the old rule, with ₹28,000 wages, it would have been ₹1,29,231. The 50% rule adds ₹32,307 here.

Is gratuity taxable?

  • Government employees: fully tax-free.
  • Private-sector employees: tax-free up to ₹20 lakh in a lifetime. The calculator subtracts any exemption you used with an earlier employer and shows the taxable balance.
  • Gratuity paid by the employer under the law is also capped at ₹20 lakh. The calculator applies that cap.

Gratuity liability for all employees

Employers need the total gratuity they would owe if everyone left on a date, for example 31 March for the balance sheet. The second sheet lists up to 50 employees. For each it shows years counted and eligibility, the gratuity payable now, and the accrued liability.

Gratuity liability of all employees in Excel as on 31 March
Gratuity liability for five employees as on 31 March 2027.
Outgrown the free calculator? Here’s what XploreMoney adds

Free calculatorXploreMoney
Gratuity worked out from your own salary—✓
Take-home pay with EPF or NPS / GPF—✓
Old vs new regime for FY 2026-27—✓
Budget, EMIs and SIPs—✓
Goals and net worth—✓

⚡ Instant download · ♾️ Lifetime access · 💳 Pay onceGet XploreMoney — ₹199 →

Download the free Gratuity Calculator 2026

There are two sheets: Gratuity Calculator for one employee and Staff Gratuity Liability for employers. Fill in the yellow cells.

Get updates and new free templates

Your download below doesn’t need this. Leave your WhatsApp number or email and I’ll send you fixes for this file and new free templates. No spam, unsubscribe anytime.

Was this template useful?

FAQs

Is gratuity payable before 5 years?

Yes in three cases: fixed-term employees after 1 year, and any employee on death or disablement. Otherwise permanent employees need 5 years of continuous service. Some courts have counted 4 years 240 days as 5 years; ask your employer or a lawyer if you are close.

Why divide by 26?

The law treats a month as 26 working days, so 15 days’ wages = monthly wages × 15 ÷ 26.

Does gratuity apply to every employer?

The law applies to establishments with 10 or more employees. A smaller employer may still pay gratuity under its own policy.

Advertisement

Which wages are used – basic or gross?

Basic + DA (plus retaining allowance if any). Under the Labour Codes, if allowances are more than half of total pay, the excess is added back to wages.

No. It applies the general rules. Seasonal establishments, special agreements and disputes differ, so check with your employer or CA before relying on the figure.

More free templates

Advertisement

Amanpreet Kaur Bharaj
I'm Amanpreet Kaur Bharaj from Hoshiarpur, Punjab. I've worked in Excel for about 12 years, and since 2022 I've run my own ethnic-wear boutique, Punjabi Libas, on Excel files I built myself. XplorExcel is where I share those files: free templates for everyday business work, and ready-made Excel software for shops, boutiques, clinics, dairies, mandis and offices. Every file comes with a filled-in sample so you can see how it works. Stuck with one? Message me and I'll help.