Gratuity Calculator
Enter your last monthly basic pay plus DA and your dates of joining and leaving. You get the gratuity your employer owes you and how much of it is tax-free.
For private-sector and PSU employees. Central and state government employees get gratuity under their own pension rules, which use a different formula.
Gratuity is 15 days' wages for every year you worked, paid when you leave. "Wages" means your last basic pay plus DA, and a month is taken as 26 working days. Sundays are left out, which is why the divisor is 26 and not 30.
The 8 extra months are more than six, so the service counts as 8 years. Gratuity = 60,000 × 15 ÷ 26 × 8 = ₹2,76,923.
Had the same person left at 7 years 5 months, only 7 years would count: ₹2,42,308. The difference of ₹34,615 is the value of staying past the six-month mark. If you are planning a resignation date, check where it falls.
What the Labour Codes changed
The Code on Social Security, 2020, in force since 21 November 2025, took over the Payment of Gratuity Act, 1972. The formula and the five-year condition for permanent staff carried over. Two things are new.
Fixed-term employees qualify after one year. Someone on a two-year contract ending at a basic of ₹40,000 now gets 40,000 × 15 ÷ 26 × 2 = ₹46,154 when the contract ends. Earlier, fixed-term staff needed five years like everyone else, which most contracts never reached.
The wage base can be larger. The Codes count basic, DA and retaining allowance as wages, and if allowances such as HRA and conveyance make up more than half of your pay, the excess is added back. A worker with a low basic and large allowances can therefore get a higher gratuity than the payslip's basic alone suggests. The in-hand salary calculator explains the 50% test.
The ₹20 lakh ceiling and tax
The law caps gratuity at ₹20 lakh, the figure the central government has notified. That cap starts to bite at high salaries and long service: ₹1.5 lakh basic over 30 years gives ₹25,96,154 by formula, but the statutory amount is ₹20 lakh.
For tax, gratuity received by a non-government employee is exempt up to the lowest of three figures: the amount received, ₹20 lakh, and the formula amount (15 ÷ 26 for covered employers; half a month's average salary per completed year for others). The ₹20 lakh is a lifetime limit, so gratuity from an earlier employer that was exempt reduces it. Anything above is taxed as salary in the year you receive it. Government employees' gratuity is fully exempt.
| Last basic + DA | 5 years | 10 years | 20 years |
|---|---|---|---|
| ₹25,000 | ₹72,115 | ₹1,44,231 | ₹2,88,462 |
| ₹50,000 | ₹1,44,231 | ₹2,88,462 | ₹5,76,923 |
| ₹1,00,000 | ₹2,88,462 | ₹5,76,923 | ₹11,53,846 |
| ₹2,00,000 | ₹5,76,923 | ₹11,53,846 | ₹20,00,000 (capped) |
The 4.81% line in your CTC
Many offer letters show gratuity as 4.81% of basic. That is 15 ÷ 26 ÷ 12: the cost of 15 days' wages spread over twelve months. It is a provision, not a payment. If you leave after three years as a permanent employee, you get nothing from it; if you stay twenty years, the payout is based on your final basic, so it will be far larger than the sum of those monthly provisions. Some employers buy a group gratuity policy from an insurer to fund it, which makes no difference to what you are owed.
Gratuity can be withheld wholly or partly only in narrow cases, such as termination for an act that caused the employer loss (to the extent of that loss) or for riotous conduct or an offence involving moral turpitude. Leaving for another job is never a ground. Fill in the nomination form when you join, because without it your family must prove their claim when the time comes.
Employers outside the law
Shops and offices with fewer than ten employees are not bound to pay gratuity, though many do under their own policy. When they do, the tax rule uses half a month's average salary (of the last ten months) for each completed year, with no rounding of part years. The calculator's "No" option uses that formula, which on the 7-year-8-month example gives ₹2,10,000.
Gratuity sits alongside your PF as the main lump sum at the end of a job. The EPF calculator projects that side.
Frequently asked questions
Is gratuity paid if I resign after 4 years and 8 months?
For a permanent employee the rule is five years of continuous service, so normally no. Some High Courts have counted four years plus 240 working days in the fifth year as five years, but employers do not all follow that, and it may need a claim before the controlling authority. Fixed-term employees qualify after one year.
How soon must my employer pay?
Within 30 days of the gratuity becoming payable, which is usually your last working day. If it is late, the employer owes simple interest for the delay. If it is not paid, you can apply to the controlling authority under the labour department of your state.
Is the gratuity shown in my CTC the same as what I will get?
No. The CTC line is usually 4.81% of basic set aside each year. What you get on leaving is worked out on your last basic pay, which is normally higher, and only if you meet the service condition. If you leave before five years as a permanent employee, that CTC amount is not paid.
Can my employer pay more than ₹20 lakh?
Yes, an employer may pay more under its own policy. The law only requires up to ₹20 lakh, and only ₹20 lakh in your whole working life is tax-free for a non-government employee. The rest is taxed as salary.