If you are planning to resign, switch jobs, or close a contract, knowing your likely end-of-service payout helps you plan your budget. This guide explains the exact formula behind a gratuity calculator UAE users rely on, plus practical examples and common edge cases (partial years, unpaid leave, and terminations).
For official references and the latest labour updates, you can also consult the Ministry of Human Resources & Emiratisation (MOHRE) official website and the UAE government’s overview of private-sector labour law.
What is end-of-service gratuity in the UAE?
End-of-service gratuity (EOSG) is a lump-sum payment an eligible employee receives when their employment ends in the UAE private sector. It is generally calculated based on your basic salary (not total salary), your completed service duration, and the applicable rules under UAE labour law.
In most cases, gratuity becomes payable once you complete at least one year of continuous service. If you are handling your exit process, it’s also useful to understand how gratuity fits into your broader visa cancellation and final settlement items (salary, unused leave, deductions, and final pay timelines).
Before you calculate: the inputs you need
A tool-style gratuity estimate is only as accurate as the data you enter. Gather these details first:
- Basic salary (as per your contract/payroll; allowances are usually excluded)
- Start date and last working date (or contract end date)
- Unpaid leave days (if any), because they can reduce countable service time
- Termination type (resignation, termination, end of contract) and whether it involves a serious disciplinary dismissal
Gratuity calculator UAE formula (simple and standard)
The commonly used UAE gratuity calculation works in two bands:
- 21 days of basic pay per year for the first 5 years of service
- 30 days of basic pay per year for each year after 5 years
To convert “days” into money, most calculators use a 30-day month convention:
Daily basic pay = Basic salary ÷ 30
Then:
Gratuity amount = Daily basic pay × Total gratuity days
Important cap: In practice, gratuity is commonly subject to a maximum of two years’ wage (your total gratuity should not exceed the equivalent of 24 months of wage). Employers may also offset certain lawful dues (for example, approved loans) from final settlement according to policy and legal limits.
How to calculate gratuity days (first 5 years vs after 5 years)
Calculate countable service in years (and fractions of a year), then apply the correct band:
- If service ≤ 5 years: Total gratuity days = 21 × years of service
- If service > 5 years: Total gratuity days = (21 × 5) + (30 × (years of service − 5))
For partial years, most calculators prorate:
Prorated gratuity days = Days-per-year rate × (months of service ÷ 12)
Quick step-by-step gratuity calculation (like a calculator)
Use these steps to estimate your gratuity quickly:
- Step 1: Confirm your basic salary (AED).
- Step 2: Compute your countable service duration (years + months). Exclude unpaid leave if applicable.
- Step 3: Compute gratuity days using the 21/30-day rules.
- Step 4: Calculate daily basic pay = basic salary ÷ 30.
- Step 5: Multiply daily basic pay × gratuity days.
- Step 6: Check the “two years’ wage” cap if your service is very long or salary is high.
If you want to compare results with another estimator, you can cross-check with our related end-of-service calculator UAE guide, which covers how final settlements often combine gratuity, leave encashment, and last salary.
Worked examples (with numbers)
Example 1: 3 years of service (basic salary AED 3,000)
Inputs: Basic salary = 3,000 AED; service = 3 years.
Step 1 (gratuity days): 21 × 3 = 63 days
Step 2 (daily basic pay): 3,000 ÷ 30 = 100 AED/day
Estimated gratuity: 63 × 100 = AED 6,300
Example 2: 7 years of service (basic salary AED 5,000)
Inputs: Basic salary = 5,000 AED; service = 7 years.
Step 1 (gratuity days):
- First 5 years: 21 × 5 = 105 days
- Remaining 2 years: 30 × 2 = 60 days
- Total = 165 days
Step 2 (daily basic pay): 5,000 ÷ 30 = 166.67 AED/day (approx.)
Estimated gratuity: 165 × 166.67 ≈ AED 27,500
Example 3: 5 years and 6 months (basic salary AED 8,000)
Inputs: Basic salary = 8,000 AED; service = 5.5 years.
Step 1 (gratuity days):
- First 5 years: 21 × 5 = 105 days
- Next 0.5 year: 30 × 0.5 = 15 days
- Total = 120 days
Step 2 (daily basic pay): 8,000 ÷ 30 = 266.67 AED/day (approx.)
Estimated gratuity: 120 × 266.67 ≈ AED 32,000
What salary is used: basic vs total salary?
Most gratuity calculations are based on your basic salary only. Allowances (housing, transport, etc.) are usually not included unless your contract and payroll structure define them as part of wage for EOSG purposes. If your offer letter differs from your MOHRE contract, confirm which “basic” is officially registered.
How unpaid leave and absences can affect gratuity
Many employees assume gratuity is purely “years × salary,” but unpaid leave can reduce the countable service period (because it may not count as paid service time). If you had extended unpaid leave, you may need to subtract those days from your service duration before converting into years/months.
Separately, your final settlement may also include unused annual leave encashment. If you’re estimating that part too, see our guide on leave salary calculation in UAE to avoid mixing up leave pay with gratuity pay.
Resignation vs termination: does it change the gratuity amount?
In many typical scenarios, once you are eligible (often after one year), the same 21/30-day structure is used regardless of whether you resign or your contract ends, as long as the separation is lawful. However, certain dismissal scenarios (for serious misconduct under relevant labour provisions) can impact entitlement.
Because the exact outcome depends on your contract type, the reason for separation, and current rules, treat calculator results as an estimate and confirm your situation with HR or official guidance.
Common mistakes when using a gratuity calculator UAE tool
- Using total salary instead of basic salary: This is the most common reason estimates look too high.
- Ignoring partial years: Many people forget to prorate months.
- Not subtracting unpaid leave: This can overstate service time.
- Forgetting the cap: Long service can push totals near the two-year wage maximum.
- Mixing gratuity with other final dues: Leave encashment and last salary are separate items.
Checklist: what to prepare for your final settlement
To make the settlement process smoother, keep these ready:
- Your employment contract and any amendments
- Your latest payslip showing basic salary
- Your leave balance (HR statement)
- Resignation letter / termination letter and last working day confirmation
- Any loan/advance statements (if applicable)
If you are still drafting your notice, you may want a clean template that aligns with workplace norms: resignation letter sample UAE.
FAQs: Gratuity Calculator UAE
Is gratuity paid if I worked less than 1 year?
In many cases, employees must complete at least one year of continuous service to qualify for end-of-service gratuity. If you worked less than a year, you may still receive other dues (e.g., pending salary), but gratuity may not apply depending on your situation and contract.
How do I calculate gratuity for 2 years and 3 months?
Convert service into years: 2 years + (3/12) = 2.25 years. If you’re within the first 5 years band, gratuity days ≈ 21 × 2.25 = 47.25 days. Then multiply by daily basic pay (basic salary ÷ 30). Many employers round according to payroll policy.
Does gratuity include allowances like housing and transport?
Typically, gratuity is calculated on basic salary only. Allowances are usually excluded unless they are explicitly treated as part of wage for EOSG in your contract/payroll structure.
What if my employer calculates using 26 days instead of 30?
Some internal payroll systems use different conventions for daily rates (e.g., working days). For gratuity calculators, the most common approach is basic salary ÷ 30 to convert monthly basic salary into a daily figure. If your HR uses a different method, ask them to show the exact policy and legal basis used.
Can gratuity be reduced or not paid at all?
In certain serious termination scenarios or where the law allows forfeiture, gratuity can be impacted. Also, final settlement may reflect lawful deductions (e.g., confirmed outstanding amounts). For clarity in disputes, refer to MOHRE guidance or seek professional advice.
Is gratuity the same as final settlement?
No. Gratuity is one component of your final settlement. Your final settlement may include last salary, overtime (if applicable), leave encashment, gratuity, and deductions. If you are exiting the UAE, align this with your visa and work permit steps in the final settlement process so you don’t miss timelines.
Summary
A reliable gratuity estimate comes down to three things: (1) your basic salary, (2) your countable service duration, and (3) applying the 21 days (first 5 years) / 30 days (after 5 years) formula with prorating for partial years. Use the examples above to sanity-check your numbers, and always verify final figures with HR and official sources.
