Skip to content

Spain: population, capital, GDP per capita and more

Spain had 49.4 million people in 2025, 32nd of 217 countries by population, and its capital is Madrid.

SpainEurope & Central Asia

49,355,143 people in 2025

32nd of 217 countries by population, Europe & Central Asia

Capital
Madrid
High income
GDP per capita
$38,627
2025, 43rd of 210
Life expectancy
83.9 years
2024, 12th of 217
Show

49.4 million 2025

49.4 million44.4 million
20062025

World Bank Open Data (CC BY 4.0)

Latest figures

Spain: latest figures and ranks

IndicatorLatestYearWorldRegionIncome group
Population49,355,143202532nd of 2177th of 589th of 86
GDP per capita (current US$)$38,627202543rd of 21025th of 5743rd of 84
GDP (current US$)$1.91 trillion202512th of 2106th of 579th of 84
Life expectancy at birth (years)83.9202412th of 2178th of 5812th of 86
Population growth (% a year)1.02025100th of 21715th of 5819th of 86
Urban population (% of total)80.5202555th of 21717th of 5845th of 86
Population density (people per km²)982024107th of 21628th of 5754th of 86
Surface area (km²)505,981202453rd of 2168th of 5710th of 86
Access to electricity (% of people)100.020241st of 2151st of 571st of 85
Internet users (% of people)95.8202422nd of 18613th of 5121st of 67
CO₂ emissions per person (tonnes)4.51202460th of 20328th of 4948th of 77

Rank 1 is the highest value. A rank counts only countries with a figure from the last five years of that indicator.

Questions

What is the population of Spain?

Spain had a population of 49,355,143 in 2025. That is 32nd of 217 countries by population. It was 44,397,319 in 2006, a change of 11.2% by 2025. The latest yearly growth rate is 1.0% (2025).

What is the GDP per capita of Spain?

GDP per capita in Spain was $38,627 in 2025, in current US dollars. That is 43rd of 210 countries. Total GDP was $1.91 trillion (2025). GDP per capita is GDP divided by the midyear population.

What is the life expectancy in Spain?

Life expectancy at birth in Spain was 83.9 years in 2024, the years a newborn would live if today's death rates stayed the same. Worldwide it is 12th of 217. Within its World Bank region it is 8th of 58.

How big is Spain?

Spain has a surface area of 505,981 km². Population density was 98 people per km² of land (2024). 80.5% of people lived in urban areas (2025).

Source: World Bank Open Data, World Development Indicators (CC BY 4.0), read 2026-12-01. Each figure is the newest the World Bank holds for Spain, with its year. CO₂ is from the EDGAR database of the European Commission's Joint Research Centre, excluding land use. Distances are between capital cities (a main city where the World Bank lists none). The World Bank revises its series, and values in current US dollars also move with exchange rates, so a jump from one year to the next can come from a revision or the exchange rate as well as from the economy.

More on Spain?

Ask what sits behind these numbers, or compare any two countries in a chat.

Ask EcoGPT