Barcelona or Hamburg: which climate?

Barcelona (Spain) has a humid subtropical climate, whereas Hamburg (Germany) has a temperate oceanic 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 Barcelona and to Hamburg.

Barcelona is warmer than Hamburg by 6.0 °C in annual average: 15.0 °C against 9.0 °C.

Hamburg gets more rain than Barcelona: 733 mm per year against 619 mm.

Barcelona gets 10.2 hours of sunshine per day on average, against 7.2 hours in Hamburg.

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

Barcelona averages 3 hot days (≥ 30 °C) and 2 frost days per year; Hamburg averages 3 and 67.

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

IndicatorBarcelonaHamburgDifference
Mean daily temperature15.0 °C9.0 °C-6.0 °C
Average daily high18.5 °C12.4 °C-6.1 °C
Average daily low12.0 °C5.8 °C-6.2 °C
Annual rainfall619 mm733 mm+114 mm
Sunshine / day10.2 h7.2 h-3.0 h
Hot days (≥ 30 °C)3 d/yr3 d/yrnegligible
Frost days (< 0 °C)2 d/yr67 d/yr+65 d/yr
Rainy days (≥ 1 mm)95 d/yr144 d/yr+49 d/yr
Mean relative humidity78 %80 %negligible
Average peak wind15.5 km/h18.6 km/h+3.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

Barcelona climateHamburg climate