Finance

Gratuity Calculator

Calculate the gratuity payable on leaving a job — based on your last drawn basic salary and years of service, using the Payment of Gratuity Act formula and the ₹20 lakh cap. Free, in your browser, nothing uploaded.

By the Samastam teamLast updated Editorial standards

Your service

Basic + DA only — not gross or CTC, and excluding HRA and other allowances.

yr

Include the fractional part — over 6 months rounds up to a full year.

Covered = establishments with 10+ employees under the Gratuity Act (the common case).

Gratuity payable

Enter your last drawn basic salary and years of service on the left. Your gratuity, the years counted, and whether the ₹20 lakh cap applies appear here.

Gratuity is a lump sum an employer pays an employee as a reward for long and continuous service, payable when you leave after at least five years — on resignation, retirement, or, with the five-year condition waived, on death or disablement. For employers covered by the Payment of Gratuity Act 1972, the amount is fixed by a formula: fifteen days of your last drawn basic-plus-DA salary for every completed year of service, calculated on a 26-day month, capped at a tax-free maximum of ₹20 lakh. This calculator works out your gratuity: enter your last drawn monthly basic salary and your years of service, and it shows the amount payable, whether the statutory cap applies, and how the figure is built. Everything runs in your browser; nothing you enter is sent anywhere.

What this is and why it matters

Gratuity is a statutory retirement and separation benefit unique to long service: it rewards an employee for staying with an employer for years, paid as a single lump sum when the employment ends. The Payment of Gratuity Act 1972 governs it for establishments with ten or more employees, making payment a legal obligation rather than a discretionary bonus. Eligibility turns on continuous service: you generally must complete at least five years with the same employer to qualify, a condition designed to reward retention. The five-year rule is waived only when service ends due to death or disablement, in which case gratuity is paid regardless of how long the employee had worked.

The amount, for employers covered by the Act, follows a precise formula: fifteen days of wages for each completed year of service, where a “day” of wages is computed on a 26-day working month. In practice this means your last drawn monthly basic salary plus dearness allowance, multiplied by 15/26, multiplied by your number of completed years. The use of the last drawn salary — not an average — means gratuity rises with your final salary, rewarding career progression. Years of service are rounded by a specific rule: a part-year of more than six months counts as a whole year, while six months or less is ignored, so 7 years and 7 months counts as 8 years but 7 years and 5 months counts as 7.

Two limits shape the final figure. First, only basic salary and dearness allowance count — HRA, conveyance, bonuses, and other allowances are excluded, which is why the gratuity is calculated on basic, not gross or CTC. Second, the Act caps the tax-free gratuity at ₹20 lakh; an employer may pay more, but the amount above ₹20 lakh loses the tax exemption and is taxed as salary income. Understanding gratuity matters at two moments: when changing jobs, to know what you are entitled to and whether resigning before completing five years forfeits it, and at retirement, when gratuity can be a significant part of the final settlement. This calculator gives the figure precisely so you can plan around it.

How to use this tool

Enter your last drawn monthly basic salary. Use your most recent monthly basic pay plus dearness allowance (DA) — not your gross salary or CTC, and not including HRA or other allowances. Gratuity is calculated only on basic+DA, so entering gross would overstate the result. The figure updates as you type, with nothing submitted anywhere.

Enter your years of service. Type your total completed years with the employer, including the fractional part if relevant — for example 7.6 for seven years and about seven months. The calculator applies the rounding rule automatically: more than six months over a whole year rounds up, six months or less is dropped.

Confirm the coverage type. Most employees work for establishments covered by the Payment of Gratuity Act (ten or more employees), which uses the 15/26 formula. If your employer is not covered, switch the toggle — the non-covered basis uses 15/30 (half a month) per year, giving a slightly lower figure. When in doubt, covered is the common case.

Read the result. The calculator shows the gratuity payable, the rounded years it used, and whether the ₹20 lakh statutory cap was applied. If your computed gratuity exceeds ₹20 lakh, the displayed amount is capped at the tax-free maximum, with a note that the excess is still payable but taxable. If you have under five years of service, the result shows zero with an eligibility note, since gratuity is not payable yet.

Use it to plan a job change or retirement. Before resigning, check whether you have crossed the five-year threshold — leaving even a few months short can forfeit the entire gratuity, so the calculator helps you weigh the timing. At retirement, the gratuity figure feeds into your overall exit settlement alongside EPF and leave encashment, so knowing it in advance helps you plan the transition.

Examples and use cases

A mid-career professional changing jobs

An employee with a last drawn basic+DA of ₹50,000 a month resigns after 10 completed years at a company covered by the Gratuity Act. The gratuity is (15/26) × ₹50,000 × 10 = ₹2,88,462. This is well under the ₹20 lakh cap, so the full amount is tax-free. Knowing this figure helps the employee factor the gratuity into the decision to switch — and confirms that having crossed the five-year mark, the benefit is secured.

Resigning just short of five years

An employee with a ₹50,000 basic considers resigning at 4 years and 8 months. Because continuous service is under five years, the calculator returns zero with an eligibility note — no gratuity is payable. Had the same employee stayed just four more months to cross five years, the rounding rule (8 months over 4 years rounds the service to 5 years) would make them eligible for (15/26) × ₹50,000 × 5 = ₹1,44,231. The calculator makes the cost of leaving early starkly visible.

A long-serving employee hitting the cap

A senior employee retires with a last drawn basic+DA of ₹5,00,000 a month after 30 years of service. The raw formula gives (15/26) × ₹5,00,000 × 30 = ₹86,53,846, but the Payment of Gratuity Act caps the tax-free gratuity at ₹20,00,000. The calculator shows ₹20 lakh as the tax-free amount and flags that the employer may still pay the balance, but that excess is taxed as salary income. This is common for senior, long-tenured staff.

Rounding a part-year of service

An employee with a ₹26,000 basic leaves after 7 years and 7 months. Because the seven months exceed half a year, the service rounds up to 8 years, giving (15/26) × ₹26,000 × 8 = ₹1,20,000. Had they left at 7 years and 5 months, the service would round down to 7 years and the gratuity would be ₹1,05,000 — a ₹15,000 difference from two months. The calculator applies the rounding automatically so you see the correct figure.

Frequently asked questions

How is gratuity calculated in India?
For employers covered by the Payment of Gratuity Act 1972, gratuity is (15/26) × last drawn monthly basic salary plus dearness allowance × number of completed years of service. The 15/26 represents fifteen days of wages for each year, computed on a 26-day working month. Only basic+DA counts — HRA, bonuses, and other allowances are excluded. A part-year over six months rounds up to a full year. The total is capped at a tax-free ₹20 lakh. This calculator applies the formula, the rounding rule, and the cap automatically.
What is the minimum service required for gratuity?
You generally need to complete at least five years of continuous service with the same employer to be eligible for gratuity. This five-year condition is strict — resigning even a few months short usually forfeits the entire benefit. The one exception is that the five-year requirement is waived if employment ends due to the employee’s death or disablement, in which case gratuity is paid regardless of tenure. Some court rulings have treated 4 years and 240+ days in the fifth year as meeting the requirement, but the safe, commonly applied rule is a full five years.
Is gratuity taxable?
Gratuity is tax-free up to ₹20 lakh under current rules, a limit that applies cumulatively across your career, not per employer. For government employees, gratuity is fully exempt. For private-sector employees covered by the Act, the exemption is the least of: the actual gratuity received, ₹20 lakh, or the amount given by the 15/26 formula. Any gratuity paid above the exempt amount is added to your income and taxed at your slab rate. This calculator shows the formula amount capped at ₹20 lakh; if your employer pays more, the excess is taxable.
Does gratuity use basic salary or gross salary?
Gratuity is calculated only on your last drawn basic salary plus dearness allowance (DA) — not on gross salary or total CTC. Allowances such as HRA, conveyance, special allowance, and bonuses are excluded. This is an important distinction because basic pay is often only 40–50% of gross salary, so calculating gratuity on gross would significantly overstate it. When using this calculator, enter only your monthly basic+DA, which you can find on your payslip as the “basic” component (plus DA if your employer pays it separately).
What if my employer is not covered by the Gratuity Act?
Establishments with fewer than ten employees may not be covered by the Payment of Gratuity Act. Such employers may still pay gratuity voluntarily, but the calculation basis differs: the non-covered formula typically uses 15/30 — half a month’s wages per year of service — rather than 15/26, giving a slightly lower amount, and uses the average of the last ten months’ salary in some interpretations. This calculator offers a toggle for non-covered employers using the 15/30 basis. If you are unsure whether your employer is covered, the covered (15/26) basis is the more common case for organised-sector employees.
Is the information I enter stored anywhere?
No. The entire calculation runs in JavaScript inside your own browser. Nothing you enter — your basic salary or years of service — is uploaded, logged, or stored on any server. The tool is free, needs no login, and closing the tab clears everything. The result is informational and based on the Payment of Gratuity Act formula; your actual gratuity depends on your exact salary, service record, and employer policy, so confirm the final figure with your employer’s HR or a qualified advisor before relying on it.

Sources

Related tools