ERA5 almanac comparison — 8 years of real data
Barcelona vs Madrid: weather in July
Madrid edges out Barcelona for sun in July: 91% clear historically versus 64% (8-year ERA5 average, a 27-point gap). Both are viable — Madrid is the safer bet.
What you are reading: 8-year historical averages, not a forecast.
Either destination can still surprise you this specific July. For this
week’s actual forecast, each destination links to its live page below.
Barcelona
ES
- Clear days, July
- 64%
- Sample size
- n=248 days
- Avg high
- 84°F
- Early July (1st–15th)
- 63%
- Late July (16th–end)
- 64%
Madrid
ES
- Clear days, July
- 91%
- Sample size
- n=248 days
- Avg high
- 94°F
- Early July (1st–15th)
- 87%
- Late July (16th–end)
- 95%
Compare Barcelona vs Madrid in another month
All percentages are historical averages from the ERA5 reanalysis via Open-Meteo, 8 full years (2018–2025). “Clear” means avg high ≥ 72 °F, precipitation < 1 mm, and a non-precipitation weather code. This is history, not a forecast. The live 7-day outlook for any destination is on its own page and may differ from the long-run average. Data from Open-Meteo.