Skip to the calculator

HomeTax & salary (India)

Gratuity calculator

Gratuity from your wages and years of service, under the Code on Social Security.

Runs in your browserNo sign-upNo ads

Quick answer

Gratuity is a lump sum your employer pays when you leave after long service: fifteen days’ wages for each completed year. Formula: Gratuity = wages ÷ 26 × 15 × years of service, up to the ₹20 lakh maximum. Wages of ₹60,000 and 10 years of service give a gratuity of ₹3,46,154.

Read the guide: How to calculate gratuity with the 15-day formula

The retaining allowance, if you get one, is added too. Do not include HRA, conveyance, overtime, commission or bonus.

₹1.00 Lakh

Everything you are paid in a month, before deductions. If your basic and dearness allowance are less than half of this, half of it is used as wages.

More than 6 months counts as another full year.

Retirement, resignation or superannuation needs 5 years of continuous service. Death and disablement do not.

Gratuity

₹3,46,154

Wages used
₹60,000
Fifteen days’ wages
₹34,615
Years counted
10

For a monthly-rated employee under the Code on Social Security, 2020, in force from 21 November 2025. Fixed-term, piece-rated and seasonal workers have different rules, and the calculator does not work out tax on gratuity.

Rules as of 2026-11-14: Code on Social Security, 2020, in force from 21 November 2025. Sources: Code on Social Security, 2020: section 53 (gratuity) and section 2(88) (wages), Labour Ministry FAQs on the Labour Codes, January 2026 (the maximum, currently 20 lakh), Labour Ministry additional FAQs, March 2026 (the revised definition of wages applies from 21 November 2025).

How is gratuity calculated?

Gratuity is a lump sum your employer pays when you leave after long service. For every completed year of service the law gives fifteen days’ wages, worked out from the wages you were last paid. For a monthly salary, fifteen days’ wages is the monthly wages divided by 26 and multiplied by 15.

Since the Code on Social Security came into force on 21 November 2025, wages for gratuity follow the Code’s definition: basic pay and dearness allowance, but never less than half of your total pay. That is why a salary with a small basic and large allowances gives a larger gratuity than it used to.

A part of a year longer than six months counts as a full year. The most that can be paid is the amount notified by the Central Government, which the Labour Ministry says is currently 20 lakh.

What is the formula for gratuity?

  • Gratuity = wages ÷ 26 × 15 × years of service, up to the ₹20 lakh maximum
  • Years of service = completed years, plus one more if the part-year is more than 6 months
  • Wages = basic pay + dearness allowance (+ retaining allowance), but at least half of the total monthly pay
  • Retirement, resignation or superannuation needs 5 years of continuous service; death and disablement do not

Can you show a worked example of gratuity?

Wages of ₹60,000 a month and 10 years of service: fifteen days’ wages = 60,000 ÷ 26 × 15 = ₹34,615, so gratuity = 34,615 × 10 = ₹3,46,154. If basic pay were only ₹30,000 of a ₹1,00,000 monthly pay, half of the total, ₹50,000, would be used as wages: 50,000 ÷ 26 × 15 × 10 = ₹2,88,462. For 7 years 7 months, 8 years are counted; for 7 years 6 months, 7.

What gratuity do common wages and years of service give?

Monthly wages (basic pay plus dearness allowance) and completed years of service, for a retirement or resignation. The maximum payable is ₹20 lakh.

What gratuity do common wages and years of service give?
Monthly wages5 years10 years15 years20 years30 years
₹30,000₹86,538₹1,73,077₹2,59,615₹3,46,154₹5,19,231
₹50,000₹1,44,231₹2,88,462₹4,32,692₹5,76,923₹8,65,385
₹75,000₹2,16,346₹4,32,692₹6,49,038₹8,65,385₹12,98,077
₹1,00,000₹2,88,462₹5,76,923₹8,65,385₹11,53,846₹17,30,769
₹1,50,000₹4,32,692₹8,65,385₹12,98,077₹17,30,769₹20,00,000

Common questions

How is gratuity calculated?

Wages ÷ 26 × 15 × years of service, where wages are your last monthly basic pay plus dearness allowance, or half of your total pay if that is more.

How many years of service do I need?

Five years of continuous service for retirement, resignation or superannuation. Death and disablement do not need five years.

Do 7 years and 8 months count as 8 years?

Yes. A part of a year longer than six months counts as a full year, so 7 years and 7 months or more counts as 8.

What is the maximum gratuity?

The amount notified by the Central Government, which the Labour Ministry says is currently ₹20 lakh.

Is the tax on gratuity included?

No. The calculator shows the gratuity, not the tax on it.