Sarajevo has either a humid continental climate , or an oceanic climate , depending on if either the 0 °C or the -3 °C isotherms are used. Sarajevo’s climate exhibits four seasons and uniformly spread precipitation, typical of both Cfb and Dfb climates. The proximity of the Adriatic Sea moderates Sarajevo’s climate somewhat, although the mountains to the south of the city greatly reduce this maritime influence. The average yearly temperature is 10 °C (50 °F), with January (−0.5 °C (31.1 °F) on average) being the coldest month of the year and July (19.7 °C (67.5 °F) on average) the warmest.
The highest recorded temperature was 40.7 °C (105 °F) on 19 August 1946, and on 23 August 2008 (41.0) while the lowest recorded temperature was −26.2 °C (−15.2 °F) on 25 January 1942. On average, Sarajevo has 7 days where the temperature exceeds 32 °C (89.6 °F) and 4 days where the temperature drops below −15 °C (5 °F) per year. The city typically experiences mildly cloudy skies, with an average yearly cloud cover of 45%.
The cloudiest month is December (75% average cloud cover) while the clearest is August (37%). Moderate precipitation occurs fairly consistently throughout the year, with an average 75 days of rainfall. Suitable climatic conditions have allowed winter sports to flourish in the region, as exemplified by the 1984 Winter Olympics that were held in Sarajevo. Average winds are 28–48 km/h (17–30 mph) and the city has 1,769 hours of sunshine.