Gratuity Calculator: Formula, Rules & Free Calculator

Gratuity Calculator: Formula, Rules & Free Calculator

Last updated: September 2026
Written by: Ishita Mehta
Reviewed by: Prem Sharma

Meet Rohit. He’d been with his company for 6 years. When he got a better offer, HR handed him a final settlement letter — and the gratuity amount was ₹40,000 less than what he’d worked out in his head. Turns out he’d calculated it on his gross salary, not his Basic + DA. A two-minute check with a gratuity calculator before he resigned would have shown him the real number and saved him an awkward argument with HR.

This happens to lakhs of employees every year. Gratuity math looks simple, but a few small details — which salary component to use, how years are rounded, whether you’re even eligible — trip people up constantly. Let’s fix that, in plain language.

Gratuity Calculator

Enter completed years. If your final year has 6+ months, round up (e.g. 7 years 7 months = 8).

This is an estimate for informational purposes only. Actual gratuity may vary based on your employer’s policy and applicable law. Tax-free up to ₹20 lakh (private) / ₹25 lakh (government).

What Is Gratuity, Really?

Gratuity is a lump-sum “thank you” payment your employer gives you for sticking around long-term. It’s not a bonus, and it doesn’t come out of your monthly salary — it’s a separate benefit governed by the Payment of Gratuity Act, 1972 (now folded into the Code on Social Security, 2020). You typically become eligible after 5 years of continuous service, and it’s paid when you resign, retire, or in some cases if you’re let go.

The Formula Every Gratuity Calculator Uses

Here’s the actual math running behind every online gratuity calculator:

Gratuity = (Last Drawn Basic Salary + DA) × 15 × Number of Years of Service ÷ 26

ComponentMeaning
Last Drawn Basic + DAOnly Basic Salary + Dearness Allowance — never gross or CTC
1515 days’ wages paid for every completed year of service
26Assumed working days in a month
Years of ServiceRounded up if final year has 6+ months service

The 5-Year Myth: The 4 Years and 240 Days Rule

Most people assume you need a full 5 calendar years to get gratuity. That’s not entirely true. Courts have interpreted the law to mean that if you complete 4 years and 240 days of service (190 days if your company runs a 5-day work week), you’re legally treated as having completed the 5th year — and you become eligible for gratuity.

So if you’re planning to resign around the 4.5-year mark, don’t assume you’ve lost out. Run the numbers through a gratuity calculator anyway — you might be entitled to a payout you didn’t expect.

Example: Say your Basic + DA is ₹40,000/month and you’ve worked 8 years.
Gratuity = (40,000 × 15 × 8) ÷ 26 = ₹1,84,615

If your company has fewer than 10 employees (not covered under the Act), some employers use 30 instead of 26 as the divisor, which gives a slightly smaller number. A good gratuity calculator lets you toggle between both.

The Mistake That Costs People the Most Money

This is the costliest mistake people make — plugging the wrong salary figure into the formula entirely. If your gross is ₹80,000 but your Basic is only ₹35,000, your gratuity calculator should be running the formula on ₹35,000 — not ₹80,000. Plugging in the wrong number can make your estimate wildly off in either direction, so always check your salary slip for the exact Basic + DA figure before you calculate.

The 4.81% CTC Trap Most Employees Don’t Notice

Ever wondered how HR arrives at the “Gratuity” line in your CTC breakup? It’s usually 4.81% of your Basic Salary — this number comes directly from the formula itself (15 ÷ 26 ÷ 12 months ≈ 4.81%).

Here’s the catch: this amount sits in your CTC as a provision, not actual cash you can access. If you leave before completing 5 years, your company keeps that provisioned amount — you don’t get it back, and it was never really “your money” to begin with. Under the newer labour code rules, fixed-term contract staff can now recover this after just 1 year, but everyone else still needs to cross the 5-year mark (or the 4 years 240 days rule above) to actually claim it.

Use a gratuity calculator alongside your CTC breakup to see how much of your package is real take-home pay versus provisioned gratuity you’ll only get if you stay long enough.

The Rounding Rule Nobody Tells You

Years of service aren’t always a clean number, and this trips up a lot of calculators too. If you’ve completed more than 6 months in your final year, it rounds up to the next full year. So 7 years and 7 months counts as 8 years in the formula. But 7 years and 4 months stays at 7 years. A reliable gratuity calculator applies this rounding automatically — if yours doesn’t, you’ll under- or overestimate your payout.

A Rule Most Articles Miss: The New 1-Year Entry for Contract Staff

Here’s something that’s genuinely new and not widely known yet. Under the labour code changes in effect since November 2025, fixed-term or contract employees qualify for pro-rata gratuity after just 1 year of service — not 5. If you’re on a fixed-term contract, don’t assume gratuity doesn’t apply to you; run the numbers through a gratuity calculator anyway.

Also worth knowing: if you die or become permanently disabled while employed, the 5-year rule is waived entirely — gratuity is paid regardless of tenure.

The 50% Wage Rule That Quietly Increases Your Gratuity

Under the wage code, effective since November 2025, Basic + DA must make up at least 50% of your total CTC. If your company structures your salary so that allowances eat up more than half your CTC, the excess gets added back into “wages” for gratuity purposes. Practically, this means many employees now get a higher gratuity than a few years ago, even with the same CTC — because the base used in the formula has effectively gone up. Worth re-running your gratuity calculator if your salary structure changed recently.

Is Gratuity Taxed?

For private-sector employees, gratuity is tax-free up to ₹20 lakh over your entire career (across all employers, not per job). Government employees get full tax exemption with no cap at all — and the Central Government’s own payout ceiling was raised to ₹25 lakh (effective January 2024, in line with 7th Pay Commission recommendations).

3 Things to Do Right Now

  1. Pull up your latest salary slip and note your exact Basic + DA — not gross, not CTC.
  2. Run it through a gratuity calculator before any job change, resignation, or retirement conversation — don’t rely on mental math or HR’s word alone.
  3. Track your total gratuity received across jobs if you’re mid-career, so you know how much of your ₹20 lakh tax-free limit you’ve already used.

Read Also: Gross Salary Meaning / Personal Loan Interest Rates / Tallyman Axis Bank Meaning / LPA Full Form

Frequently Asked Questions

Q1. Is a gratuity calculator accurate for government employees?

Answer: Not fully. Government employees get full tax exemption on gratuity with no ₹20 lakh cap, and some PSU/state rules differ slightly. A standard gratuity calculator built for private-sector formulas may not reflect these differences.

Q2. What if I resign before completing 5 years?

Answer: Generally, you’re not eligible for gratuity if you resign before 5 years of continuous service. Exceptions apply in cases of death or permanent disability, where the 5-year rule doesn’t apply at all.

Q3. Can my employer deny or reduce my gratuity?

Answer: Yes, but only in specific cases — such as termination for misconduct, willful damage to company property, or acts involving moral turpitude. Outside these situations, gratuity cannot be withheld if you’re eligible.

Q4. Is gratuity part of my CTC?

Answer: Often yes — many companies include an estimated gratuity component in your CTC breakup, even though you only actually receive it after 5 years of service (or 1 year for fixed-term contracts). Check your CTC structure to see if it’s already factored in.

Q5. Does my gratuity reset if I switch jobs?

Answer: Yes, gratuity eligibility resets with each new employer — you need to complete the minimum service period again wherever you join next. However, the ₹20 lakh tax-free limit applies across your entire career, not per job, so track your cumulative gratuity received.

Conclusion

A gratuity calculator is only as accurate as the numbers you feed it: use Basic + DA (never gross), round your service years correctly (6+ months rounds up), and remember the newer rules — the 1-year eligibility for contract staff and the 50% wage rule that can bump up your payout. Gratuity up to ₹20 lakh stays tax-free. Get these basics right, and you’ll never be caught off guard by your final settlement the way Rohit was.

References

Leave a Comment

Your email address will not be published. Required fields are marked *