Demography · Population
Spain is one of the largest countries in the European Union by population. With 48 M people people in 2026, it ranks 31st in the world. The country's demographic profile is shaped by low birth rates and high life expectancy, leading to a gradual aging of the nation. Migration flows from Latin America and North Africa partially offset natural decline, keeping the population stable.
Data for 2026 · unit: people
Position
#31 / 197
Spain world ranking
Country position on the scale from last to first place for this indicator.
ES
#31
#197#1
Converted
94.9 peopleper km²
Trend
Change over time
Change in indicator over the available period.
18 M
1900
28 M
1950
39 M
1990
40 M
2000
46 M
2010
47 M
2020
48 M
2026
Values — people
Comparison
Top countries by Population
Where Spain stands in the world ranking.
1
INIndia
1.4 B
2
CNChina
1.4 B
3
USUSA
341 M
4
IDIndonesia
283 M
5
PKPakistan
245 M
6
NGNigeria
225 M
7
BRBrazil
218 M
8
BDBangladesh
174 M
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Population in Spain — how much?
Based on 2026 data — 48 M people. This is rank #31 out of 197 countries.
What is Spain's rank by Population?
Spain ranks #31 out of 197 countries in the world ranking by «Population».
How has Population changed in Spain?
Over the available period the indicator changed from 18 M to 48 M people.