One of the most searched questions by employees leaving a job in the UAE is a simple one: how end-of-service gratuity is calculated. The answer matters because gratuity is often the single largest payment you receive when employment ends, and small misunderstandings about the formula can quietly cost you thousands of dirhams.
The good news is that the calculation is not left to your employer’s discretion. It follows a fixed formula in the UAE Labour Law (Federal Decree-Law No. 33 of 2021), built on three things only: your basic salary, your length of continuous service, and whether that service crosses the five-year mark. This guide walks through the formula step by step, so you can check any figure you are given instead of taking it on trust.
Quick Answer
End-of-service gratuity in the UAE is calculated at 21 days of basic salary for each year of the first five years of service, and 30 days of basic salary for each year beyond five years. Your daily basic wage is your monthly basic salary divided by 30. Partial years are paid pro rata, unpaid leave and unauthorised absence are excluded from the service period, and the total payout cannot exceed two years of basic salary.
How End-of-Service Gratuity Is Calculated: The Official Formula
Strip away the jargon and the formula has four steps:
- Find your daily basic wage. Take your monthly basic salary and divide it by 30. The law uses 30 as the standard number of days in a month, regardless of the actual calendar month.
- Work out the rate for each year. For each of your first five years of service, you earn 21 days of basic wage per year. From the sixth year onwards, you earn 30 days of basic wage per year.
- Multiply by your years of service. Multiply the yearly amount by the number of full and partial years you worked, with partial years calculated proportionally.
- Apply the cap. If the result is higher than two years of your basic salary, the payout is capped at that amount.
That is the entire calculation. Everything else — the common mistakes, the disputes, the surprises at final settlement — comes from getting one of the inputs wrong, which is why each input deserves its own look. Our main end-of-service gratuity guide covers the wider picture of eligibility, payment timing and disputes.
Input 1: Your Basic Salary (Not Your Total Salary)
This is where most calculation errors begin. Gratuity is calculated on your basic salary — the fixed component of your pay — and nothing else. Housing allowance, transport allowance, commissions, bonuses, overtime and any other allowances are excluded.
Take an employee earning AED 20,000 a month in total: AED 9,000 basic plus AED 11,000 in allowances. Her gratuity is based on the AED 9,000 basic salary alone. Employees who assume the full AED 20,000 counts are in for a shock at final settlement, because the difference over several years runs into tens of thousands of dirhams.
How do you know your basic salary? It should be stated in your employment contract and on your salary certificate. If your contract only shows a total figure with no breakdown, that is worth clarifying with your employer or HR department before you leave, because the basic-salary figure is the foundation of the whole calculation. For a deeper look at how the salary figure feeds into the numbers, see our guide on how to calculate gratuity based on salary.
Input 2: Your Length of Service
The service period runs from your first day of work to your last working day, and it must be continuous — with the same employer. Three rules shape how it is counted:
- The one-year threshold. You become entitled to gratuity only after completing one full year of continuous service. Leave at eleven months and there is no gratuity; leave at one year and one day and you are entitled.
- Unpaid leave does not count. Days of absence without pay are excluded from the service period, effectively shortening the period the gratuity is based on.
- Probation counts if you stay. If your employment continues after probation, the probation period forms part of your continuous service — it is not chopped off the start.
Fractional years are paid proportionally. Five years and six months of service earns the full five-year amount plus half a year at the higher 30-day rate. You do not need to complete whole years to earn the extra months.
Input 3: The 21-Day and 30-Day Rates
The rate steps up after five years, which is the single most important feature of the formula:
| Length of continuous service | Gratuity per year of service |
|---|---|
| Less than 1 year | No gratuity |
| 1 to 5 years | 21 days of basic wage per year |
| More than 5 years | 21 days per year for the first 5 years, then 30 days per year for each additional year |
The step-up rewards long service. Someone with six years of service earns 21 days for each of the first five years and 30 days for the sixth — not 30 days for all six. Getting this wrong in either direction is one of the classic calculation errors.
A Worked Example
Put it together with a concrete case. An employee has a basic salary of AED 12,000 and worked for exactly 5 years:
- Daily basic wage: AED 12,000 ÷ 30 = AED 400
- Yearly gratuity: AED 400 × 21 days = AED 8,400
- Total: AED 8,400 × 5 years = AED 42,000
Now the same employee with 7 years of service:
- First 5 years: AED 8,400 × 5 = AED 42,000
- Years 6–7: AED 400 × 30 days × 2 = AED 24,000
- Total: AED 66,000
The Two-Year Cap
No matter how long you serve, your total gratuity cannot exceed two years of your basic salary. For most employees this cap never bites — you would need roughly three decades of service to approach it — but it matters for very long-serving staff. With a basic salary of AED 10,000, the cap is AED 240,000 (AED 10,000 × 24 months); any formula result above that is reduced to AED 240,000.
When Gratuity Can Be Reduced or Lost
The formula gives the gross entitlement, but the law allows adjustments in specific cases:
- Amounts owed to the employer. Genuine, documented debts to the employer — such as an unpaid loan or advance — can be deducted from the final settlement.
- Serious misconduct. If employment is terminated for one of the serious causes set out in the Labour Law, the employer may withhold or reduce the gratuity. This is a high bar and cannot be applied casually.
- Resignation no longer reduces it. Under the old limited/unlimited contract system, resigning early could cut your gratuity. Since February 2022 all private-sector contracts are fixed-term, and that reduction no longer applies — resignation, dismissal and contract expiry are all treated the same for calculation purposes.
Separately, final dues including gratuity are supposed to be paid within 14 days of the employment ending. If your employer stalls or the figure looks wrong, that is the point to raise it formally rather than sign a settlement you disagree with.
Who the Standard Formula Covers
The 21/30-day formula applies to full-time private-sector employees under the Labour Law. Some groups sit outside it: domestic workers are covered by a separate domestic workers law with its own end-of-service rules, government employees follow public-sector regulations, and employees in certain financial free zones (such as the DIFC) fall under workplace-savings schemes instead of the standard gratuity. If you are unsure which regime covers you, check our guide on who is eligible for end-of-service benefits, and confirm your contract type against the UAE employment contract types in force since 2022.
Common Calculation Pitfalls
Most gratuity disputes trace back to one of a handful of errors. Watch for these before you accept a final figure:
- Using total salary instead of basic salary. The most expensive mistake, and the most common.
- Applying 30 days to all years. The higher rate only applies from year six onwards.
- Ignoring the pro-rata rule. Partial years count — eight extra months is eight months of entitlement, not a rounding error.
- Counting unpaid leave as service. Unpaid days drop out of the service period.
- Forgetting the cap check. Rare, but decisive for long-serving employees.
We have collected these and more in our roundup of gratuity calculation mistakes to watch for — run through it as a checklist against any figure HR hands you.
Frequently Asked Questions (FAQs)
Is gratuity calculated on basic salary or gross salary?
Basic salary only. Allowances, commissions, bonuses and overtime are excluded from the calculation, which is why the figure on your final settlement often looks lower than people expect.
Do I get gratuity if I resign?
Yes. Provided you have completed at least one year of continuous service, resignation entitles you to the same gratuity as any other form of separation under the current fixed-term contract system.
What if my contract does not mention gratuity?
The entitlement comes from the Labour Law, not from your contract. An employer cannot contract out of it, and its absence from your paperwork does not remove your right to it.
Does my probation period count toward the service period?
Yes, as long as your employment continued after probation. It forms part of your continuous service and is included in the gratuity calculation.
Can my employer deduct money I owe from my gratuity?
Genuine documented debts to the employer, such as an outstanding loan or advance, can be deducted from the final settlement. Disputed or undocumented deductions are a different matter and can be challenged.
How quickly must gratuity be paid after I leave?
Final dues, including gratuity, are to be settled within 14 days of the employment ending. If payment is delayed well beyond that, you can raise the matter with the Ministry of Human Resources and Emiratisation.
The Bottom Line
How end-of-service gratuity is calculated comes down to a short, fixed recipe: divide your basic salary by 30 to get your daily wage, apply 21 days per year for the first five years and 30 days per year after that, add pro-rata credit for partial years, and cap the result at two years of basic pay. Run the numbers yourself before you sign anything — five minutes with a calculator is the cheapest insurance against an underpaid final settlement.
Last Updated: 8 October 2026
About the author: Asan Tata is a UAE-focused writer at Asantata34, covering driving, visas, banking, insurance and everyday UAE life. His guides are researched from official UAE government and regulator sources and updated regularly.
Asantata34 is an independent informational website, not affiliated with the UAE government or any agency mentioned; content is general information only, not legal, immigration or financial advice; verify critical details with official sources before acting.
Asan Tata is an independent information platform providing simple, practical guides on UAE visas, banking, insurance, driving licences, and government-related services. Our team researches information from reliable and official sources to make complex topics easier to understand.