Gratuity Calculator: The 15/26 Formula, the ₹20 Lakh Cap and Tax
By FindMySum · Last reviewed
A gratuity calculator tells you the lump sum your employer owes when you leave after years of service, and how much of it you keep free of income tax. This one applies the formula in the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972 from 21 November 2025 without changing the arithmetic, along with the income-tax exemption rules. It handles employees covered by the law and those who are not, the 5-year eligibility rule, fixed-term contracts, and the ₹20,00,000 ceiling.
Inputs
- Last drawn basic + DA: monthly wages as the law defines them, ₹50,000 by default. Allowances such as HRA and conveyance are left out, unless excluded pay is more than half of your total pay, in which case the excess counts as wages.
- Years of service and additional months: 10 years and 0 months by default.
- Covered by gratuity law: yes by default. Establishments that employed 10 or more people on any day in the preceding 12 months are covered.
- Fixed-term employee and death or disablement (advanced): both change who qualifies.
The formula
For a covered employee:
Gratuity = 15 × last drawn wages × years of service ÷ 26
The law counts 15 days' wages per year of service and treats a month as 26 working days, so 15 ÷ 26 of a month's wages is earned for each year. A final part-year counts as a full year when it is more than six months.
For an employee not covered by the law, the income-tax rules give 15 × average salary of the last 10 months × completed years ÷ 30. Part-years are ignored and the month is 30 days, so this figure is always smaller for the same pay. The calculator uses your basic + DA input as that average.
The amount payable under the law is capped at ₹20,00,000, in force since 29 March 2018. For private-sector employees the tax-exempt part is the least of the gratuity actually received, the formula amount and ₹20,00,000; the rest is taxed as salary in the year you receive it.
Worked example: the calculator's defaults
A covered employee with a last drawn basic + DA of ₹50,000 who leaves after exactly 10 years:
- Service is 10 years with no extra months, so 10 years count.
- 15 × ₹50,000 × 10 = ₹75,00,000.
- ₹75,00,000 ÷ 26 = ₹2,88,461.54 of gratuity.
- That is far below the ₹20,00,000 ceiling, so the whole amount is payable.
- All ₹2,88,461.54 is tax-exempt, and the taxable part is ₹0.
What if…
You stay 10 years and 7 months. Seven months is more than six, so 11 years count and the gratuity rises to ₹3,17,307.69, an extra ₹28,846.15 for seven months of work. At 10 years and 6 months it stays at ₹2,88,461.54, because exactly six months does not round up. If you are close to that line, the timing of your last working day is worth checking.
Your employer is not covered. With 10 years 7 months, the alternative formula ignores the part-year and divides by 30: 15 × ₹50,000 × 10 ÷ 30 = ₹2,50,000.
You earn ₹2,00,000 a month after 20 years. The formula gives ₹23,07,692.31, but the law caps the payable amount at ₹20,00,000, all of it tax-exempt.
An uncovered employer pays ₹2,50,000 a month after 20 years under its own policy. The formula gives ₹25,00,000. No statutory ceiling applies to a voluntary payment, but only ₹20,00,000 is exempt, so ₹5,00,000 is added to your taxable salary.
You are on a 2-year fixed-term contract. Under the Code, fixed-term employees qualify after one year, so 2 years on ₹50,000 gives ₹57,692.31.
You leave after 4 years and 10 months. The calculator shows zero, because it requires five completed years for a permanent employee. Some courts have accepted 4 years plus 240 days worked in the fifth year as meeting the condition, so if you are in that position, ask your employer or a lawyer before assuming nothing is due.
What the calculator leaves out
It does not handle central or state government employees, whose gratuity falls under separate service rules and is fully exempt from tax, nor seasonal establishments, which use 7 days' wages per season. It does not adjust wages for the Labour Code's 50% rule on excluded allowances; if that applies, enter the adjusted wage yourself. It also does not model interest on late payment or forfeiture.
Gratuity is one part of what you take away at exit. The EPF calculator projects your provident fund, and if part of the gratuity is taxable the income tax calculator for India shows what it adds to your bill for the year.
More questions
When must my employer pay the gratuity after I leave?
The gratuity law requires the employer to work out the amount once it becomes payable and pay it within 30 days of that date. If payment is delayed without good reason, the employer owes simple interest on the late amount at the rate notified by the government. If the employer disputes the amount or refuses, you can apply to the controlling authority appointed for your area under the law.
Can gratuity be forfeited?
Yes, but only in narrow cases. If you are dismissed for wilful damage to the employer's property, the loss can be recovered from your gratuity. If you are terminated for riotous or disorderly conduct, violence, or an offence involving moral turpitude committed in the course of employment, the gratuity can be forfeited wholly or partly. Ordinary resignation or layoff never forfeits gratuity you have earned.
Does notice period or leave count as service?
Continuous service generally includes the time you are on the employer's rolls, including the notice period you serve and periods of leave, sickness or authorised absence. Your last working day, not the date you resigned, usually sets the end of service. If the notice period pushes you past the 6-month mark in your final year, the extra year can count; enter the actual years and months up to your relieving date.
Is gratuity part of my CTC?
Many employers show gratuity as a component of cost to company, typically about 4.81% of basic, which is 15/26 of a month's basic spread across 12 months. That is an accounting provision, not money paid to you each month. You receive gratuity only when you leave after meeting the service condition, and the amount depends on your last drawn basic and DA, not on what was shown in your CTC.
My employer is not covered by the law. Do I get anything?
An employer outside the law has no statutory duty to pay, but many still do under company policy or your employment contract. When they do, the income-tax rules use a different formula for the exemption: half a month's average salary of the last 10 months for each completed year. Select 'not covered' in the calculator to see that figure.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.