Free calculator

Gratuity calculator, from your dates.

Type your joining date, last working day and pay. The sheet counts your service the way the Code on Social Security does, checks the five-year (or one-year fixed-term) rule, and works out gratuity with wages at least half of total pay.

How it is worked out

Free · works in Excel too

Change any orange cell. Click a total to see its formula.

What it works out

  • Service from dates. Completed years and months between joining and the last working day, with a final part-year over six months counted as a full year.

  • Eligibility. Five years for permanent staff, one year for fixed-term staff.

  • Gratuity. 15 days’ wages for each year counted (15/26 of a month), with wages at least half of total pay, capped at ₹20 lakh.

How the formulas work

  1. B10=DATEDIF(B3,B4+1,"y")

    Years. Whole years from the joining date to the day after the last working day, so the last day counts.

  2. B12=B10+IF(OR(B11>6,AND(B11=6,DATEDIF(B3,B4+1,"md")>0)),1,0)

    Years counted. A final part-year of more than six months counts as a full year.

  3. B14=MAX(B6,B7/2)

    Wages. Under the Code on Social Security (in force from 21 November 2025), if allowances left out of “wages” are more than half of total pay, the excess counts as wages. Taking the larger of Basic + DA and half of total pay is a simple way to apply that.

  4. B15=IF(B13="Yes",MIN(ROUND(B14*15/26*B12,0),2000000),0)

    Gratuity. 15 days’ wages per year, where a month is taken as 26 working days, up to the ₹20 lakh ceiling.

Who gets gratuity

Permanent employees after five years of continuous service. Fixed-term employees qualify after one year. On death or disablement there is no minimum period.

Gratuity paid under the Act is tax-free up to ₹20 lakh across a career. Employers not covered by the Act work out the tax-free part as 15/30 of the average salary of the last 10 months for each completed year.

Huzuri keeps the numbers

Huzuri works this out for everyone, every month: payroll runs from the attendance register, with PF on the Basic actually paid, ESI, professional tax by state and a payslip each person opens on their phone. See attendance and payroll.

Updated 17 November 2026

FAQ

Questions, answered.

Something we didn't answer? Write to us and a founder will reply: info@huzuri.in

How is gratuity calculated?

Last drawn wages × 15/26 × years of service. Wages are Basic + DA (plus retaining allowance), and can’t be less than half of total pay under the Labour Codes. Years include the last part-year if it is over six months.

What is the maximum gratuity?

₹20 lakh. Gratuity above that is paid at the employer’s choice and is taxable.

Can I get gratuity before 5 years?

Fixed-term employees qualify after one year: pick Fixed-term in the sheet. On death or disablement there is no minimum. Otherwise five years of continuous service are needed.

Does 4 years and 7 months count as 5 years?

Courts have often counted 4 years and 240 days as five years of continuous service, but it depends on the facts. This calculator checks completed years; ask a lawyer for a borderline case.

Is gratuity taxable?

Gratuity under the Act is tax-free up to ₹20 lakh across a career. Anything above that is taxed as salary.

Does it work in Excel?

Yes. The same formulas are in the free Excel file; it also opens in Google Sheets.

Six jobs, one app

What else it does on its own.

Book a free demo

See it running on your own team.

In 20 minutes we show you Huzuri on your own team's data: who came in today, what has gone quiet, and what your last meeting decided.

What kind of office?

Your first 30 days include everything in Complete, with your money back if Huzuri isn't for you.

Write to us

info@huzuri.in

On the web

huzuri.in