Cape Town or Madrid: which climate?

Cape Town (South Africa) has a warm-summer mediterranean climate, whereas Madrid (Spain) has a hot-summer mediterranean climate, according to the Köppen-Geiger classification.

The values compared here are normals computed over 86 complete calendar years, from 1940 to 2025, using ERA5 reanalysis data from the Copernicus programme. The same method and the same period apply to Cape Town and to Madrid.

Cape Town is warmer than Madrid by 2.1 °C in annual average: 16.3 °C against 14.2 °C.

Cape Town gets more rain than Madrid: 539 mm per year against 430 mm.

Cape Town gets 10.9 hours of sunshine per day on average, against 10.3 hours in Madrid.

Madrid has warmed by +2.4 °C between 1940 and 2025, against +0.8 °C in Cape Town. Madrid is therefore warming faster than Cape Town. Both trends are statistically significant.

Cape Town averages 0 hot days (≥ 30 °C) and 0 frost days per year; Madrid averages 65 and 39.

Data from ERA5 reanalysis (Copernicus Climate Change Service), redistributed under a CC-BY 4.0 licence. Normals are recomputed whenever the archive is updated.

IndicatorCape TownMadridDifference
Mean daily temperature16.3 °C14.2 °C-2.1 °C
Average daily high18.7 °C19.8 °C+1.1 °C
Average daily low14.4 °C8.7 °C-5.7 °C
Annual rainfall539 mm430 mm-109 mm
Sunshine / day10.9 h10.3 h-0.6 h
Hot days (≥ 30 °C)0 d/yr65 d/yr+65 d/yr
Frost days (< 0 °C)0 d/yr39 d/yr+39 d/yr
Rainy days (≥ 1 mm)77 d/yr72 d/yr-5 d/yr
Mean relative humidity78 %61 %-17 %
Average peak wind26.3 km/h13.5 km/h-12.8 km/h

A difference is only reported when it exceeds the resolution of the data. ERA5 is a reanalysis on a grid of about 31 km: two nearby cities often fall in the same cell, and below half a degree you are reading the grid, not the climate.

Temperature month by month

Rainfall month by month

Cape Town climateMadrid climate