DailyGeo › Atlas › Capitals of the world
Capitals of the world
Madrid, capital of Spain: facts and figures
Madrid is the capital of Spain. It has about 6,700,000 residents, which makes it the 25th most populous capital of the 172 in DailyGeo's atlas, and it sits 667 m above sea level. Its nearest neighbouring capital is Andorra la Vella, 493 km away.
Key figures
| Figure | Value |
|---|---|
| Country | Spain |
| Continent | Europe |
| City population | 6,700,000 residents |
| World rank by population | 25th of 172 |
| Elevation | 667 m |
| Founded | not reported |
| Time zone | Europe/Madrid |
| Coordinates | 40.42° N, 3.70° W |
| Country population | 49,355,143 residents |
| Country GDP | 1.9 trillion US dollars |
| GDP per capita | $38,627 |
| Life expectancy | 83.9 years |
| Internet users | 95.8 % |
| Big Mac price | not reported |
Climate through the year
Madrid averages 6.5 °C in winter and 25.9 °C in summer. January is the coldest month of the year and July the warmest, and the city receives 461 mm of precipitation in an average year.
| Month | Mean temperature |
|---|---|
| January | 5.1 °C |
| February | 7.5 °C |
| March | 10.1 °C |
| April | 13.1 °C |
| May | 18.0 °C |
| June | 23.2 °C |
| July | 27.7 °C |
| August | 26.8 °C |
| September | 20.8 °C |
| October | 15.9 °C |
| November | 9.7 °C |
| December | 6.8 °C |
What makes it stand out
- Elevation: 2nd highest capital in Europe (667 m).
- Rainfall: 3rd driest capital in Europe (461 mm).
Nearest capitals
Distances are great-circle distances between city centres, which is what the Capitals game measures when it tells you how far a guess was from the answer. Andorra la Vella is the closest capital to Madrid.
| Capital | Country | Distance |
|---|---|---|
| Andorra la Vella | Andorra | 493 km |
| Lisbon | Portugal | 503 km |
| Algiers | Algeria | 715 km |
| Rabat | Morocco | 764 km |
| Monaco | Monaco | 988 km |
How to remember it
Reading a figure once rarely fixes it in memory. Attach Madrid to a place and a number you already know: it is 493 km from Andorra la Vella, and it is the 25th largest capital in the atlas. Then practise retrieving it. DailyGeo Capitals gives you one mystery capital a day with distance, direction, language and population clues, the memorising method explains the review schedule, and the capitals index lists all 172.
To see how Spain compares with every other country on figures like these, the richest countries by GDP per capita ranks them on geopolitix, a country-ranking game by the same maker as DailyGeo.
Sources
- City population and coordinates: DailyGeo's own game data, the same figures the Capitals game plays with. Population follows the urban area rather than the commune, which is why no density is quoted.
- Temperature and rainfall: ten-year means (2015 to 2024) computed from ERA5 reanalysis, retrieved through Open-Meteo. Hersbach, H., et al. (2020). The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society.
- Elevation: terrain height at the city's coordinates in the Copernicus DEM, read through Open-Meteo rather than taken from a curated claim.
- Time zone: resolved from the same coordinates.
- Country figures: the World Bank, latest reported year for each series: Country GDP, GDP per capita, Country population, Life expectancy, Internet users.
- This capital elsewhere: Wikipedia, UNdata, Wikidata.
- Method and limits: How this data was collected explains how each figure was collected and what it does not cover.
The short answer
Madrid is the capital of Spain, in Europe, with about 6,700,000 residents, averaging 6.5 °C in winter and 25.9 °C in summer.
Turn the reading into recall. A new capital and country are waiting today.
Play today's DailyGeo puzzleFrequently asked questions
What is the capital of Spain?
Madrid is the capital of Spain. It has about 6,700,000 residents and lies in Europe.
How many people live in Madrid?
About 6,700,000, which ranks Madrid 25th of the 172 capitals in DailyGeo's atlas by city population.
What is the weather like in Madrid?
Madrid averages 6.5 °C in winter and 25.9 °C in summer, with 461 mm of precipitation a year. These are ten-year means from ERA5 reanalysis.
How expensive is Madrid?
GDP per capita in the country is $38,627, the latest year the World Bank reports.
Keep learning
- Andorra la Vella, capital of Andorra: facts and figures
Andorra la Vella is the capital of Andorra: 22,000 residents, 1,173 m above sea level, 3.2 °C in winter and 18.8 °C in summer. Key figures and sources.
- Lisbon, capital of Portugal: facts and figures
Lisbon is the capital of Portugal: 2,900,000 residents, 64 m above sea level, 12.2 °C in winter and 21.6 °C in summer. Key figures and sources.
- Algiers, capital of Algeria: facts and figures
Algiers is the capital of Algeria: 3,900,000 residents, 64 m above sea level, 12.2 °C in winter and 25.0 °C in summer. Key figures and sources.
- Capitals of the world: the full list by continent
Every capital in DailyGeo's atlas, grouped by continent, with population, elevation and winter and summer temperatures, each linking to its own data page.