How to Calculate Payroll in Malaysia: Formulas and Examples

 In Uncategorized

Key Takeaways

  • Payroll calculation follows a clear gross-to-net formula, but accuracy depends on clean inputs.
  • EPF, SOCSO, and EIS use fixed statutory rates, while PCB varies by employee profile.
  • A simple checklist helps you catch errors before payslips go out.
  • As wages rise, small payroll mistakes can become expensive to correct.

Payroll looks simple on paper. In reality, most mistakes come from small details, such as unpaid leave, overtime, outdated statutory rates, or missing employee tax details. The calculation of monthly salaries requires absolute mathematical precision. Manual spreadsheet management leaves a massive margin for human error and severe compliance risks. 

If you want consistent payroll accuracy, the focus should be on standardised calculation methods supported by updated statutory references.

Required Documents Before You Calculate Payroll

Accurate payroll begins with complete and verified documentation.

You should confirm:

Employee Master Data

  • Basic salary
  • Fixed allowances
  • Agreed variable components
  • Contracted working hours

Attendance and Leave Records

  • Approved overtime
  • Annual leave usage
  • Unpaid leave
  • Medical leave where applicable

Statutory Information

  • EPF registration number
  • SOCSO registration details
  • Income tax reference number

Tax Declaration Inputs

  • Relevant forms and relief information affecting PCB

Incomplete documentation is one of the primary causes of payroll recalculations.

The Standard Payroll Calculation Formula

The core formula remains:

Net Pay = Gross Pay – Employee Statutory Deductions – Unpaid Leave – Other Deductions

Step 1: Calculate Gross Pay

Gross Pay = Basic Salary + Fixed Allowances + Overtime + Approved Variable Payments

Overtime must comply with statutory multipliers under the Employment Act 1955, particularly for rest days and public holidays.

Statutory Contribution Rates You Must Apply

When calculating deductions, you must apply current statutory rates.

Employees Provident Fund (EPF)

For Malaysian and permanent resident employees under age 60:

Employee share: 

  • 11% of monthly wages

Employer share:

  • 13% if monthly wages are RM5,000 or below
  • 12% if monthly wages are above RM5,000

EPF contributions must be remitted on or before the 15th of the following month.

SOCSO (PERKESO)

For employees below 60 years old under the First Category:

  • Employer contribution: 1.75% of monthly wages
  • Employee contribution: 0.5% of monthly wages

These contributions cover the Employment Injury Scheme and Invalidity Scheme under the Employees’ Social Security Act 1969.

Employment Insurance System (EIS)

EIS contributions are shared equally:

  • Employer contribution: 0.2%
  • Employee contribution: 0.2%
  • Wage ceiling: RM6,000

Monthly Tax Deduction (PCB)

PCB is calculated using LHDN’s official tax deduction schedule, based on:

  • Salary amount
  • Marital status
  • Number of dependents
  • Tax relief eligibility

Worked Example: Gross-to-Net Calculation

Consider the following example:

  • Basic salary: RM3,000
  • Fixed allowance: RM200
  • Overtime: RM300

Gross Pay = RM3,500

Employee deductions:

  • EPF (11%) = RM385
  • SOCSO (0.5%) = RM17.50
  • EIS (0.2%) = RM7.00

Net salary before PCB:
RM3,500 – RM409.50 = RM3,090.50

PCB would then be applied based on the employee’s tax profile.

This example illustrates how minor percentage differences directly affect final net pay.

Calculating Unpaid Leave

A commonly used method is:

Unpaid Leave Deduction = (Monthly Basic Salary ÷ Number of Days in a calendar month) × Unpaid Leave Days

Example:

  • Monthly salary: RM3,000
  • Days in calendar month: 30 (eg. November)
  • Unpaid leave: 2 days

Deduction = (3000 ÷ 30) × 2 = RM200.00

Consistency in the number day in calendar month divisor is important to avoid internal discrepancies.

Monthly Payroll Calculation Checklist

Before releasing salary:

  • Confirm final attendance and overtime approvals
  • Verify new hires or resignations
  • Apply correct statutory rates
  • Cross-check against previous month variances
  • Validate PCB calculation inputs
  • Obtain management approval
  • Archive payroll records securely

A documented checklist reduces dependence on individual memory and minimises calculation risk.

Strengthening Accuracy Through Structured Support

As payroll complexity increases, manual calculations become harder to sustain. Variable allowances, multiple pay structures, and statutory updates demand ongoing attention.

Structured payroll systems or external payroll support can help maintain calculation consistency, especially where internal resources are limited.

Business Select provides payroll support aligned with Malaysian statutory requirements, allowing your organisation to maintain calculation accuracy while focusing on operational priorities. 

If you would like to review your current payroll calculation process and identify potential risk areas, contact Business Select today for a structured consultation.

References:

Employees Provident Fund (KWSP). Employer Responsibilities – Mandatory Contribution. 2024. Available at: https://www.kwsp.gov.my/en/employer/responsibilities/mandatory-contribution

Social Security Organisation (PERKESO). Employer & Employee Contributions. 2024. Available at: https://www.perkeso.gov.my/en/our-services/employer-employee/contributions.html 

MY Government. Monthly Tax Deduction (PCB). 2024. Available at: https://www.malaysia.gov.my/en/personas/experienced-workers/pengurusan-dan-perancangan-kewangan/monthly-tax-deduction-pcb

 

FAQs on Payroll Calculations

Divide the monthly salary by the number of working days in the month. Multiply that exact figure by the number of unpaid leave days to get the final deduction amount.

Incorrect calculations will require manual adjustments in subsequent months and frequently result in financial penalties from the tax authorities.

Recent Posts
thank-you