Spain vs Tanzania

Spain vs Tanzania: Government debt

Government debt: 100.5% of GDP in Spain in 2025 and 47.8% of GDP in Tanzania in 2023, by IMF estimates. In 2023 the value was higher in Spain, by 57.4 percentage points, or 2.2 times that in Tanzania.

% of GDP · IMF

Spain vs Tanzania: Government debtGovernment debt: 100.5% of GDP in Spain in 2025 and 47.8% of GDP in Tanzania in 2023, by IMF estimates. In 2023 the value was higher in Spain, by 57.4 percentage points, or 2.2 times that in Tanzania.
SpainTanzaniaIMF projection (World Economic Outlook, October 2026)

What the numbers say

  • Spain has been higher since 2006, when it overtook Tanzania.
  • The IMF projection (World Economic Outlook, October 2026) puts Spain at 89.4% of GDP and Tanzania at 41.4% of GDP in 2031.

Every year

% of GDP · IMF

YearSpainTanzania
2025100.549.8
2024101.450
2023105.247.8
2022109.244.9
2021115.643.4
2020119.241.3
201997.640.4
201899.742
2017101.140.1
201610239.8
2015102.439.5
2014104.436.4
201310032.7
201289.630.1
201169.528.4
201060.327.6
200953.123.9
200839.621.6
200735.723.8
20063934.5
200542.446.1
200445.344.5
200347.744.4
200251.247.4
200154.150.8
200057.8–
199960.9–
199862.4–
199764.3–
199665.4–
199561.6–
199457–
199354.6–
199244.1–
199141.9–
199041.3–
198939.9–
198838.5–
198741.9–
198642.1–
198540.9–
198436–
198329.5–
198224.4–
198119.5–
198016.1–
  • 12.3Projected
IMF projection (World Economic Outlook, October 2026) · 2026–2031
YearSpainTanzania
202697.648.1
202795.246.6
202893.245.2
20299243.9
203090.742.9
203189.441.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

Spain vs Tanzania

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment