Barcelona or Vienna: which climate?

Barcelona (Spain) has a humid subtropical climate, whereas Vienna (Austria) has a warm-summer humid continental 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 Vienna.

Barcelona is warmer than Vienna by 5.1 °C in annual average: 15.0 °C against 9.9 °C.

Barcelona and Vienna receive comparable annual rainfall, on the order of 619 mm.

Barcelona gets 10.2 hours of sunshine per day on average, against 8.3 hours in Vienna.

Vienna has warmed by +2.4 °C between 1940 and 2025, against +2.0 °C in Barcelona. Vienna is therefore warming faster than Barcelona. Both trends are statistically significant.

Barcelona averages 3 hot days (≥ 30 °C) and 2 frost days per year; Vienna averages 12 and 83.

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

IndicatorBarcelonaViennaDifference
Mean daily temperature15.0 °C9.9 °C-5.1 °C
Average daily high18.5 °C14.0 °C-4.5 °C
Average daily low12.0 °C6.1 °C-5.9 °C
Annual rainfall619 mm639 mmnegligible
Sunshine / day10.2 h8.3 h-1.9 h
Hot days (≥ 30 °C)3 d/yr12 d/yr+9 d/yr
Frost days (< 0 °C)2 d/yr83 d/yr+81 d/yr
Rainy days (≥ 1 mm)95 d/yr118 d/yr+23 d/yr
Mean relative humidity78 %74 %-4 %
Average peak wind15.5 km/h18.3 km/hnegligible

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 climateVienna climate