BamworBamwor
CountriesRegionsRankingsIndexesCompareNewsIntelligence
ENESPTIT

Bamwor

Countries of the world: population, economy, government, geography and statistics. Data from 261 countries in 4 languages.

Regions

EuropeSouth AmericaNorth AmericaAsiaAfricaOceania

Rankings

PopulationGDP (PPP)AreaLife ExpectancyUnemployment

Compare

Argentina vs BrazilUSA vs ChinaFrance vs GermanyJapan vs South Korea

API for Developers

REST API OverviewAPI DocumentationQuickstart & Free KeyAPI Pricing PlansPlaygroundDatasets
About BamworMethodologyData SourcesIndexesContactPrivacy PolicyTerms of UseAPI Terms of Service
© 2026 Bamwor. Data from CIA World Factbook (Public Domain)bamwor.com
  1. Home
  2. /Europe
  3. /Spain
  4. /Cities
  5. /Madrid
← Back to Cities of Spain

Madrid, Madrid

Spain

National capital40.4165° N, 3.7026° W

Madrid is the capital city of Spain, located in the province of Madrid. With a population of 3,255,944, it stands as the most populous city in the country.

Population3,255,944
ProvinceMadrid
Coordinates40.4165° N, 3.7026° W
CountrySpain
Rank in Spain#1 of 30,891

Map

Nearest Airports

✈

Madrid-Cuatro Vientos Airport

LECURegional

8.7 km away

✈

Getafe Air Base

LEGTRegional

13.7 km away

✈

Adolfo Suárez Madrid–Barajas Airport

MADInternational

14 km away

About Madrid

Situated at coordinates 40.4165° N latitude and -3.70256° W longitude, Madrid lies in the Northern and Western hemispheres. The city has an elevation of 665 meters and operates within the Europe/Madrid timezone. Nearby cities include Latina, Carabanchel, and Puente de Vallecas.

Madrid ranks #1 out of 8,074 cities in Spain by population. It is significantly larger than the next most populous city, Barcelona, which has a population of 1,686,208.

Weather in Madrid

🌤️
25°CPartly cloudy
Feels like: 24°CHumidity: 24%Wind: 6 km/h
7-day forecast
Today🌤️25°9°
Mon🌤️25°11°
Tue🌧️21°13°
Wed🌧️23°12°
Thu🌤️26°11°
Fri🌤️27°12°
Sat🌧️20°13°

Cities in Madrid

The city is the largest in the Madrid province, which contains a total of 326 cities. Other notable cities in the province include Latina, Carabanchel, Puente de Vallecas, Fuencarral, and Ciudad Lineal.

Latina256,644Carabanchel253,678Puente de Vallecas244,151Fuencarral238,765Ciudad Lineal228,171Fuencarral-El Pardo220,085Móstoles207,095Alcalá de Henares193,751Fuenlabrada190,496Leganés188,425

Nearby Cities

There are 20 cities and towns within 25 km of Madrid.

●
SolNeighborhood · 8,164 inhab.
0.1 km
●
Madrid CentroNeighborhood · 149,718 inhab.
0.2 km
●
Las CortesNeighborhood · 10,816 inhab.
0.5 km
●
OperaNeighborhood
0.6 km
●
La LatinaNeighborhood · 10,747 inhab.
0.7 km
●
EmbajadoresNeighborhood · 46,204 inhab.
0.8 km
●
ChuecaNeighborhood
0.9 km
●
JusticiaNeighborhood · 18,219 inhab.
0.9 km
●
LavapiésNeighborhood · 44,630 inhab.
0.9 km
●
MalasañaNeighborhood
1 km
●
PalacioNeighborhood · 23,501 inhab.
1 km
●
UniversidadNeighborhood · 32,783 inhab.
1.1 km
●
El RastroNeighborhood
1.1 km
●
Alonso MartínezNeighborhood
1.2 km
●
BilbaoNeighborhood
1.4 km
●
JerónimosNeighborhood · 6,825 inhab.
1.5 km
●
Palos de MoguerNeighborhood · 25,097 inhab.
1.6 km
●
RecoletosNeighborhood · 15,444 inhab.
1.7 km
●
RetiroNeighborhood · 126,058 inhab.
1.7 km
●
SerranoNeighborhood
1.7 km

Universities in Madrid

Madrid is home to 14 universities and higher education institutions.

UniversityFoundedTypeQS
CUNEF Universidad1973——
Diplomatic School of Spain1942——
ESIC University2019——
Faculty of Mathematical Science———
IE School of Global and Public Affairs———
National University of Distance Education1972——
Reales Estudios de San Isidro1625——
Residencia de Señoritas1915——
Suffolk University Madrid Campus1906——
Universidad Carlos III de Madrid1989——
Universidad Central1822——
University of Madrid1943——
University School of Design, Innovation and Technology1988——
Voxel School———
See all universities in Spain →

Explore Spain

Users can explore other cities in Spain, compare countries, see rankings, or view the full city list for more information.

Spain profileAll cities of SpainWorld rankingsCompare countries

Largest cities in Spain

#1 Madrid3,255,944#2 Barcelona1,686,208#3 Valencia824,340#4 Zaragoza686,986#5 Sevilla686,741
Search People Madrid →

Frequently Asked Questions

What is the population of Madrid?

The population of Madrid is 3,255,944.

In which province/state is Madrid located?

Madrid is located in the province of Madrid.

What are the coordinates of Madrid?

The coordinates of Madrid are 40.4165° N latitude and -3.70256° W longitude.

What is the elevation of Madrid?

The elevation of Madrid is 665 meters.

What is the nearest airport to Madrid?

The nearest airport to Madrid is Adolfo Suárez Madrid–Barajas Airport.

The data for Madrid, Spain is part of the Bamwor structured dataset, covering 261 countries and over 13 million cities worldwide.

Developers can access Madrid, Spain data programmatically via the Bamwor REST API:
https://bamwor.com/api/v1/cities/3117735

AI agents can access Madrid, Spain data via the Bamwor MCP Server for real-time structured retrieval.

API Documentation →MCP Server →
GET /api/v1/cities/3117735

Source: Bamwor World Encyclopedia — GeoNames (CC BY 4.0)