WorldCrisp
City profile · Spain

Madrid Population, rankings, climate and local time

  • RegionMadrid
  • CountrySpain
  • ContinentEurope
  • Coordinates40.4165° N, 3.7026° W
  • Time zoneEurope/Madrid
City population (GeoNames)3.26 millionGeoNames
Urban area population, 20255.58 million
Estimate2025
United Nations, DESA, Population Division
Urban area annual growth, 2025+0.34%
Estimate2025
United Nations, DESA, Population Division
Urban area population, 20505.59 million
Projection2050
United Nations, DESA, Population Division
World rank, UN urban areas (2025)#72of 12,138
Calculated2025
WorldCrisp calculation
01/Population

How many people live in Madrid?

Urban area population, 1975–2050

EstimateProjection
02.0M4.0M6.0M1975200020252050Projections →3.0M5.6M5.6M1975: 2,951,852 (Estimate)1980: 3,248,763 (Estimate)1985: 3,359,138 (Estimate)1990: 3,410,930 (Estimate)1995: 3,623,277 (Estimate)2000: 3,920,824 (Estimate)2005: 4,251,731 (Estimate)2010: 4,586,097 (Estimate)2015: 5,001,339 (Estimate)2020: 5,489,078 (Estimate)2025: 5,583,601 (Estimate)2030: 5,624,369 (Projection)2035: 5,639,926 (Projection)2040: 5,641,813 (Projection)2045: 5,629,195 (Projection)2050: 5,588,668 (Projection)
  1. 19753.0M
  2. 19803.2M
  3. 19853.4M
  4. 19903.4M
  5. 19953.6M
  6. 20003.9M
  7. 20054.3M
  8. 20104.6M
  9. 20155.0M
  10. 20205.5M
  11. 20255.6M
  12. 20305.6M
  13. 20355.6M
  14. 20405.6M
  15. 20455.6M
  16. 20505.6M
02/Rankings

Where Madrid ranks

World rank, GeoNames city population#118of 31,799Position by population among all GeoNames cities of 15,000+
Rank in Spain, GeoNames city population#1of 544Position by population among GeoNames cities in Spain
World rank, UN urban areas (2025)#72of 12,138Position by 2025 estimate among all UN urban areas
Rank in Spain, UN urban areas (2025)#1of 84Position by 2025 estimate among UN urban areas in Spain
Share of Spain’s population living in the urban area11.3%UN urban-area estimate divided by Spain’s total population from the World Bank
03/Geography

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.

First-level regionMadrid
Place typeNational capital
Coordinates40.4165° N, 3.7026° W
Terrain height (digital elevation model)665 mGeoNames “dem” field (SRTM3 or GTOPO30 elevation model)
Time zoneEurope/Madrid
Country context · Spain

The World Bank publishes land area and density for whole countries only, so these are national figures, not the city’s.

Spain land area499,686 km²Excludes inland water bodies. City land area is not published by a free commercial-use source.
Spain population density98 per km²National average: midyear population ÷ land area. Not the density of the city.

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.

  1. Zaragoza274 km away687K
  2. Valencia302 km away824K
  3. Sevilla390 km away687K
  4. Málaga416 km away592K
  5. LisbonPortugal · 503 km away518K
  6. Barcelona504 km away1.7M
  7. TangierMorocco · 549 km away1.0M
  8. ToulouseFrance · 553 km away512K
04/Climate

Weather through the year

Average monthly temperature and rainfall

Temperature (°C)Rainfall (mm, calculated)
Jan: 38 mmJanFeb: 39 mmFebMar: 48 mmMarApr: 52 mmAprMay: 42 mmMayJun: 22 mmJunJul: 9 mmJulAug: 14 mmAugSep: 24 mmSepOct: 66 mmOctNov: 54 mmNovDec: 40 mmDec4°5°8°11°16°22°25°25°20°14°8°4°
JanFebMarAprMayJunJulAugSepOctNovDec
Mean temperature (°C)3.84.77.911.215.721.825.324.820.014.17.64.4
Rainfall (mm per day)1.211.371.551.741.370.720.280.440.812.121.791.30
Rainfall (mm per month, calculated)38394852422291424665440
Solar energy (kWh/m² per day)2.123.054.255.456.557.477.786.765.183.492.321.92
Average annual temperature13.5 °CMean of the 12 monthly averages of T2M (air temperature at 2 m)
Warmest monthJul · 25.3 °C
Coolest monthJan · 3.8 °C
Annual rainfall447 mmNASA POWER PRECTOTCORR (mm per day) × days in each month, summed
Wettest monthOct · 66 mmDaily average × days in the month

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.

05/Sources

Sources

More cities in Spain

All cities in Spain