An employee resigns after four years and expects a gratuity figure. Finance produces one. It is roughly a third of what the employee calculated. Both used the same formula.

The gap is almost never the formula. It is that end of service gratuity in the UAE is calculated on basic wage, and most packages in the Emirates are structured so that basic wage is a fraction of what lands in the bank each month.

The formula

Under Federal Decree-Law No. 33 of 2021 on the Regulation of Employment Relations, a worker who has completed one year or more of continuous service is entitled to end of service benefits:

  • 21 days' basic wage for each of the first five years of service
  • 30 days' basic wage for each year after that

Service of less than one full year attracts nothing. Part years beyond the first are calculated pro rata.

That is the whole formula. Everything that follows is about the inputs.

The input that causes the argument: basic wage

The entitlement is on basic wage. Not gross. Not total package.

A typical UAE offer separates basic wage from housing allowance, transport allowance and any other allowance. It is common for basic wage to be around half of the total, and structures where it is considerably less are not unusual. Gratuity is calculated on the basic component alone, so a package where basic is 40 per cent of gross produces a gratuity 60 per cent smaller than an employee assuming gross would expect.

This is not a trick, it is how the law is written, but it is the single most common source of a bad conversation on somebody's last day. The fix is not a payroll fix. It is telling people what their basic wage is, on the payslip, every month, so the number is familiar long before it matters.

The three other things that change the answer

Unpaid leave does not count as service. Periods of unpaid leave are excluded from the service calculation. Somebody who took three months unpaid across five years does not have five years of qualifying service. If you do not track unpaid leave separately from paid leave, you cannot compute this correctly, and you will overpay.

There is a cap. Total end of service benefit may not exceed two years' wage. It only binds on long service, but it binds absolutely, and a spreadsheet that multiplies out thirty years without applying it will produce a number you then have to withdraw.

Resignation no longer cuts the entitlement. Under the previous law, a worker who resigned before completing five years received a reduced fraction of their gratuity. The 2021 law removed that reduction. Any calculator, template or article written before that change will underpay a resigning employee, and there are still plenty of them in circulation. Check the date on whatever you are using.

Unpaid entitlements are separate

Gratuity is one line in a final settlement, not the whole of it. A complete settlement normally also includes:

  • Wages for days worked in the final period
  • Payment for accrued but untaken annual leave
  • Any repatriation cost the contract or the law places on the employer
  • Less any outstanding advance or loan

Annual leave encashment is its own calculation with its own basis, and it is not folded into the gratuity figure.

Free zones, and why "the UAE" is not one answer

Several free zones operate their own employment regimes. The DIFC and the ADGM in particular have their own employment laws and their own end of service arrangements, and the DIFC has moved to a funded workplace savings scheme rather than an end of service lump sum calculated at exit.

So the first question is not how to calculate gratuity. It is which law the employment is under. A company with staff onshore and staff in the DIFC is running two different regimes and needs to know which employee is in which.

The order to do it in

Settlement disputes usually come from doing this in a sequence that hid something until it was too late to explain.

1. Confirm which law or free zone regime the employment falls under 2. Confirm the last working day and whether notice was served or paid 3. Establish the basic wage as at the end of service 4. Compute qualifying service, excluding unpaid leave 5. Apply 21 days per year for the first five years, 30 days per year beyond 6. Apply the two year cap 7. Add leave encashment and anything else owed, subtract advances 8. Show the employee the breakdown line by line before paying

Step eight is the one that saves you. A settlement paid as one figure invites a question you will be reconstructing three weeks later. A settlement paid with its working shown is rarely queried at all.

Caveats

Employment law in the UAE has changed materially and recently, and free zone regimes differ from the onshore law. Verify against the current text of the Decree-Law and its executive regulations, or against your free zone's own employment law, before relying on a figure.

This describes how the calculation is assembled. It is not legal advice. For a contested termination, or a settlement large enough to argue about, take advice locally.

Where the software fits

Work Mint holds the inputs an end of service calculation needs in one place: the joining date, the last working day, the salary structure with basic separated from allowances, unpaid leave tracked distinctly from paid, and any advances outstanding. Gratuity rules are configured per organization rather than fixed in the product, because a company with onshore and free zone staff needs more than one rule.

Payroll reports in 32 currencies, so a group running staff in Dubai, Karachi and London does not need three systems to see one payroll month.

If you want an end of service calculation modelled on your own salary structures, ask us at info@workmintpeople.com.

Sources: Federal Decree-Law No. 33 of 2021 on the Regulation of Employment Relations and its executive regulations, as published by the UAE Ministry of Human Resources and Emiratisation.