Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Net Salary Calculation

Recommended resources

The freely available resources this lesson will direct you to.

Welcome back. In our last lesson, we completed the complex but crucial step of calculating the IR Net, the final amount of income tax to be withheld from an employee's salary. We determined that for our case study employee, Karim, who has a Salaire Net Imposable of 8,620.50 DH and three dependents, the IR Net is 1,062.82 DH.

Today, we reach the final destination of our payroll calculation journey. Our objective is to calculate the final net salary payable to an employee. This is the "take-home pay" (net à payer), the actual amount that will be credited to the employee's bank account. We will achieve this by bringing together the gross salary and all the mandatory deductions we have calculated in the previous lessons.

This lesson will solidify your understanding of the entire payroll structure, from top to bottom.

The Final Step: From Gross Salary to Net Pay

The Salaire Net à Payer represents an employee's total compensation (Salaire Brut) after all withholdings required by law have been deducted. These deductions, which the employer collects and remits to the state on the employee's behalf, are the social contributions and the income tax we've meticulously calculated.

The formula to arrive at the final net pay is direct and logical:

Where the Total des Retenues Salariales (Total Employee Deductions) includes:

  • Cotisation CNSS (Employee's share)
  • Cotisation AMO (Employee's share)
  • IR Net (Net Income Tax)

Let's put this into practice by completing the calculation for our employee, Karim.

Case Study: Calculating Karim's Net Salary

To ensure our calculation is consistent and clear, let's summarize all the figures for Karim that we've established across the preceding lessons:

  • Salaire Brut (Gross Salary): 11,434.65 DH
    (For simplicity in this example, we'll assume the entire gross salary is taxable. We will discuss non-taxable elements later.)
  • Cotisation CNSS: 268.80 DH
  • Cotisation AMO: 258.42 DH
  • IR Net: 1,062.82 DH

Now, we can assemble these components to find the final net pay.

Step 1: Calculate Total Social Contributions

First, let's sum the employee's share of social security contributions.


Step 2: Calculate Total Deductions

Next, we add the IR Net to the social contributions to find the total amount withheld from the salary.


Step 3: Calculate the Net Salary Payable

Finally, we subtract the total deductions from the gross salary.



So, after all mandatory withholdings, Karim's final net pay for the month is 9,844.61 DH. This is the amount he will receive.

Visualizing the Full Calculation Flow

To help you visualize and retain this entire sequence, let's look at a typical structure for this calculation, often prepared in a tool like Excel.

Moroccan Net Salary Calculation Spreadsheet
This image illustrates the complete payroll calculation flow in a spreadsheet format. It starts from the 'Salaire Brut imposable', progressively deducts social contributions (CNSS, AMO) and professional expenses to find the 'Salaire Net imposable', calculates the 'IR Net', and finally subtracts all withholdings from the gross salary to arrive at the 'Salaire NET'.

As you can see, the structure in the image perfectly mirrors the steps we've taken:

  1. Start with Gross Salary: The top line is the Salaire Brut imposable.
  2. Deduct Social Contributions: The CNSS and AMO are subtracted.
  3. Deduct Professional Expenses: The Frais professionnels are subtracted to determine the tax base (Salaire Net imposable).
  4. Calculate and Deduct IR: The IR Net is calculated and becomes the final major deduction.
  5. Arrive at Net Salary: The Salaire NET is the result of Salaire Brut imposable minus all the calculated deductions (CNSS, AMO, and IR Net).
Test your understanding!

Let's use the figures for Fatima from our previous exercises:

  • Salaire Brut: 16,000.00 DH
  • Total Cotisations (CNSS + AMO): 630.40 DH
  • IR Net (for 1 dependent): 2,400.97 DH

Calculate Fatima's Salaire Net à Payer.

Show answer
  1. Identify the Components:

    • Salaire Brut = 16,000.00 DH
    • Total Retenues = Total Cotisations + IR Net = 630.40 DH + 2,400.97 DH = 3,031.37 DH
  2. Calculate Net Salary Payable:

    • Salaire Net à Payer = Salaire Brut - Total Retenues
    • Salaire Net à Payer = 16,000.00 DH - 3,031.37 DH
    • Salaire Net à Payer = 12,968.63 DH

Professional Context: Other Elements on a Payslip

While we have covered the core calculation for a standard salary, a real-world payslip (bulletin de paie) can include other elements that affect the final net pay. It's important to be aware of them.

  • Non-Taxable Indemnities: If an employee receives justified, non-taxable allowances (e.g., a transport allowance of 500 DH), this amount is added to the net pay after all tax and social security calculations are done. In our example for Karim, if he had a 500 DH non-taxable allowance, his Salaire Brut would be 11,934.65 DH, but all deductions would remain the same (as they are based on the taxable portion). His final net pay would be 9,844.61 + 500 = 10,344.61 DH.
  • Other Deductions (Autres Retenues): There can be other deductions that are not related to tax or social security. These are subtracted from the net salary before the final payment.
    • Advances and Loans (Avances et Acomptes): If an employee took a salary advance, it will be deducted here.
    • Wage Garnishment (Saisie-arrêt sur salaire): A legal order to withhold part of an employee's salary to pay a debt.
    • Third-party payments: Deductions for things like union dues or contributions to a private pension plan.

The final Net à Payer is what remains after all these items have been accounted for.

Conclusion

Congratulations! You have now mastered the complete chain of calculation for determining an employee's net salary in Morocco. By connecting gross salary, social contributions, and income tax, you can now confidently compute the final take-home pay.

Key Takeaways:

  • The Salaire Net à Payer is the Salaire Brut minus all employee deductions.
  • The main deductions are the employee's share of CNSS, AMO, and the IR Net.
  • The calculation is a logical sequence: Gross Salary -> Social Contributions -> Net Taxable Salary -> Net Income Tax -> Net Salary Payable.
  • Real-world payslips may include additional elements like non-taxable allowances or other personal deductions which adjust the final amount.

Preview of the Next Lesson:
We have concluded the calculation part of this module. In our next lesson, we will move to a more holistic view of payroll by addressing the key differences between gross salary, net taxable salary, and net pay. This will help you articulate these critical concepts clearly to management, employees, and other stakeholders.

Can't find a good explanation? Sign up and we'll make it for you

Sign up