Comprehensive Calculator Guide
Last updated: August 2026
End-of-service gratuity is a statutory right under the Saudi Labour Law, calculated by a clear formula that changes sharply depending on how the employment ended. The gap is not marginal: an employee with three years of service on SAR 10,000 is owed SAR 15,000 if the contract ends or the employer terminates it, and SAR 5,000 if they resign. This calculator applies Articles 84 and 85 as written, and lets you compare both outcomes before you decide.
Who is entitled, and when
Gratuity is due when the employment relationship ends, whether by expiry of the contract, termination by the employer, or resignation, under conditions that differ in each case. The common requirement is that the relationship has actually ended; gratuity is not paid during service and does not accrue as an annual payment.
An employee with less than a full year is entitled pro rata where the contract expired or the employer ended it, so partial months are not lost. Resignation follows an entirely different rule, covered in the third section below.
These provisions apply to workers covered by the Labour Law in the private sector. Some categories, such as government employees and domestic workers, fall under separate regimes, so check which one governs your contract before relying on any calculation.
The base formula: Article 84
Article 84 provides for half a month's wage for each of the first five years of service, and a full month's wage for each year thereafter. Fractions of a year are calculated proportionally.
In practice, every year after the fifth is worth double a year before it. An employee on SAR 15,000 with twelve years whose contract ended is owed: the first five years at 5 x 7,500 = SAR 37,500, and the following seven at 7 x 15,000 = SAR 105,000, for a total of SAR 142,500.
Note that the last seven years alone make up roughly three quarters of the whole entitlement. This is the point most often missed by anyone considering a move shortly before completing five years.
Resignation: Article 85 and its three bands
Resignation does not cancel the gratuity but reduces it according to length of service. Article 85 gives a resigning employee one third of the gratuity where service has reached two consecutive years but not five, two thirds where it has reached five years but not ten, and the full amount at ten years or more.
An employee who resigns before completing two consecutive years receives nothing. This is the harshest line in the system and the most disputed: someone who resigns at one year and eleven months walks away with nothing, while one more month would have earned a third.
Calculate your service precisely before submitting a resignation. The difference between two nearby dates can be worth thousands, and the date difference calculator gives you the exact figure in days and months.
Same service, two very different outcomes
Take an employee on SAR 10,000 with three years of service. If the contract ends or the employer terminates: 3 x 5,000 = SAR 15,000. If the employee resigns: the same amount divided by three = SAR 5,000. A threefold difference driven by one factor, who ended the relationship.
At five years on SAR 8,000, the base gratuity is 5 x 4,000 = SAR 20,000, and a resigning employee receives two thirds = SAR 13,333. At ten years and beyond the two cases converge completely, since a resigning employee then receives the full amount.
This is why anyone approaching ten years is advised not to rush a resignation. At nine years and eleven months, a third of the gratuity is lost, and it is usually the largest single payment of a working life.
Which pay counts?
This is the most common point of dispute. The rule is that gratuity is calculated on the last wage, and wage under the Labour Law is not basic salary alone but includes what is paid to the worker regularly and consistently in return for work.
A housing allowance and a transport allowance paid monthly at a fixed amount generally form part of the wage, because they are a stable component of income rather than an occasional bonus. Allowances tied to a temporary circumstance or to variable performance, such as a secondment allowance or a project bonus, generally do not.
Commission is the hardest case. Where it is a core and regular part of income, as in sales roles, the tendency is to include it and take an average. Your contract and your employer's work regulations are the first reference in any dispute.
When the gratuity is forfeited entirely
Article 80 sets out specific cases in which the employer may terminate without gratuity and without notice, including assault on the employer or a manager during or because of work, failure to perform essential obligations under the contract, and misconduct or an act affecting honesty and integrity.
They also include disclosure of industrial or commercial secrets, absence without a legitimate reason for more than thirty days in a single year or more than fifteen consecutive days, and exploiting the position for personal gain.
The law attaches an important safeguard: termination on these grounds is not permitted until the worker has been given the opportunity to state the reasons for their objection. An arbitrary dismissal that does not meet these conditions does not forfeit the gratuity, and the labour court is open to the worker.
Other entitlements paid alongside
Gratuity is not the whole of what is due at the end of service. Payment for unused annual leave is added, calculated on the last wage, and cannot be withheld regardless of how the relationship ended.
Where the employer terminated without a legitimate reason, notice pay and additional compensation may be due depending on the type of contract and its remaining term. A service certificate stating your period of employment and occupation is also due, and it may not contain anything prejudicial to you.
Make sure you receive your dues within the statutory period after the relationship ends, and document everything you receive in writing. Where a dispute arises, the labour court is the competent forum, and filing a claim there carries no fees.
How to Use
- 01Enter your last monthly wage including fixed recurring allowances such as housing and transport.
- 02Enter completed years of service, then any additional months, which are counted proportionally.
- 03Select how the relationship ended: contract expiry, employer termination, or resignation.
- 04Press calculate to see the amount due and which band applied.
- 05Switch the reason to compare resignation against contract expiry over the same service.
- 06If you are planning to resign, try different service lengths to see the effect of waiting for the next band.
Formula Used
Gratuity = (half wage x first 5 years) + (full wage x years beyond) x resignation factorPractical Examples
SAR 10,000, 3 years, contract ended
3 x 5,000 = SAR 15,000. Had it been a resignation it would be SAR 5,000, one third of the amount.
SAR 8,000, 5 years, resignation
Base gratuity 5 x 4,000 = SAR 20,000; a resignation at five years earns two thirds = SAR 13,333.
SAR 15,000, 12 years, contract ended
(5 x 7,500) + (7 x 15,000) = 37,500 + 105,000 = SAR 142,500. The last seven years alone are three quarters of the total.
Important Tips
- If you are near the fifth or tenth year, model the effect of delaying a resignation by a few weeks before deciding.
- Have your fixed allowances documented in the contract or payroll; they raise the wage the gratuity is calculated on.
- Count your service in days rather than rounding; the gap between two bands can be a matter of days.
- Unused leave pay is a separate entitlement from gratuity and is due in every case.
Common Mistakes to Avoid
- Calculating on basic salary alone when fixed recurring allowances generally form part of the wage.
- Assuming resignation cancels the gratuity entirely; it only reduces it after two years.
- Rounding service up or down instead of counting it proportionally.
- Confusing lawful termination under Article 80 with arbitrary dismissal; only the former forfeits gratuity.
Frequently Asked Questions
- Am I entitled if I resign before two years?
- No. An employee who resigns before completing two consecutive years is not entitled to gratuity. After two years, one third is due up to five years of service.
- How are months beyond full years counted?
- Proportionally. Eighteen months counts as one and a half years, not one and not two. The calculator applies this automatically when you enter months.
- Does a housing allowance count?
- Fixed recurring allowances paid monthly, such as housing and transport, generally form part of the wage. Occasional or performance-linked allowances generally do not. Check your contract and your employer's work regulations.
- Is there a difference between contract expiry and termination?
- No. Both use the full Article 84 formula. The difference appears only in resignation, and in termination for one of the Article 80 grounds.
- I resigned after nine years. What do I lose?
- Two thirds instead of the full amount. On SAR 20,000 with ten years the full gratuity is SAR 150,000, so the missing third is close to SAR 50,000. Waiting to complete ten years is a significant financial decision.
- Can my employer withhold the gratuity?
- Only in the cases listed exhaustively in Article 80, and only after you have been given the opportunity to state your objection. Outside those cases the gratuity is a right that does not lapse, and the labour court is the forum.
- When should I receive my dues?
- The employer must pay within the statutory period after the relationship ends, which varies depending on who ended the contract. Unjustified delay can be raised with the competent authority.