Skip to main content

Microtec

End of Service Calculator for Saudi Arabia

EOSB under Saudi Labor Law Articles 84, 85 and 87

SAR

Basic salary plus fixed allowances such as housing and transport, as on the last payroll.

Contract type
Amount due —
—

First five years—
After year five—
Full award (Article 84)—

How was this calculated?

This end of service calculator applies Article 84 of the Saudi Labor Law to your own figures. Enter the last monthly wage, the start date and the last working day, then choose why the service ended: the page works out the full award, applies the resignation fractions in Article 85 or the exceptions in Article 87, and splits the result between the first five years and the years after. The timeline shows where the service sits against the two-, five- and ten-year thresholds. Advanced mode adds a monthly EOSB provision for several employees, built for the finance team closing the books.

In shortHalf a month's wage for each of the first five years, a full month's wage for each year after that, and part years pro rata. On resignation: nothing before two years, one third up to five, two thirds up to ten, and the full award from ten years on.

How to compute end of service in Saudi Arabia

End of service benefits (EOSB), which many expatriates still call gratuity, are the lump sum a private-sector employer in the Kingdom pays when the employment relationship ends. Article 84 bases the award on the last wage: half a month for each of the first five years of service and one month for each year after that, with part years paid in proportion to the time worked.

EOSB = W × 0.5 × min(Y, 5) + W × max(Y − 5, 0)

W is the last monthly wage and Y the service in years. For the ESB computation, the calculator turns extra months into a fraction of a year by dividing by 12, and extra days by dividing by 365, then applies the share that matches the reason for leaving.

Example 1, resignation after 3 years: wage SAR 10,000, from 2022-01-01 to 2024-12-31. The full award is 10,000 × 0.5 × 3 = 15,000.00, and a resigning employee receives one third of it: SAR 5,000.00.
Example 2, employer ends the contract after 7 years 6 months: wage SAR 12,000, from 2018-01-01 to 2025-06-30. The first five years give 12,000 × 0.5 × 5 = 30,000.00 and the two and a half years after them 12,000 × 2.5 = 30,000.00, so the award is SAR 60,000.00, paid in full.
Example 3, service with fractions: wage SAR 6,000, from 2020-06-01 to 2024-09-15, ended by the employer. The service is 4 years, 3 months and 15 days, or 4 + 3/12 + 15/365 = 4.2911 years, and the award is 6,000 × 0.5 × 4.2911 = 12,873.29 riyals.

End of service benefits on resignation

A resigning employee only receives the whole award after ten years. Article 85 sets the share of the Article 84 award according to continuous service:

Continuous service at resignationShare of the award
Under 2 yearsNothing
2 to 5 yearsOne third
Over 5 and under 10 yearsTwo thirds
10 years or moreFull award
Example 4, resignation after 5 years 6 months: wage SAR 8,000, from 2021-04-01 to 2026-09-30. The full award is 20,000 + 4,000 = 24,000.00, and two thirds of it is due: SAR 16,000.00. Had the employee left a month earlier, at 5 years and 5 months, the share would still be two thirds: the line is crossed when the fifth year is complete, not when the sixth ends.

The two-year line counts continuous service. Someone who resigns after one year and eleven months receives nothing, even though the full award for that period would be close to one month's pay.

End of service after 10 years

From ten years on, resignation and termination pay the same: the full award. An employee on SAR 10,000 who has served exactly ten years receives (10,000 × 0.5 × 5) + (10,000 × 5) = 75,000.00, seven and a half months of pay. Every year past the tenth adds a full month's wage.

ESB computation in the private sector: which wage counts

Article 84 uses the last wage, and Article 2 of the law defines the wage as the actual wage: basic salary plus allowances, commissions, sales percentages, regular bonuses and benefits in kind that the employee is entitled to. Housing and transport allowances paid every month belong in the figure; the basic salary alone understates the award. A one-off payment for a specific assignment, such as a per diem for a business trip, is not treated as part of the fixed wage.

If part of the pay is a variable commission, use the average that the contract or the company's work regulations set, and enter the result as the wage. If the wage changed during the employment, the last wage counts, not an average across the years.

Counting the service period and unpaid leave

Service runs from the start date to the last working day, and both days count. Someone who started on 2022-01-01 and whose last day was 2024-12-31 has served exactly three years. A notice period the employee actually worked is part of the service.

Under the Article 2 definition of continuous service, unpaid absence of up to 20 non-consecutive days a year does not break continuity. To leave out days that should not count as service, such as a long unpaid leave agreed between you, enter them in advanced mode and the calculator takes them off the last working day before measuring the period.

When the full award applies despite leaving, and when it is lost

  • Force majeure (Article 87): an employee who leaves for a reason beyond their control receives the full award whatever the length of service.
  • Female employee after marriage or childbirth (Article 87): the full award is due if she ends the contract within six months of her marriage contract or three months of giving birth.
  • Article 81 cases: the employee may leave without notice when the employer breaches essential obligations, commits an assault, or leaves a serious hazard in place, and keeps every statutory right.
  • Article 80 cases: the employer may terminate for listed reasons, including assault, forgery, disclosing trade secrets and absence without excuse after a warning. These remove the award, provided the employee was given a chance to state their objections.

Changing the reason in the list updates the result at once, and the PDF report names the article the amount rests on.

End of service dues beyond the award

The award is one line in the final settlement. The settlement also carries the wage for days worked in the last month, the balance of unused annual leave, any compensation for notice or for ending a fixed-term contract early under Article 77, and deductions for outstanding advances or loans. This calculator does not compute those items, so list them in the settlement separately from the award and the employee can see every figure and where it came from.

The Labor Law after the 2025 amendments

The Ministry of Human Resources and Social Development announced that amendments to the Labor Law took effect on 19 February 2025, amending 38 articles, removing 7 and adding 2, according to the ministry's announcement. Part of the change touched resignation and how it is accepted. The text of Articles 84, 85 and 87 in the version published by the Bureau of Experts is unchanged, and the calculator follows it. For resignation procedure and deadlines, check the updated implementing regulations.

Qiwa and labor office end of service calculations

People who look for a Qiwa end of service calculator, or for the labor office figure, usually want a number that holds up if the case reaches a labor dispute in Saudi Arabia. Both rest on the same articles; this page applies them and prints the text of every article it used in the report. When two calculations for the same employee disagree, the gap almost always comes from one of two inputs: the wage used (basic only, or with allowances) and the last working day.

The calculator covers the private sector under the Labor Law, which includes teachers at private schools. Government employees fall under the civil service and retirement rules, which work differently and are not covered here.

The EOSB provision and its journal entry

The award builds up every month, so the company books it as a provision before paying it. The end of service provision is what the company would owe each employee if their service ended on the balance sheet date, and the month's expense is the change between this month-end balance and last month's. The monthly entry is Dr End of service expense, Cr Provision for end of service benefits; on payment, Dr Provision, Cr Bank.

In advanced mode, add your employees with their wages and start dates, and the page shows each balance, the month's charge, the total and the journal line. Download the table as an Excel file to change wages or the valuation date yourself: service years, balances and charges are live formulas. The figures assume the full award; companies that measure the obligation actuarially under their accounting framework should agree the method with their auditor.

Example 5, the provision: an accountant on SAR 9,000 started on 2019-03-01. On 2026-09-30 the service is 7 years and 7 months, so the provision balance is (9,000 × 2.5) + (9,000 × 2.5833) = 45,750.00. At the end of August it was 45,000.00, so the September charge is SAR 750.00: one month's wage divided by 12, because the service is past year five.

Common mistakes in end of service calculations

  • Using the basic salary alone, when the actual wage includes fixed allowances.
  • Applying half a month to every year, which loses half a month's pay for each year after the fifth.
  • Applying the resignation fraction only to the years after the fifth; one third or two thirds applies to the whole award.
  • Ignoring the months and days beyond the last full year, which are due pro rata.
  • Folding the award, the leave balance and Article 77 compensation into one figure, so nobody can later trace where a difference came from.

What to do with the result

Download the report with the Download PDF button: it shows the inputs, each period, the amount in words and the text of the articles behind it, ready to attach to the final settlement or the employee file. If a colleague needs to review the same calculation, Share link copies a link that opens the calculator with your figures.

When the provision becomes a line in every month-end close

One leaver's award takes minutes. A monthly provision for dozens of people, with pay rises, new hires and resignations, needs employee files, payroll and the ledger in one place; otherwise every close turns into matching two spreadsheets by hand. At Microtec we build an ERP accounting system for companies in Saudi Arabia, where human resources and finance run alongside sales, purchasing and inventory. Test it on your own staff list before you decide.

Frequently asked questions

How is end of service calculated in Saudi Arabia?

Multiply half the last monthly wage by the years of service up to five, multiply the full wage by the years after the fifth, and add the two. Part years count pro rata, and a resignation then reduces the total to one third, two thirds or nothing depending on service.

How much end of service do I get if I resign?

Nothing under two years of continuous service, one third from two to five years, two thirds above five and below ten years, and the full award from ten years on, under Article 85 of the Saudi Labor Law.

What is the end of service after 10 years?

Seven and a half months of the last wage: half a month for each of the first five years and a full month for each of the next five. On a wage of SAR 10,000 that is SAR 75,000, whether the employee resigned or was let go.

Is gratuity in Saudi Arabia based on basic or total salary?

On the actual last wage, which is the basic salary plus fixed allowances such as housing and transport and any commissions paid regularly, following the wage definition in Article 2 of the Labor Law.

Does an employee get end of service when a fixed-term contract expires?

The full Article 84 award is due, because expiry is not a resignation. If the contract is ended before its term, separate compensation under Article 77 may also be due, which this calculator does not compute.

When is the end of service award lost?

When the employer terminates the contract in one of the cases listed in Article 80, such as assault, forgery, disclosing trade secrets or unexcused absence after a warning, and only after the employee has had a chance to object.

How do I calculate the monthly EOSB provision?

Work out each employee's full award as if they left at month end and add them up: that is the provision balance. The month's expense is the change from last month's balance, booked as Dr End of service expense, Cr Provision.

Can I download the end of service report?

Download the award as a PDF with the period breakdown and the article text, and the provision table as an Excel file with formulas. A short form asks for your name, email and mobile before the first file only; the result on the page never needs it.

↑