To calculate gratuity in the UAE, take the employee's last basic monthly salary, divide it by 30 to get the daily wage, then multiply by 21 days for each of the first five years of service and 30 days for each year after that. Part years count pro rata once the employee has served one full year, unpaid absence is taken out of the service period, and the total can never exceed two years' wage. These are the rules of Article 51 of Federal Decree-Law No. 33 of 2021, the UAE Labour Law, as they stand in November 2026.
The calculator covers full-time expatriate employees on the UAE mainland. Emiratis, part-time staff and companies in DIFC or ADGM follow different rules, covered further down.
The gratuity formula in one table
| Service completed | Gratuity |
|---|---|
| Less than 1 year | None |
| 1 to 5 years | 21 days of basic salary for each year |
| More than 5 years | 21 days for each of the first 5 years, plus 30 days for each year after |
| Part of a year (after year 1) | Pro rata for the time worked |
| Any length | Total capped at two years' wage |
Gratuity is earned on the basic salary only, is the same on resignation or termination, and must be paid within 14 days of the contract ending.
How to calculate gratuity step by step
Step 1: Use the last basic salary
Article 51(5) says gratuity is calculated on the last basic wage the employee was entitled to. The law defines basic wage as the wage in the contract "which does not include any other allowances or benefits in-kind." Housing, transport, phone and education allowances are out. If the employee got a raise in their final year, use the new basic.
This is why the split in the offer letter matters so much. An employee on AED 15,000 a month with AED 7,500 basic earns gratuity on AED 7,500.
Step 2: Turn it into a daily wage
Article 67 of the law says a month counts as 30 days and a year as 365 days. So the daily basic wage is:
Daily wage = monthly basic salary ÷ 30
On AED 8,000 basic that is AED 266.67 a day. Some payroll teams use basic × 12 ÷ 365 instead (AED 263.01 here), which pays about 1.4% less; the ÷ 30 method follows the law's own definition of a month and is the one used in this article and calculator.
Step 3: Count the service
Count from the first working day to the last working day. Then:
- take out every day of unpaid absence or unpaid leave (Article 51(4) and Article 33(2));
- check the result is at least one full year of continuous service, or no gratuity is due;
- express any part year as days out of 365.
Paid annual leave, paid sick leave and public holidays are part of service. The probation period also counts: Article 9(2) says it "shall be counted within the term of service."
Step 4: Apply 21 and 30 days
Multiply the years (with the fraction) by 21 days, up to five years. For every year beyond five, use 30 days. Add the days together and multiply by the daily wage.
Step 5: Check the cap
Article 51(6) caps the total at two years' wage. Applied to the basic salary, that is 24 months of basic pay, or 720 days. A worker reaches it only after about 25 years and 6 months, so most settlements never touch it.
Worked examples
3 years and 4 months on AED 8,000 basic
Aisha is a marketing coordinator in Dubai. Her package is AED 13,500 a month, of which AED 8,000 is basic. She worked from 1 January 2023 to 30 April 2026.
- Daily wage: 8,000 ÷ 30 = AED 266.67
- 3 full years × 21 days = 63 days
- The extra 4 months (120 days): 120 ÷ 365 × 21 = 6.90 days
- Total: 69.90 days × 266.67 = AED 18,641.10
If you pro-rate the 4 months as 4/12 of a year instead of days out of 365, you get 70 days and AED 18,666.67. The difference is small; what matters is using one method consistently.
7 years on AED 12,000 basic
Rajesh is a site engineer in Abu Dhabi on AED 12,000 basic, with exactly 7 years of service.
| Part | Calculation | Amount |
|---|---|---|
| Daily wage | 12,000 ÷ 30 | AED 400 |
| First 5 years | 5 × 21 days = 105 days × 400 | AED 42,000 |
| Years 6 and 7 | 2 × 30 days = 60 days × 400 | AED 24,000 |
| Total | 165 days | AED 66,000 |
The cap would be 24 × 12,000 = AED 288,000, far above.
When the cap applies: 28 years on AED 10,000 basic
Omar has worked for the same trading company in Sharjah for 28 years and earns AED 10,000 basic. The formula gives 105 days for the first five years plus 690 days for the next 23, so 795 days × AED 333.33 = AED 265,000. The cap of 24 × 10,000 brings it down to AED 240,000.
Leaving before one year
Fatima, a receptionist, resigns after 11 months. She gets no gratuity. She is still owed her salary to the last day, and pay for unused annual leave (two days for each month after six months of service, see annual leave in the UAE).
Resignation, termination and dismissal
Under the old Federal Law No. 8 of 1980, an employee who resigned from an unlimited contract lost a third or two thirds of their gratuity depending on service. The 2021 law dropped those reductions. Article 51 gives the same benefit to any full-time expatriate worker who completed a year of service, whatever the reason the contract ended: resignation, termination, the end of a fixed term or mutual agreement.
Two cautions for HR:
- Old unlimited contracts. Article 68(3) lets an employer calculate the gratuity for an old unlimited contract made under the 1980 law according to that contract and the 1980 law. If a long-serving employee's contract dates from before 2 February 2022, check how and when it was converted before you settle.
- Notice still matters. An employee who leaves without serving the agreed notice period owes the employer compensation equal to the wage for the unserved notice (Article 43(3)). That is a separate claim; the gratuity formula itself does not change.
Unpaid leave and other days that do not count
Only days of unpaid absence come out of the service period. In practice these are:
- unpaid leave agreed with the employer (Article 33);
- the extra unpaid days after maternity leave for illness linked to pregnancy or birth (Article 30(2) says these are not part of service for gratuity);
- days of unauthorised absence for which no salary was paid.
Go back to Aisha. If she took 20 days of unpaid leave in 2025, her counted service drops from 1,215 days to 1,195 days, and her gratuity falls from AED 18,641.10 to AED 18,334.25.
The hard part is rarely the formula. It is knowing, at the final settlement, how many unpaid days someone took over several years, when the record lives in emails and a spreadsheet. A leave system that records every request as paid, unpaid or sick, with the approval attached, gives you that number in one place; Mudaber's leave requests and balances work this way.
Leave requests with balances and approvals, attendance, roles and onboarding, in the app your team already works in.
Part-time, temporary and flexible contracts
Article 30 of the Executive Regulations (Cabinet Resolution No. 1 of 2022) sets the rule for part-time and job-sharing contracts:
- Divide the yearly working hours in the contract by the yearly hours of a full-time contract.
- Multiply by 100 to get a percentage.
- Apply that percentage to the gratuity a full-time employee would get.
A part-time bookkeeper contracted for 20 hours a week, in a company where full time is 40 hours, gets 50% of the full-time figure. On AED 6,000 basic and 3 years of service, full-time gratuity would be 63 days × AED 200 = AED 12,600, so she gets AED 6,300.
Temporary work contracts, and any arrangement shorter than a year, earn no gratuity (Article 30(2) of the Executive Regulations).
When gratuity must be paid, and what can be deducted
The employer must pay wages, gratuity and every other entitlement within 14 days of the end of the contract (Article 53). An employee who is not paid can file a claim with the Ministry of Human Resources and Emiratisation (MOHRE).
Article 51(7) and Article 29 of the Executive Regulations allow the employer to deduct amounts the employee owes under the law or a court judgment. These include:
- unpaid loans and amounts paid above what the employee was due;
- penalties under the company's MOHRE-approved list of penalties;
- debts ordered by a court;
- the cost of damage the employee caused by their own fault or by breaking instructions.
Keep the paperwork. A deduction you cannot document is one MOHRE can reverse.
Emiratis, free zones and the savings scheme
UAE nationals
Article 51(1) says Emirati employees get their end of service benefits under the pensions and social security law, not the 21/30-day formula. The employer registers them with the pension authority and pays contributions every month instead.
DIFC and ADGM
The Dubai International Financial Centre and Abu Dhabi Global Market have their own employment laws. Since 1 February 2020, DIFC employers no longer accrue gratuity; they pay monthly into a funded savings plan (DEWS or another qualifying scheme) of at least 5.83% of basic salary for staff with under five years of service and 8.33% after that. ADGM applies its own Employment Regulations. If you employ people in either, use their rules, not this calculator.
The voluntary savings scheme on the mainland
Cabinet Resolution No. 96 of 2023 created an optional alternative to gratuity for the private sector and free zones. A company that joins pays a monthly contribution into a fund approved by the Securities and Commodities Authority: 5.83% of the basic salary for employees with under five years of service and 8.33% after five years. The employee receives the contributions and any returns within 14 days of leaving.
Those percentages are not random: 5.83% is 21 days out of 360, and 8.33% is 30 out of 360. They fund the same benefit month by month. When a company enrols someone, it must first calculate and settle the gratuity earned up to that date.
Checklist for HR before the final settlement
- Confirm the last basic salary in the contract and the latest salary change.
- Fix the first and last working days, and count unpaid leave and unpaid absence from the leave records.
- Check the service is at least one year, then run the numbers in the calculator above.
- Add unused annual leave, calculated on basic salary, and the final salary to the last day.
- Subtract documented deductions only, and settle any unserved notice as a separate item.
- Pay within 14 days of the contract ending, through the Wage Protection System where it applies.
- For long-serving staff hired before February 2022, check how the old unlimited contract was converted.
To plan the rest of the exit, see the employer's guide to UAE labour law, and for extra hours that sit outside gratuity, overtime calculation in the UAE.
Questions people ask
Is UAE gratuity calculated on basic salary or total salary?
On the basic salary only. Article 51 of Federal Decree-Law No. 33 of 2021 uses the last basic wage, so housing, transport and other allowances are left out unless the contract makes them part of the basic wage.
Do I get gratuity if I resign in the UAE?
Yes, if you have completed at least one year of continuous service. The 2021 labour law has no reduction for resignation, so the amount is the same as if the employer ended the contract.
Is gratuity paid if I worked less than one year?
No. Gratuity starts only after one full year of continuous service. Unused annual leave and the final month's salary are still due.
How long does an employer have to pay gratuity in the UAE?
14 days from the end of the contract. Article 53 requires the employer to pay wages, gratuity and every other entitlement within that period.
Does unpaid leave reduce gratuity?
Yes. Days of unpaid absence are not counted as service under Article 51(4), so 20 days of unpaid leave take 20 days off the service period used in the formula.
What is the maximum gratuity in the UAE?
The total cannot exceed two years' wage. Using the basic salary, that limit is reached only after about 25 and a half years of service.
Sources
- Federal Decree-Law No. 33 of 2021 Regarding the Regulation of Employment Relationships and its amendments (u.ae)
- Cabinet Resolution No. 1 of 2022 on the Executive Regulations of Federal Decree-Law No. 33 of 2021 (UAE Legislation)
- End of service benefits for workers in the private sector (u.ae, updated 6 October 2025)
- Cabinet Resolution No. 96 of 2023 Regarding an Alternative End of Service Benefits System (u.ae)
- DIFC unveils new employee workplace savings plan (Dubai Media Office)
This article is general information, not legal advice. Laws and official rates change: check the official source or a qualified adviser before you act.