Skip to content

Gratuity Calculator

Gratuity under the Code on Social Security, 2020, including fixed-term staff.

Inputs

Gratuity amount
₹4,61,538

Use this calculator on your own site

Free embed

  • Two lines of HTML, unlimited views
  • Shows a small CalculateEveryday bar, with a credit link under the calculator

What each Gratuity input means

Last drawn salary (monthly)
Your last monthly basic pay plus dearness allowance. Under the Labour Codes, if allowances exceed half of your total pay, the excess counts as wages too, which can raise this figure.
Years of service
Completed years of continuous service with this employer.
Type of employment
Permanent employees need five years of continuous service; fixed-term contract employees qualify after one year under the Code on Social Security, 2020.

Gratuity formula

Gratuity = (15 ÷ 26) × last monthly wages × completed years, capped at ₹20 lakh

Gratuity is 15 days' wages for every completed year of service. For someone paid monthly, 15 days is taken as 15/26 of a month's wages, on the convention of 26 working days, and 'wages' means basic pay plus dearness allowance. Since 21 November 2025 the rules sit in the Code on Social Security, 2020, which replaced the Payment of Gratuity Act. A permanent employee qualifies after five years of continuous service, or sooner on death or disablement; under the Code a fixed-term employee qualifies after one year, on the same proportionate formula. The amount is capped at ₹20 lakh, which is also the tax-free limit for private-sector employees.

Gratuity worked example

With ₹80,000 of last-drawn basic plus DA and 10 completed years, gratuity is (15 ÷ 26) × 80,000 × 10 = about ₹4,61,538, paid on leaving on top of your PF.

More Gratuity examples

A fixed-term employee on ₹45,000 who completes a two-year contract is now entitled to gratuity: (15 ÷ 26) × 45,000 × 2 = ₹51,923. Before the Code took effect in November 2025, the same contract earned nothing.

After 25 years on ₹1,50,000 the formula gives ₹21,63,462, above the cap, so the gratuity payable is ₹20,00,000.

Five completed years is the threshold for a permanent employee: on ₹30,000 it brings (15 ÷ 26) × 30,000 × 5 = ₹86,538. Leaving after four years instead, the same employee is owed nothing.

Where the Gratuity calculator can give the wrong answer

  • A permanent employee with fewer than five years gets nothing under the law, except on death or disablement, though some employers pay earlier under their own policy.
  • The payout is capped at ₹20 lakh; when the formula gives more, the capped amount is shown with the uncapped figure beside it.
  • Use basic plus DA, not gross pay or CTC. Including HRA or bonus overstates gratuity, unless the Labour Codes' 50% rule adds allowances back into wages.
  • Employers not covered by the Code may follow their own scheme; this uses the statutory formula.

Spotted a mistake? Tell us

Gratuity reference table

Gratuity on ₹50,000 a month of last-drawn wages, by completed years of service
Years of servicePermanent employeeFixed-term employee
1₹0₹28,846
3₹0₹86,538
5₹1,44,231₹1,44,231
10₹2,88,462₹2,88,462
15₹4,32,692₹4,32,692
20₹5,76,923₹5,76,923
25₹7,21,154₹7,21,154
30₹8,65,385₹8,65,385
Source: Worked out with this page's calculator: 15 days' wages a year, (15 ÷ 26) × monthly wages × years, capped at ₹20 lakh; Code on Social Security, 2020

Gratuity FAQ

Government employees' gratuity is fully exempt. For others, up to ₹20 lakh is tax-free; anything above that is taxed as salary in the year you receive it.