Gratuity explained: formula, worked example and common mistakes
See the exact gratuity working, the rounding of the final year included, with the ceiling applied. Free, no sign-up, your figures stay in your browser.
Updated
What the gratuity calculator works out
Gratuity is a thank-you payment for long service, and its formula is short: fifteen days of last pay for every year of service, over twenty-six working days a month. The part that confuses everyone is the rounding of the final year, so the calculator shows that line explicitly, applies the tax-free ceiling, and splits the answer into exempt and taxable parts.
You type the last monthly pay, the years and extra months of service, and — in the fields — the divisor, the rounding threshold and the ceiling, each pre-filled from the Act’s figures and each readable.
The formula
gratuity = last pay × 15 × counted years / divisor
payable = the lesser of gratuity and the ceiling
The counted years are the completed years, with one added when the final year’s extra months cross the threshold:
more than 6 extra months → count one more year
6 or fewer → the year does not count
The divisor is 26 for an employer covered by the Act — a month counted as working days — and 30 outside it, which pays slightly less per year.
A worked example
The page opens on this run: a last pay of 80,000, across 12 years and 7 months.
the extra months are 7, above the threshold of 6
counted years = 12 + 1 = 13
gratuity = 80,000 × 15 × 13 / 26 = 600,000
ceiling 2,000,000: nothing trimmed, payable 600,000
The headline reads: a last salary of 80,000 and 13 years of service means 600,000 of gratuity. The rounding line sits right above the formula line, because six months of service just moved the answer by a thirteenth.
The other two cases worth typing: 30,000 across 4 years 8 months counts five years and pays 86,538.46 — eligible, because the rounding happens before the five-year test — and 150,000 across 25 years works out to 2,163,461.54 gross, which the ceiling trims to 2,000,000 with 163,461.54 taxed as income.
What changes the answer
- The rounding of the final year. Seven extra months count as a year; six do not. One month of service dates can move the payment by a full year’s factor.
- The last pay drawn. Basic plus the dearness allowance, as of the last month — not an average, not the full salary.
- The divisor. Covered employer or not; the two divisors differ by about fifteen per cent of the payment.
- The ceiling. Above it the excess is income, taxed at your own rate in the year of receipt.
- The five-year line. Counted years below five mean no payment while still working, whatever the formula says.
When to use it, and when not to
Use it to check a settlement figure against the formula, to see what one more month or year of service is worth, or to split a large payment against the ceiling before the tax year closes. The workings show every step, divisor included, so a discrepancy with an employer’s figure can be traced to its line.
It does not decide eligibility disputes, model state-specific shops-and-establishments rules, or file anything; and the ceiling it opens with is a dated figure to confirm at the source the page links.
Common mistakes people make
1. Running the formula on full salary. Basic pay plus the dearness allowance only. The larger figure overstates the payment.
2. Rounding the years by eye. “Nearly thirteen years” is twelve until the extra months cross six. Type the exact months.
3. Forgetting the divisor differs. An employer outside the Act’s coverage uses thirty days, and the payment lands lower. The divisor field makes the comparison possible.
4. Assuming the whole payment is tax-free. Only up to the ceiling; above it the excess is income. The split on the page is the honest picture.
5. Ignoring the five-year line at 4 years 9 months. The rounding saves the 4y8m case and above; below that, no payment is due while still working.
6. Missing the death and disablement exception. The five-year wait does not apply there, and the formula runs on whatever service existed.
Frequently asked questions
How is gratuity calculated?
Last monthly pay, basic plus the dearness allowance, times fifteen days, times the counted years of service, divided by twenty-six working days a month for an employer covered by the Act. An employer outside the Act divides by thirty.
How are the years rounded?
The final year counts up once its extra months cross six: 12 years 7 months counts as 13 years, while 12 years 6 months stays at 12. The page shows that line explicitly because it is where most of the surprise lives.
When is gratuity due at all?
At five years of service, counted with the same rounding, unless it is paid on death or disablement, where the wait does not apply. Fixed-term staff qualify after a year of contract time.
Is gratuity taxed?
For a private-sector employee covered by the Act, the exempt amount today stops at the ceiling and the excess is taxed as income. The ceiling is a field on the page, so the split is shown for your figure.
What is the ceiling now?
The page opens with the private-sector figure of 2,000,000, and the help text carries the central government figure of 2,500,000. Ceilings have risen over the years; the note under the answer links where to check the current one.
Does the last pay include everything?
No: the formula runs on basic pay plus the dearness allowance last drawn, not on the full salary. Allowances and perks stay out.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “Gratuity Calculator”. Updated 2026-11-08. https://investmentmathcalculator.com/guides/gratuity-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.