Perimattic
Free tool

Gratuity calculator for India

Work out gratuity from your basic, dearness allowance and years of service, with the 15/26 formula, the ₹20 lakh ceiling, the tax-exempt part and the eligibility rules under the Code on Social Security.

Free to useNo sign-upCovered and non-covered employers

Last updated 21 October 2026

Indian rupee banknotes fanned out beside a spread of five-rupee coins
Overview

How is gratuity calculated?

Multiply your last drawn basic plus dearness allowance by 15, divide by 26, then multiply by your years of service. A final year with more than six months counts as a full year. The result is capped at ₹20 lakh. If your employer is not covered by the gratuity law, divide by 30 and count completed years only.

Calculator

Online gratuity calculator

Enter your monthly basic and dearness allowance, your length of service and whether your employer is covered by the gratuity law. The result shows the amount, the ceiling, the tax-exempt part, whether you qualify and what gratuity would be at each year of service. Figures were checked on 17 November 2026.

Your wages

Basic pay in your last month.

Enter 0 if your salary has no DA.

Your service

Months beyond the full years, 0 to 11.

Your employer and exit

Factories, mines, plantations, ports, railway companies, shops and other establishments with 10 or more employees are covered.

Where allowances outside basic and DA are more than half of total pay, the excess is added to wages for gratuity.

Gratuity payable

₹2,01,923.00

₹50,000.00 × 15 ÷ 26 × 7 years.

Eligible. The minimum of 5 years for this kind of exit is met.

How it was worked out

Wages used (basic + DA)
₹50,000.00
Years counted7 extra months is more than 6, so the part year counts as a full year
7
Formula result (15/26)
₹2,01,923.00
Statutory ceilingIn force from 29 March 2018
₹20,00,000.00
Gratuity payable
₹2,01,923.00

Income tax on it

Tax-exempt (non-government employees)Lifetime limit ₹20,00,000.00, less any gratuity already exempted from earlier jobs
₹2,01,923.00
Taxable as salary
₹0.00

Central and state government employees receive gratuity fully exempt from tax. Outside the law, the exemption is also limited to half a month’s average salary for each completed year, which is what this calculator pays.

Year by year on today’s wages

What gratuity would be at each completed year if your wages stayed at ₹50,000.00.

YearsGratuityStatus
1₹28,846.00Below minimum service
2₹57,692.00Below minimum service
3₹86,538.00Below minimum service
4₹1,15,385.00Below minimum service
5₹1,44,231.00Payable
6₹1,73,077.00Payable
7₹2,01,923.00Payable

Figures checked on 17 November 2026. This is an estimate from what you entered, not legal or tax advice; an employer can pay more than the statutory amount under a contract or award. Nothing you type here is stored or sent to a server.

Method

The gratuity calculation formula, with a worked example

Gratuity is fifteen days’ wages for each year of service. For a monthly-paid employee the law fixes fifteen days as the monthly wage divided by 26 and multiplied by 15, which is why the divisor is 26 and not 30: it counts working days, leaving out four weekly offs.

Employer covered by the law

Gratuity = last drawn (basic + DA) × 15 ÷ 26 × years of service. A final part-year of more than six months counts as a full year; six months or less is dropped. Take basic of ₹40,000 and DA of ₹10,000, so wages of ₹50,000, and service of 6 years 7 months. The 7 months round up to a seventh year: 50,000 × 15 ÷ 26 × 7 = ₹2,01,923. At 6 years 6 months the part-year does not round up and the answer is ₹1,73,077.

Employer not covered

Gratuity = average (basic + DA) over the last ten months × 15 ÷ 30 × completed years. There is no rounding up. On the same ₹50,000 and 6 years 7 months: 50,000 × 15 ÷ 30 × 6 = ₹1,50,000. An employer outside the law is not obliged to pay gratuity at all; this is the amount the income tax exemption is measured against when it does.

Gratuity on wages of ₹50,000 a month, covered employer
ServiceYears countedGratuity
5 years5₹1,44,231
5 years 6 months5₹1,44,231
5 years 7 months6₹1,73,077
10 years10₹2,88,462
20 years20₹5,76,923
30 years30₹8,65,385
Eligibility

Gratuity eligibility: who qualifies and when

How employment endsMinimum serviceHow it is paid
Resignation, retirement or termination5 years of continuous serviceFull years, a part over six months rounding up
End of a fixed-term contract1 year (from 21 November 2025)Pro rata for the service completed
DeathNonePro rata, paid to the nominee or heirs
Disablement from accident or diseaseNoneFull years, a part over six months rounding up
Working journalists3 yearsFull years, a part over six months rounding up

The Code on Social Security, 2020 replaced the Payment of Gratuity Act, 1972 from 21 November 2025. The formula and the five-year rule for permanent staff did not change. What changed is that fixed-term employees now qualify after one year instead of five (PIB factsheet on the Code), and that the wages used for gratuity follow the Code’s definition: basic, DA and retaining allowance, plus any excess where other allowances are more than half of total pay.

The 4 years and 240 days question

Continuous service for a year is deemed met if you actually worked 240 days in it (190 days in a mine or an establishment that works under six days a week). The Madras High Court in Mettur Beardsell applied this to the five-year condition, and the Kerala and Delhi High Courts have followed it, so 4 years and about 240 days in the fifth year has been held enough. The Supreme Court has not decided the point directly, and employers apply it differently, so the calculator flags this case as borderline rather than eligible.

Limits

The gratuity ceiling and the tax-exempt limit

LimitAmountApplies toSource
Statutory ceiling₹20 lakhEmployers covered by the law, from 29 March 2018PIB, 30 March 2018
Tax-exempt limit₹20 lakhNon-government employees, over a working lifePIB, 7 March 2019
Tax-exempt limitNo limitCentral and state government employeesIncome-tax law
Central government ceiling₹25 lakhCCS pension and NPS gratuity rules, from 1 January 2024All India Radio, 30 May 2024

The ₹25 lakh figure often quoted in the news is the central government’s own ceiling for its civilian staff. It did not change the ₹20 lakh ceiling for private employers, or the ₹20 lakh tax exemption for non-government employees. Figures checked on 17 November 2026.

For employers

Running gratuity through payroll

Employers usually set aside a gratuity provision of about 4.81% of basic each month, which is the 15/26 formula spread over twelve months. The in-hand salary calculator shows how that provision sits inside a CTC, and the salary slip generator makes the monthly payslip. ERPStack brings payroll, accounts and GST into one system, and the CA & Finance Automation product handles the bookkeeping and compliance work around it.

For billing, the GST calculator and the GST invoice generatorcover the tax side. If your gratuity, leave and final-settlement rules do not fit an off-the-shelf payroll, Perimattic’s bespoke software development team builds them to your policy.

FAQs

Gratuity, answered

What is the formula for gratuity calculation?

For an employer covered by the gratuity law: last drawn basic plus dearness allowance × 15 ÷ 26 × years of service, where a final part-year over six months counts as a full year. For an employer outside the law, the usual measure is average basic plus DA over the last ten months × 15 ÷ 30 × completed years. The covered amount is capped at ₹20 lakh.

Am I eligible for gratuity after 4 years and 240 days?

Possibly. The law asks for five years of continuous service on resignation or retirement. The Madras, Kerala and Delhi High Courts have held that a fifth year in which you actually worked 240 days (190 in mines or five-day-week establishments) counts as a year, so 4 years and about 240 days can qualify. The Supreme Court has not settled the point, so employers differ.

Do fixed-term employees get gratuity after one year?

Yes, for contracts ending on or after 21 November 2025, when the Code on Social Security came into force. A fixed-term employee with at least one year of continuous service is paid gratuity on a pro rata basis when the contract ends, using the same 15/26 formula. Before the Code, the five-year minimum applied to them as well.

What is the maximum gratuity amount?

The statutory ceiling is ₹20 lakh, notified from 29 March 2018 and still current. An employer can pay more under a contract, award or company policy, but the law does not require it. Central government civilian employees under the CCS pension and NPS gratuity rules have a separate ceiling of ₹25 lakh from 1 January 2024.

How much gratuity is tax-free?

For non-government employees, up to ₹20 lakh over a working life is exempt, counting gratuity already exempted from earlier jobs. If the employer is outside the gratuity law, the exempt amount is also limited to half a month’s average salary for each completed year. Central and state government employees receive gratuity fully exempt. Anything above the exempt part is taxed as salary.

Does the new wage definition increase gratuity?

It can. Under the Code on Social Security, wages for gratuity are basic, dearness allowance and retaining allowance, but if allowances outside wages such as HRA and conveyance are more than half of total pay, the excess is added back. On a salary where basic is a small share of pay, that raises the wages used and so the gratuity.

Does this gratuity calculator store what I enter?

No. The calculator runs entirely in your browser. There is no sign-up, and nothing you type is stored or sent to a server, so salary figures stay on your device. Reloading the page resets the form to the example figures.

ERPStack

Want ERPStack built around how your business bills?

Sign up to tell us what you need, and our team will get in touch to set ERPStack up for your business.
  • Free consultation
  • No commitment
  • Tailored to your team