Hamburg or Madrid: which climate?

Hamburg (Germany) has a temperate oceanic 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 Hamburg and to Madrid.

Madrid is warmer than Hamburg by 5.2 °C in annual average: 14.2 °C against 9.0 °C.

Hamburg gets more rain than Madrid: 733 mm per year against 430 mm.

Madrid gets 10.3 hours of sunshine per day on average, against 7.2 hours in Hamburg.

Hamburg and Madrid are warming at the same rate: about +2.2 °C between 1940 and 2025 on both sides.

Hamburg averages 3 hot days (≥ 30 °C) and 67 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.

IndicatorHamburgMadridDifference
Mean daily temperature9.0 °C14.2 °C+5.2 °C
Average daily high12.4 °C19.8 °C+7.4 °C
Average daily low5.8 °C8.7 °C+2.9 °C
Annual rainfall733 mm430 mm-303 mm
Sunshine / day7.2 h10.3 h+3.1 h
Hot days (≥ 30 °C)3 d/yr65 d/yr+62 d/yr
Frost days (< 0 °C)67 d/yr39 d/yr-28 d/yr
Rainy days (≥ 1 mm)144 d/yr72 d/yr-72 d/yr
Mean relative humidity80 %61 %-19 %
Average peak wind18.6 km/h13.5 km/h-5.1 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

Hamburg climateMadrid climate