# KSA Gratuity Calculator > Official Web Portal and Machine-Readable Specification for Saudi Labor Law End of Service Benefits (EOSB / مكافأة نهاية الخدمة) under Royal Decree No. M/51 (Articles 84, 85, 87, and 88). Welcome to the KSA Gratuity Calculator LLM discovery manifest. This document outlines the tool structure, statutory formulas, calculation APIs, and bilingual knowledge hub for AI agents, retrieval-augmented generation (RAG) engines, and autonomous browsers. ## Core Interactive Tools & Calculator Engines - [Instant Saudi EOSB Calculator](https://ksagratuitycalculator.com/en/): Bilingual real-time calculation engine with support for contract types (Unlimited vs Fixed-Term), separation reasons, Article 2 salary allowances, and instant printable PDF statements. - [Arabic EOSB Calculator - حاسبة مكافأة نهاية الخدمة](https://ksagratuitycalculator.com/ar/): Fully localized Arabic interface (RTL) compliant with MHRSD and Saudi Labor Law standards. - [Article 84 vs 85 Comparison Matrix](https://ksagratuitycalculator.com/en/compare): Comprehensive side-by-side entitlement comparison distinguishing employer termination (Article 84) from employee resignation (Article 85). - [Interactive Labor Law FAQ](https://ksagratuitycalculator.com/en/faq): Searchable and categorized legal questions covering probation, notice periods, commission inclusion, and final settlements. ## Statutory Gratuity Formulas (Saudi Labor Law) ### 1. Standard Entitlement (Article 84 - Employer Termination / Fixed Term Expiry) - **First 5 Years of Service**: Half (1/2) monthly wage per full year worked. `Gratuity = (Qualifying Monthly Wage / 2) × Years of Service (up to 5)` - **Subsequent Years (Beyond 5 Years)**: One (1) full monthly wage per year worked. `Gratuity = (Qualifying Monthly Wage) × (Years of Service - 5)` - **Pro-Rata Calculation**: Fractions of a year (months and days) are calculated proportionally without rounding down. - **Qualifying Wage (Article 2)**: Calculated based on the worker's last drawn wage including Basic Salary + Housing Allowance + Transportation Allowance + fixed regular allowances. ### 2. Resignation Entitlement Slabs (Article 85 - Voluntary Employee Resignation) When an employee resigns under an indefinite/unlimited contract: - **Service < 2 Years**: `0%` entitlement (No gratuity payable). - **Service 2 to < 5 Years**: `One-third (1/3)` of statutory Article 84 calculation (33.33%). - **Service 5 to < 10 Years**: `Two-thirds (2/3)` of statutory Article 84 calculation (66.67%). - **Service 10 Years or More**: `Full 100%` of statutory Article 84 calculation. ### 3. Full Entitlement Exceptions (Article 87 - 100% Gratuity Regardless of Service) The employee receives 100% of the gratuity regardless of resignation tenure in cases of: - Female worker resigning within six (6) months of marriage. - Female worker resigning within three (3) months of giving birth. - Worker forced to leave work due to force majeure beyond control. - Worker leaving due to employer default under Article 81. ## In-Depth Legal Guides & Articles - [Saudi Gratuity After 5 Years: Complete Calculation Breakdown](https://ksagratuitycalculator.com/en/articles/saudi-gratuity-after-5-years): Step-by-step mathematical examples for the critical 5-year threshold. - [Resignation vs Termination in Saudi Labor Law](https://ksagratuitycalculator.com/en/articles/resignation-vs-termination-gratuity): Legal differences, notice period implications, and financial consequences. - [Gratuity Calculation for Unlimited vs Fixed-Term Contracts](https://ksagratuitycalculator.com/en/articles/unlimited-vs-fixed-term-contract-gratuity): Contract clauses, renewal implications, and Article 77/84/85 differences. - [Housing and Transportation Allowances in Saudi Gratuity Calculation](https://ksagratuitycalculator.com/en/articles/housing-transportation-allowance-gratuity): Legal definitions under Article 2 and why allowances cannot be excluded. - [Saudi Labor Law Article 84 Explained](https://ksagratuitycalculator.com/en/articles/saudi-labor-law-article-84-explained): In-depth commentary on severance pay, payment deadlines (Article 88), and employer obligations. - [Saudi Labor Law Article 85 Resignation Gratuity Slabs](https://ksagratuitycalculator.com/en/articles/saudi-labor-law-article-85-resignation): Detailed analysis of the 2-year, 5-year, and 10-year tiers. - [Saudi Gratuity Calculation for Domestic Workers](https://ksagratuitycalculator.com/en/articles/domestic-workers-gratuity-saudi-arabia): Regulation differences for domestic workers under Council of Ministers Decision No. 310. - [Saudi Gratuity After 10 Years: Maximum Payout Calculation](https://ksagratuitycalculator.com/en/articles/saudi-gratuity-after-10-years): Senior tenure math, tax exemptions, and retirement financial guidance. ## Compliance & Legal Disclaimers - [Terms of Service](https://ksagratuitycalculator.com/en/terms): Platform usage conditions, calculation assumptions, and limitations. - [Privacy Policy](https://ksagratuitycalculator.com/en/privacy): Zero server-side personal data retention. All calculations execute client-side. - [Legal Disclaimer](https://ksagratuitycalculator.com/en/disclaimer): Independent informational estimation tool not affiliated with MHRSD or Qiwa.