Gratuity calculator for India
Work out gratuity from your basic, dearness allowance and years of service, with the 15/26 formula, the ₹20 lakh ceiling, the tax-exempt part and the eligibility rules under the Code on Social Security.
Last updated 21 October 2026
How is gratuity calculated?
Multiply your last drawn basic plus dearness allowance by 15, divide by 26, then multiply by your years of service. A final year with more than six months counts as a full year. The result is capped at ₹20 lakh. If your employer is not covered by the gratuity law, divide by 30 and count completed years only.
Online gratuity calculator
Enter your monthly basic and dearness allowance, your length of service and whether your employer is covered by the gratuity law. The result shows the amount, the ceiling, the tax-exempt part, whether you qualify and what gratuity would be at each year of service. Figures were checked on 17 November 2026.
Gratuity payable
₹2,01,923.00
₹50,000.00 × 15 ÷ 26 × 7 years.
Eligible. The minimum of 5 years for this kind of exit is met.
How it was worked out
Income tax on it
Central and state government employees receive gratuity fully exempt from tax. Outside the law, the exemption is also limited to half a month’s average salary for each completed year, which is what this calculator pays.
Year by year on today’s wages
What gratuity would be at each completed year if your wages stayed at ₹50,000.00.
| Years | Gratuity | Status |
|---|---|---|
| 1 | ₹28,846.00 | Below minimum service |
| 2 | ₹57,692.00 | Below minimum service |
| 3 | ₹86,538.00 | Below minimum service |
| 4 | ₹1,15,385.00 | Below minimum service |
| 5 | ₹1,44,231.00 | Payable |
| 6 | ₹1,73,077.00 | Payable |
| 7 | ₹2,01,923.00 | Payable |
Figures checked on 17 November 2026. This is an estimate from what you entered, not legal or tax advice; an employer can pay more than the statutory amount under a contract or award. Nothing you type here is stored or sent to a server.
The gratuity calculation formula, with a worked example
Gratuity is fifteen days’ wages for each year of service. For a monthly-paid employee the law fixes fifteen days as the monthly wage divided by 26 and multiplied by 15, which is why the divisor is 26 and not 30: it counts working days, leaving out four weekly offs.
Employer covered by the law
Gratuity = last drawn (basic + DA) × 15 ÷ 26 × years of service. A final part-year of more than six months counts as a full year; six months or less is dropped. Take basic of ₹40,000 and DA of ₹10,000, so wages of ₹50,000, and service of 6 years 7 months. The 7 months round up to a seventh year: 50,000 × 15 ÷ 26 × 7 = ₹2,01,923. At 6 years 6 months the part-year does not round up and the answer is ₹1,73,077.
Employer not covered
Gratuity = average (basic + DA) over the last ten months × 15 ÷ 30 × completed years. There is no rounding up. On the same ₹50,000 and 6 years 7 months: 50,000 × 15 ÷ 30 × 6 = ₹1,50,000. An employer outside the law is not obliged to pay gratuity at all; this is the amount the income tax exemption is measured against when it does.
| Service | Years counted | Gratuity |
|---|---|---|
| 5 years | 5 | ₹1,44,231 |
| 5 years 6 months | 5 | ₹1,44,231 |
| 5 years 7 months | 6 | ₹1,73,077 |
| 10 years | 10 | ₹2,88,462 |
| 20 years | 20 | ₹5,76,923 |
| 30 years | 30 | ₹8,65,385 |
Gratuity eligibility: who qualifies and when
| How employment ends | Minimum service | How it is paid |
|---|---|---|
| Resignation, retirement or termination | 5 years of continuous service | Full years, a part over six months rounding up |
| End of a fixed-term contract | 1 year (from 21 November 2025) | Pro rata for the service completed |
| Death | None | Pro rata, paid to the nominee or heirs |
| Disablement from accident or disease | None | Full years, a part over six months rounding up |
| Working journalists | 3 years | Full years, a part over six months rounding up |
The Code on Social Security, 2020 replaced the Payment of Gratuity Act, 1972 from 21 November 2025. The formula and the five-year rule for permanent staff did not change. What changed is that fixed-term employees now qualify after one year instead of five (PIB factsheet on the Code), and that the wages used for gratuity follow the Code’s definition: basic, DA and retaining allowance, plus any excess where other allowances are more than half of total pay.
The 4 years and 240 days question
Continuous service for a year is deemed met if you actually worked 240 days in it (190 days in a mine or an establishment that works under six days a week). The Madras High Court in Mettur Beardsell applied this to the five-year condition, and the Kerala and Delhi High Courts have followed it, so 4 years and about 240 days in the fifth year has been held enough. The Supreme Court has not decided the point directly, and employers apply it differently, so the calculator flags this case as borderline rather than eligible.
The gratuity ceiling and the tax-exempt limit
| Limit | Amount | Applies to | Source |
|---|---|---|---|
| Statutory ceiling | ₹20 lakh | Employers covered by the law, from 29 March 2018 | PIB, 30 March 2018 |
| Tax-exempt limit | ₹20 lakh | Non-government employees, over a working life | PIB, 7 March 2019 |
| Tax-exempt limit | No limit | Central and state government employees | Income-tax law |
| Central government ceiling | ₹25 lakh | CCS pension and NPS gratuity rules, from 1 January 2024 | All India Radio, 30 May 2024 |
The ₹25 lakh figure often quoted in the news is the central government’s own ceiling for its civilian staff. It did not change the ₹20 lakh ceiling for private employers, or the ₹20 lakh tax exemption for non-government employees. Figures checked on 17 November 2026.
Running gratuity through payroll
Employers usually set aside a gratuity provision of about 4.81% of basic each month, which is the 15/26 formula spread over twelve months. The in-hand salary calculator shows how that provision sits inside a CTC, and the salary slip generator makes the monthly payslip. ERPStack brings payroll, accounts and GST into one system, and the CA & Finance Automation product handles the bookkeeping and compliance work around it.
For billing, the GST calculator and the GST invoice generatorcover the tax side. If your gratuity, leave and final-settlement rules do not fit an off-the-shelf payroll, Perimattic’s bespoke software development team builds them to your policy.
More payroll and document tools
Gratuity, answered
What is the formula for gratuity calculation?
For an employer covered by the gratuity law: last drawn basic plus dearness allowance × 15 ÷ 26 × years of service, where a final part-year over six months counts as a full year. For an employer outside the law, the usual measure is average basic plus DA over the last ten months × 15 ÷ 30 × completed years. The covered amount is capped at ₹20 lakh.
Am I eligible for gratuity after 4 years and 240 days?
Possibly. The law asks for five years of continuous service on resignation or retirement. The Madras, Kerala and Delhi High Courts have held that a fifth year in which you actually worked 240 days (190 in mines or five-day-week establishments) counts as a year, so 4 years and about 240 days can qualify. The Supreme Court has not settled the point, so employers differ.
Do fixed-term employees get gratuity after one year?
Yes, for contracts ending on or after 21 November 2025, when the Code on Social Security came into force. A fixed-term employee with at least one year of continuous service is paid gratuity on a pro rata basis when the contract ends, using the same 15/26 formula. Before the Code, the five-year minimum applied to them as well.
What is the maximum gratuity amount?
The statutory ceiling is ₹20 lakh, notified from 29 March 2018 and still current. An employer can pay more under a contract, award or company policy, but the law does not require it. Central government civilian employees under the CCS pension and NPS gratuity rules have a separate ceiling of ₹25 lakh from 1 January 2024.
How much gratuity is tax-free?
For non-government employees, up to ₹20 lakh over a working life is exempt, counting gratuity already exempted from earlier jobs. If the employer is outside the gratuity law, the exempt amount is also limited to half a month’s average salary for each completed year. Central and state government employees receive gratuity fully exempt. Anything above the exempt part is taxed as salary.
Does the new wage definition increase gratuity?
It can. Under the Code on Social Security, wages for gratuity are basic, dearness allowance and retaining allowance, but if allowances outside wages such as HRA and conveyance are more than half of total pay, the excess is added back. On a salary where basic is a small share of pay, that raises the wages used and so the gratuity.
Does this gratuity calculator store what I enter?
No. The calculator runs entirely in your browser. There is no sign-up, and nothing you type is stored or sent to a server, so salary figures stay on your device. Reloading the page resets the form to the example figures.
Want ERPStack built around how your business bills?
- Free consultation
- No commitment
- Tailored to your team