Compare
Indonesia vs Spain
How Indonesia and Spain compare on 39 measures, from 1789 to 2025. The main differences:
- Life expectancy · In 2023, Spain was higher: 83.7 years against 71.2 years
- GDP per person · In 2025, Spain was higher: $29,760 against $4,555
- Population · In 2023, Indonesia was higher: 281 million people against 47.9 million people
- Military spending · In 2025, Spain was higher: 2.13% of GDP against 1.05% of GDP
- CO₂ per person · In 2024, Spain was higher: 4.51 tonnes against 2.87 tonnes
Every measure
Health
- Life expectancyIndonesia: 71.2 years in 2023Spain: 83.7 years in 2023
- Child mortalityIndonesia: 1.8 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityIndonesia: 17.1 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- Safe drinking waterIndonesia: 30.3% in 2022Spain: 99.6% in 2022
- DepressionIndonesia: 2.64% in 2017Spain: 3.54% in 2017
- Suicide rateIndonesia: 3.1 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationIndonesia: 281 million people in 2023Spain: 47.9 million people in 2023
- Population growthIndonesia: 0.83% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateIndonesia: 2.13 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationIndonesia: 59.4% in 2025Spain: 80.5% in 2025
- Median ageIndonesia: 29.8 years in 2023Spain: 44.9 years in 2023
- People aged 65 and overIndonesia: 7% in 2023Spain: 20.7% in 2023
- Net migration rateIndonesia: -0.1 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingIndonesia: 1.05% of GDP in 2025Spain: 2.13% of GDP in 2025
- Military spending in US dollarsIndonesia: $15.3B in 2025Spain: $37.7B in 2025
- Military spending per personIndonesia: $53 in 2025Spain: $839 in 2025
- Military share of state spendingIndonesia: 6.3% of government spending in 2025Spain: 4.7% of government spending in 2025
- Armed forces personnelIndonesia: 676,000 people in 2020Spain: 199,000 people in 2020
- National powerIndonesia: 2.09% of world capability in 2022Spain: 0.66% of world capability in 2022
- Armed forces, share of workersIndonesia: 0.49% of the labour force in 2020Spain: 0.87% of the labour force in 2020
- Arms importsIndonesia: 1.28 billion TIV in 2025Spain: 237 million TIV in 2025
- Arms exportsIndonesia: 17 million TIV in 2021Spain: 341 million TIV in 2025
Climate
Technology and environment
Each country on its own
Good to know
- Sources: UN, Gapminder and UN IGME, WHO/UNICEF, IHME, World Bank, IMF, UNESCO, Our World in Data, V-Dem, UCDP, SIPRI, IISS, Correlates of War, ERA5, CMIP6, EDGAR, ITU and FAO. Each measure’s page names its own and what it counts.
- Values are drawn on today’s borders. Years without a published value are left empty, never filled in.
How the layers work, where their data comes from and what they can’t tell you: Countries through time