
Madrid Population, rankings, climate and local time
- RegionMadrid
- CountrySpain
- ContinentEurope
- Coordinates40.4165° N, 3.7026° W
- Time zoneEurope/Madrid
How many people live in Madrid?
Urban area population, 1975–2050
- 19753.0M
- 19803.2M
- 19853.4M
- 19903.4M
- 19953.6M
- 20003.9M
- 20054.3M
- 20104.6M
- 20155.0M
- 20205.5M
- 20255.6M
- 20305.6M
- 20355.6M
- 20405.6M
- 20455.6M
- 20505.6M
Where Madrid ranks
Location and land
Madrid lies at 40.4165° N, 3.7026° W, in the Madrid region of Spain. GeoNames classes it as: national capital. The ground is about 665 m above sea level, according to a satellite elevation model. Clocks follow the Europe/Madrid time zone. The nearest city of 500,000+ people is Zaragoza, 274 km away; the largest nearby is Barcelona (1.69 million), 504 km away.
The World Bank publishes land area and density for whole countries only, so these are national figures, not the city’s.
Nearby large cities
GeoNames cities of 500,000+ people more than 50 km away (closer places are often districts of the same city). Straight-line distance calculated from GeoNames coordinates.
- Zaragoza274 km away687K
- Valencia302 km away824K
- Sevilla390 km away687K
- Málaga416 km away592K
- LisbonPortugal · 503 km away518K
- Barcelona504 km away1.7M
- TangierMorocco · 549 km away1.0M
- ToulouseFrance · 553 km away512K
Weather through the year
Average monthly temperature and rainfall
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mean temperature (°C) | 3.8 | 4.7 | 7.9 | 11.2 | 15.7 | 21.8 | 25.3 | 24.8 | 20.0 | 14.1 | 7.6 | 4.4 |
| Rainfall (mm per day) | 1.21 | 1.37 | 1.55 | 1.74 | 1.37 | 0.72 | 0.28 | 0.44 | 0.81 | 2.12 | 1.79 | 1.30 |
| Rainfall (mm per month, calculated) | 38 | 39 | 48 | 52 | 42 | 22 | 9 | 14 | 24 | 66 | 54 | 40 |
| Solar energy (kWh/m² per day) | 2.12 | 3.05 | 4.25 | 5.45 | 6.55 | 7.47 | 7.78 | 6.76 | 5.18 | 3.49 | 2.32 | 1.92 |
Madrid averages 13.5 °C across the year. July is the warmest month at 25.3 °C and January the coolest at 3.8 °C, a swing of 21.5 °C. About 447 mm of rain falls in a typical year; October is the wettest month (66 mm) and July the driest (9 mm). These are long-term averages from NASA’s satellite and weather-model data for the nearest grid point, not readings from a local weather station.
Sources
- GeoNamescities15000 gazetteer (populated places of 15,000+)
- United Nations, DESA, Population DivisionWorld Urbanization Prospects: The 2025 Revision, file F21 (cities, Degree of Urbanisation)
- NASA POWERClimatology API (community RE): T2M, PRECTOTCORR, ALLSKY_SFC_SW_DWN
- World BankWorld Development Indicators: AG.LND.TOTL.K2 (land area), EN.POP.DNST (population density)
- WorldCrisp calculationCalculated only from the sources above; the method is stated with each figure