Casablanca or Madrid: which is better?

World city: head-to-head comparison

Casablanca
4.0
points out of 5
Winner
Madrid
5.0
points out of 5

Madrid wins on total points: 5.0 vs 4.0 out of 5.

  • Climate and risks: Madrid 4.0:5.0

All indicators weigh the same. The better value in a pair gets 1 point, the other gets its share of the better one (for "lower is better" indicators the better value is divided by the worse). This is a score based on data, not advice on where to live: different people have different circumstances.

Biggest differences

IndicatorCasablancaMadridMargin
Distance to the seakm3303>100×
Air humidity%7359+23%
Muggy days (dew point ≥ +20 °C)days per year90+9
Urban centre densitypeople per km²11,0318,353+32%
Urban centre areakm²415680+64%
All 17 indicators ↓

Differences are picked by how far apart the two places rank among the 81 places in the set. This compares against the rest of the set; it is not a rating of how suitable a place is to live in.

Casablanca
Madrid

Population

no winner
City population
neutral indicator: higher does not mean better
3,144,909 people
GeoNames snapshot (all-the-cities 3.1.0 package, 2022), exact date not stated
3,255,944 people
GeoNames snapshot (all-the-cities 3.1.0 package, 2022), exact date not stated
Urban centre population
neutral indicator: higher does not mean better
4,577,677 people
2025
5,680,137 people
2025
Urban centre area
neutral indicator: higher does not mean better
415 km²
2025
680 km²
2025
Urban centre density
neutral indicator: higher does not mean better
11,031 people per km²
2025
8,353 people per km²
2025
Urban centre population growth, 2015–2025
neutral indicator: higher does not mean better
12.6 %
2015–2025
12.3 %
2015–2025

Climate and risks

Better: Madrid (4.0 : 5.0)
Hot days (max ≥ +30 °C)
lower is better
✓77 days per year
2016-20255% lower
✗81 days per year
2016-20255% higher
Frost days (min ≤ −10 °C)
tie
0 days per year
2016-2025
0 days per year
2016-2025
Severe frost (min ≤ −20 °C)
tie
0.0 days per year
2016-2025
0.0 days per year
2016-2025
Ice days (max ≤ 0 °C)
neutral indicator: higher does not mean better
0 days per year
2016-2025
0 days per year
2016-2025
Heating degree days
neutral indicator: higher does not mean better
671 °C·days per year
2016-2025
1,587 °C·days per year
2016-2025
Cooling degree days
neutral indicator: higher does not mean better
1,003 °C·days per year
2016-2025
952 °C·days per year
2016-2025
Rainy days
no data for one of the places
no data
63 days per year
2016-2025
Annual precipitation
no data for one of the places
no data
472 mm per year
2016-2025
Daylight on December 21
neutral indicator: higher does not mean better
9.9 hours
December 21 and June 21 (does not depend on the year)
9.3 hours
December 21 and June 21 (does not depend on the year)
Daylight on June 21
neutral indicator: higher does not mean better
14.4 hours
December 21 and June 21 (does not depend on the year)
15.1 hours
December 21 and June 21 (does not depend on the year)
Air humidity
neutral indicator: higher does not mean better
73 %
2021-2025
59 %
2021-2025
Muggy days (dew point ≥ +20 °C)
lower is better
✗9 days per year
2021-2025
✓0 days per year
2021-2025
Distance to the sea
neutral indicator: higher does not mean better
3 km
2006-2025
303 km
2006-2025
Earthquakes M4.5+ within 100 km
tie
0.00 per year
2006-2025
0.00 per year
2006-2025

A winner is named only for indicators with a known “better / worse” direction. Population and other neutral indicators are shown without a winner. Outdated and missing values are not counted. Details for each place: Casablanca, Madrid.

More comparisons