Gratuity Years Calculator
Gratuity is the lump sum an employer pays for long service, and the amount turns on three things: how long you served, your last monthly salary, and which country’s rule applies. Enter your joining date, leaving date and last drawn monthly salary, pick the country, and this calculator counts your service in years and months, works out the eligible years, checks you against that country’s minimum service and applies its formula, including the statutory caps where the tool models them.
Gratuity Amount
Rs. 0
The analysis under the results repeats the tool’s own summary: the formula used, what the amount equals in months of salary, and the tax and payment-timing notes the tool attaches to the selected country.
Quick Answer
With the pre-filled example (Pakistan, joined 1 January 2020, leaving 30 September 2025, last monthly salary Rs. 50,000) the tool counts 5 years 8 months of service, rounds that to 6 eligible years, marks the employee Eligible (5+ years service) and pays Rs. 346,154: (50,000 / 26) x 30 x 6. Switch the country and the same service pays a different amount, from Rs. 150,000 under the generic rule to Rs. 346,154 under the Pakistan and Bangladesh rules.
- Quick Answer
- How to use the gratuity years calculator
- The six formulas, side by side
- Worked example: the same career under all six rules
- How service is counted, and the rounding trap
- Where each rule set simplifies the law
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use the gratuity years calculator
Pick the country whose rule you want, enter the two dates and the last monthly salary, then click Calculate. Nothing is worked out until you click, and changing the country afterwards hides the old result so you cannot mistake one country's answer for another's.
- Country/Region: this chooses the formula, the minimum service and any cap. The six rule sets are summarised in the table under the formula section below.
- Date of Joining and Date of Leaving: the tool counts the whole days between them, then converts at 365.25 days per year and 30.44 days per month. Because of that conversion its month figure can sit a few days away from a straight calendar count.
- Last Drawn Monthly Salary: enter the figure the rule actually uses. For India that is basic salary plus dearness allowance; for the UAE it is basic salary only; for Saudi Arabia the law works on the last wage including fixed allowances. Putting your full package into a basic-salary rule overstates the answer. The same daily-versus-monthly conversion sits behind the daily rate salary calculator, which is worth checking if you are unsure how your monthly pay breaks down.
- Read all four outputs: total service, eligible years after rounding, the amount, and the eligibility status. The eligible years and the status can look contradictory at short service lengths; the rounding section below explains why.
Two behaviours of the tool are worth knowing before you rely on a number. First, every amount is labelled "Rs." in the outputs and in the analysis, whatever country you selected, so read a UAE or Saudi result in dirhams or riyals, not rupees. Second, the tool asks nothing about why the employment ended, so it cannot apply rules that depend on the reason for leaving; the sections below flag each place where that matters.
The six formulas, side by side
Each country branch multiplies a daily wage by a set number of days per eligible year, but the divisor, the days and the minimum service all differ. This table is the whole tool on one screen.
| Rule set | Formula the tool applies | Minimum service | Cap in the tool |
|---|---|---|---|
| Pakistan | (Salary / 26) x 30 x eligible years | 5 years | None |
| India | (Basic + DA) x (15/26) x eligible years | 5 years | Rs. 2,000,000 |
| UAE | (Basic / 30) x 21 x first 5 years, then x 30 x later years | 1 year | 24 x monthly basic salary |
| Saudi Arabia | Half a month per year for the first 5 years, a full month per year after | 2 years | None |
| Bangladesh | (Salary / 26) x 30 x eligible years | 5 years | None |
| Other/Custom | (Salary / 30) x 15 x eligible years | 5 years | None |
India's branch is the textbook Payment of Gratuity Act formula: fifteen days of wages for every completed year, with a month counted as 26 days, on last drawn basic plus dearness allowance, and the Act itself sets the Rs. 20 lakh ceiling this tool enforces. The UAE branch follows Article 51 of Federal Decree-Law No. 33 of 2021 as published by the UAE Government portal's end of service benefits page: 21 days of basic wage for each of the first five years, 30 days for each year after that, and a total ceiling of two years of wage. Saudi Arabia's branch is the Article 84 end-of-service award for an employment that ends without resignation: half a month's wage per year for five years, then a full month per year. Pakistan's branch follows the widely used payroll reading of the Standing Orders Ordinance: thirty days of wages per year, with the daily wage taken as monthly salary divided by 26 working days. Gratuity sits alongside other statutory extras rather than replacing them, in the same family as the extra month's pay covered by the 13th month salary calculator.
Worked example: the same career under all six rules
One employee, six answers. Joining 1 January 2020, leaving 30 September 2025 and a last monthly salary of Rs. 50,000 gives 5 years 8 months of service and 6 eligible years under every rule set. Only the formula, minimum and cap change.
| Rule set | Arithmetic | Gratuity | Status |
|---|---|---|---|
| Pakistan | (50,000 / 26) x 30 x 6 | Rs. 346,154 | Eligible (5+ years service) |
| India | 50,000 x (15/26) x 6 | Rs. 173,077 | Eligible (5+ years service) |
| UAE | (50,000 / 30) x (21 x 5 + 30 x 1) | Rs. 225,000 | Eligible (5+ years service) |
| Saudi Arabia | (25,000 x 5) + (50,000 x 1) | Rs. 175,000 | Eligible (5+ years service) |
| Bangladesh | (50,000 / 26) x 30 x 6 | Rs. 346,154 | Eligible (5+ years service) |
| Other/Custom | (50,000 / 30) x 15 x 6 | Rs. 150,000 | Eligible (5+ years service) |
The spread is the lesson: identical service and salary produce a top answer 2.3 times the bottom one, purely because the rule sets price a year of service differently, at 30 days of wages in Pakistan and Bangladesh against 15 days in India and the generic rule. Two checks keep the table honest. The Pakistan daily wage is not rounded before multiplying: 50,000 / 26 is 1,923.08, and the tool multiplies the unrounded figure, which is why the result is Rs. 346,154 and not the Rs. 346,140 you get if you round the daily wage to Rs. 1,923 first. And the UAE row uses the two-tier Article 51 rates: at 6 eligible years the sixth year already earns 30 days, not 21. On a longer career the tier matters more: the same salary over 15 years 8 months (16 eligible years) pays Rs. 725,000 on the tiered rates, against Rs. 560,000 on a flat 21 days for every year. A gratuity figure is one piece of a leaving package; the ongoing value of small pay differences is easier to see with the salary per minute calculator, and one-off extras belong with the bonus salary calculator.
How service is counted, and the rounding trap
Service is counted in days first, then rounded twice, and the two roundings answer to different tests. The eligible-years figure rounds up whenever the leftover period reaches 6 months, while eligibility itself is tested on the unrounded whole years.
That split produces the page's most confusing honest result. Join on 1 January 2020 and leave on 1 August 2024 under the Pakistan rule and the tool reports 4 years 6 months of service and 5 eligible years, because the 6 leftover months round up, yet the status still reads "Not Eligible (Need 5 years minimum)" and the amount stays Rs. 0, because the eligibility test compares the unrounded 4 years against the 5-year minimum. The eligible-years box is what you would be paid for once you qualify; it is not itself proof of qualifying. India's Act creates the same shape in law, since it waives the five-year condition on death or disablement but counts part years over six months as full years, and it is also why an Indian employee at 4 years and 7 months is often told the money is close but not yet due in the ordinary case. Two smaller counting quirks ride along: the tool converts days at 365.25 per year and 30.44 per month, so a span of just under five calendar months can display as 4 months, and a blank date or salary now stops with the message "Please enter valid dates and salary amount." instead of producing a row of empty outputs.
Where each rule set simplifies the law
Every branch of this tool is a formula, and real entitlement law has branches a formula cannot see. These are the simplifications to check against your contract and local law before treating a result as final.
- UAE: the tool now applies the correct Article 51 tiers and the two-year cap, and it counts part years by its standard 6-month rounding. The law instead pays part years in exact proportion, excludes unpaid absence days from service, and treats DIFC and ADGM employees under separate regimes. Enter basic salary only; allowances do not count.
- Saudi Arabia: the branch pays the full Article 84 award. If you resign, Article 85 pays one third of the award after 2 to 5 years, two thirds after more than 5 and under 10 years, and the full award at 10 years or more, none of which the tool models because it never asks how the employment ended.
- Pakistan: the branch uses a 5-year minimum and the payroll convention of a 26-day month. The Standing Orders Ordinance text grants thirty days of wages per completed year, or part over six months, without stating a five-year minimum, and it removes gratuity where a qualifying provident fund or approved pension fund replaces it. Provincial rules and your own scheme decide which reading governs you.
- Bangladesh: the branch mirrors Pakistan at 30 days per year with a 5-year minimum. Section 2(10) of the Labour Act 2006 defines gratuity as at least 30 days of last wages per completed year, rising to 45 days per year once service passes 10 years, and actual payment depends on the employer's scheme and how the employment ends.
- India: the branch matches the Act's formula and ceiling, but the Act waives the five-year condition where employment ends through death or disablement, and it treats piece-rated and seasonal workers differently. The tool has no input for either case.
- Everywhere: the tool cannot see misconduct forfeiture, unpaid leave, breaks in service, or a more generous company scheme, and its analysis panel repeats general tax and timing notes (India tax-free up to Rs. 20 lakh, UAE payment within 14 days, most other jurisdictions within 30 days) rather than advice for your case.
What competing calculators miss
The tools ranking for gratuity keywords are almost all single-country, and most hide exactly the assumptions this page prints:
- UAE-only calculators (gratuitycalc.com, Payslip.ae, Bayzat-style HR tools): the good ones apply the Article 51 tiers, the pro-rata part year and the two-year cap well, and several still ask about limited versus unlimited contracts, a distinction the 2021 law abolished, or apply the repealed resignation reductions. They answer one jurisdiction only.
- India-only calculators (Razorpay, Aditya Birla Capital, Pocketful): polished on the 15/26 formula and the Rs. 20 lakh ceiling, with useful notes on the 4 years 8 months argument, but they cannot show an expatriate or a returning worker what the same career pays under Gulf rules.
- Saudi end-of-service calculators (Mukafi and similar): the strongest on resignation fractions under Article 85, which this tool openly does not model, but again one country and one law.
- Generic gratuity explainers (MiniToolLab and content guides): they print one universal formula, usually the Indian 15/26, and present it as if it were worldwide. It is not: the same service pays 2.3 times more under the Pakistan rule in the table above.
- The gap this page fills: six rule sets behind one set of dates and one salary, so the comparison is apples to apples, with the rounding trap, the salary basis for each country and the unmodelled resignation and scheme rules stated on the page instead of buried.
Frequently asked questions
It counts the whole days between your joining and leaving dates, converts them into years and months, rounds a leftover period of 6 months or more up to a full eligible year, tests the unrounded years against the selected country's minimum service, and then applies that country's formula to your last monthly salary. You get four outputs: total service, eligible years, the gratuity amount and an eligibility status, plus a written analysis of the result.
It depends on the rule set you pick: 1 year for the UAE, 2 years for Saudi Arabia, and 5 years for Pakistan, India, Bangladesh and the Other/Custom rule. Below the minimum the tool still shows your service and eligible years, but the status reads Not Eligible and the amount stays at zero.
Because the two figures are tested differently. Eligible years round up once the leftover period reaches 6 months, so 4 years 6 months shows 5 eligible years. Eligibility itself is tested on the unrounded whole years, so the same record is still below a 5-year minimum and pays nothing until the fifth full year is completed.
On basic salary only, following Article 51 of the UAE Labour Law: the daily basic wage (monthly basic salary divided by 30) is paid at 21 days per year for the first five eligible years and 30 days per year for every year after that, and the total is capped at 24 months of basic salary. Part years are counted with the tool's standard 6-month rounding rather than the law's exact pro-rata fraction.
Enter the figure the selected rule uses. India works on last drawn basic salary plus dearness allowance, the UAE works on basic salary alone with allowances excluded, and Saudi Arabia works on the last wage including fixed allowances. Pakistan and Bangladesh work on last monthly wages. Entering a full package where the rule wants basic salary will overstate the result.
In some countries, yes, and this tool does not ask how your employment ended, so it always pays the full formula amount. The clearest case is Saudi Arabia, where resigning pays one third of the award after 2 to 5 years of service, two thirds after more than 5 and under 10 years, and the full award at 10 years or more. In the UAE, resigning has not reduced gratuity since the 2021 Labour Law took effect.
Two of the six rule sets have a ceiling in this tool. India results are capped at Rs. 2,000,000, the Rs. 20 lakh limit in the Payment of Gratuity Act, and UAE results are capped at 24 months of basic salary, the two-year wage ceiling in Article 51. The Pakistan, Saudi Arabia, Bangladesh and Other/Custom branches apply no cap.
That is a labelling habit of the tool itself: the salary field and every output say "Rs." whatever rule set you choose. The arithmetic is unaffected, but a UAE result is in dirhams and a Saudi result is in riyals if that is the salary you entered. Treat the number as being in the currency of the salary you typed.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- The Official Portal of the UAE Government. End of service benefits for workers in the private sector. Accessed October 22, 2026.
- Bayzat. UAE Gratuity Calculation under Federal Decree-Law No. 33 of 2021. Accessed October 22, 2026.
- SK Legal Consultants. UAE Gratuity and End of Service Benefits under Article 51. Accessed October 22, 2026.
- Indian Kanoon. The Payment of Gratuity Act, 1972: Section 4, Payment of Gratuity (text via Indian Kanoon). Accessed October 22, 2026.
- Indian Kanoon. The Payment of Gratuity Act, 1972: Section 4(2), Fifteen Days Wages and the 26-Day Month (text via Indian Kanoon). Accessed October 22, 2026.
- Government of Pakistan. The Industrial and Commercial Employment (Standing Orders) Ordinance, 1968. Accessed October 22, 2026.
- OECD. Saudi Arabia: Employment Protection Indicators, Labour Law Articles 84 and 85. Accessed October 22, 2026.
- Connect Resources. End of Service Benefits in Saudi Arabia: Article 84 Award and Article 85 Resignation Tiers. Accessed October 22, 2026.
- The Lawyers & Jurists. The Bangladesh Labour Act, 2006: Chapter II, Definition of Gratuity. Accessed October 22, 2026.
- Mondaq. Labour and Employment Comparative Guide: Bangladesh Severance and Gratuity. Accessed October 22, 2026.
