Employee Benefits
Gratuity Calculator
Calculate the gratuity due when you leave a job. Enter last-drawn basic + DA and your length of service; the calculator checks eligibility, rounds service correctly, applies the ₹20 lakh cap and the Labour Code wage rule, and shows how much is tax-free.
Runs in your browser
Features
What you get
Eligibility checked
Five years for permanent staff, one year for fixed-term, none on death or disablement.
Service rounded correctly
More than six months counts as a full year for permanent employees; fixed-term is pro rata.
Dates or years
Enter joining and leaving dates, or years and months.
Labour Code wage rule
Adds back allowances above 50% of pay, as the new definition of wages requires.
Tax-free part
Government, covered and non-covered employees each get the right exemption.
Private
Calculated in your browser; nothing is uploaded.
How to use
How to use the Gratuity Calculator
Gratuity = last drawn wages × 15 × years of service ÷ 26. For permanent employees, a final part year of more than six months counts as a full year and at least five years' service is needed, except on death or disablement. Fixed-term employees qualify after one year and get gratuity pro rata. The statutory amount is capped at ₹20 lakh. If you choose the Labour Code wage rule, allowances above half your pay are added to wages.
- 01
Enter wages
Last drawn basic + DA, and optionally your total pay for the 50% rule.
- 02
Enter service
Years and months, or joining and leaving dates.
- 03
Read gratuity and tax
The amount, years counted, and the tax-free and taxable parts.
Examples
Worked examples
₹50,000 basic, 7 years 8 months
The 8 months count as a full year, so 8 years: ₹50,000 × 15 × 8 ÷ 26 = ₹2,30,769, all tax-free.
10 years 6 months
Six months isn't more than six, so 10 years are counted: on ₹50,000, ₹2,88,462.
Fixed-term contract of 2½ years
Pro rata on ₹50,000: ₹50,000 × 15 × 2.5 ÷ 26 = ₹72,115.
The 50% wage rule
Basic ₹40,000 out of total pay of ₹1,00,000: allowances of ₹60,000 exceed half the pay by ₹10,000, so gratuity is worked out on ₹50,000.
Guide
Understanding the Gratuity calculator
What each input means
- Last drawn wages
- Basic pay plus dearness allowance (and retaining allowance) for the last month.
- Total remuneration
- For the Labour Code rule: basic plus all allowances. If allowances exceed 50%, the excess is added to wages.
- Service
- Continuous service with the same employer, including notice period.
- Employment type
- Permanent employees of covered employers (10 or more employees), fixed-term employees, or employers not covered.
- Amount received
- If your employer pays more than the formula, enter it to see the taxable part.
How to read the result
- 'Years counted' shows how part years were treated.
- The tax-free part depends on whether you're a government employee and whether your employer is covered.
- Your employer may pay more than the statutory amount under its own scheme.
Who uses it
- Planning a resignation or retirement
- Checking a full-and-final settlement
- Understanding gratuity in CTC
- Fixed-term contracts
Common mistakes
- Using CTC or gross salary instead of basic + DA.
- Assuming 4 years 7 months qualifies — the five-year rule doesn't round up, except on death or disablement.
- Dividing by 30 instead of 26 for employers covered by law.
- Forgetting that fixed-term employees now qualify after one year.
Assumptions and limitations
- Seasonal establishments and other special cases aren't modelled.
- The ₹20 lakh tax-free limit is assumed to carry over to the Income-tax Act, 2025 and is marked unconfirmed.
- Forfeiture for misconduct isn't covered.
Technical specifications
- Formula
- Wages × 15 × years ÷ 26
- Eligibility
- 5 years · 1 year fixed-term · none on death
- Maximum
- ₹20,00,000
- Rules last checked
- 15 Nov 2026
Privacy
Your salary and service details are calculated in your browser and never uploaded, stored or sent to analytics.
Read the full privacy policy.
FAQ
Gratuity Calculator questions
Gratuity is a lump sum an employer pays an employee on leaving after qualifying service, as a reward for long service. ZSpace Tools' Gratuity Calculator applies the formula under the Code on Social Security, 2020 — 15 days' wages for each year of service, with a month counted as 26 days — and works out the tax-free amount.
Gratuity = last drawn wages × 15 × years of service ÷ 26. For permanent employees, a final part year of more than six months counts as a full year and at least five years' service is needed, except on death or disablement. Fixed-term employees qualify after one year and get gratuity pro rata. The statutory amount is capped at ₹20 lakh. If you choose the Labour Code wage rule, allowances above half your pay are added to wages.
Gratuity = last drawn basic + DA × 15 × years of service ÷ 26. It gives 15 days' wages for each year, taking a month as 26 working days.
Permanent employees with at least five years of continuous service; fixed-term employees after one year; and anyone on death or disablement, regardless of service.
For the five-year eligibility, the usual reading is that five completed years are needed, though some court rulings have taken a more lenient view. This calculator requires five completed years. Once eligible, a final part year of more than six months counts as a full year.
The statutory amount is capped at ₹20 lakh. Employers may pay more under their own scheme.
For government employees it's fully exempt. For others it's exempt up to the least of the amount received, ₹20 lakh and the statutory amount; anything above is taxed as salary.
From 21 November 2025, gratuity comes under the Code on Social Security, 2020: fixed-term employees qualify after one year, and 'wages' follow the rule that allowances above 50% of pay are added back.
Related tools
Leave Encashment Calculator
Work out leave encashment and how much is tax-free on retirement or resignation — the ₹25 lakh limit and all four tests.
EPF Calculator
Project your Employees' Provident Fund balance with the EPF/EPS split, salary growth, VPF and the declared interest rate.
Take-Home Salary Calculator
Turn a CTC or salary breakup into monthly in-hand pay — PF, ESI, professional tax and income tax, with each amount counted once.
Income Tax Calculator
Work out Indian income tax under the new and old regimes side by side, with slab-by-slab working, rebate, surcharge and cess.