First, a quick sanity‐check – in Morocco most people talk about “net salary” on a monthly basis. I’ll therefore show you how to reverse-engineer the gross (base) salary you’d need so that, after social-security deductions and income tax (IR), you end up with a net 40 000 MAD in your pocket each month.
—
1. Assumptions & parameters
-
Employee social‐security contributions (CNSS + AMO) ≃ 9.56 % of gross.
-
Taxable income = gross − social contributions.
-
IR (impôt sur le revenu) progressive 2023 annual rates, prorated monthly (MAD):
• 0–30 000 → 0%
• 30 001–50 000 → 10%
• 50 001–60 000 → 20%
• 60 001–80 000 → 30%
• > 80 000 → 34% (and 38% above 180 000)
-
We solve the equation:
net = gross − (9.56% × gross) − IR[taxable = gross·(1−0.0956)]
→ net = 40 000 MAD
—
2. Back-of-the-envelope calculation
In the bracket where taxable ≤ 50 000 MAD/month (i.e. gross ≤ 50 000/0.9044 ≃ 55 300):
IR = 10% × (taxable − 30 000)
Let G = gross monthly salary. Then:
taxable T = 0.9044 G
IR = 0.10 × (max[0, T − 30 000])
net = G − 0.0956 G − IR
= 0.9044 G − 0.10 (T − 30 000)
Set net = 40 000 and solve for G:
0.9044 G − 0.10 (0.9044 G − 30 000) = 40 000
⟹ 0.81396 G + 3 000 = 40 000
⟹ G ≃ 45 460 MAD
—
3. Detailed breakdown
| Item | Formula | Amount (MAD) |
|---|
| Gross monthly salary (G) | – | 45 460 |
| Social contrib. (9.56 % × G) | 0.0956 × 45 460 | 4 349 |
| Taxable income T | G − social = 0.9044×45 460 | 41 111 |
| IR on (T − 30 000 at 10 %) | 0.10×(41 111−30 000) | 1 111 |
| Net monthly salary | G − social − IR | 45 460−4 349−1 111 = 40 000 |
—
4. Annual equivalent
If you multiply by 12 months:
• Gross annual base ≃ 45 460 × 12 = 545 520 MAD
• Net annual take-home ≃ 40 000 × 12 = 480 000 MAD
—
5. Caveats & fine‐tuning
• Exact CNSS/AMO rates can vary (we used 9.56 %).
• IR brackets change over time – always check the latest Bulletins Officiels.
• If you meant 40 000 MAD per year net, then your gross ≃ 50 000 MAD /year (much lower!).
Hope this helps! Let me know if you need a different scenario (e.g. 13th-month bonus, other benefits, or a yearly-net target). 😊