Blog

Gratuity Calculator Guide: Formula, Eligibility & Examples

Gratuity is the one line in your final settlement that can quietly be worth several lakh rupees — or zero, if you leave a few months too early. It is not a bonus and it is not negotiated: it is a statutory payment under the Payment of Gratuity Act, 1972, worked out from a fixed formula — last drawn salary × 15/26 × years of service. This guide explains each part of that formula, who qualifies and who does not, how service years are rounded, where the ₹20 lakh cap and the tax exemption bite, and runs worked examples at real salary levels so you can check your own number in under a minute.

Most salaried employees in India meet gratuity only once per job — on the last settlement sheet, weeks after they have resigned, when questioning the number feels awkward. That is exactly why it is worth understanding before you need it. Gratuity is a lump sum your employer must pay when a long-serving employee leaves, retires or dies in service. It rewards completed years, which is why two employees on identical salaries can receive wildly different amounts: one who stayed ten years takes home ₹2,88,462 at a ₹50,000 basic-plus-DA salary, and one who left at four years takes home nothing at all. A gratuity calculator runs the statutory formula for you, but the eligibility rules around it decide whether the formula even applies — so this guide covers both.

What gratuity is

Gratuity is a payment an employer makes to an employee for services rendered, governed by the Payment of Gratuity Act, 1972. It applies to factories, mines, offices, shops and other establishments with ten or more employees, and once the Act applies to an establishment it continues to apply even if the headcount later falls below ten. It is payable when employment ends — on retirement, resignation, superannuation, or to the nominee or legal heir if the employee dies, and to the employee if employment ends through disablement from accident or disease. It is separate from your salary, your notice pay, your leave encashment and your provident fund: four different pots, four different rules, all settled when you leave. Employers must pay within 30 days of it becoming due; delays attract interest.

Who is eligible

The headline rule is five years of continuous service. Complete five years with the same employer and you qualify; leave before five years and, in the ordinary case, you get nothing — the formula is never even run. Three qualifications matter. First, the five-year condition does not apply when employment ends because of death or disablement: in those cases gratuity is payable even after a single year. Second, "continuous service" allows for authorised leave, maternity leave, sickness and similar interruptions — they do not reset the clock. Third, courts have repeatedly held that an employee who has worked four years and 240 days in the fifth year has effectively completed five years for this purpose, which is why the exact resignation date can matter so much. Under the Code on Wages, fixed-term employees are entitled to gratuity after just one year of service on a pro-rata basis, a significant widening of the old rule. Who counts as an "employee" and what counts as "wages" are defined by the Act — broadly, wages here means basic pay plus dearness allowance, not your full CTC.

The 15/26 formula, term by term

For a monthly-paid employee covered by the Act, gratuity is:

Gratuity = Last drawn salary (basic + DA) × (15 ÷ 26) × Years of service

Each term has a reason. The salary is your last drawn basic pay plus dearness allowance — not gross salary, not CTC, and not including HRA, bonuses or allowances. If your basic plus DA is ₹50,000 out of a ₹90,000 gross, the formula uses ₹50,000. The 15 is fifteen days' wages for every completed year of service — roughly half a month's pay per year. The 26 converts a monthly salary into a daily wage: a month is treated as 26 working days, so fifteen days' wages are 15/26 of a month's salary. That fraction, about 0.577, is the engine of the whole calculation: each year of service adds about 57.7% of one month's basic-plus-DA to your gratuity. The years term is your completed service, rounded by the rule in the next section. (Piece-rated employees use a slightly different average-wage calculation, and seasonal establishments use seven days per season — the 15/26 form above is the standard monthly-paid case a calculator implements.)

Worked examples at real salaries

Here is the formula run at salary levels across the Indian market. Every figure uses basic + DA as the salary base and completed years exactly as shown.

Basic + DA (monthly)ServiceCalculationGratuity
₹25,0005 years25,000 × 15/26 × 5₹72,115
₹35,0007 years35,000 × 15/26 × 7₹1,41,346
₹50,00010 years50,000 × 15/26 × 10₹2,88,462
₹60,00013 years*60,000 × 15/26 × 13₹4,50,000
₹80,00020 years80,000 × 15/26 × 20₹9,23,077

*The 13-year row is 12 years and 7 months of actual service, rounded up by the rule below. Notice what the table quietly shows: gratuity grows in a straight line with both salary and service. There is no compounding here — unlike your EPF balance or a compound interest projection, an extra year adds the same amount as the year before it, though a salary hike lifts every year's value at once because the formula uses your last salary for all of them. That last point is powerful near retirement: a promotion in your final years revalues your entire service history.

How service years are rounded

The Act counts a part-year of more than six months as a full year, and a part-year of six months or less is dropped. Twelve years and seven months is therefore thirteen years of service; twelve years and five months is twelve. Run the numbers on a ₹60,000 basic-plus-DA salary and the rounding is worth real money: at 12 years the formula gives ₹4,15,385, at 13 years ₹4,50,000 — a difference of ₹34,615 for crossing a single date. The same cliff logic applies at the eligibility boundary: resigning at 4 years 11 months ordinarily forfeits everything, while 5 years completed unlocks the full amount. Before fixing a resignation date, check where it falls against both the five-year line and the six-month rounding line; shifting a last working day by a few weeks can be worth more than a month of salary.

The ₹20 lakh maximum

The Act caps gratuity at ₹20 lakh: however large the formula's answer, the statutory payment cannot exceed that ceiling. The cap binds only long-service, high-salary cases. At a basic plus DA of ₹1,50,000 with 35 years of service, the raw formula gives ₹30,28,846 — the amount actually payable under the Act is ₹20,00,000. Most employees never reach the cap: at ₹50,000 basic plus DA it would take about 69 years of service to hit it. Employers are free to pay more than the Act requires, and some do under company policy or settlement terms — but anything above the statutory formula is ex-gratia, not gratuity, and is taxed differently. When you run a long-service estimate in the calculator and the answer sails past ₹20 lakh, read ₹20 lakh as the statutory figure.

Tax on gratuity

For non-government employees, gratuity is exempt from income tax up to the least of three amounts: the gratuity actually received, ₹20 lakh (a lifetime limit, reduced by exemptions claimed for earlier employers), and the statutory formula amount — 15 days' salary for each completed year, on the same basic-plus-DA base. Anything received above the exempt amount is taxed as salary at your slab rate. Government employees' gratuity on retirement is fully exempt. Two practical points follow. First, if your employer pays an ex-gratia top-up above the formula, expect the excess to be taxed. Second, the ₹20 lakh exemption limit and the ₹20 lakh payment cap are the same number but different rules — one is the most the Act requires an employer to pay, the other is the most the tax law lets you receive tax-free. Our income tax calculator guide shows how a taxable excess would flow into your slab calculation for the year.

Gratuity vs EPF: two different pots

Employees routinely merge these in their heads, and they behave oppositely. EPF is your money plus your employer's contribution, deducted monthly, earning interest, and visible in your passbook; it moves with you from job to job through your UAN and is payable regardless of how long you stayed. Gratuity is entirely the employer's money, never deducted from your salary, invisible on every payslip, and — before five years — payable not at all. At a ₹50,000 basic-plus-DA salary and ten years, the gratuity alone is ₹2,88,462, on top of whatever the EPF has accumulated. A full exit-settlement check therefore runs both: the EPF calculator for the provident fund you can see, and the gratuity formula for the one you cannot.

Common mistakes

  • Running the formula on gross salary or CTC. Only basic pay plus dearness allowance counts. On a ₹90,000 gross with ₹50,000 basic-plus-DA, using ₹90,000 overstates gratuity by 80%.
  • Resigning just short of a line. Before 5 years you ordinarily get nothing, and a part-year beyond 6 months counts as a full year. Check both dates before you fix your last working day.
  • Assuming the amount compounds. It does not. The formula is linear: last salary × 15/26 × years. Salary growth helps because the final salary revalues all years, not because earlier years earn interest.
  • Forgetting the ₹20 lakh cap and tax limit. Long-service, high-salary estimates above ₹20 lakh are capped statutorily, and receipts above the exemption are taxed as salary.
  • Not applying at all. Gratuity is not always automatic in practice. The employee or nominee applies in the prescribed form (Form I; Form J for a nominee), and the employer must determine and pay the amount within 30 days of it falling due.
  • Ignoring forfeiture risk. The Act allows gratuity to be withheld, wholly or partly, where employment was terminated for wilful damage, riotous conduct or an offence involving moral turpitude — ordinary resignations and retirements are unaffected.

Run your own numbers

You need two figures: your current basic plus DA (from your payslip — not your CTC letter), and your date of joining. Enter them into the gratuity calculator and read the amount at your planned exit date, then test two variations: the same exit shifted past the next six-month rounding line, and the exit one year later after an expected increment. The gaps between those three numbers tell you what a resignation date is worth. Round out the full settlement picture with the EPF calculator for your provident fund, the paycheck calculator for your final month's in-hand pay, and the income tax calculator if any part of your settlement — leave encashment beyond its exemption, or an ex-gratia top-up — is taxable.

Try it: Gratuity Calculator

Enter your basic + DA and years of service — see your gratuity instantly, test different exit dates against the 5-year and 6-month rounding lines, and check the ₹20 lakh cap.

Gratuity Calculator

Never miss a money-saving guide

Join the CountCrunch newsletter — new calculators and practical money guides, once a week. No spam, unsubscribe anytime.

Frequently asked questions

What is the gratuity formula?

Gratuity = last drawn salary (basic + dearness allowance) × 15/26 × years of service. The 15 is fifteen days' wages per completed year, and 26 is the number of working days a month is treated as having. For example, at a basic + DA of ₹50,000 and 10 years of service: ₹50,000 × 15/26 × 10 = ₹2,88,462.

How many years do I need to work to get gratuity?

Five years of continuous service with the same employer, in the ordinary case. The five-year condition does not apply if employment ends through death or disablement. Courts have also held that 4 years and 240 days worked in the fifth year counts as completing five years. Under the Code on Wages, fixed-term employees qualify after one year on a pro-rata basis.

Is gratuity calculated on gross salary or basic salary?

On basic pay plus dearness allowance only — your last drawn amount of those two components. HRA, special allowances, bonuses and other CTC components are excluded. If your gross is ₹90,000 but basic + DA is ₹50,000, the formula uses ₹50,000.

What is the maximum gratuity I can receive?

₹20 lakh under the Payment of Gratuity Act. At a basic + DA of ₹1,50,000 and 35 years of service the raw formula gives ₹30,28,846, but the statutory payment is capped at ₹20,00,000. An employer may voluntarily pay more, but the excess is ex-gratia rather than gratuity.

Is gratuity taxable?

For non-government employees, gratuity is tax-exempt up to ₹20 lakh (a lifetime limit), subject to also not exceeding the statutory formula amount; anything above the exemption is taxed as salary at your slab rate. Gratuity received by government employees on retirement is fully exempt.

How are part-years counted for gratuity?

A part-year of more than six months counts as a full year; six months or less is dropped. So 12 years 7 months is calculated as 13 years, and 12 years 5 months as 12 years. At a basic + DA of ₹60,000, that rounding difference alone is worth ₹34,615.

Tools for this topic