Skip to content

Spain in numbers

Key statistics for Spain from official World Bank data, with world ranks, trends since 2000 and comparisons.

Full PDF report

Spain Statistics: 49.4M People, $38,627 GDP per Person
49.4 millionPopulation, 32nd of 160World Bank · 2025
$1.91 trillionGDP, 12th of 159World Bank · 2025
$38,627GDP per person, 25th of 159World Bank · 2025
83.9Life expectancy (years), 7th of 160World Bank · 2024
Quick answer

Spain has a population of about 49.4 million (2025), the 32nd largest of the 160 countries with at least 1 million people. GDP per person was $38,627 in 2025, about 5.8 times the median country ($6,615), ranking 25th of 159.

Spain at a glance

  • Spain has a population of about 49.4 million (2025), the 32nd largest of the 160 countries with at least 1 million people.
  • GDP per person was $38,627 in 2025, about 5.8 times the median country ($6,615), ranking 25th of 159.
  • Measured in current US dollars, GDP per person rose by 49% between 2015 and 2025.
  • Life expectancy at birth was 83.9 years in 2024, up 4.9 years since 2000.
  • About 96% of people used the internet in 2024, up from 66% in 2010.
  • In the NumbersAtlas Digital Life Index 2026, Spain ranks 15th of 158 with a score of 93.7 out of 100.

Where Spain stands out

Compared with the other countries in our data, these are the indicators where Spain ranks best and worst (counting only indicators where higher or lower is clearly better):

Strongest

  • Access to electricity: 100.0% (1st of 159)
  • Life expectancy: 83.9 (7th of 160)
  • Infant mortality: 2.6 (145th of 158)

Weakest

  • Unemployment rate: 10.4% (30th of 159)
  • Economic growth: 2.8% (93rd of 159)
  • Women in the labour force: 52.8% (84th of 159)

Economy and jobs

IndicatorSpainYearWorld rankMedian country
GDP
current US$
$1.91 trillion202512th of 159$93.40 billion
GDP per person
current US$
$38,627202525th of 159$6,615
Income per person (PPP)
international $
$59,830202525th of 158$18,605
Economic growth
% a year
2.8%202593rd of 1593.2%
Inflation
% a year
2.7%202590th of 1543.3%
Exports
% of GDP
36.6%202570th of 15134.6%
Unemployment rate
% of labour force
10.4%202530th of 1595.1%
Women in the labour force
% of women 15+
52.8%202584th of 15953.4%
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Population and society

IndicatorSpainYearWorld rankMedian country
Population
people
49.4 million202532nd of 16012.1 million
Population growth
% a year
1.03%202585th of 1601.11%
Population density
people per km²
98202470th of 15983
Urban population
% of population
80.5%202535th of 16063.8%
Aged 65 and over
% of population
21.6%202517th of 1607.5%
Fertility rate
births per woman
1.102024154th of 1602.09
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Health

IndicatorSpainYearWorld rankMedian country
Life expectancy
years at birth
83.920247th of 16074.2
Infant mortality
deaths per 1,000 live births
2.62024145th of 15812.8
Health spending
% of GDP
9.2%202334th of 1566.8%
Health spending per person
current US$
$3,107202323rd of 156$381
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Digital life and finance

IndicatorSpainYearWorld rankMedian country
Internet users
% of population
95.8%202416th of 15981.5%
Mobile subscriptions
per 100 people
130.3202445th of 160116.5
Fixed broadband
per 100 people
39.2202418th of 15812.1
Adults with an account
% of adults 15+
98.4%202415th of 15369.7%
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Energy and environment

IndicatorSpainYearWorld rankMedian country
Access to electricity
% of population
100.0%20241st of 15999.9%
Renewable energy
% of final energy use
19.0%202196th of 15925.2%
Forest area
% of land area
38.2%202455th of 15829.8%
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Defence

IndicatorSpainYearWorld rankMedian country
Military budget
current US$
$40.21 billion202515th of 154$1.52 billion
Military spending
% of GDP
2.1%202560th of 1531.9%
Military share of the budget
% of government spending
4.7%202589th of 1505.5%
Arms imports
SIPRI trend-indicator value
237.0 million202534th of 15430.0 million
Source: World Bank, World Development Indicators. Rank 1st = highest value among 160 countries with at least 1 million people; latest year since 2010.

Compare Spain with other countries

Reports that cover Spain

Frequently asked questions

What is the population of Spain?

About 49.4 million people in 2025, according to the World Bank.

How big is the economy of Spain?

GDP was $1.91 trillion in 2025 in current US dollars, 12th largest among 159 countries.

What is the life expectancy in Spain?

83.9 years at birth in 2024.

What is the inflation rate in Spain?

Consumer prices rose 2.7% in 2025, according to the latest World Bank data. Use our inflation calculator to see how prices have changed over longer periods.

Sources

  1. World Bank, World Development Indicators: Spain, data refreshed daily. Underlying figures come from national statistics offices and international bodies including the IMF, ILO, WHO, UN and ITU.