Finance calculators

Gratuity Calculator

Updated Nov 10, 2026 By Infinity Calculator Formulas Sources
Rate
Indian Statutory Gratuity Calculator
₹10,000 ₹60,000 ₹10,00,00,000
Enter your last drawn basic pay plus dearness allowance. If your employer is covered by the Code, also add any retaining allowance, and any amount by which your other pay, such as bonus, house rent allowance and commission, comes to more than half of your total pay. If it is not covered, enter your average monthly salary for the 10 months before the month you leave.
Service Period
1 year 20 years 50 years
Gratuity Result
Employee Type Private (Covered by the Code)
Monthly Salary (Basic + DA) ₹60,000
Years of Service 20 years
Gratuity Amount ₹6,92,308
Formula Used:
Gratuity = (Salary × 15 × Years) ÷ 26
= (₹60,000 × 15 × 20) ÷ 26 = ₹6,92,308
Tip / Gratuity Calculator
1 2 people 20
Tip Results

Tip Amount

$15.39

Total (Bill + Tip)

$100.89

Per Person

$50.45

Bill Split Breakdown
Bill per person $42.75
Tip per person $7.70
Total per person $50.45
Tip % Tip Amount Total Per Person

Introduction

Gratuity is money you earn or give as a thank-you. It can be a lump sum from your employer when you leave a job, or a tip you leave at a restaurant. Our Gratuity Calculator handles both. Use the Employee Gratuity tab to find out how much statutory gratuity you can expect under Indian labor law. It covers government employees, private workers covered by the Code on Social Security, 2020, and those not covered, each using its own formula. Simply enter your last drawn salary (Basic Pay + Dearness Allowance), your years of service, and your employee type to get an instant result. You can type in your service years or pick your joining and last working dates, and the calculator will round your tenure as the law requires.

Switch to the Tip Calculator tab when you need to figure out how much to leave at a restaurant, café, or for any service. Enter your bill amount, choose a tip percentage, and select how many people are splitting the check. The tool shows the tip amount, total bill, and each person's share right away. A built-in comparison table lets you see how different tip percentages (from 10% to 30%) change what you owe, so you can pick the amount that fits your budget. Both calculators include clear charts and step-by-step formulas, making it easy to understand exactly how your numbers are calculated.

How to Use Our Gratuity Calculator

This calculator has two tools: an Employee Gratuity Calculator for Indian statutory gratuity and a Tip Calculator for restaurant bills. Enter your details below, and the calculator will show you the exact gratuity or tip amount you can expect.

Employee Gratuity Calculator

Employee Type: Pick the type that matches your job. Choose "Government Employee" if you work for the government, "Private (Covered by the Code)" if your employer is covered by the gratuity rules of the Code on Social Security, 2020, or "Private (Not Covered)" if it is not. Each type uses a different formula to figure out your gratuity.

Monthly Salary (Basic Pay + DA): Enter the sum of your last drawn basic pay and dearness allowance. You can type a number between ₹10,000 and ₹10 crore, or drag the slider to set the amount. Wages for gratuity are basic pay, dearness allowance and any retaining allowance.1 If pay such as bonus, house rent allowance, overtime allowance and commission adds up to more than one-half of your total pay, the amount above one-half is added to wages.1 Include that amount in the salary you enter. If your employer is not covered by the Code, enter your average monthly salary for the ten months before the month you leave instead.4

Service Period: Choose how you want to enter your time at the company. Select "Enter Years" to type in your total years of service (between 1 and 50), or select "Date Picker" to enter your date of joining and last working day. If you use dates, the calculator will figure out the total tenure. For covered employees, a part year of more than six months is rounded up to a full year, as the Code on Social Security, 2020 requires.1 Your last working day counts as a day of service. For private employees not covered by the Code, only completed years of service count.4 Note that covered employees generally need at least 5 years of continuous service to qualify.1

Tip Calculator

Bill Amount: Enter the total amount of your restaurant bill or service bill in dollars. This is the pre-tip amount shown on your check before any gratuity is added.

Tip Percentage: Set how much you want to tip as a percentage of the bill. You can type a number, use the slider, or click one of the preset buttons (10%, 15%, 18%, 20%, or 25%) for quick selection. A comparison table will also show you what different tip percentages would cost.

Split Between (People): Enter the number of people sharing the bill. If you are paying alone, keep this at 1. If you are splitting with others, set it to the total number of people. The calculator will break down each person's share of both the bill and the tip so everyone knows exactly what they owe.

What Is Gratuity?

Gratuity is a sum of money paid by an employer to an employee as a reward for long service. In India, this benefit is governed by the Code on Social Security, 2020, which replaced the Payment of Gratuity Act, 1972.1 Its rules apply to gratuity paid on or after 21 November 2025.2 Employees generally qualify after at least five years of continuous service with the same employer.1 It is a form of retirement benefit, similar to a thank-you payment for your years of hard work and loyalty to a company.

The word "gratuity" also has a second, everyday meaning: a tip you leave at a restaurant, hotel, or for any service. Both meanings share the same idea: giving money to show thanks. This calculator handles both types, so you can figure out your employee gratuity or calculate a fair tip for your next meal.

How Is Employee Gratuity Calculated in India?

The formula for calculating gratuity depends on the type of employee you are:

  • Government employees: Gratuity = Last Drawn Salary × Years of Service × 0.5.
  • Private employees covered by the Code: Gratuity = (Last Drawn Salary × 15 × Years of Service) ÷ 26.1
  • Private employees not covered by the Code: Gratuity = (Average Salary × 15 × Completed Years of Service) ÷ 30. This is the most that can be tax-free: half a month's average salary for each completed year of service.4

In these formulas, "Last Drawn Salary" means your most recent Basic Pay plus Dearness Allowance (DA). For covered employees it also includes any retaining allowance, plus any amount by which other allowances come to more than one-half of your total pay.1 The Code works out 15 days' wages for each year of service by dividing the monthly wage by 26 and multiplying by 15.1 The maximum gratuity under the Code is currently ₹20 lakh.3 The calculator caps its result at that amount for covered employees, and at the ₹20 lakh tax-free limit for employees not covered. Employers the Code does not cover are not bound by its gratuity rules. For their employees, the calculator works out the largest amount the Income-tax Act, 2025 lets you receive tax-free, based on your average salary for the ten months before the month you leave.4

Who Is Eligible for Gratuity?

Under the Code on Social Security, 2020, you must complete at least 5 years of continuous service with the same employer to be eligible.1 For working journalists, the Code reads five years as three years.1 This rule does not apply when employment ends through death, disablement or the end of a fixed-term contract.1 A fixed-term employee becomes eligible after one year of service under the contract.2 The gratuity rules apply to every factory, mine, oilfield, plantation, port and railway company, and to every shop or establishment with 10 or more employees.1

Rounding of Service Years

When calculating gratuity, if the remaining months of service beyond full years exceed 6 months, the service period is rounded up to the next full year.1 For example, 14 years and 7 months would count as 15 years for gratuity purposes.

Gratuity Tax Rules

Gratuity that government employees receive under the Central Civil Services (Pension) Rules, 2021, or under a similar scheme for the civil services of the Union or a State, the all-India services or a local authority, is fully exempt from income tax.4 For other employees, the tax-free part of gratuity is currently limited to ₹20 lakh.5 For gratuity paid outside the government rules and the gratuity law, such as by an employer the law does not cover, the tax-free amount is the least of three: the gratuity actually received, the limit set by the Central Government, and half a month's average salary for each completed year of service.4 That limit counts all such gratuity you have received tax-free, from every employer.4 Any gratuity above the tax-free amount is counted as salary income, where it is taxed at the rate set by your tax bracket.4

How Does the Tip Calculator Work?

The tip calculator helps you figure out how much to leave as a gratuity at restaurants or for services. You enter your bill amount, choose a tip percentage, and select how many people are splitting the bill. The calculator then shows the total tip, the full amount including tip, and each person's share. In the United States, 15% to 20% is the usual guide for sit-down restaurant service.

Why Gratuity Matters for Your Financial Planning

Employee gratuity can be a significant lump sum when you retire or leave a job. For someone earning ₹60,000 per month with 20 years of service, the gratuity amount under the Code works out to nearly ₹7 lakh. Over a longer career, this number grows substantially. Including your expected gratuity in your retirement planning gives you a clearer picture of the total funds you will have when you stop working. It is one of several benefits, along with the Employees' Provident Fund (EPF) and pension, that form the foundation of financial security for salaried workers in India.


Formulas used

Government Employee Gratuity
G = S \times Y \times 0.5
Private Employee Gratuity (Covered by the Code) 1
G = \frac{S \times 15 \times Y}{26}
Private Employee Gratuity (Not Covered)
G = \frac{S \times 15 \times Y}{30}
Tip Amount
T = B \times \frac{P}{100}
Total Bill with Tip
\text{Total} = B + T
Per Person Share
\text{Per Person} = \frac{B + T}{N}

Frequently asked questions

What is the minimum service required to get gratuity in India?

You need at least 5 years of continuous service with the same employer to get gratuity under the Code on Social Security, 2020.1 Five years are not needed when employment ends through death, disablement or the end of a fixed-term contract.1 A fixed-term employee becomes eligible after one year of service under the contract.2

Does gratuity include HRA, bonuses, or other allowances?

Usually not. Wages for gratuity are basic pay, dearness allowance and any retaining allowance.1 But if pay such as bonus, house rent allowance, conveyance allowance, overtime allowance and commission adds up to more than one-half of your total pay, the amount above one-half is added to wages.1

What is the maximum gratuity amount exempt from tax?

For private sector employees, the maximum tax-exempt gratuity is ₹20 lakh.5 If your gratuity exceeds the tax-free amount, the extra amount is taxed as part of your salary income.4 Gratuity that government employees receive under their pension rules is fully tax-free, with no upper limit.4

Why does the formula use 26 instead of 30?

The divisor 26 is set by the Code on Social Security, 2020. For a monthly-paid employee, the Code on Social Security, 2020 works out 15 days' wages by dividing the last monthly wage by 26 and multiplying by 15.1 The ÷ 30 formula is for employees the Code does not cover. It comes from the Income-tax Act, 2025, which counts half a month's average salary for each completed year of service toward the tax-free amount.4

How are extra months of service counted for gratuity?

If your remaining months beyond full years are more than 6 months, your service is rounded up to the next full year.1 For example, 12 years and 8 months counts as 13 years. If it is 6 months or less, it stays at 12 years.

Can I get gratuity if I resign from my job?

Yes. You can get gratuity when you resign, as long as you have completed at least 5 years of continuous service. Gratuity is payable on superannuation, retirement, resignation, death or disablement, or the end of a fixed-term contract.1

What is a good tip percentage at a restaurant?

In the United States, 15% to 20% is the usual guide for sit-down restaurant service, and 10% at a buffet.

Should I tip on the pre-tax or post-tax bill amount?

Either way is acceptable. Tipping on the total bill after tax is simpler. Tipping on the pre-tax amount is also fine and saves you a small amount. The difference is usually just a few cents or dollars.

How is government employee gratuity different from private sector gratuity?

Government employees use the formula Salary × Years × 0.5, which gives a lower amount than the private formula for the same salary and service. Private employees covered by the Code use (Salary × 15 × Years) ÷ 26.1 Government gratuity is also fully tax-free with no upper limit.4

Is gratuity paid if an employee dies before completing 5 years?

Yes. In cases of death or disablement, the 5-year minimum service rule does not apply.1 On death, the gratuity is paid to the employee's nominee or, if there is no nomination, to the heirs.1

How do I know if my company is covered by the gratuity rules?

The gratuity rules of the Code on Social Security, 2020 cover every factory, mine, oilfield, plantation, port and railway company.1 They also cover every shop or establishment that has 10 or more employees, or had them on any day of the past 12 months.1

Can my employer refuse to pay gratuity?

No. If you meet the eligibility rules, your employer is legally required to pay gratuity under the Code on Social Security, 2020. If they refuse, you can take the matter to the competent authority appointed for your area.1 There are exceptions for dismissal. If your services were ended for an act, wilful omission or negligence that damaged or destroyed the employer's property, gratuity is forfeited up to the amount of the damage or loss.1 If they were ended for riotous or disorderly conduct, violence, or an offence involving moral turpitude committed in the course of your employment, gratuity can be forfeited in full or in part.1

How does splitting a tip between multiple people work?

The calculator divides the total bill plus tip equally among all people. Each person pays the same share of the bill and the same share of the tip. For example, a $100 bill with an $18 tip split between 2 people means each person pays $59.

Does gratuity increase if my salary goes up over the years?

Gratuity is calculated based on your last drawn salary, not your average salary.1 So yes, if your salary increases over time, your final gratuity amount will be higher because it uses your most recent Basic Pay + DA. For piece-rated employees, the Code uses the average daily wage over the three months before employment ends, leaving out overtime pay.1

What happens if I work for 4 years and 11 months?

Under the Code on Social Security, 2020, the extra months beyond full years are rounded up only if they exceed 6 months. So 4 years and 11 months counts as 5 years when the amount is worked out. To qualify at all, the Code asks for continuous service of not less than five years.1 It also treats you as in continuous service for a year if you actually worked for the employer on at least 240 days in the twelve months before the date of the calculation, or 190 days below ground in a mine or where the workplace runs fewer than six days a week.1 Whether 4 years and 11 months meets the five-year rule depends on how these rules apply to your service record. When the dates you enter come to less than five full years, the calculator shows a reminder of the five-year rule.


Sources

  1. The Code on Social Security, 2020 (No. 36 of 2020). Gazette of India Extraordinary. Ministry of Labour and Employment, Government of India. 2020;Chapter V, ss. 53-58; s. 2(88); First Schedule. Accessed September 27, 2026.
  2. Additional FAQs on Labour Codes (As on 16.03.2026). Ministry of Labour and Employment, Government of India. 2026;Q14, Q17. Accessed September 27, 2026.
  3. FAQs on Labour Codes. Ministry of Labour and Employment, Government of India. 2025;Q12. Accessed November 10, 2026.
  4. Income-tax Act, 2025, Section 19: Deductions from salaries. Income Tax Department, Government of India. 2025;s. 19(1) Table, Sl. Nos. 3, 5 and 6; s. 19(2). Accessed November 10, 2026.
  5. What is the effective date of enhancement of limit of gratuity from Rs 10 lakh to 20 lakh for purpose of tax exemption computation under section 10(10)(ii)? FAQs on Salary Income. Income Tax Department, Government of India. Accessed November 10, 2026.