Dubai · Riyadh · Bahrain · Cairo · AmmanEN · AR

UAE gratuity calculator · End of service · 2026End of service gratuity in the UAE, worked out from the basic wage and the dates

Enter the last basic salary, the start and end dates and any unpaid leave. The gratuity calculator applies the UAE Labour Law the way a payroll system should, and shows the working. Our HR and payroll software computes the same settlement from the employee's own history.

Updated 23 Oct 2026Federal Decree-Law 33 of 2021Not legal advice
End of service gratuity · UAE · full-time, foreign employee
Gratuity due–
Service counted–
Daily wage–

Enter the basic salary and the dates. Fractions of a year are pro-rated by days; the total is capped at two years of basic wage.

The formula is short and the arguments about it are long. Below is the rule as the labour law states it in 2026, the edge cases HR teams ask about, and what a payroll system should do with them. The monthly side of UAE payroll, the salary file to the bank, is in our WPS guide.

The rule behind the gratuity calculator, in three lines

For a full-time foreign employee who has completed at least one year of continuous service, the employer owes an end of service gratuity of:

  • 21 days of basic wage for each of the first five years of service;
  • 30 days of basic wage for each year after the fifth;
  • pro-rated for any fraction of a year, and capped at two years of basic wage in total.

The basis is the last basic wage, without housing, transport or other allowances. The daily wage is the monthly basic divided by 30. That is the whole formula; everything else is about what counts as service and what may be deducted.

The daily wage

The law expresses gratuity in days of wage, and the executive regulations fix the day at one thirtieth of the monthly basic wage, whatever the calendar month. A basic salary of AED 12,000 gives a daily wage of AED 400; 21 days is AED 8,400 for each of the first five years, 30 days is AED 12,000 for each later year.

Years of serviceDays per yearGratuity on AED 12,000 basic
Under 10Nothing
1 to 521AED 8,400 per year
Above 530AED 12,000 per year
AnyCapAED 288,000 (24 months)

Fractions of a year

Once the first year is complete, every further fraction of a year is paid pro rata. Seven years and 219 days, for example, is five years at 21 days, two years at 30 days, and 219/365 of a year at 30 days. Payroll systems differ in whether they count the fraction by days or by completed months; the law says the fraction of the year, and days is the fairer reading.

The two-year cap

The total gratuity may not exceed the wage of two years, that is 24 months of basic salary. On the 21-and-30-day scale the cap is reached after roughly 25 and a half years of service, so it rarely applies, but a payroll system has to test for it on every settlement.

Unpaid leave and deductions

  • Unpaid absence is not counted as service. A month of unpaid leave moves the end date back by a month for the calculation.
  • Amounts owed by the employee to the employer, such as an outstanding loan or the value of an unreturned asset, may be deducted from the gratuity, within the limits the law sets for deductions.
  • Annual leave balance is paid separately, on the basic wage, and is not part of the gratuity.
  • Notice period served or paid in lieu counts as service if it was worked, and is paid separately if it was not.

Resignation and termination

Under the law in force before 2022, an employee who resigned from an unlimited contract lost part of the gratuity: a third of it between one and three years of service, two thirds between three and five. That reduction is gone. Since February 2022 the full amount is due after one year of service whoever ends the contract, unless the employment was terminated for one of the specific gross-misconduct reasons the law lists, and even then the position should be taken with legal advice.

Contracts signed before 2022. Service before the new law counts under the old rules for the period before it, and under the new rules after it, but the practical effect for most employees is the same formula on the whole period. Where an old contract promised more, the more generous term applies.

Who it applies to

EmployeeEnd of service
Foreign employee, mainland or most free zonesGratuity as above
UAE and GCC nationalsPension contributions to GPSSA or the home country's fund instead of gratuity
DIFC employeesThe DEWS savings plan replaced gratuity in 2020; monthly contributions of 5.83% or 8.33% of basic
ADGM employeesADGM's own employment regulations, with gratuity or an approved savings scheme
Employees enrolled in the voluntary savings schemeEmployer contributions to the fund replace the accrual from the date of enrolment; earlier service is settled under the formula
Part-time and job-shareGratuity in proportion to the hours worked, per the executive regulations

In the payroll run

A settlement is where a payroll system earns its keep. It should read the basic salary history rather than the current figure, count unpaid leave from the leave module, pro-rate the fraction by days, apply the cap, add the leave balance at the right rate, deduct the outstanding loans, and print a settlement the employee can check.

How CorporateStack does it

End of service by country, on the employee's own history

The HR & Payroll module computes the settlement from the file: the basic wage on the end date, the days of unpaid leave recorded, the leave balance from the same engine that counted it during service, the loans outstanding. The UAE formula, the Saudi half-and-full-month formula and the Egyptian rules are settings per country, and the settlement prints in Arabic and English.

EOS-26-0007 · Omar Saeed · 1 Mar 2019 to 30 Sep 2026UAE
Service · 7 years 216 days · unpaid 07.592 years
5 × 21 days + 2.592 × 30 days · daily 400.00AED 73,101
Leave balance 12 days + loan −4,800AED 73,101
See the HR & Payroll page

Questions we are asked

Is gratuity calculated on basic or total salary?

On the basic wage stated in the contract. Allowances are excluded unless the contract promises a more generous basis.

Does the employee lose gratuity by resigning?

No. Since February 2022 the full amount is due after one year of service, whoever ends the contract.

What about an employee who worked eleven months?

Nothing is due; the first year must be completed. From the first day of the second year the fraction is pro-rated.

When must it be paid?

Within 14 days of the end date, with the other end-of-service entitlements.

Your payroll runs this every month

A consultant sets up a UAE tenant, loads a sample of your employees with their salary and leave history, and shows a settlement with the formula, the deductions and the printout.

Book a demo