We miscalculated gratuity for 9 engineers — the 7 steps that fixed our UAE payroll for good
Daniel Okonkwo
People Operations Lead, Gulf region · August 6, 2026
The error was not in the formula. Everyone gets the formula right — it is published, it is simple, and it takes four minutes to find. Our error was in what we fed into it: we had been calculating on total package instead of basic salary, across nine engineers, for two and a half years.
TL;DR
- • Gratuity is calculated on basic salary only — not housing, transport or allowances. Engineering packages often set basic at 50–60% of total, so the gap is large.
- • Standard entitlement: 21 days of basic pay per year for the first five years, 30 days per year thereafter, capped at two years’ total pay.
- • Accrue monthly. A ten-person team with three years’ average tenure carries a six-figure dirham liability that comes due at the worst possible moment.
- • Audit twice a year. Our nine-person error was invisible for 30 months because nobody re-ran the numbers after the first setup.
Step 1 — Isolate basic salary from the total package
This is where the money is, and where nearly every mistake originates. UAE end-of-service gratuity is calculated on basic salary. Housing allowance, transport allowance, phone allowance, education support and any variable component are excluded.
Engineering offers in Dubai and Abu Dhabi are typically structured with basic salary somewhere between 50% and 60% of the total monthly package. If you calculate on the total, you over-provision by roughly 40–50%. If your contracts are ambiguous about the split — and older contracts frequently are — you have a dispute waiting to happen at exit.
The practical action: pull every engineering contract and record the basic salary as a separate field in your payroll system, not as a derived percentage. Derived percentages break silently the first time someone negotiates a package with a different structure.
Step 2 — Establish continuous service length precisely
Service runs from the first day of employment to the last day of employment, including the notice period whether or not it is worked. Two details catch people out.
Probation counts. Time served during probation is part of continuous service. Teams that mentally start the clock at confirmation understate every calculation by three to six months.
Internal transfers between group entities usually break continuity unless the transfer explicitly preserves it. If you moved engineers between a free-zone entity and a mainland entity — a common restructuring in growing UAE companies — check what the transfer documentation actually said. We found two engineers whose service had been silently reset.
Step 3 — Apply the correct daily-wage multiplier
The standard structure is straightforward once basic salary is fixed: 21 days of basic pay for each of the first five years of service, and 30 days of basic pay for each year beyond five. The total is capped at two years’ pay.
Daily wage is basic monthly salary divided by 30. Partial years are pro-rated on completed months, and service under one year generally attracts no entitlement.
Step 4 — Check the treatment for resignation versus termination
This is the area where published guidance ages fastest, and where I would urge caution rather than confidence.
Historically, UAE law reduced gratuity for employees who resigned before completing five years, on a sliding scale. Successive reforms to the labour framework have substantially changed this treatment for standard contracts, largely removing the resignation penalty.
The safe operating rule: do not apply a remembered rule. Check the entitlement against the employee’s actual contract type and start date, because employees hired under earlier frameworks may sit under different transitional arrangements than recent hires. If you have engineers with start dates spanning a reform boundary, get the position confirmed in writing once and record it per employee.
Not sure your gratuity provision is right?
We help UAE engineering employers rebuild their end-of-service calculation from contracts up, and set the monthly accrual so exits stop being cash-flow events.
Get startedStep 5 — Deduct non-qualifying periods
Unpaid leave does not count toward service. For engineering teams this matters more than you would expect, because extended unpaid leave shows up in three common situations: sabbaticals, extended personal leave for relocation or family reasons, and gaps between visa transfers.
Record unpaid days at the time they occur, not retrospectively. Nobody reconstructs 2023’s unpaid leave accurately in 2027. A single field in your leave system, maintained monthly, removes the entire problem.
Paid annual leave, sick leave within entitlement, and public holidays all count normally — no adjustment needed.
Step 6 — Accrue monthly instead of paying from cash flow
This is the step that changes how the business feels, and it is independent of getting the formula right.
Gratuity is a liability that grows every month whether or not you record it. A ten-person engineering team on typical Dubai senior packages, with three years of average tenure, carries a liability comfortably into six figures in dirhams. It becomes payable at the single worst moment: when a senior engineer resigns and you are simultaneously paying to replace them.
The mechanic is simple. Each month, calculate the incremental accrual per employee and post it as a liability. Many UAE employers now go further and fund the provision into a segregated savings arrangement, which removes the temptation to treat the balance as working capital.
Teams that skip this end up delaying final settlements. In a hiring market as small and well-connected as the UAE’s engineering community, a reputation for slow final settlement costs you candidates — and it is the kind of thing that circulates in exactly the networks you are trying to recruit from.
Step 7 — Audit the provision twice a year
Our nine-person error survived thirty months because nobody re-ran the calculation after the initial setup. The setup was done carefully, by a competent person, and it was wrong from day one.
A twice-yearly audit takes about two hours and checks five things: basic salary matches the current contract (people get raises, and the split often changes with them); service dates match the HR record; unpaid leave has been deducted; the multiplier tier is correct for anyone crossing the five-year boundary; and the accrued balance matches the recalculated entitlement.
The five-year boundary deserves particular attention, because it is the only moment the accrual rate changes — from 21 to 30 days per year — and it is easy to miss on a team where nobody has yet crossed it. Set a calendar reminder per employee.
One last point that sits outside the formula. If you run a mixed team — some engineers on UAE contracts, others engaged through entities elsewhere — you will have people doing identical work with materially different end-of-service outcomes. That is legally fine and culturally corrosive. Decide deliberately how to handle it, the same way teams in Singapore handle CPF asymmetry and teams in Japan handle the social insurance split. Our guide on building a UAE engineering team covers the package design that avoids the problem in the first place.
Frequently Asked Questions
Is gratuity calculated on basic salary or total salary?+
How does the calculation change between resignation and termination?+
Should gratuity be accrued monthly or paid from cash flow at exit?+
Do remote engineers employed through an entity outside the UAE accrue gratuity?+
The formula is public. Getting the inputs right is the job.
We rebuild UAE gratuity provisions from the contracts up and set the monthly accrual, so your next senior exit is an HR event rather than a finance emergency.
Get started