Indonesia vs Spain
Indonesia vs Spain: Government debt
Government debt in 2025: 40.9% of GDP in Indonesia and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 59.6 percentage points, or 2.46 times that in Indonesia.
% of GDP · IMF
What the numbers say
- Spain has been higher since 2008, when it overtook Indonesia.
- In 2025, Indonesia ranked 101 and Spain ranked 14 of 149 countries, counting from the highest.
- The IMF projection (World Economic Outlook, October 2026) puts Indonesia at 41.6% of GDP and Spain at 89.4% of GDP in 2031.
Every year
% of GDP · IMF
| Year | Indonesia | Spain |
|---|---|---|
| 2025 | 40.9 | 100.5 |
| 2024 | 40.2 | 101.4 |
| 2023 | 39.6 | 105.2 |
| 2022 | 40.1 | 109.2 |
| 2021 | 41.1 | 115.6 |
| 2020 | 39.8 | 119.2 |
| 2019 | 30.6 | 97.6 |
| 2018 | 30.4 | 99.7 |
| 2017 | 29.4 | 101.1 |
| 2016 | 28 | 102 |
| 2015 | 27 | 102.4 |
| 2014 | 24.6 | 104.4 |
| 2013 | 24.9 | 100 |
| 2012 | 23 | 89.6 |
| 2011 | 23.1 | 69.5 |
| 2010 | 26.4 | 60.3 |
| 2009 | 26.5 | 53.1 |
| 2008 | 30.3 | 39.6 |
| 2007 | 38.1 | 35.7 |
| 2006 | 35.9 | 39 |
| 2005 | 42.6 | 42.4 |
| 2004 | 51.3 | 45.3 |
| 2003 | 55.6 | 47.7 |
| 2002 | 62.3 | 51.2 |
| 2001 | 73.7 | 54.1 |
| 2000 | 87.4 | 57.8 |
| 1999 | – | 60.9 |
| 1998 | – | 62.4 |
| 1997 | – | 64.3 |
| 1996 | – | 65.4 |
| 1995 | – | 61.6 |
| 1994 | – | 57 |
| 1993 | – | 54.6 |
| 1992 | – | 44.1 |
| 1991 | – | 41.9 |
| 1990 | – | 41.3 |
| 1989 | – | 39.9 |
| 1988 | – | 38.5 |
| 1987 | – | 41.9 |
| 1986 | – | 42.1 |
| 1985 | – | 40.9 |
| 1984 | – | 36 |
| 1983 | – | 29.5 |
| 1982 | – | 24.4 |
| 1981 | – | 19.5 |
| 1980 | – | 16.1 |
IMF projection (World Economic Outlook, October 2026) · 2026–2031
| Year | Indonesia | Spain |
|---|---|---|
| 2026 | 41.7 | 97.6 |
| 2027 | 41.6 | 95.2 |
| 2028 | 41.4 | 93.2 |
| 2029 | 41.5 | 92 |
| 2030 | 41.6 | 90.7 |
| 2031 | 41.6 | 89.4 |
Each country on its own
Good to know
- What the government owes, as a share of the economy’s yearly output.
- Source: IMF, World Economic Outlook, October 2026.
- The dashed line is the IMF projection (World Economic Outlook, October 2026), a scenario rather than a forecast.
- Ranks count the 149 countries with a value in 2025, highest first.
How the layers work, where their data comes from and what they can’t tell you: Countries through time
Indonesia vs Spain
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