Barcelona or Dubai: which climate?

Barcelona (Spain) has a humid subtropical climate, whereas Dubai (United Arab Emirates) has a hot desert 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 Dubai.

Dubai is warmer than Barcelona by 12.4 °C in annual average: 27.4 °C against 15.0 °C.

Barcelona gets more rain than Dubai: 619 mm per year against 76 mm.

Dubai gets 11.3 hours of sunshine per day on average, against 10.2 hours in Barcelona.

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

Barcelona averages 3 hot days (≥ 30 °C) and 2 frost days per year; Dubai averages 241 and 0.

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

IndicatorBarcelonaDubaiDifference
Mean daily temperature15.0 °C27.4 °C+12.4 °C
Average daily high18.5 °C33.7 °C+15.2 °C
Average daily low12.0 °C21.7 °C+9.7 °C
Annual rainfall619 mm76 mm-543 mm
Sunshine / day10.2 h11.3 h+1.1 h
Hot days (≥ 30 °C)3 d/yr241 d/yr+238 d/yr
Frost days (< 0 °C)2 d/yr0 d/yrnegligible
Rainy days (≥ 1 mm)95 d/yr11 d/yr-84 d/yr
Mean relative humidity78 %56 %-22 %
Average peak wind15.5 km/h21.8 km/h+6.3 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 climateDubai climate