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

Indonesia vs Spain: Government debtGovernment 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.
IndonesiaSpainIMF projection (World Economic Outlook, October 2026)

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

YearIndonesiaSpain
202540.9100.5
202440.2101.4
202339.6105.2
202240.1109.2
202141.1115.6
202039.8119.2
201930.697.6
201830.499.7
201729.4101.1
201628102
201527102.4
201424.6104.4
201324.9100
20122389.6
201123.169.5
201026.460.3
200926.553.1
200830.339.6
200738.135.7
200635.939
200542.642.4
200451.345.3
200355.647.7
200262.351.2
200173.754.1
200087.457.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
YearIndonesiaSpain
202641.797.6
202741.695.2
202841.493.2
202941.592
203041.690.7
203141.689.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

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment