How to Set Up and Calculate Gratuity in TallyPrime

Pranav Anand · June 13, 2026

Gratuity in Tally is set up as a pay head under the payroll module. You define the gratuity ledger, create the pay head with calculation formulas, and process gratuity payouts through salary or additional salary entries. TallyPrime supports conditional formulas to automate gratuity based on years of service and applicable labour law.

What Is Gratuity and Why It Matters in Payroll

Gratuity is a statutory benefit paid to employees upon separation after completing a minimum of 5 years of continuous service. Under the Payment of Gratuity Act, 1972, employers in India are legally required to pay gratuity to eligible employees. The amount depends on the employee's last drawn salary, years of service, and the applicable labour law rule. In TallyPrime, gratuity is managed as a pay head within the payroll module, allowing you to calculate, track, and report gratuity payouts accurately.

Understanding the Legal Framework for Gratuity

The Payment of Gratuity Act, 1972 governs gratuity calculation in India. Key points include:

  • Eligibility: Employee must have completed 5 years of continuous service.
  • Calculation basis: (Last drawn basic + dearness allowance) multiplied by years of service divided by 26 (for half month's wages per year) or by 13 (for full month's wages per year).
  • Maximum limit: Rs 20 lakh for employees covered by the Act; Rs 10 lakh for others.
  • Tax exemption: Up to Rs 10 lakh is tax-free; excess is taxable as per income tax rules.
  • Payment timing: Must be paid within 30 days of separation or retirement.

Understanding these rules is critical before setting up gratuity in TallyPrime, as incorrect calculation can lead to compliance issues and employee disputes.

Prerequisites for Setting Up Gratuity in Tally

Before you create a gratuity pay head in TallyPrime, ensure the following are in place:

  1. Payroll is enabled in your company. If not, refer to enable payroll in Tally for detailed steps.
  2. Employee master records are created with complete details including date of joining and salary structure. See create employee in Tally for guidance.
  3. Basic pay heads (Basic, DA, HRA, etc.) are already defined in your payroll setup.
  4. A dedicated ledger under "Salaries & Wages" or "Employee Benefits" is created to track gratuity payable.
  5. You have access to F11 (Payroll Settings) to configure tax rules if gratuity is taxable.

Step-by-Step: Create a Gratuity Pay Head

To create a gratuity pay head in TallyPrime, follow these exact menu paths:

  1. Open TallyPrime and go to Gateway of Tally.
  2. Click Payroll > Pay Heads > Create (or press Alt+C from the Pay Heads list).
  3. In the Name field, enter "Gratuity".
  4. Set Category to "Earnings" (or "Statutory Deductions" if your policy requires it).
  5. Under Accounting Ledger, select the ledger linked to "Salaries & Wages" or create a new ledger called "Gratuity Payable".
  6. In the Calculation section, you can enter a formula. For example: (Basic + DA) * (Years of Service / 26) for half-month rule.
  7. Set Print on Payslip: Yes.
  8. Save and press Ctrl+A to accept.

Once created, the gratuity pay head will appear in all salary registers and payroll reports.

Configuring Gratuity Calculation Formulas

TallyPrime allows you to embed calculation logic directly into the pay head definition. This automates gratuity computation based on employee data. Here is a practical approach:

Half-Month Rule (for 5-15 years of service): (Basic + DA) * (Years of Service / 26)

Full-Month Rule (for 15+ years of service): (Basic + DA) * (Years of Service / 13)

To implement, use TallyPrime's formula syntax in the Calculation field. You can reference other pay heads (e.g., Basic, DA) and system fields (e.g., employee's date of joining) to compute years of service dynamically. If your calculation is complex, use conditional formulas:

If Years of Service >= 15, then (Basic + DA) * (Years of Service / 13), else (Basic + DA) * (Years of Service / 26).

Test the formula with a sample employee before applying it company-wide.

Worked Example: Gratuity Calculation

Let us walk through a real-world example. Assume:

  • Employee: Rajesh Kumar
  • Date of Joining: 1 January 2015
  • Date of Separation: 30 June 2024
  • Last drawn Basic: Rs 30,000
  • Last drawn DA: Rs 6,000
  • Years of Service: 9 years 6 months (approximately 9.5 years)

Since Rajesh has 9.5 years of service (between 5 and 15 years), the half-month rule applies:

Gratuity = (Basic + DA) × (Years of Service / 26)
Gratuity = (30,000 + 6,000) × (9.5 / 26)
Gratuity = 36,000 × 0.365
Gratuity = Rs 13,140

In TallyPrime, you would record this as an Additional Salary entry or a one-time gratuity pay head entry for Rajesh's final payroll.

Recording Gratuity Payment in TallyPrime

Once you have calculated the gratuity amount, record it in the payroll system:

  1. Go to Gateway of Tally > Payroll > Salary Register.
  2. Select the employee and the month/period of separation.
  3. Click on the Gratuity pay head row and enter the calculated amount.
  4. Alternatively, use Gateway of Tally > Payroll > Additional Salary > Create to record a one-time gratuity entry.
  5. Ensure the date is set to the last working day or separation date.
  6. Save the entry (Ctrl+A). TallyPrime will automatically post the gratuity to the linked ledger.

The gratuity amount will appear in the employee's payslip and in the payroll reports.

Tax Treatment of Gratuity in Tally

Gratuity is partially tax-exempt under Section 10(10)(ii) of the Income Tax Act. The exemption limit is Rs 10 lakh, or Rs 20 lakh if the employee is covered by the Payment of Gratuity Act, 1972. To configure this in TallyPrime:

  1. Go to Gateway of Tally > F11 (Payroll Settings).
  2. Navigate to Tax Rules or Tax Slabs.
  3. Create a rule that exempts gratuity up to the applicable limit and taxes the excess as per the employee's income tax slab.
  4. Link this rule to the Gratuity pay head.

If your organisation uses a third-party tax engine or manual tax calculation, you may need to adjust the gratuity tax in the Additional Tax field during salary processing.

Gratuity Reporting and Compliance

TallyPrime provides multiple reports to track and verify gratuity payments:

Report Name Access Path Use Case
Payroll Summary Gateway of Tally > Display > Payroll Summary View total gratuity paid across all employees in a period
Salary Register Gateway of Tally > Payroll > Salary Register Check gratuity for individual employees
Pay Head Analysis Gateway of Tally > Display More Reports > Payroll > Pay Head Analysis Analyse gratuity trends and amounts by department
Ledger Gateway of Tally > Display > Ledger (select Gratuity Payable ledger) Reconcile gratuity payable vs. paid

Use these reports to verify that gratuity is calculated correctly, paid on time, and recorded in the general ledger for financial reporting.

Common Mistakes to Avoid When Processing Gratuity

When setting up and processing gratuity in TallyPrime, avoid these pitfalls:

  • Incorrect service calculation: Always verify the employee's date of joining and separation. Fractional years must be handled per your labour law rules.
  • Using wrong salary components: Gratuity is based on basic + DA, not on gross salary. Exclude HRA, bonus, and other allowances.
  • Missing tax exemption: Failing to apply the Rs 10 lakh (or Rs 20 lakh) exemption can result in over-taxation and employee grievances.
  • Late payment: The Gratuity Act requires payment within 30 days of separation. Track separation dates and process gratuity promptly.
  • Not updating employee records: Ensure the employee master has the correct date of joining and salary details before calculating gratuity.

Gratuity and Payroll Integration

Gratuity is tightly integrated with TallyPrime's payroll module. When you process gratuity through the salary register or additional salary, TallyPrime automatically:

  • Credits the Gratuity Payable ledger (liability).
  • Debits the Salaries & Wages or Gratuity Expense ledger.
  • Includes gratuity in the employee's payslip and annual CTC.
  • Flows gratuity data to Form 16 and other statutory documents (if configured).

This integration ensures that your financial statements accurately reflect gratuity liabilities and expenses.

Gratuity in Multi-Location and Multi-State Scenarios

If your organisation operates across multiple states, gratuity rules may vary. Some states have different minimum service periods or calculation methods. In TallyPrime, you can handle this by:

  1. Creating separate pay heads for each state (e.g., Gratuity-Maharashtra, Gratuity-Karnataka).
  2. Assigning the appropriate pay head to employees based on their location in the employee master.
  3. Using conditional formulas in the pay head to apply state-specific rules.
  4. Documenting the rules and formulas for audit and compliance purposes.

Consult your HR and legal team to ensure compliance with state-specific labour laws.

Connecting Gratuity to Your Payroll Setup

Gratuity is part of a broader payroll ecosystem in TallyPrime. To build a complete payroll system, you should also configure:

These components work together to ensure accurate salary processing, statutory compliance, and employee benefit management.

Licensing and Support for Payroll Features

Gratuity and all payroll features are available in TallyPrime Silver and Gold editions. TallyPrime Silver (single user, perpetual) is priced at Rs 22,500 plus 18% GST, while TallyPrime Gold (unlimited users on LAN, perpetual) costs Rs 67,500 plus 18% GST. Both include 1 year of Technical Support Service (TSS) free. TSS renewal is Rs 4,500 per year for Silver and Rs 13,500 per year for Gold (plus GST). After TSS expiry, TallyPrime continues to work but you will not receive updates or connected services like e-invoicing or GST filing integration. For cloud-based payroll processing, Tally on Cloud offers secure hosting from Rs 175-290 per user per month (bring-your-own-licence) or Rs 899-1,299 per month (with licence included), with 99.9% uptime and daily backups. Prices are indicative for 2026. Refer to TallyPrime price for the latest pricing and upgrade options.

Getting Help with Gratuity Setup

Setting up gratuity correctly is crucial for legal compliance and employee satisfaction. If you are unsure about the calculation method, tax treatment, or TallyPrime configuration, reach out to a certified Tally partner. Global IT Care is a Tally 3 Star Certified Partner based in Purnea, Bihar, with over 15 years of experience helping organisations implement and optimise payroll in TallyPrime. Our team can guide you through gratuity setup, formula configuration, compliance checks, and ongoing payroll management. Contact us today at +91 75469 00951 via WhatsApp or visit our office to discuss your payroll needs. We also offer training, data migration, and post-implementation support to ensure your payroll runs smoothly.

Frequently asked questions

What is gratuity in Tally?

Gratuity is a pay head in TallyPrime payroll that records the statutory benefit paid to employees upon separation after completing 5+ years of service, calculated as per the Payment of Gratuity Act, 1972.

How do I create a gratuity pay head in Tally?

Go to Gateway of Tally > Payroll > Pay Heads > Create. Name it 'Gratuity', set Category as 'Earnings', and link it to the appropriate ledger under Salaries & Wages.

Can I automate gratuity calculation in TallyPrime?

Yes. Use formulas in the pay head definition to calculate based on basic salary, years of service, and applicable labour law rules. TallyPrime supports conditional formulas for this.

What is the gratuity formula under Indian law?

Standard formula: (Last drawn basic + DA) × (Years of service / 26). For those with 5-15 years, it is half month's wages per year; above 15 years, full month's wages per year.

Is gratuity taxable in Tally?

Gratuity is partially taxable. Exemption limit is Rs 10 lakh (or Rs 20 lakh if covered by Gratuity Act). Configure tax rules in F11 to reflect this in salary processing.

How do I record gratuity payment in TallyPrime?

Create an Additional Salary entry or use Payroll > Salary Register > Gratuity. Enter employee, amount, and date. Post it to generate payroll reports and ledger entries automatically.