Indonesia vs Spain population (2026)
AIndonesia
287.9 million
#4 in the world · +0.74% a year
Open Indonesia →
BSpain
47.9 million
#34 in the world · -0.10% a year
Open Spain →
Summary
Indonesia has 287.9 million people in 2026, 240.0 million more than Spain (47.9 million), about 6.0 times as many.
- Updated:
Side by side
| Indicator | Indonesia | Spain |
|---|---|---|
| Population | 287,886,782 | 47,850,793 |
| World rank | 4 | 34 |
| Annual change | 0.74% | -0.10% |
| Density (per km²) | 151 | 95 |
| Median age | 30.7 | 46.3 |
| Fertility rate | 2.08 | 1.24 |
| Life expectancy | 71.6 | 84.1 |
| Urban population | 59.4% | 80.5% |
| Birth rate | 15.4 | 6.8 |
| Death rate | 7.8 | 9.6 |
| Net migration rate | −0.1 | +1.8 |
| Infant mortality | 15.6 | 2.1 |
| Under-5 mortality | 18.8 | 2.7 |
| Life expectancy, women | 73.8 | 86.7 |
| Life expectancy, men | 69.4 | 81.4 |
| Children under 15 | 23.9% | 12.3% |
| Working age, 15–64 | 68.3% | 65.5% |
| People aged 65+ | 7.8% | 22.2% |
| Dependency ratio | 46.4 | 52.7 |
| Sex ratio | 100.9 | 96.4 |
| Population 2050 | 320,712,949 | 44,928,558 |
| Population 2100 | 295,511,061 | 33,127,478 |
Population, 1950–2100
- Indonesia
- Spain
Fertility rate
- Indonesia
- Spain
Median age
- Indonesia
- Spain
Life expectancy
- Indonesia
- Spain
Indonesia age pyramid
- Male
- Female
Spain age pyramid
- Male
- Female
Frequently asked questions
Which has a larger population, Indonesia or Spain?
Indonesia has 287.9 million people in 2026, 240.0 million more than Spain (47.9 million), about 6.0 times as many.
Will Spain overtake Indonesia?
Under the UN medium scenario, Spain is not projected to overtake Indonesia before 2100.
Which country is younger, Indonesia or Spain?
The median age is 30.7 years in Indonesia and 46.3 years in Spain.
More comparisons
Sources and how to cite
Data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. Medium scenario, mid-year (1 July) estimates and projections. Licence CC BY 3.0 IGO. See the methodology and editorial policy.
Spotted an error? Report it.
APA
PopulationCount. (2026). Indonesia vs Spain Population (2026). Retrieved 2026-11-27, from https://populationcount.com/compare/indonesia-vs-spain
MLA
"Indonesia vs Spain Population (2026)." PopulationCount, 2026, populationcount.com/compare/indonesia-vs-spain. Accessed 27 Nov. 2026.
Chicago
PopulationCount. "Indonesia vs Spain Population (2026)." 2026. Accessed November 27, 2026. https://populationcount.com/compare/indonesia-vs-spain.
Harvard
PopulationCount (2026) Indonesia vs Spain Population (2026). Available at: https://populationcount.com/compare/indonesia-vs-spain (Accessed: 2026-11-27).
BibTeX
@misc{populationcount2026compareindonesiavsspain,
author = {{PopulationCount}},
title = {Indonesia vs Spain Population (2026)},
year = {2026},
url = {https://populationcount.com/compare/indonesia-vs-spain},
note = {Data: United Nations, World Population Prospects 2024. Accessed 2026-11-27}
}