Net Salary with €40,000 Gross Per Year in Spain (2026)
€40,000 gross = ≈€2,160 net/month in Madrid. Madrid vs Barcelona differences, examples by region, income tax and optimization strategies. Calculate it!
💡 Want to know your exact net salary with €40,000 gross based on your situation?
👉 Net salary calculator: discover your real salary
How much is the net salary with €40,000 gross per year?
With a gross salary of €40,000 per year in Spain, the approximate net salary is €29,464 to €30,196 per year in common regime communities (from Catalonia to Madrid), depending on your personal situation. This means you'll receive between €2,105 and €2,157 net per month in 14 payments.
ℹ️ In Basque Country (foral regime) net rises to ≈€30,600/year (≈€2,186/month), while in Navarra it drops to ≈€28,793/year (≈€2,057/month) due to their differentiated taxation.
A salary of €40,000 gross is considered a medium-high salary in Spain, common for:
- Senior professionals with 5-10 years experience
- Mid-senior software developers
- Technical engineers
- Junior project managers
- Specialized consultants
- Middle managers
Breakdown of deductions with €40,000 gross
At this salary level, deductions start to be significant:

Income Tax (IRPF)
With €40,000 gross, effective income tax is usually between 18% and 20% depending on:
- Your autonomous community (differences of up to €1,200/year)
- Your personal situation (children, disability, age)
- Number of extra payments
Estimated income tax: between €7,204 and €7,936 per year
Social Security
Worker contributions are approximately:
- Common contingencies: 4.70%
- Unemployment: 1.55%
- Professional training: 0.10%
- MEI 2026: 0.15%
Total Social Security: ≈€2,600 per year (6.5% of gross)
Total deductions
- Income Tax: €7,204 - €7,936
- Social Security: €2,600
- Total deductions: €9,804 - €10,536
Annual net salary: €29,464 - €30,196 (approx.)
Net salary by autonomous community
With €40,000 gross, differences between communities are very relevant:

Communities with lower income tax (common regime)
- Madrid: ≈€30,196 net/year (≈€2,157/month in 14 payments)
- Murcia: ≈€29,918 net/year (≈€2,137/month)
- Cantabria: ≈€29,906 net/year (≈€2,136/month)
- Canary Islands: ≈€29,879 net/year (≈€2,134/month)
Intermediate communities
- Castile and León: ≈€29,840 net/year (≈€2,131/month)
- La Rioja: ≈€29,830 net/year (≈€2,131/month)
- Galicia: ≈€29,774 net/year (≈€2,127/month)
- Valencian Community: ≈€29,702 net/year (≈€2,122/month)
Communities with higher income tax
- Catalonia: ≈€29,464 net/year (≈€2,105/month)
- Asturias: ≈€29,613 net/year (≈€2,115/month)
- Balearic Islands: ≈€29,572 net/year (≈€2,112/month)
Foral regimes (own taxation)
- Basque Country: ≈€30,600 net/year (≈€2,186/month) — the most favorable
- Navarra: ≈€28,793 net/year (≈€2,057/month) — the least favorable
⚠️ Basque Country and Navarra have foral regimes with their own income tax brackets. Navarra is more fiscally demanding on medium-high salaries.
Difference between communities
The difference between working in Madrid vs Catalonia can be up to €732 per year with this salary. It's a significant difference equivalent to almost an extra month's salary.
👉 Madrid vs Barcelona differences with €40,000 gross: real examples
👉 Calculate net salary in Madrid with €40,000
👉 Calculate net salary in Catalonia with €40,000
👉 See all communities: complete comparison
Monthly net salary by payment type
14 payments (most common)
With 14 payments (12 monthly + 2 extras in summer and Christmas):
- Monthly net: €2,105 - €2,186 (depending on community)
- Extra payments: same as monthly net
12 prorated payments
If you have 12 prorated payments:
- Monthly net: ≈€2,516 (in Madrid)
- No additional extra payments (already prorated)
The annual total is the same, only the monthly distribution changes.
👉 See differences between prorated and non-prorated payments
Is €40,000 gross a good salary in Spain?
Yes, it's an above-average salary that allows a comfortable lifestyle throughout Spain:
Positive context
✅ Well above the Spanish average salary (≈€26,000 gross)
✅ Allows comfortable living in any city, including Madrid/Barcelona
✅ Significant monthly savings: €500-€800/month
✅ Access to mortgages up to €200,000
✅ International vacations without problems
✅ Capable of supporting family (with partner working)
✅ Own car without worries
Considerations
⚠️ In central Madrid/Barcelona rent is still high (≈€1,000-€1,200)
⚠️ Buying housing alone requires partner or significant prior savings
⚠️ With single-parent family it can be tight
Purchasing power by city
- Madrid or Barcelona: Comfortable (rent ≈€1,000, ≈€1,100 left over)
- Valencia, Seville, Bilbao: Very comfortable (rent ≈€800, ≈€1,300 left over)
- Small cities: Roomy (rent ≈€600, ≈€1,500 left over)
Comparison with other salaries
For perspective:
- €30,000 gross → ≈€23,452 net (≈€1,675/month)
- €35,000 gross → ≈€26,827 net (≈€1,916/month)
- €40,000 gross → ≈€30,196 net (≈€2,157/month) | Reference
- €45,000 gross → ≈€33,194 net (≈€2,371/month)
- €50,000 gross → ≈€36,190 net (≈€2,585/month)
- €60,000 gross → ≈€42,184 net (≈€3,013/month)
With €40,000 gross you're in the 70-75th percentile of salaries in Spain. Only 25-30% of workers earn more than you.
Other salaries to compare
- Net salary with €30,000 gross - Average salary
- Net salary with €35,000 gross - Previous level
- Net salary with €50,000 gross - Next level
- Net salary with €60,000 gross - Very high salary
How to optimize your net salary with €40,000 gross
With this salary level, tax optimization can save you €2,000-€4,000 per year:
1. Flexible compensation (very effective)
Your company can offer you benefits exempt from income tax that increase your net:
- Meal voucher: up to €11/day exempt = ≈€220/month
- Transport voucher: up to €1,500/year exempt = ≈€125/month
- Private health insurance: up to €500/year exempt = ≈€42/month
- Childcare: up to €1,000/year exempt = ≈€83/month (if you have children)
Potential savings: €200-€400/month more net without costing more to the company
2. Pension plan
- Maximum deductible contribution: €1,500/year
- Tax savings with your income tax (≈19%): ≈€285/year
- Important: you'll recover the money at retirement (it will be taxed then)
3. Regional deductions
Depending on your community:
- Habitual residence rent: 10-15% deductions in some regions
- Childcare expenses: additional deductions
- Large family: significant bonuses
4. Strategic donations
- First €250 to NGOs: 80% deduction (you recover €200)
- Following donations: 35-40% deduction
5. Change of community (if you work remotely)
Moving from Catalonia to Madrid can save you ≈€732/year in income tax without changing jobs.
Typical monthly budget with €40,000 gross
Example monthly distribution with ≈€2,157 net (14 payments, Madrid):
Conservative budget (high savings)
- Rent + utilities: €850 (40%)
- Food and supermarket: €400 (19%)
- Transport (car/pass): €150 (7%)
- Leisure and restaurants: €250 (12%)
- Gym, subscriptions: €80 (4%)
- Clothing and personal care: €120 (6%)
- Savings and investment: €250 (12%)
Balanced budget
- Rent + utilities: €950 (45%)
- Food and supermarket: €450 (21%)
- Transport: €180 (9%)
- Leisure and travel: €350 (17%)
- Gym, hobbies: €120 (6%)
- Savings: €50 (2%)
With €40,000 gross you have margin to choose between saving aggressively or living very comfortably without worries.
Savings and investment strategies
Recommended monthly savings
With good planning you can save:
- Minimum (20%): €400/month = €4,800/year
- Optimal (30%): €600/month = €7,200/year
- Aggressive (40%): €850/month = €10,200/year
Realistic financial goals
- Emergency fund (6 months): ≈€12,000 → 15-20 months saving €600-€800/month
- Apartment deposit (10% of €250,000): €25,000 → 30-40 months saving €600-€850/month
- New/used car: €15,000 → 18-25 months saving €600-€850/month
Smart investment
With this salary you can:
- Index funds: €300-€500/month
- Pension plan: €125/month (€1,500/year deductible)
- Liquid savings: €200-€300/month
Conclusion
A salary of €40,000 gross leaves you a net salary between €29,464 and €30,196 per year (≈€2,105-€2,157/month in 14 payments, depending on community). It's an above-average salary in Spain that allows comfortable living, saving significantly and planning medium-long term goals.
To maximize your net salary:
- Negotiate flexible compensation with your company (can give you €200-€400/month more)
- Take advantage of tax deductions (pension plan, donations)
- If you work remotely, consider moving to Madrid
- Invest 20-30% of your salary in index funds
To know your exact net salary based on your personal situation:
👉 Calculate your personalized net salary here
Related guides
Frequently asked questions
Solve the most common questions about this topic
Calculate your net salary now
Get your personalized result in less than 1 minute