Free HR calculator

Gratuity calculator & formula: how much will you get?

Gratuity = 15 × last drawn monthly basic + DA × years of service ÷ 26, for employers covered by the gratuity law; service beyond six months counts as a full year. Regular employees qualify after 5 years and fixed-term employees after 1 year, and tax-free gratuity is capped at ₹20 lakh.

Last updated:

Service details

Estimated gratuity ₹0 Eligible
Service counted
Formula
Tax-exempt portion
Taxable portion

Estimates for guidance only, based on rules notified at the time of writing. Statutory rates, wage ceilings and the Labour Codes’ rules can change, so confirm with your CA before making payroll decisions.

Gratuity rules in India (2026)

  • Formula (covered employers): 15 × last drawn wages × years ÷ 26. The 15/26 reflects 15 days’ wages per year, based on 26 working days a month.
  • Rounding: more than six months in the last year counts as a full year; less is ignored.
  • Eligibility: five years of continuous service for regular employees; one year, pro-rata, for fixed-term employees since the Labour Codes took effect on 21 November 2025.
  • Ceiling: ₹20 lakh, which is also the tax-exempt limit for private-sector employees.

Example

An employee with last drawn basic + DA of ₹40,000 and 7 years 8 months of service is counted as 8 years. Gratuity = 15 × 40,000 × 8 ÷ 26 = ₹1,84,615.

For employers, XoMB HR tracks service dates and wages so gratuity liabilities and full-and-final settlements are ready when you need them. See our HR services.

In-depth guide12 min readUpdated 27 November 2026

Gratuity in real situations: worked scenarios, tax, the Labour Codes and planning the employer's liability

Gratuity is a lump sum an employer pays to recognise long service, usually when an employee resigns, retires or dies. The formula looks simple, but the outcome depends on details people often get wrong: how part-years are counted, which wage is used, whether the employer is covered by the law, and how the Labour Codes changed things for fixed-term staff. This guide works through real scenarios, explains the tax position, and shows employers how to plan for a liability that grows every year whether or not anyone is watching it. Confirm specifics with your CA or legal adviser before relying on them for a settlement.

What is the gratuity formula?

For employers covered by the law:

Gratuity = 15 × last drawn monthly wages × years of service ÷ 26

For example, an employee whose last drawn basic + DA is ₹30,000 and who served 7 years and 8 months is credited with 8 years, because a final part-year above six months rounds up: 15 × ₹30,000 × 8 ÷ 26 = ₹1,38,462.

  • 15 is 15 days’ wages for every year of service
  • 26 represents the working days in a month, which makes the daily wage slightly higher than dividing by 30
  • Last drawn wages means basic plus dearness allowance, and under the Labour Codes, any excluded allowances above half of total remuneration are added back
  • Years of service counts a final part-year of more than six months as a full year

For employers outside the law who pay gratuity voluntarily or under contract, many policies use completed years and a divisor of 30, which gives a smaller figure. The calculator lets you choose either.

Ten scenarios, worked out

Situation Last drawn basic + DA Service Result
Resigns after 7 years 8 months ₹40,000 Counted as 8 years ₹1,84,615
Resigns after 7 years 5 months ₹40,000 Counted as 7 years ₹1,61,538
Resigns after 4 years 11 months (regular employee) ₹30,000 Under 5 years Not eligible as a rule; see the note below
Fixed-term employee leaves after 1 year 6 months ₹25,000 1.5 years, pro rata ₹21,635
Resigns after exactly 5 years ₹22,000 5 years ₹63,462
Resigns after 10 years, employer covered ₹30,000 10 years ₹1,73,077
Same, employer not covered (÷ 30, completed years) ₹30,000 10 years ₹1,50,000
Retires after 12 years 7 months ₹55,000 Counted as 13 years ₹4,12,500
Senior manager retires after 25 years ₹1,20,000 25 years ₹17,30,769
Same manager after 30 years ₹1,20,000 30 years ₹20,76,923, capped at ₹20,00,000

Look at the second pair: the same employee gets ₹23,077 more by staying three extra months, crossing the six-month mark. Employees nearing a boundary should check their dates before resigning, and employers should expect some resignations to be timed around it.

About four years and a bit: some court decisions have treated an employee who worked 240 days in the fifth year as having completed five years of continuous service, while others have taken a stricter view. If an employee is close to five years, take legal advice rather than assuming either way.

When gratuity becomes payable

  • Superannuation or retirement
  • Resignation after the qualifying service
  • Termination for any reason other than the forfeiture grounds below, after the qualifying service
  • Death or disablement due to accident or disease, with no minimum service needed
  • End of a fixed-term contract, on a pro-rata basis after one year

On death, gratuity goes to the nominee, or to the legal heirs if there’s no nomination. That’s another reason to keep nominations up to date.

When gratuity can be withheld or forfeited

An employer can forfeit gratuity only in specific circumstances, and only after following proper process:

  • Damage or loss to the employer’s property caused by the employee’s wilful act or negligence, to the extent of that damage
  • Riotous or disorderly conduct or violence, where the employee’s services were terminated for it
  • An offence involving moral turpitude committed in the course of employment, where services were terminated for it

Gratuity can’t be withheld because an employee didn’t serve notice, joined a competitor, or has a dispute over unrelated dues. Notice-period recovery should be handled separately in the full-and-final settlement.

The Labour Codes: what changed for gratuity

The Code on Social Security has been in force since 21 November 2025. Three changes matter most.

1. Fixed-term employees after one year

Fixed-term employees no longer need five years. They’re entitled to gratuity in proportion to their service, once they’ve completed one year. For businesses that hire on fixed-term contracts for projects, seasons or production peaks, this creates a liability that didn’t exist before.

2. A wider wage base

The Codes define wages broadly and then list exclusions, such as HRA, conveyance and certain allowances. If the excluded components together exceed half of total remuneration, the excess is added back to wages.

Example: an employee earns ₹60,000 a month, with basic + DA of ₹18,000 and ₹42,000 in allowances. Half of total remuneration is ₹30,000, so ₹12,000 of the allowances count as wages, which makes the wage for gratuity ₹30,000.

Item Before the Codes Under the 50% rule
Wage used for gratuity ₹18,000 ₹30,000
Gratuity after 10 years ₹1,03,846 ₹1,73,077

That’s a 67% increase for the same employee. Businesses with low-basic structures should recalculate their liability.

3. Payment timelines

Full and final dues, including wages, are expected to be settled quickly after separation. The gratuity law also requires payment within 30 days of it becoming payable, with interest if delayed. Plan cash flow so a resignation doesn’t become a delayed payment. A simple rule of thumb: keep enough liquid funds, or funded cover, to pay the gratuity of your two or three longest-serving employees at short notice, since those are the payouts most likely to arrive unexpectedly.

Gratuity and income tax

Employee category Tax treatment
Government employees Fully exempt
Private-sector employees covered by the gratuity law Exempt up to the least of: the amount calculated under the law, ₹20 lakh, and the gratuity actually received
Private-sector employees not covered by the law Exempt up to the least of: half a month’s average salary for each completed year, ₹20 lakh, and the gratuity actually received
Nominee or legal heir receiving gratuity after the employee’s death Generally not taxable as salary in their hands

Points to remember:

  • The ₹20 lakh exemption is a lifetime limit. If you’ve received tax-free gratuity from a previous employer, that counts against the limit.
  • Anything above the exemption is taxed as salary in the year you receive it.
  • Relief may be available where a lump sum pushes you into a higher tax bracket, under the rules for arrears and advance salary.
  • The calculator shows exempt and taxable portions against the ₹20 lakh ceiling, but it doesn’t track gratuity from earlier employers.

For employers: planning a liability that grows quietly

Gratuity builds up every year for every employee, whether or not you set money aside. A business with 80 employees and an average basic of ₹20,000 accrues roughly 4.81% of basic per employee per year, which is about ₹77,000 a month across the workforce, or over ₹9 lakh a year. After a decade without provisioning, a few long-serving exits in the same year can strain cash flow.

Ways to fund it

  1. Book a provision in your accounts every year. Companies following Ind AS or the accounting standards need an actuarial valuation, which estimates future payouts allowing for salary growth, attrition and discount rates.
  2. Set up a gratuity trust and invest contributions, or use a group gratuity scheme from an insurer, which funds the liability and handles payouts.
  3. Check insurance requirements: the law allows states to require employers to insure their gratuity liability, so check what applies in your state.

Funding through an approved trust or a group scheme can also bring tax benefits for the employer, compared with an unfunded provision that is only deductible when actually paid.

Estimating today’s liability, band by band

A quick way to size your current gratuity exposure, before commissioning an actuarial valuation, is to group employees by length of service. This illustrative 50-person company uses the formula on current basic + DA:

Service band Employees Average basic + DA Average years counted Accrued per employee Band total
Under 1 year 10 ₹16,000 0 Nil (unless fixed-term past one year) Nil
1 to 5 years 20 ₹20,000 3 ₹34,615 ₹6,92,308
5 to 10 years 12 ₹28,000 7 ₹1,13,077 ₹13,56,923
Over 10 years 8 ₹40,000 14 ₹3,23,077 ₹25,84,615
Total 50 ₹46,33,846

The 1-to-5-year band isn’t payable yet for regular employees, but it becomes payable as they cross five years, so it belongs in the estimate. Notice how the eight longest-serving employees account for more than half the total. Their retirement dates are the ones to plan cash for first.

A gratuity policy checklist

  • Confirm whether your establishment is covered, and record the date coverage began
  • Write down how fixed-term employees are treated under the Codes
  • Define the wage used, in line with the Codes’ wage definition
  • Collect nominations from every employee at joining, and refresh them periodically
  • Decide how to fund the liability: a provision, a trust or a group scheme
  • Set a process to calculate and pay gratuity within 30 days of it becoming due
  • Review the policy whenever salary structures change

Building gratuity into CTC

Many employers include gratuity in CTC at about 4.81% of basic. That’s legitimate if it’s explained clearly, but remember:

  • Employees who leave before qualifying never receive it, which can feel misleading if not explained
  • Fixed-term employees now qualify after one year, so the provision applies to them too
  • The Labour Codes’ wage rule may raise the base, so recalculate CTC templates

Records you’ll need

  • Exact joining dates, including periods of service with group companies if your policy recognises them
  • Wage history, so the last drawn wage is accurate
  • Breaks in service, such as long unpaid leave, which may affect continuity under the law
  • Nominations filed by employees
  • Previous gratuity payments, if anyone was rehired

A worked full-and-final settlement

Gratuity is usually paid as part of a full-and-final settlement. Here’s an illustrative example for a production supervisor in Panchkula who resigns after 9 years 7 months. Their last drawn basic + DA is ₹32,000 and gross pay is ₹52,000. They have 18 days of unused earned leave and serve 20 days of a 30-day notice period.

Item Calculation Amount
Salary for days worked in the last month ₹52,000 × 12 ÷ 30 ₹20,800
Leave encashment ₹32,000 ÷ 26 × 18 days (on basic + DA, as per this employer’s policy) ₹22,154
Gratuity 15 × ₹32,000 × 10 ÷ 26 (9 years 7 months counted as 10) ₹1,84,615
Pending reimbursements Approved travel claims ₹3,400
Less: notice shortfall 10 days of gross pay, as per contract −₹17,333
Less: TDS on taxable components Illustrative −₹4,000
Net settlement ₹2,09,636

Two things to notice. First, gratuity here is fully tax-free, because it’s well within the ₹20 lakh limit, while salary and leave encashment are taxed under their own rules. Second, the notice shortfall is recovered as a separate line. It doesn’t reduce gratuity itself, which can only be forfeited on the legal grounds described above.

Checking your employer’s calculation

If you’ve received a settlement statement, check gratuity in five steps:

  1. Confirm your dates: joining date and last working day, including any notice period served
  2. Work out the service counted: completed years, plus one if the final part-year is more than six months
  3. Check the wage used: your last drawn basic plus DA, and whether the Labour Codes’ 50% rule adds back part of your allowances
  4. Check the divisor: 26 if your employer is covered by the law, which applies to establishments with 10 or more employees
  5. Compare with the calculator above: if the figures differ, ask HR to show their working in writing

Most differences come from a wrong joining date, or the wage used being from before your last increment.

How gratuity shows up across industries

The size and timing of gratuity liabilities vary a lot between sectors in the Tricity:

  • Manufacturing units in Mohali, Panchkula and the Zirakpur–Derabassi belt often have long-serving operators and supervisors. Liabilities build up steadily, and retirements can bring several large payouts in the same year.
  • Retail and showroom chains see high turnover, so many staff leave before five years. Fixed-term and seasonal staff now qualify after one year, which changes that picture.
  • IT and software companies hiring on fixed-term or project contracts need to provide for pro-rata gratuity under the Codes, even for one- or two-year engagements.
  • Hospitals and clinics with nursing and support staff on rolling contracts face similar fixed-term rules, alongside long-tenured senior staff.
  • Schools and coaching institutes with many long-serving teachers can face significant gratuity costs at retirement, which makes funding through a trust or group scheme especially sensible.

Knowing your own pattern helps you decide whether a simple provision is enough, or whether you need actuarial valuation and funded cover.

Continuous service: what breaks it and what doesn’t

Gratuity depends on continuous service, which the law defines generously. Service is generally treated as continuous despite:

  • Sickness, accidents and authorised leave
  • Lay-offs and strikes that aren’t illegal
  • Lockouts and stoppages of work not caused by the employee
  • Maternity leave

An unauthorised absence or an illegal strike may interrupt continuity, depending on the circumstances. Moves within a group of companies don’t automatically carry service across, unless the employer’s policy or the terms of transfer say so. Employers who rehire former employees should write down whether past service will count.

Common questions

“I’m leaving after four years and ten months. Is it worth staying two more months?” If you’re a regular employee, crossing five years is what makes you eligible, so the difference could be worth several months’ basic.

“My employer has fewer than 10 employees. Do I get gratuity?” The law applies to establishments with 10 or more employees. Below that, you’d only receive gratuity if your contract or company policy provides for it. Once covered, an employer stays covered even if headcount falls later.

“Does gratuity count my notice period?” Service is counted up to your last working day, so a notice period you serve is included.

“How do I claim it?” Apply to your employer, usually within 30 days of it becoming due. The employer must calculate it and pay it within 30 days. If it isn’t paid, you can approach the controlling authority under the law.

“Is gratuity included in my CTC paid every year?” No. It’s a provision, paid only when you become eligible.

“I was rehired by the same company. Does my earlier service count?” Only if your employer’s policy or your rejoining terms say so, or if the earlier break didn’t interrupt continuous service under the law. If you received gratuity when you first left, the new service usually starts afresh. Ask for the position in writing when you rejoin.

“Can my employer pay more than the formula?” Yes. Many employers pay enhanced gratuity under their own policy, for example by counting 30 days per year for senior staff. The amount above the statutory figure and the ₹20 lakh limit is taxable.

How an HRMS keeps gratuity under control

Gratuity disputes usually come down to dates and wages. XoMB HR keeps joining dates, service history, wage revisions and nominations together in the employee record, so you can see each employee’s accrued gratuity at any time, estimate the total liability for planning, and include the right amount in a full-and-final settlement without searching through old files.

Official sources

FAQ

Gratuity Calculator: FAQs

What is the formula for gratuity?

For employers covered under the gratuity law, gratuity = 15 × last drawn monthly wages (basic + DA) × years of service ÷ 26. Service of more than six months in the final year is rounded up to a full year. For employers not covered, the formula is 15 × wages × completed years ÷ 30.

Who is eligible for gratuity?

Regular employees become eligible after five years of continuous service (earlier on death or disablement). Under the Code on Social Security, 2020, in force since 21 November 2025, fixed-term employees are eligible on a pro-rata basis after one year of service.

What is the maximum gratuity limit?

Statutory gratuity is capped at ₹20 lakh, which is also the income-tax exemption limit for private-sector employees. Employers can pay more voluntarily, but the excess is taxable.

Do the Labour Codes change gratuity amounts?

They can. The Codes define “wages” more widely, and if excluded allowances exceed 50% of total pay, the excess is added back to wages. That can raise the salary base used for gratuity, so review salary structures with your CA.

Free, no obligation

Stop calculating by hand

XoMB HR runs these calculations for every employee, every month, straight from attendance, and emails the payslips. Free 1-month trial.

  • Payroll in minutes, not days
  • Statutory reports ready to file
  • Free 1-month trial

Get a call back

Mon–Sat, 9 AM–6 PM. We reply within working hours.

Call WhatsApp Free demo
Chat with us