Employee Payroll Calculation: How to Calculate Salary, Allowances, and Deductions
16 minutes ago
Employee payroll calculation is not just a routine mathematical process; it is a strategic operation that directly impacts employee satisfaction, workplace stability, and compliance with Saudi regulations. In 2026, the integration between the Qiwa platform, the Social Insurance system, and the Wage Protection System requires extreme precision in every number entered.
In this comprehensive guide, we review how to calculate an employee’s salary from A to Z: from understanding the basic salary components, to how to calculate employee salaries including allowances, deductions, insurance, absences, and overtime, all the way to the most common mistakes to avoid.
Whether you are an HR manager, an accountant, or a business owner, this article is your practical reference for mastering employee payroll calculation professionally and accurately.
Need help calculating your employees’ salaries accurately?
What is Payroll Calculation?
Payroll calculation (Payroll Calculation) is the monthly process aimed at determining the final amount each employee deserves for their work during a specific period. This process is not limited to just adding numbers; it includes reviewing contracts, matching data with Qiwa contracts, and ensuring compliance with the Wage Protection System.
Simply put, what is payroll calculation? It is a mathematical and legal process that combines:
- Basic salary and allowances (earnings).
- Deductions and withholdings (insurance, absences, loans).
- Bonuses and overtime (additions).
Then it produces the net salary that is transferred to the employee’s account.
Why is accurate payroll calculation important in 2026?
- Digital Integration: Any discrepancy between the calculated salary and the Qiwa contract is recorded as a violation.
- Impact on Nitaqat: The compliance rate in salary disbursement is calculated within Nitaqat criteria.
- Financial Penalties: Errors in social insurance may lead to fines reaching SAR 10,000.
- Employee Rights: Any shortfall in salary is considered a violation of the Saudi Labor Law.
Employee Salary Components
Before starting employee payroll calculation, you must understand the basic components that make up the salary. These components are divided into three main categories:
First: Earnings
| Component | Description | Mandatory? |
|---|---|---|
| Basic Salary | The basic amount agreed upon in the contract | Mandatory |
| Housing Allowance | Monthly allowance for housing or actual housing value | Mandatory if housing is not provided |
| Transportation Allowance | Fixed monthly transportation allowance | Per contract |
| Food/Communications Allowance | Additional agreed allowances | Per contract |
| Periodic Bonuses | Performance bonuses or monthly incentives | Per policy |
Second: Deductions
| Component | Description | Rate/Value |
|---|---|---|
| Social Insurance (Employee) | Employee’s share of insurance | 9.75% for Saudis |
| Social Insurance (Establishment) | Employer’s share | 11.75% for Saudis / 2% for expatriates |
| Unexcused Absence | Daily deduction from basic salary | Full day or part thereof |
| Financial Loans | Monthly loan installment deduction | Per agreement |
| Lateness | Deduction for late hours | Per disciplinary policy |
Third: Special Additions
- Overtime: Work hours outside official working hours.
- Assignment Allowance: Additional amounts for tasks outside the worksite.
- Advance End-of-Service Rewards: In some companies (uncommon).
How to Calculate Basic Salary and Allowances
The method for calculating an employee’s salary begins by determining the total earnings before any deductions. Here is the correct method:
Step 1: Basic Salary
The basic salary is the backbone of the salary. It is determined based on:
- The contract registered on the Qiwa platform.
- The approved salary scale within the company.
- The minimum wage in Saudi Arabia (SAR 4,000 for Saudis in the Nitaqat program).
Step 2: Housing Allowance
The housing allowance is calculated based on one of two methods:
- Fixed percentage: 25% of the basic salary (most common).
- Fixed amount: Agreed upon in the contract (example: SAR 1,500 monthly).
- Actual housing: If the company provides housing, the allowance is recorded as zero.
Step 3: Transportation Allowance
The transportation allowance is usually calculated as a fixed monthly amount ranging between SAR 300 to SAR 1,000 depending on the company’s policy and job level.
Practical Example for Calculating Earnings:
| Component | Value (SAR) |
|---|---|
| Basic Salary | 8,000 |
| Housing Allowance (25%) | 2,000 |
| Transportation Allowance | 800 |
| Communications Allowance | 200 |
| Total Earnings | 11,000 |
Would you like to organize payroll calculation inside your company professionally?
How to Calculate Deductions
After determining earnings comes the real stage of employee payroll calculation: deducting legal and administrative deductions. This stage requires the utmost precision because any error may affect the employee’s rights or cause a violation for the establishment.
1. Social Insurance Deduction (GOSI)
For Saudi employees:
- Employee’s share: 9.75% of total wage (basic salary + housing allowance).
- Establishment’s share: 11.75% of total wage.
For expatriate employees:
- Establishment’s share only: 2% of total wage (work injury insurance).
- The expatriate employee is not deducted from their salary for insurance.
• Employee deduction = 10,000 × 9.75% = SAR 975
• Establishment deduction = 10,000 × 11.75% = SAR 1,175
2. Absence Deduction
Absence deduction is calculated based on actual working days per week, not 30 days:
- For administrative employees (5 days): Working day = Total salary ÷ 21.75
- For field employees (6 days): Working day = Total salary ÷ 26
Absence Deduction Formula:
Absence Deduction = (Total Salary ÷ Monthly Working Days) × Number of Absence Days
3. Lateness Deduction
Lateness is calculated either:
- By hour: Working hour = Basic salary ÷ (Daily working hours × Monthly working days)
- By partial day: Some companies consider 3 hours late = half day absence.
4. Loan Deduction
The monthly loan installment is deducted according to the written agreement between the employee and the company. The deduction must not exceed 50% of the net salary except in exceptional cases.
Deductions Summary Table:
| Deduction Type | Rate/Value | Law |
|---|---|---|
| Social Insurance (Saudi) | 9.75% of total wage | Social Insurance Law |
| Social Insurance (Expatriate) | 0% from employee | Social Insurance Law |
| Full day absence (5 days) | Total salary ÷ 21.75 | Saudi Labor Law |
| Full day absence (6 days) | Total salary ÷ 26 | Saudi Labor Law |
| Lateness | Per internal disciplinary policy | Does not exceed one full day |
| Loans | Per agreement | Does not exceed 50% of net salary |
Calculating Absence and Lateness Days
Employee payroll calculation requires special precision in processing absences and lateness, because any error here directly affects the employee’s rights and may be considered a violation of labor law.
Types of Absence and How to Calculate Them:
Unexcused Absence
Full working day deducted from basic salary + allowances. Calculated based on 21.75 days for administrative staff or 26 days for field staff.
Authorized Absence
If unpaid: same calculation as unexcused absence. If paid: no deduction.
Medical Excuse Absence
The employee is entitled to full salary for 30 days annually. After that, only the basic salary is deducted (without allowances).
Absence Due to Hajj or Umrah
The employee is entitled to paid leave for 10 days for Umrah and 15 days for Hajj (once during the employment period).
How to Calculate Lateness:
- Determine Daily Working Hours Let’s assume an administrative employee works 8 hours daily, 5 days a week. Total monthly working hours = 173 hours (21.75 days × 8 hours).
- Calculate Hourly Value Hourly value = Basic salary ÷ 173. Example: 8,000 ÷ 173 = SAR 46.24 per hour.
- Apply Lateness Policy If lateness is 30 minutes or less: may be excused. If more: deduction is calculated per internal policy.
- Maximum Deduction Limit According to labor law, no more than one full day (8 hours) may be deducted in one day due to lateness.
Calculating Overtime
How to calculate employee salaries including overtime requires precise knowledge of Saudi laws. Overtime is defined as any work performed outside official working hours.
Overtime Rates According to Saudi Labor Law:
| Overtime Type | Rate on Basic Salary | Example (Basic Salary 8,000) |
|---|---|---|
| Overtime on Regular Days | 150% (Salary + 50% extra) | Overtime hour = (8,000 ÷ 173) × 1.5 = SAR 69.36 |
| Overtime on Weekly Rest Day | 200% (Salary + 100% extra) | Overtime hour = (8,000 ÷ 173) × 2 = SAR 92.48 |
| Overtime on Official Holiday | 200% (Salary + 100% extra) | Overtime hour = (8,000 ÷ 173) × 2 = SAR 92.48 |
Maximum Overtime Limit:
- Overtime must not exceed 720 hours annually per employee.
- Written approval must be obtained from the employee before requesting overtime.
- Overtime hours must be recorded in the attendance system.
Comprehensive Practical Example:
Let’s assume a Saudi employee with the following specifications:
- Basic Salary: SAR 8,000
- Housing Allowance: SAR 2,000
- Transportation Allowance: SAR 800
- Overtime on regular days: 10 hours
- Overtime on rest day: 4 hours
Calculation:
| Item | Calculation | Value |
|---|---|---|
| Basic Salary | Fixed | 8,000 |
| Housing Allowance | Fixed | 2,000 |
| Transportation Allowance | Fixed | 800 |
| Overtime Regular Days | 10 hours × 69.36 | 693.60 |
| Overtime Rest Day | 4 hours × 92.48 | 369.92 |
| Total Earnings | — | 11,863.52 |
Steps to Prepare the Final Employee Salary
After understanding all components, here is the final method for calculating an employee’s salary step by step:
- Sum Fixed Earnings Add basic salary + housing allowance + transportation allowance + any other agreed allowances. This gives you gross salary.
- Add Positive Variables Add overtime + bonuses + commissions + any other additional amounts due to the employee this month.
- Calculate Insurance Deductions Calculate 9.75% of (basic salary + housing allowance) for Saudi employees. For expatriates: 0%.
- Calculate Absence and Lateness Deduction Use attendance data to calculate absence days × daily work value + lateness hours × hourly value.
- Deduct Loans and Obligations Add monthly loan installment + any other administrative deductions (maximum 50% of net salary).
- Calculate Net Salary Net Salary = (Total Earnings + Additions) – (Insurance + Absence + Lateness + Loans)
- Final Review Compare the result with the Qiwa contract. Ensure net salary is not less than 50% of gross salary. Verify data matches GOSI.
• Gross Salary: SAR 11,000
• Overtime: +SAR 693.60
• Social Insurance (9.75%): -SAR 1,072.50
• One day absence (11,000 ÷ 21.75): -SAR 505.75
• Monthly loan: -SAR 500
• Net Salary = SAR 9,615.35
Common Payroll Calculation Errors
Avoiding these errors ensures employee payroll calculation without legal or financial problems:
| Error | Impact | Solution |
|---|---|---|
| Calculating absence based on 30 days | Excessive deduction from employee (legal violation) | Use 21.75 days for administrative staff and 26 days for field staff |
| Forgetting to update salary in Qiwa | Wage Protection file rejection in Mudad | Update the contract on Qiwa immediately upon any salary change |
| Deducting insurance from expatriates | Illegal deduction from employee salary | Expatriates are not deducted; the establishment pays 2% only |
| Not including housing allowance in insurance calculation | Insurance less than required = GOSI violation | Calculate insurance on (Basic + Housing) |
| Exceeding 50% salary deduction | Violation of Saudi Labor Law | Ensure total deductions ≤ 50% of gross salary |
| Mismatching GOSI data with payroll | Fines reaching SAR 10,000 | Review GOSI data monthly before issuing salaries |
| Forgetting to calculate overtime | Depriving employee of financial rights | Extract monthly attendance report and apply 150% or 200% rate |
Having difficulty calculating your employees’ salaries accurately?
Frequently Asked Questions About Payroll Calculation
What is payroll calculation?
Payroll calculation is the monthly process of determining an employee’s net salary after calculating the basic salary and allowances, then deducting items such as social insurance, absences, and loans.
How to calculate employee salaries in Saudi Arabia?
Employee salaries are calculated by adding the basic salary and allowances, then deducting social insurance contributions (9.75% for Saudis), absences, loans, and tax if applicable for expatriates.
What are the components of an employee’s salary in Saudi Arabia?
Salary components include: basic salary, housing allowance, transportation allowance, other allowances, as well as deductions: social insurance, loans, absences, and overtime.
How is overtime calculated in Saudi Arabia?
Overtime is calculated by adding 50% to the basic salary for extra hours on regular days, and 100% on weekends and official holidays.
What are the most common payroll calculation errors?
The most common errors: mismatching salary with Qiwa contract, forgetting insurance deductions, calculating absence based on 30 days instead of actual working days, and not updating allowances.
How is absence deduction calculated?
Absence deduction is calculated by dividing total salary by 21.75 days for administrative employees (5 working days) or by 26 days for field employees (6 working days), then multiplying the result by the number of absence days.
Is insurance deducted from an expatriate’s salary?
No. The expatriate employee is not deducted from their salary for social insurance. The establishment pays 2% of their total wage as work injury insurance.
Related Articles You May Find Useful
- Employee Affairs Services: A Comprehensive Guide to Efficient Employee Management and Improving Organizational Performance
- Employee Affairs Management: Tasks, Services, and Their Importance for Companies
- How to Register a Saudi Employee in Social Insurance Step by Step
- Complete Guide to Contract Authentication on Qiwa Platform 2026 | Steps, Requirements, and Penalties
- Excluding an Employee from Insurance 2026: The Comprehensive Guide to Procedures and Penalties
- Types of Employee Rights in Saudi Labor Law 2026: The Comprehensive Guide to Workers’ Rights
Start Calculating Your Employees’ Salaries Accurately Today
Employee payroll calculation is a vital process that affects your company’s stability, employee satisfaction, and legal compliance. With increasing requirements for integration between Qiwa, GOSI, and the Wage Protection System, precision in every number has become non-negotiable.
By following the employee salary calculation method outlined in this guide, you can ensure salaries are disbursed with complete accuracy, avoid the most common errors that lead to violations, and maintain a clean compliance record that supports your company’s growth.
If you are looking for a reliable partner to help you calculate and manage employee salaries accurately and securely, HR360 offers you integrated solutions including payroll preparation, data verification, monthly follow-up, and full compliance.
