I build free, privacy-first web tools as Loona Automation. The newest one is a set of salary and tax calculators, and the first calculator I built — UAE end-of-service gratuity — taught me something surprising: a large share of the gratuity calculators on the web still apply a law that was abolished in 2022.
The current law (Federal Decree-Law 33/2021, Article 51)
For a full-time foreign private-sector employee with at least 1 year of continuous service:
Daily basic wage = last monthly basic salary ÷ 30. Basic only — housing, transport and allowances do NOT count.
First 5 years: 21 days of basic wage per year.
Every year after the 5th: 30 days of basic wage per year.
Part-years are pro-rated.
Total gratuity is capped at 2 years' wage.
The employer must pay within 14 days of the contract ending (Article 53).
Formula: Gratuity = (Basic/30 × 21 × min(years,5)) + (Basic/30 × 30 × max(years−5,0)), capped at 24 × monthly basic.
Worked example: basic salary AED 10,000, 7 years of service → (10,000/30 × 21…