Payroll looks simple until you run it for twenty employees including someone who was late, someone on unpaid leave, someone who worked overtime, and someone repaying an advance in instalments.

That is when you discover a salary isn't a fixed number but the result of a calculation chain — and any missing link in it means a wrong payroll run every month.

The Calculation Chain: From Basic to Net

Step Component Note
1 Basic salary The base most other calculations build on
2 + Fixed allowances Housing, transport, job nature — define which count toward overtime
3 + Variable allowances Commissions, incentives, shift allowance
4 + Overtime At the hourly rate and the multiplier your country's law sets
5 − Absence and lateness deductions Under a written policy, not a monthly judgement call
6 − Unpaid leave Calculated on the actual daily rate
7 − Advances and instalments On a repayment schedule the system tracks to closure
8 − Social insurance and contributions Rates vary by country and by employee nationality
9 = Net payable The figure actually transferred

Step two is the source of most errors: which allowances count toward the hourly rate? That decision must be written in your policy and configured in the system — not left to whoever runs payroll this month.

Hourly and Daily Rate: The First Point of Dispute

Most deductions and overtime build on a daily or hourly rate. The question you must settle: on what basis is it calculated? Basic salary alone or gross with allowances? Over 30 days or over the month's actual days?

The difference between the options shows in every run, and becomes a dispute when an employee works it out themselves. The fix isn't the "correct" calculation — it is one consistent calculation, written into the contract or policy and applied to everyone.

The attendance and leave data all of this builds on is covered in attendance, leave, and end of service.

Seven Errors That Make Your Payroll Wrong

  • Calculating overtime on basic sometimes and gross other times. An inconsistent rule is worse than any rule.
  • Deducting absence with no record. A deduction not backed by an attendance log is a deferred dispute.
  • Forgetting an advance instalment, or continuing to deduct after repayment. The second is worse because it surfaces late.
  • Not updating insurance rates after they change or after an employee's category changes.
  • Calculating unpaid leave on a fixed 30-day month when the month has 28 or 31 days.
  • Typing in net pay manually instead of calculating it — turning the run into an opinion rather than a calculation.
  • Not generating an accounting entry from the run — so payroll is entered twice and the two versions diverge.

The sixth is the most dangerous because it conceals the rest: when net pay is typed in, no error on the way to it ever appears.

The Payslip: A Document That Prevents Disputes

A payslip isn't a formality — it is the cheapest way to end monthly questions. A good one shows:

  • Basic and each allowance as a separate line
  • Overtime with its hours and the rate applied
  • Every deduction with its reason and number of days
  • Remaining advance balance after this month's instalment
  • Remaining leave balance

The last two items answer more than half of employee questions — because they are exactly what employees ask about.

What Payroll Software Must Do

These modules are part of a complete HR system, and the integration article explains why the accounting entry should come from the run itself.

  • Calculate net pay from attendance and leave data, not from manual entry.
  • Apply adjustable rules matching your policy and your country's law.
  • Track advances on a repayment schedule and close them automatically.
  • Produce an Arabic payslip itemised per employee.
  • Generate a bank transfer file in the format your bank or your country's wage protection system requires.
  • Post an accounting entry directly from the run.
  • Keep a log of who changed what and when.

The fifth is widely overlooked and stalls operations: a system that can't produce the required transfer file means rewriting the payroll by hand into the bank's file every month.

Frequently Asked Questions

How is net salary calculated?

Basic plus fixed and variable allowances plus overtime, minus absence and lateness deductions, unpaid leave, advance instalments, and insurance contributions. The result is the net transferred. Any link calculated by hand makes the run error-prone.

On what basis is the hourly rate calculated?

It varies by your country's law and your written policy: basic alone or gross with allowances, and over 30 days or the month's actual days. What matters is that the rule is single, consistent, and written — because changing it between months is the root of most disputes.

Does payroll differ across Gulf countries?

Yes. Social insurance rates, overtime rules, leave entitlements, and wage protection requirements all differ. If you operate in more than one country, confirm the system supports each country's law separately.

How should advances be handled?

Record the advance with its amount and repayment schedule, and have the system deduct the instalment automatically and close it on completion. Manual deduction leads to a missed instalment or an over-deduction after repayment — and the second damages trust more.

Should payroll be linked to accounting?

Yes, because payroll is the largest expense line in most companies. Generating the entry directly from the run prevents double entry and divergence between the two versions.

What is the most repeated payroll error?

Typing net pay in manually instead of calculating it. It doesn't hide one error — it hides every error that would have surfaced on the way to the figure.

Conclusion

Payroll is your largest expense and the one most often calculated with makeshift tools. A correct run isn't one that produces an acceptable figure — it is one where you can explain every line to an employee who asks.

Open your last payroll run and pick one employee: can you explain the gap between their gross and net, line by line? If you hesitate, a link in the chain is being calculated outside the system.