Mundevo
City comparison·Spain flagBarcelonavsSpain flagMadrid

Barcelona vs Madrid: cost, quality of life, and the winner

Barcelona (composite 6.3) vs Madrid (composite 6.6). Side-by-side on affordability, quality of life, remote-work friendliness and healthcare — with the calculation behind each score.

Composite scores

Overall: Madrid wins by 0.3 points

Barcelona composite
6.3 / 10
good
Madrid composite
6.6 / 10
good
Analyst take

Madrid edges Barcelona by just 0.3 points (6.6 vs 6.3), suggesting these cities compete in nearly identical territory despite vastly different geographies and cultural profiles.

Both fall into the same mid-range performance band, placing them well below top-tier European cities like Copenhagen or Amsterdam.

What to do

Don't let the marginal scoring difference drive your choice; examine specific category breakdowns instead to find which city actually matches your priorities.

Score-by-score, side-by-side

Each axis is scored independently with disclosed weights and a calculation string.

AxisBarcelonaMadridWinner
Affordability3.84.4Madrid +0.6
Quality of life6.57.1Madrid +0.6
Remote-work friendliness6.86.6Barcelona +0.2
Healthcare8.08.1Madrid +0.1
Score card · Barcelona
6.3/ 10 compositegood

Each axis is a weighted aggregate of underlying indicators normalized to a 0–10 scale. Weights are explicit and disclosed per axis. The composite is the unweighted mean of the four axes — axes are not collapsed further because the underlying trade-offs (e.g. low cost vs poor air quality) are user-dependent.

Affordability

3.8poor
  • Cost-of-living index (weight 60%)70
  • Rent index (weight 40%)50
How this is calculated

Affordability = ((100 − costIndex)/100 × 0.6 + (100 − rentIndex)/100 × 0.4) × 10. For Barcelona: ((100 − 70)/100 × 0.6 + (100 − 50)/100 × 0.4) × 10 = 3.8.

Barcelona is among the more expensive cities tracked. Salary expectations should be calibrated to the high cost base before relocating.

Quality of life

6.5good
  • Safety index (weight 40%)60
  • Healthcare index (weight 35%)78
  • Air quality index (weight 25%)55
How this is calculated

QoL = (safety/100 × 0.4 + healthcare/100 × 0.35 + airQuality/100 × 0.25) × 10. For Barcelona: (60/100 × 0.4 + 78/100 × 0.35 + 55/100 × 0.25) × 10 = 6.5.

Barcelona has a mixed quality profile. Safety: good; healthcare: good; air: good. Weigh the weakest axis against your personal priorities.

Remote-work friendliness

6.8good
  • Internet (median Mbps) (weight 45%)240 Mbps
  • Effective income tax (lower = better) (weight 30%)18.0%
  • Cost-of-living (lower = better) (weight 25%)70
How this is calculated

RemoteWork = (min(Mbps/300, 1) × 0.45 + (1 − incomeTax) × 0.3 + (100 − costIndex)/100 × 0.25) × 10. For Barcelona: (min(240/300, 1) × 0.45 + (1 − 0.18) × 0.3 + (100 − 70)/100 × 0.25) × 10 = 6.8.

Barcelona works for remote work but isn't optimized for it: internet 240 Mbps, income tax 18%, cost index 70.

Healthcare

8.0excellent
  • Healthcare quality index (weight 70%)78
  • Healthcare out-of-pocket / month (lower = better) (weight 30%)80
How this is calculated

Healthcare = (qualityIndex/100 × 0.7 + max(0, 1 − OOP/500) × 0.3) × 10. For Barcelona: (78/100 × 0.7 + max(0, 1 − 80/500) × 0.3) × 10 = 8.

Barcelona combines good system quality with a manageable out-of-pocket cost (~80 EUR/month). Travel insurance still recommended for non-residents.

Score card · Madrid
6.6/ 10 compositegood

Each axis is a weighted aggregate of underlying indicators normalized to a 0–10 scale. Weights are explicit and disclosed per axis. The composite is the unweighted mean of the four axes — axes are not collapsed further because the underlying trade-offs (e.g. low cost vs poor air quality) are user-dependent.

Affordability

4.4fair
  • Cost-of-living index (weight 60%)65
  • Rent index (weight 40%)42
How this is calculated

Affordability = ((100 − costIndex)/100 × 0.6 + (100 − rentIndex)/100 × 0.4) × 10. For Madrid: ((100 − 65)/100 × 0.6 + (100 − 42)/100 × 0.4) × 10 = 4.4.

Madrid is among the more expensive cities tracked. Salary expectations should be calibrated to the high cost base before relocating.

Quality of life

7.1good
  • Safety index (weight 40%)70
  • Healthcare index (weight 35%)80
  • Air quality index (weight 25%)60
How this is calculated

QoL = (safety/100 × 0.4 + healthcare/100 × 0.35 + airQuality/100 × 0.25) × 10. For Madrid: (70/100 × 0.4 + 80/100 × 0.35 + 60/100 × 0.25) × 10 = 7.1.

Madrid scores good on safety, excellent on healthcare and good on air. The composite quality-of-life signal is strong.

Remote-work friendliness

6.6good
  • Internet (median Mbps) (weight 45%)220 Mbps
  • Effective income tax (lower = better) (weight 30%)18.0%
  • Cost-of-living (lower = better) (weight 25%)65
How this is calculated

RemoteWork = (min(Mbps/300, 1) × 0.45 + (1 − incomeTax) × 0.3 + (100 − costIndex)/100 × 0.25) × 10. For Madrid: (min(220/300, 1) × 0.45 + (1 − 0.18) × 0.3 + (100 − 65)/100 × 0.25) × 10 = 6.6.

Madrid works for remote work but isn't optimized for it: internet 220 Mbps, income tax 18%, cost index 65.

Healthcare

8.1excellent
  • Healthcare quality index (weight 70%)80
  • Healthcare out-of-pocket / month (lower = better) (weight 30%)80
How this is calculated

Healthcare = (qualityIndex/100 × 0.7 + max(0, 1 − OOP/500) × 0.3) × 10. For Madrid: (80/100 × 0.7 + max(0, 1 − 80/500) × 0.3) × 10 = 8.1.

Madrid combines excellent system quality with a manageable out-of-pocket cost (~80 EUR/month). Travel insurance still recommended for non-residents.

Monthly cost delta: Barcelona vs Madrid

Normalized to EUR at 1 EUR = 1.0000 EUR.

CategoryBarcelonaMadridChange
housing€1,450€1,200-17%
food€380€350-8%
transport€60€60+0%
utilities€140€130-7%
leisure€380€350-8%
healthcare€80€80+0%

Where each city's money goes

Two cities can have the same monthly total but very different shapes — one might burn 50% on housing while the other splits more evenly. The composition matters as much as the headline.

Barcelona58% housing
Madrid55% housing
housing
food
transport
utilities
leisure
healthcare

Salary equivalence: Barcelona ↔ Madrid

What earning the same purchasing power costs in each city. Cost-adjusted using the local cost-of-living index (Barcelona = 70, Madrid = 65); currency-converted at 1 EUR = 1.0000 EUR. Tax differences are not modeled.

Earning in Barcelona, moving to Madrid
EUR → equivalent EUR
Barcelona grossMadrid equivalent
€40,000€37,143
€75,000€69,643
€120,000€111,429
Earning in Madrid, moving to Barcelona
EUR → equivalent EUR
Madrid grossBarcelona equivalent
€40,000€43,077
€75,000€80,769
€120,000€129,231

Equivalence here means same cost-of-living purchasing power, not same net take-home. Effective tax rates differ between countries; a salary equivalent on cost can still net more or less depending on the destination's tax regime. Use the calculator for tax-adjusted figures at a specific lifestyle tier.

Pros and cons

Why pick Barcelona

Barcelona doesn't have any standout advantages of ≥0.3 points on the scoring model.

Why pick Madrid

  • Wins on affordability (+0.6 points vs Barcelona).
  • Wins on quality of life (+0.6 points vs Barcelona).

Barcelona trade-offs

  • Trails Madrid on affordability by 0.6 points.
  • Trails Madrid on quality of life by 0.6 points.

Madrid trade-offs

No material trade-offs versus Barcelona on the scored axes.

Who should choose which

The composite winner doesn't always match what matters to you. These four reader profiles weigh the axes differently — find the closest fit.

Young remote pro

Single, salaried remote worker, 25-40, optimizing for runway + bandwidth.

Best fit
Madrid by 0.2 points
Barcelona5.3/10
Madrid5.5/10

Axes scored: affordability, remoteWork

Family with kids

Couple with school-age children, prioritizing safety, healthcare, and air quality.

Best fit
Madrid by 0.3 points
Barcelona7.3/10
Madrid7.6/10

Axes scored: qualityOfLife, healthcare

Retiree

Fixed income, healthcare-sensitive, prefers low cost and stable infrastructure.

Best fit
Madrid by 0.4 points
Barcelona6.1/10
Madrid6.5/10

Axes scored: healthcare, qualityOfLife, affordability

Cost-conscious mover

Salary stretch matters most. Cuts everything else if it lowers the burn rate.

Best fit
Madrid by 0.6 points
Barcelona3.8/10
Madrid4.4/10

Axes scored: affordability

Profiles use simple axis averaging — for a deeper read with your own weights, use the per-axis breakdown above.

Going deeper

Visa landscape for both countries — and case studies that touch this corridor.

Tools that work for either choice

Some links below are affiliate links — if you sign up we may earn a small commission, at no extra cost to you.

Methodology

How this page is calculated

Data sources

  • Mundevo per-city dataset. Cost basket, rent index, safety, healthcare, air quality and median internet for both cities. Reference date: 2026-05-23 (Barcelona) and 2026-05-23 (Madrid).
  • FX rate. 1 EUR = 1.0000 EUR, used to normalize cost baskets.
  • CityScoreCalculator. Four axes (Affordability, Quality of life, Remote work, Healthcare) computed with explicit weights and explanations. See per-axis calculation strings rendered on this page.
  • ComparisonService. Per-category cost deltas (housing, food, transport, utilities, leisure, healthcare) normalized to the origin currency.

Update cadence

Data as of . Last reviewed .

Calculation

For each of the four axes we compute an independent 0–10 score using the formulas printed beside each axis. The composite is the unweighted mean of the four axes. The overall winner is the city with the higher composite, unless the margin is under 0.05 points — in which case Barcelona is shown first as a tiebreaker to keep results stable.

Limitations

  • Climate is not scored — we don't yet hold a maintained climate dataset, so weather-driven preferences are not modeled.
  • Tax differences between cities in the same country are not modeled (Spain and Germany don't have material regional differences for this dataset).
  • Indices are population-level. Personal cost varies with neighborhood, employer benefits and family status.
  • Quality-of-life axis weights (safety 0.4 / healthcare 0.35 / air 0.25) are editorial defaults — readers with strong preferences should re-weight manually.

Frequently asked questions

Barcelona vs Madrid: which is cheaper?

Madrid is roughly 13% cheaper than Barcelona on the monthly cost basket (housing, food, transport, utilities, healthcare). Barcelona has cost index 70 vs Madrid at 65 (both with New York = 100).

Which city has better quality of life?

Barcelona scores 6.3/10 on the Mundevo composite versus Madrid at 6.6/10. The composite weights safety (40%), healthcare (35%) and air quality (25%). Madrid wins overall by 0.3 points.

Is Barcelona or Madrid better for remote work?

Barcelona has 240 Mbps median internet vs Madrid at 220 Mbps. The four-axis decision rubric on this page (affordability, quality of life, remote work, healthcare) gives a per-dimension breakdown rather than a single answer.

People also explore