The Blog/Money/2026-10-21/6 min read

How to calculate end of service: the calculator steps, worked on one UAE salary from 1 to 20 years

An end of service calculator takes four inputs and runs five steps. Worked on an AED 12,000 basic salary in the UAE from one year to twenty, with the fraction-of-a-year and unpaid-leave steps most people skip, and the Saudi, Qatar, Kuwait and Bahrain formulas set beside it.

Watch this as a video

UAE Gratuity Calculator in Excel — 21 and 30 days per year, two-year cap · Masrofna · opens on YouTube

AED 73,729. That is the UAE end of service gratuity on a last basic salary of AED 12,000 for someone who joined on 1 March 2019 and leaves on 21 October 2026. To calculate end of service the way a calculator does, it needs four inputs: last basic salary, start date, end date, and any days of unpaid leave. It then runs five steps in a fixed order: daily rate, length of service, the 21-day tier, the 30-day tier, the cap. The steps below are the whole machine.

The rules are Article 51 of Federal Decree-Law 33 of 2021, the UAE Labour Law. Every UAE sentence in quotation marks below is copied from one page, "End of service benefits for workers in the private sector" on u.ae, the UAE government portal (updated 15 October 2026, read on 21 October 2026), the first entry in the references.

What does an end of service calculator actually ask for, and why?

Input 1, last basic salary. The page says the gratuity "is calculated on basis of last wage which the worker was entitled to, namely the basic salary. Hence, it will not include allowances such as housing, transportation, utilities, furniture etc." Step one turns the monthly basic into a daily one. The page does not fix a divisor; the usual convention is a 30-day month, so AED 12,000 ÷ 30 = AED 400 a day.

Inputs 2 and 3, the dates. Step two is the length of service. From 1 March 2019 to 21 October 2026 inclusive is 2,792 days. Divided by 365.25 that is 7.644 years. The fraction matters: "Workers are entitled to gratuity for fractions of a year, proportionate to the time served, provided they have completed one year of continuous service." Below one year the whole thing is zero: "If a worker has served for less than 1 year, he is not entitled to any gratuity pay."

Input 4, unpaid leave. "Days of unpaid absence are not included in service calculations." The calculator subtracts them from the day count before it divides, not from the money afterwards.

Then the three arithmetic steps, on 7.644 years and AED 400 a day:

  1. First five years at 21 days each: 5 × 21 × 400 = AED 42,000.
  2. Years after the fifth at 30 days each: 2.644 × 30 × 400 = AED 31,729.
  3. Add them: AED 73,729. Check against the cap, "the total gratuity shall not exceed the wage of 2 years", which is 24 × 12,000 = AED 288,000. Nothing happens.

Add twelve days of unpaid leave and service drops to 2,780 days, 7.611 years, and the gratuity to AED 73,335. A calculator that counts whole months instead of days gives AED 73,658. The law says "proportionate to the time served" and no more, so two honest calculators can differ by a few hundred dirhams.

The order is the formula. Daily rate, then days of service, then the tiers, then the cap. Swap any two and the number is wrong.

How does the number grow from year 1 to year 20 on the same salary?

In months of basic salary, 21 days is 0.7 of a month and 30 days is one month. So the first five years earn 3.5 months in total and every year after adds one. On AED 12,000:

years servedmonths of basicgratuity (AED)
10.78,400
53.542,000
64.554,000
108.5102,000
2018.5222,000

The line to notice is between year five and year six. Up to year five each year adds AED 8,400; from year six each adds AED 12,000. The 30-day rate "for each year of work following the first 5 years" applies only to those later years; the first five stay at 21 days. The two-year cap, 24 months, is not reached anywhere in this table. It needs 20.5 months after year five, about 25 and a half years of service, so for almost everyone the cap is a sentence in the law rather than a step in the calculation.

How is end of service calculated in Saudi Arabia, Qatar, Kuwait and Bahrain?

The same four inputs feed a different machine in each country. Colleagues at the trading company where I work who came from Riyadh or Doha still carry the old formula in their heads. The last column uses a 30-day month for Qatar and Kuwait.

countrybasetierscapafter 10 years, in months of the base
UAElast basic salary21 days per year for 5 years, then 30 days2 years' wage8.5
Saudi Arabialast wagehalf a month per year for 5 years, then one monthnone stated7.5
Qatarfinal basic salarynot less than three weeks per completed yearnone stated7.0
Kuwaitremuneration15 days per year for 5 years, then one month1.5 years' remuneration7.5
Bahrain, service before March 2024wagehalf a month per year for 3 years, then one monthnone stated8.5

Two rows carry a resignation step the UAE dropped in 2022. Saudi Arabia's Article 85 cuts the award for someone who resigns: "one third of the reward" between two and five years, "two thirds of the reward" from five to under ten, the full award from ten. Kuwait does the same at different points: "half of their end-of-service indemnities if they resign having completed between three and five years of service", two-thirds from five to ten, the full amount at ten. Qatar sets a floor, not a formula: the benefit "can be agreed between the parties provided it is not less than three weeks of the employee's final basic salary for each completed year of service".

Bahrain changed the machine. Under Resolution No. 109 of 2023, which "came into effect in March 2024", the employer pays the Social Insurance Organisation "4.2% of the employee's annual salary for each of the first three years of employment, and 8.4% of the employee's annual salary for subsequent years until termination", and the SIO pays the worker at the end, capped at the contributions paid in. Entitlements "accrued prior to March 2024" are "still required to be paid directly from the employer to employee" under the Article 116 tiers. A Bahrain calculator needs a fifth input, the date 1 March 2024, and runs a formula on each side.

Nationality never enters any of these. An Indian employee on a UAE contract is paid on the UAE row, not on India's formula, which the India gratuity post works through. The studio's Gulf pack has one tab per row and a Compare tab that runs the same salary and dates down all of them.

Building those tabs taught me that the arithmetic in each country takes about four cells. The work is in the inputs: which salary line, which dates, which days to strip out, and which side of a legal date the service falls on. Get those right and any calculator, or a sheet of paper, gives the same answer.

Sources

end of service calculatoruae gratuityend of service benefitsgulf gratuitylabour law uaebasic salary

← All posts

The product this post is about

Instant download, secure checkout, no subscription.

UAE Gratuity Calculator (Excel)
Federal Decree-Law 33/2021 — 21 and 30 days per year, two-year cap, unpaid leave deducted.
Global End-of-Service & Gratuity Pack — 8 countries (Excel)
UAE · Saudi Arabia · Qatar · Kuwait · Oman · Bahrain · India · UK. One workbook, a Compare tab that shows what the same salary and years pay in each.

Keep reading

Money - templates & calculators

How to calculate gratuity amount in the UAE: the figure earned so far, month by month, on one basic salary

The UAE gratuity amount is the last basic salary divided by 30, times 21 days a year for five years and 30 days after, pro-rata by day, capped at two years' wage. Worked on an AED 7,500 basic as a month-by-month running figure, an exact leaving date with unpaid leave, and a part-time contract.

2026-11-01 · 6 min read
gratuity calculationend of serviceUAE labour lawbasic salarypart-time gratuity
Money - templates & calculators

Gratuity calculator India 2026: which formula applies to an Indian employee in the UAE, worked on one salary

An Indian employee on a UAE contract is paid gratuity under UAE law, not India's. The 2026 India formula under the Code on Social Security (15 days over 26, six-month rounding, fixed-term after one year) and the UAE 21/30-day formula, both worked on the same salary and service.

2026-10-12 · 5 min read
gratuity calculator indiaindia gratuity 2026code on social securityuae gratuityend of service
Money - templates & calculators

Gratuity calculation in the UAE: has anything changed? The formula, the savings scheme and one raise worked both ways

UAE gratuity calculation has not changed since 2 February 2022: 21 days of basic salary a year for five years, 30 days after, capped at two years' wage. What changed is the optional savings scheme at 5.83% and 8.33% of basic a month, worked on one AED 8,000 salary.

2026-10-11 · 6 min read
uae gratuityend of service benefitssavings schemelabour law uaegratuity calculation