Gratuity Calculation

Gratuity calculation helps employees understand the amount they may receive from their employer when they retire, resign, or leave an organization after meeting the applicable eligibility conditions. For employers, calculating gratuity accurately is an important part of payroll management, employee benefits administration, and statutory compliance.

In India, gratuity is a statutory employment benefit governed by applicable labour legislation. The amount generally depends on an employee’s eligible wages, length of service, employment category, and the rules applicable when the benefit becomes payable.

Understanding how to calculate gratuity can help employees estimate their retirement benefits and enable HR and payroll teams to manage gratuity liabilities more effectively. This guide explains the gratuity calculation formula, the calculation of gratuity for private employees, worked examples, eligibility requirements, and how to calculate gratuity online.

TL;DR

  • Gratuity is a lump-sum employment benefit payable to eligible employees when their employment ends under qualifying circumstances.
  • For a typical monthly-rated employee covered by the standard formula, gratuity is calculated using eligible last-drawn monthly wages, 15 days’ wages, and qualifying years of service.
  • The commonly used formula is: Gratuity = Last-Drawn Eligible Monthly Wages × 15/26 × Qualifying Years of Service.
  • The definition of wages used for gratuity calculations changed when India’s Labour Codes took effect on 21 November 2025.
  • Ordinary employees generally need five years of continuous service, subject to applicable exceptions. Eligible fixed-term employees can qualify after one year under the new provisions.
  • Actual gratuity depends on eligibility, the applicable wage definition, qualifying service, and the statutory ceiling.
bb Gratuity Calculation

Looking for the Best Payroll Software India ? Check out the Best Payroll Software India.

What Is Gratuity?

Gratuity is a lump-sum benefit an employer pays to an eligible employee in recognition of their service to the organization. It is intended to provide financial support when an employee leaves employment after meeting the applicable conditions.

Gratuity is different from salary, a performance bonus, or an employee’s provident fund balance. It is a separate employment benefit governed by specific statutory provisions.

Under India’s Code on Social Security, 2020, gratuity provisions apply subject to the Code’s coverage and eligibility requirements. The relevant rules determine who qualifies, how the benefit is calculated, and when payment becomes due.

When Is Gratuity Payable?

Gratuity may become payable in circumstances such as:

  • Retirement or superannuation.
  • Resignation after satisfying the applicable eligibility conditions.
  • Termination of employment in circumstances covered by the law.
  • Death or disablement, subject to the applicable statutory provisions.
  • Expiry of an eligible fixed-term employment contract.

The eligibility conditions can differ according to the employee’s employment category and the circumstances in which employment ends.

Gratuity Calculation Formula

For a typical monthly-rated employee whose gratuity is calculated using the standard 15-days’-wages method, the commonly used formula is:

Gratuity = (Eligible Last-Drawn Monthly Wages × 15 × Qualifying Years of Service) ÷ 26

The formula can also be expressed as:

Gratuity = Eligible Last-Drawn Monthly Wages × 15/26 × Qualifying Years of Service

Here, the calculation uses 26 working days as the monthly divisor, rather than dividing monthly wages by 30 calendar days.

The formula reflects the standard method used for monthly-rated employees. However, the wages included in the calculation must be determined under the applicable legal provisions. India’s revised Labour Code wage definition applies to gratuity calculations from 21 November 2025.

Components of the Gratuity Calculation Formula

ComponentMeaning
Eligible last-drawn monthly wagesThe monthly wage amount recognized for gratuity calculation under the applicable law
15 daysThe standard wage period used in the formula for monthly-rated employees
26 daysThe divisor used to calculate 15 days’ wages from monthly wages
Qualifying years of serviceThe years of service counted under the applicable gratuity rules

Which Salary Components Are Used for Gratuity Calculation?

The salary amount used for gratuity calculation is not necessarily the same as an employee’s total CTC or gross salary.

The applicable legal definition of wages determines which components are included. Under the Code on Social Security, 2020, the treatment of salary components must be assessed against the provisions defining wages and the relevant exclusions.

For example, an employee’s CTC may include basic salary, allowances, employer provident fund contributions, insurance, bonuses, and other benefits. These components should not automatically be added together to determine gratuity-eligible wages.

HR and payroll teams should use the applicable statutory wage definition and verify the treatment of individual components before calculating gratuity.

Calculation of Gratuity for Private Employees

The calculation of gratuity for private employees generally follows the applicable statutory formula when the employee and establishment are covered by the relevant provisions.

The calculation typically involves three key steps:

  1. Identify the eligible wages used for gratuity.
  2. Determine the qualifying period of service.
  3. Apply the applicable formula and check the statutory ceiling.

Let’s understand how the calculation works through an example.

Example 1: Gratuity Calculation for a Private Employee

Suppose an employee has the following details:

ParticularsDetails
Eligible last-drawn monthly wages₹40,000
Qualifying years of service7 years
Wage period used in the formula15 days
Monthly divisor26

Using the standard formula:

Gratuity = ₹40,000 × 15 × 7 ÷ 26

Gratuity = ₹1,61,538.46

The estimated gratuity is approximately ₹1,61,538, subject to eligibility, the applicable wage definition, qualifying service, and any statutory ceiling.

This is an illustrative calculation. It assumes that ₹40,000 is the correct eligible monthly wage amount and that seven years is the qualifying service period.

Example 2: Gratuity Calculation for 12 Years of Service

Consider an employee with eligible last-drawn monthly wages of ₹55,000 and 12 qualifying years of service.

ParticularsAmount
Eligible last-drawn monthly wages₹55,000
Qualifying years of service12
Formula₹55,000 × 15 × 12 ÷ 26
Estimated gratuity₹3,80,769.23

The estimated gratuity is approximately ₹3,80,769, subject to the applicable eligibility rules, wage definition, and statutory ceiling.

How Is a Part of a Year Counted?

Under the standard gratuity calculation method, a completed year of service is counted, and a part of a year exceeding six months is generally treated as an additional year for the calculation.

For example, where the applicable rule permits this rounding method:

Service PeriodIllustrative Years Used in Calculation
5 years and 4 months5 years
5 years and 8 months6 years
7 years and 3 months7 years
7 years and 9 months8 years

The applicable law and employment category should be checked before applying this method. Fixed-term employment and other special circumstances may require a different eligibility or calculation assessment.

How to Calculate Gratuity Online

An online gratuity calculator helps employees estimate their potential gratuity without manually working through the formula.

To calculate gratuity online, you generally need to enter the eligible monthly wage amount and qualifying years of service. Some calculators may also ask for joining and exit dates to estimate the service period.

Steps to Calculate Gratuity Online

Step 1: Enter your eligible monthly wages

Use the wage amount applicable under the relevant gratuity provisions. Do not automatically use total CTC or gross salary.

Step 2: Enter your years of service

Calculate the period between your joining date and the date your gratuity becomes payable. Apply the relevant rules for qualifying service and any rounding.

Step 3: Apply the formula

For a typical monthly-rated employee using the standard formula:

Gratuity = Eligible Monthly Wages × 15/26 × Qualifying Years of Service

Step 4: Review the estimated amount

Check whether the amount is within the applicable statutory ceiling and whether any special eligibility provisions apply.

Step 5: Verify the result

An online calculator provides an estimate based on the information entered. Before relying on the result, confirm the eligible wage amount, qualifying service, applicable law, and any relevant employment-specific provisions.

Information Needed for an Online Gratuity Calculator

InformationWhy It Matters
Joining dateHelps establish the employee’s service period
Employment end dateHelps determine the period for which gratuity may be calculated
Eligible monthly wagesForms the wage basis for the calculation
Employment categoryHelps identify whether standard or special eligibility provisions apply
Applicable legal provisionsDetermines the calculation method, wage definition, and limits

Gratuity Eligibility Rules in India

Eligibility is an important part of gratuity calculation. An employee may be able to estimate a gratuity amount using the formula but still needs to meet the applicable conditions to receive payment.

Five-Year Service Requirement

Under the general gratuity framework, employees ordinarily need to complete five years of continuous service to qualify when employment ends because of resignation, retirement, or other covered circumstances.

The five-year requirement does not apply in the same way to every situation. For example, the law provides exceptions in cases involving death or disablement. The applicable statutory provisions should be checked for the specific circumstances.

Gratuity for Fixed-Term Employees

India’s Labour Codes took effect on 21 November 2025. Under the Code on Social Security, 2020, eligible fixed-term employees can qualify for gratuity after completing one year of service under the fixed-term contract, subject to the applicable provisions.

This is different from the general five-year service requirement often discussed in older gratuity guides.

Employees and employers should therefore identify the employment category before deciding whether the standard eligibility period applies.

Does Gratuity Apply to Private-Sector Employees?

Gratuity provisions can apply to eligible private-sector employees where the relevant statutory coverage and conditions are met.

Whether an employee qualifies depends on factors such as the establishment’s coverage, the employee’s category, the circumstances in which employment ends, and the applicable legal requirements.

Employees should check their employer’s gratuity policy alongside the statutory provisions that apply to their employment.

Gratuity Calculation After the Labour Codes

India’s four Labour Codes became effective on 21 November 2025. The Ministry of Labour and Employment has clarified that the revised definition of wages applies to gratuity calculations from that date.

This is important because the wage amount used for gratuity may differ from the amount used in older calculations.

What Changed in the Wage Definition?

The Code on Social Security, 2020 defines wages for the purposes of the Code and identifies components that are included or excluded. Certain excluded components may be added back when they exceed the prescribed proportion of total remuneration, subject to the statutory definition and conditions.

Consequently, an employee’s eligible gratuity wages may not always be identical to their basic salary alone or their entire CTC.

What Should Employers Review?

HR and payroll teams should review:

  • The salary components used to determine statutory wages.
  • The treatment of allowances and other remuneration.
  • The employee’s qualifying service period.
  • The employee’s employment category, including fixed-term status.
  • The applicable statutory ceiling and other relevant conditions.
  • The effective date of the legal provisions used in the calculation.

For employees whose service spans the period before and after 21 November 2025, the Ministry’s published guidance states that gratuity is payable based on the rate of wages last drawn when the benefit becomes payable on or after that date, under the Code on Social Security, 2020.

Because the legal treatment of wages can affect the final amount, employers should verify the applicable provisions rather than relying solely on an older calculator.

What Is the Maximum Gratuity Amount?

Gratuity is subject to the applicable statutory ceiling. The maximum amount should be verified against the government notifications and legal provisions in force when the gratuity becomes payable.

Employees should not assume that the formula’s result is automatically the final amount payable. The result may need to be checked against the statutory limit and any more beneficial terms permitted under the applicable law.

Employers should also distinguish between the statutory ceiling and any additional gratuity benefit offered under an award, agreement, contract, or company policy where legally permissible.

Difference Between Gratuity and Provident Fund

Gratuity and provident fund are separate employment benefits. Both may support an employee’s long-term financial security, but they have different eligibility rules and calculation methods.

BasisGratuityProvident Fund
PurposeProvides a lump-sum employment benefit when qualifying conditions are metBuilds retirement savings through contributions
FundingGenerally paid by the employerBuilt through applicable employee and employer contributions
CalculationBased on eligible wages and qualifying service under gratuity provisionsBased on contributions, applicable interest, and scheme rules
EligibilityDepends on statutory coverage, service requirements, and circumstancesDepends on the applicable provident fund rules
PaymentGenerally becomes payable on qualifying separation or other covered circumstancesWithdrawal and settlement depend on the applicable scheme rules

Employees should review both benefits separately when estimating their retirement or separation-related financial entitlements.

Common Mistakes in Gratuity Calculation

Gratuity errors can lead to incorrect estimates, employee queries, and compliance issues. HR and payroll teams should avoid the following mistakes.

1. Using CTC Instead of Eligible Wages

CTC may include employer contributions, insurance, bonuses, and other benefits that are not automatically part of the wage amount used for gratuity. The statutory wage definition must be applied.

2. Ignoring the Applicable Wage Definition

The revised wage definition under the Labour Codes applies to gratuity calculations from 21 November 2025. Continuing to use an older salary calculation without checking the applicable provisions may produce an incorrect estimate.

3. Miscalculating Qualifying Service

The service period must be determined accurately. Joining dates, separation dates, continuity of service, and applicable rules for counting a partial year can affect the calculation.

4. Applying the Five-Year Rule to Every Employee

The general five-year requirement does not apply identically to every category or circumstance. Eligible fixed-term employees, for example, may qualify after one year under the new provisions.

5. Ignoring the Statutory Ceiling

The result of the formula should be checked against the applicable gratuity ceiling and any relevant employment terms.

6. Relying on an Outdated Online Calculator

An online calculator may use an older wage definition or assume that every employee is subject to the same eligibility conditions. Employees and employers should verify the assumptions behind the calculator.

Best Practices for Gratuity Management

Organizations can improve gratuity administration by following a consistent process.

  • Maintain accurate employee records: Keep joining dates, employment categories, and separation details updated.
  • Review salary structures: Identify the components that form part of eligible wages under the applicable provisions.
  • Update payroll configurations: Ensure gratuity calculations reflect current legal requirements.
  • Track service periods: Use reliable records to determine qualifying service and applicable rounding.
  • Review fixed-term contracts: Assess eligibility under the provisions that apply to fixed-term employment.
  • Verify statutory limits: Check the applicable ceiling and relevant notifications.
  • Document calculations: Retain the wage basis, service period, formula, and supporting records used to calculate gratuity.
  • Audit gratuity liabilities: Review calculations and provisions periodically to identify discrepancies.

How HRMS Software Can Help Manage Gratuity

As organizations grow, managing gratuity calculations manually can become difficult. HR teams may need to track joining dates, salary revisions, employee categories, separation dates, and changes in statutory requirements across a large workforce.

An HRMS can help centralize employee records, organize payroll information, and support more consistent administration of employee benefits. Depending on the system’s capabilities, it may also support reporting and payroll data exports that help HR and finance teams review gratuity-related information.

Software does not replace the need to interpret the applicable law correctly. Employers should ensure that their calculation method, wage components, and eligibility settings are configured appropriately and reviewed when statutory requirements change.

Conclusion

Gratuity calculation helps employees estimate an important employment benefit and enables employers to manage their statutory obligations. For a typical monthly-rated employee using the standard formula, the calculation is based on eligible last-drawn monthly wages, 15 days’ wages, and qualifying years of service.

However, an accurate calculation requires more than applying a formula. Employers and employees must consider the applicable definition of wages, service eligibility, employment category, and statutory ceiling. The Labour Codes effective from 21 November 2025 also make it important to review older gratuity calculation assumptions.

By maintaining accurate employee records, reviewing salary components, and keeping payroll processes updated, organizations can make gratuity administration more consistent and transparent.

Looking to simplify HR and payroll administration? Explore Qandle to learn how an integrated HRMS can help organize employee information and streamline HR processes.

Gratuity Calculation FAQs

To calculate gratuity online, enter your eligible monthly wages and qualifying years of service into a gratuity calculator. Review the estimate against the applicable eligibility conditions, wage definition, and statutory ceiling.

The calculation of gratuity for private employees generally follows the applicable statutory formula where the employee and establishment are covered by the relevant provisions. The eligible wage amount, qualifying service, and employment category must be determined first.

Gratuity is calculated using eligible wages under the applicable legal definition. Neither basic salary alone nor total gross salary should automatically be assumed to be the correct amount. The treatment of salary components must be checked under the applicable provisions.

Five years of continuous service is the general requirement in many standard gratuity cases, but exceptions apply. These include certain cases involving death or disablement. Eligible fixed-term employees can qualify after one year of service under the Labour Code provisions effective from 21 November 2025.

Eligible fixed-term employees can qualify for gratuity after completing one year of service under their fixed-term contract, subject to the applicable provisions of the Code on Social Security, 2020.

The treatment of allowances depends on the applicable statutory definition of wages. Certain components may be included, excluded, or subject to statutory adjustments. Employers should review the relevant provisions before determining the wage amount used for gratuity.

An eligible employee's gratuity generally increases with qualifying years of service, provided the applicable wage amount remains the same. The final amount must still be checked against the applicable statutory ceiling and other legal conditions.

Employers may show an estimated gratuity provision as part of an employee's CTC, depending on their compensation structure. However, an amount shown in CTC is not the same as gratuity actually payable to an employee. Payment depends on the applicable eligibility conditions and legal provisions.

The Labour Codes became effective on 21 November 2025. The Ministry of Labour and Employment has clarified that the revised definition of wages applies to gratuity calculations from that date. Employers should review the applicable wage components and eligibility requirements when calculating gratuity.

Software You Need For All Your Gratuity CalculationProcess

Get Started