HRTailor.AI
Start free
Gratuity Calculator · India

Gratuity Calculator: work out your gratuity in seconds

Enter your last drawn Basic + DA, your years of service and how service is ending to calculate your gratuity under the Code on Social Security, 2020, with the ₹20,00,000 cap and the eligibility rules (5 years, 1 year for fixed-term) applied automatically. Free, instant and private, nothing is sent anywhere.

No login · deterministic formula · built from statutory rules that we update on each change.

Last reviewed

Calculate your gratuity

  • Enter Basic + DA, years of service and how service ends
  • Applies the 15/26 formula and ₹20,00,000 cap
  • Covers fixed-term contracts and the 6-month rule
Open the gratuity calculator

Free · no login · nothing is sent anywhere.

How to calculate gratuity

The gratuity formula under the Code on Social Security, 2020, in four steps.

1

Find your monthly wages

Basic + DA from your latest payslip, or half of your total monthly pay if that is higher.

2

Count your years of service

Completed years with the same employer; more than 6 months in the final year rounds up.

3

Apply the 15/26 formula

(Basic + DA) × 15 ÷ 26 × years, 15 days' wages for each year on a 26-day month.

4

Apply the ₹20,00,000 cap

The statutory maximum tax-free gratuity is ₹20,00,000.

Gratuity = last drawn monthly wages × 15 ÷ 26 × years of service

Capped at ₹20,00,000 · 15 days' wages per completed year on a 26-day month.

A worked example

Priya's last drawn Basic + DA is ₹40,000 and she has worked 7 years and 7 months. The 7 months rounds up, so she is credited with 8 years.

Gratuity = 40,000 × 15 ÷ 26 × 8 = ₹1,84,615. This is below the ₹20,00,000 cap and, being under the exemption limit, is tax-free.

Who is eligible for gratuity?

  • Payable after 5 years of continuous service with the same employer.
  • Fixed-term employees qualify after 1 year of service under the contract, pro rata.
  • No minimum service when service ends by death or disablement.
  • Calculated on last drawn wages: Basic + DA, or half of total pay if that is higher.

Related free tools

Gratuity is one part of your pay. Use the Salary Calculator for your full gross-to-net breakdown (with India PF, HRA and Professional Tax), the Income Tax Calculator for your tax, or Payroll Processing for a full statutory register.

Questions, answered

Frequently asked questions

How is gratuity calculated in India?

Under the Code on Social Security, 2020, gratuity = last drawn monthly wages × 15 ÷ 26 × years of service. Wages are Basic + DA, or half of your total pay if that is higher. The 15/26 means 15 days of wages for each year, on a 26-day working month. The total is capped at ₹20,00,000.

Who is eligible for gratuity?

Gratuity is payable after 5 years of continuous service with the same employer, on resignation, retirement or superannuation. A fixed-term employee qualifies after 1 year of service under the contract, on a pro rata basis. There is no minimum when service ends by death or disablement.

Does 6 months of service count as a full year?

Only more than 6 months counts. In the final year, a part year of more than 6 months is rounded up to a full year; 6 months or less is ignored. For example, 7 years and 7 months counts as 8 years, while 7 years and 6 months counts as 7 years.

Is gratuity taxable?

For employees covered by the Code on Social Security, 2020, gratuity up to ₹20,00,000 is exempt from income tax. Amounts above the exemption limit are taxable. Rules differ for government employees and for those not covered by the Act, check your specific case.

Which salary is used for gratuity?

Your last drawn wages: Basic salary plus Dearness Allowance (DA), not your full CTC. Allowances like HRA are left out, but only up to half of your total pay. Under the Code on Wages, 2019, if allowances are more than half of total pay, the extra counts as wages. So the base is the higher of Basic + DA and half your total monthly pay.

Please note: Outputs are AI-generated and can contain errors. Use them as a starting point and check anything important before you act on it.

Work out your gratuity now

Open the calculator, enter your last drawn Basic + DA and your years of service, and see your gratuity instantly with the statutory formula, rounding rule and ₹20,00,000 cap applied.

Open the gratuity calculator