Recommended resources
The freely available resources this lesson will direct you to.
Welcome back to our module on Payroll.
In our previous lesson, we established the broad landscape of Personal Income Tax (IR) in Morocco. You learned to identify the five main categories of taxable income and, most importantly, we broke down "Salaried Income" (Revenus Salariaux) into its core components: base salary, overtime, bonuses, allowances, and benefits.
Building directly on that foundation, today's lesson moves from theory to practice. Our objective is to calculate the gross salary (Salaire Brut) including all its components (base salary, allowances, bonuses). Mastering this calculation is the essential first step in preparing any Moroccan pay slip (bulletin de paie), as the gross salary is the starting point from which all deductions are made.
1. The Anatomy of Gross Salary (Salaire Brut)
The Gross Salary—often referred to as Salaire Brut Global (SBG) in a payroll context—represents the total remuneration due to an employee for a given period before any deductions are taken (like social contributions or income tax).
The fundamental formula is:
Gross Salary = Base Salary + Overtime Pay + Bonuses & Allowances + Benefits
The following diagram, which you saw in our last lesson, provides a perfect visual map for our calculation today. We will now learn how to quantify each of these boxes.
2. Component 1: Base Salary (Salaire de Base)
The base salary is the most straightforward component. It is the fixed remuneration agreed upon between the employer and the employee and documented in the employment contract (contrat de travail).
It's important to note that this salary must be at least equal to the legal minimum wage in Morocco. This is known as the SMIG (Salaire Minimum Interprofessionnel Garanti).
Morocco Payroll, Employment & Hiring Guide
To understand the legal floor for salaries, let's quickly review the basic payroll parameters in Morocco.
Please read the subsection titled 'Payroll Setup'. Focus on the 'Minimum Wage' and 'Hours per Week' to understand the legal baseline for employee pay.
As you read, the standard workweek is 44 hours. While the SMIG is often cited as an hourly rate, we can approximate the monthly minimum for a full-time employee. The standard number of working hours per month in Morocco is calculated as:
(44 hours/week * 52 weeks/year) / 12 months = 190.67 hours/month (often rounded to 191 hours in practice).
Therefore, SMIG Mensuel = SMIG Horaire × 191 hours.
For our calculations, the salaire de base will typically be a given amount from an employee's contract.
3. Component 2: Calculated Bonuses and Allowances
While some bonuses are fixed amounts (e.g., a year-end bonus), others must be calculated each month based on specific rules defined in the Moroccan Labor Code (Code du Travail). The most common one is the Seniority Bonus.
The Seniority Bonus (Prime d'Ancienneté)
This is a mandatory bonus that rewards an employee's loyalty to the company. It is due to employees after they complete two years of service, unless a more favorable arrangement is already specified in their contract or a collective agreement.
Morocco Payroll, Employment & Hiring Guide
Let's examine the rules for this important mandatory bonus.
Read the section 'Mandatory Bonuses' to learn the different percentage rates based on years of service. Pay attention to what constitutes 'annual wages' for this calculation.
The seniority bonus is calculated by applying a percentage to a base amount. The rates are:
- 5% of salary after 2 years of service.
- 10% of salary after 5 years of service.
- 15% of salary after 12 years of service.
- 20% of salary after 20 years of service.
- 25% of salary after 25 years of service.
What is the calculation base? The Moroccan Labor Code (Article 350) specifies that this bonus is calculated on the salary and its accessories, which includes the base salary and overtime pay.
So, the formula is:Prime d'Ancienneté = (Salaire de base + Heures Supplémentaires) × Rate (%)
Test your understanding!
An employee has a base salary of 7,000 DH and has been with the company for 7 years. This month, they did not work any overtime. What is their seniority bonus?
Show answer
- Service: 7 years falls into the "5 to 12 years" bracket.
- Rate: 10%
- Calculation: (7,000 DH + 0 DH) × 10% = 700 DH.
- The seniority bonus is 700 DH.
4. Component 3: Overtime Pay (Heures Supplémentaires)
When an employee works beyond the standard 44-hour week, they are entitled to increased pay for those extra hours. The calculation requires two steps: determining the hourly rate and applying the correct majoration (increase).
Les heures supplémentaires au Maroc
The following resource provides a clear and practical guide to calculating overtime pay according to Moroccan law.
First, read the section 'Comment l’entreprise peut-elle valoriser les heures supplémentaires ?' to understand the base for calculation. Then, focus on 'Calculer le paiement des heures supplémentaires dans la pratique' to learn the specific majoration rates for non-agricultural activities.
Here is the systematic approach to calculating overtime pay:
Step 1: Calculate the Normal Hourly Rate (Taux Horaire)
The hourly rate is derived from the monthly base salary using the standard 191 hours/month.
Taux Horaire = Salaire de Base / 191
Step 2: Apply the Majoration Rate
The increase depends on when the overtime was performed (for non-agricultural sectors):
-
Daytime Overtime: +25%
- Performed between 6:00 AM and 9:00 PM on a normal workday.
Rémunération = Taux Horaire × 1.25
-
Nighttime Overtime: +50%
- Performed between 9:00 PM and 6:00 AM on a normal workday.
Rémunération = Taux Horaire × 1.50
-
Rest Day / Public Holiday Overtime: +100%
- Performed on the weekly rest day or a public holiday.
Rémunération = Taux Horaire × 2.00- Note: The resource mentions 50% for a rest day, but it is common practice and often stipulated in collective agreements to apply a 100% majoration for work on public holidays or the designated weekly rest day, reflecting the higher disruption for the employee. We will use 100% for these cases as it aligns with best practices.
Total Overtime Pay = Sum of pay for all overtime hours worked.
5. Putting It All Together: A Comprehensive Example
Let's calculate the gross salary for a fictional employee to solidify your understanding.
Employee Profile:
- Name: Karim
- Position: Accountant in a manufacturing SME in Casablanca.
- Base Salary (
Salaire de base): 9,550 DH per month. - Seniority (
Ancienneté): 4 years. - This month's overtime:
- 8 hours worked on a weekday evening, ending at 11 PM.
- 4 hours worked on a weekday afternoon.
- Other elements: He receives a transport allowance (
indemnité de transport) of 500 DH.
Calculation Steps:
-
Hourly Rate (
Taux Horaire)9,550 DH / 191 hours = 50 DH/hour
-
Overtime Pay (
Rémunération des Heures Supplémentaires)- The 8 hours worked until 11 PM are nighttime hours.
8 hours × (50 DH × 1.50) = 8 × 75 DH = 600 DH
- The 4 hours worked in the afternoon are daytime hours.
4 hours × (50 DH × 1.25) = 4 × 62.5 DH = 250 DH
- Total Overtime Pay = 600 + 250 = 850 DH
- The 8 hours worked until 11 PM are nighttime hours.
-
Seniority Bonus (
Prime d'Ancienneté)- Karim has 4 years of service, so the rate is 5%.
- The calculation base is
Salaire de base+Heures Supplémentaires. Base = 9,550 DH + 850 DH = 10,400 DH- Bonus = 10,400 DH × 5% = 520 DH
-
Total Gross Salary (
Salaire Brut Global)- This is the sum of all components.
SBG = Salaire de base + Total Overtime + Seniority Bonus + Transport AllowanceSBG = 9,550 DH + 850 DH + 520 DH + 500 DHSalaire Brut Global= 11,420 DH
This final figure, 11,420 DH, is Karim's gross salary for the month. It is the number we will use as our starting point for calculating deductions in the upcoming lessons.
Conclusion
In this lesson, you have moved from identifying salary components to performing the actual calculations needed to determine an employee's total gross pay. This is a fundamental, practical skill for any accountant involved in payroll.
Key Takeaways:
- Gross Salary (
Salaire Brut) is the sum of all remuneration before any deductions: Base Salary + Overtime + Bonuses/Allowances + Benefits. - The
Salaire de Baseis used to calculate the normal hourly rate (Taux Horaire = Salaire de Base / 191). - Overtime pay is calculated by applying a majoration rate (+25% for day, +50% for night, +100% for rest days/holidays) to the hourly rate.
- The mandatory Seniority Bonus (
Prime d'Ancienneté) is calculated on the sum of the base salary and overtime pay, using progressive rates based on years of service.
Preview of the Next Lesson:
Now that you can confidently calculate the Salaire Brut Global, our next step is to determine the Salaire Net. To do this, we must first calculate and subtract the employee's mandatory contributions to the social security system. In our next lesson, you will learn how to calculate the employee's share of mandatory social contributions (CNSS and AMO).