World SurveyPlay
Sheet 164 of 195 · EuropeESP · 39.4°N 3.7°W

Spain

Kingdom of Spain · Reino de España

Capital
Madrid
Population
49.4 million 2025
Area
505,992 km²
Neighbours
5
Locator map of SpainSPAINMadridFRANCEPORTUGALMOROCCOANDORRAALGERIANorthAtlantic OceanMediterraneanSeaBay of Biscay0250 km
Spain hatched, Madrid marked with a triangle, land neighbours shaded. Orthographic projection centred on 39.9°N 2.5°W; the scale bar is true at the centre.

In Southern Europe, Spain has five land neighbours: Andorra, France, Morocco, Portugal and the United Kingdom. The land borders with Morocco and the United Kingdom are too small to draw at this map's scale. At 505,992 km², it ranks 51st of 195 by area, close in size to Thailand and Turkmenistan.

The World Bank counts 49.4 million people in 2025: 32nd of 194 worldwide and 6th of 44 in Europe. On average, 98 people live on each km². 80.5% of people lived in urban areas in 2025.

GDP per capita was US$38,627 in 2025 (World Bank, current US$), 31st of 191 and 22nd of 44 in Europe. Life expectancy at birth was 83.9 years in 2024, the 10th-highest of the 194. The fertility rate was 1.10 births per woman in 2024.

Its main landmass has land on both sides of the prime meridian, in the Northern Hemisphere. North to south it runs about 861 km, between 36.0°N and 43.8°N. Directly through the Earth from Madrid, the antipode falls on land, in New Zealand.

How it compares Europe: 45 countries

MeasureFigureWorldEurope
Population49,355,1432025, World Bank32nd of 1946th of 44
Area505,992 km²world-countries51st of 1954th of 45
GDPUS$1.91 trillion2025, World Bank, current US$12th of 1916th of 44
GDP per capitaUS$38,6272025, World Bank, current US$31st of 19122nd of 44
Population density98 per km²population 2025, World Bank; area, world-countries93rd of 19423rd of 44
Life expectancy83.9 years2024, World Bank10th of 1948th of 44
Urban population80.5%2025, World Bank41st of 19415th of 44
Forest area38.2% of land2024, World Bank77th of 19416th of 44
Population growth+1.03% a year2025, World Bank97th of 1948th of 44
Internet users95.8%2024, World Bank22nd of 18813th of 44
Fertility rate1.10 births per woman2024, World Bank188th of 19441st of 44
Land neighbours5world-countries; among the 19535th of 19510th of 45
Ranks run from the largest value (1st) among the countries with data; equal values share a rank.

Closest in areaThailand, Turkmenistan and Yemen

Closest in populationAlgeria, Uganda and Sudan

Neighbours 5 countries by land, nearest capital first

  • Andorra492 km
    Madrid to Andorra la Vella, capital to capital
  • Portugal504 km
    Madrid to Lisbon, capital to capital
  • Morocco762 km
    Madrid to Rabat, capital to capital; border too short to draw at the 1:50m scale of this map
  • France1,054 km
    Madrid to Paris, capital to capital
  • Madrid to London, capital to capital; border too short to draw at the 1:50m scale of this map

Where on Earth main landmass

Hemispheres
Northern, Eastern and Western
Capital
Madrid
40.40°N 3.69°W
Northernmost latitude
43.77°N
Southernmost latitude
36.03°N
Westernmost longitude
9.24°W
Easternmost longitude
4.32°E
North to south
about 861 km
Antipode of Madrid
40.40°S 176.32°E
on land, in New Zealand