External debt stocks, public and publicly guaranteed (PPG) (DOD, current US$)
Real data: World Bank, World Development Indicators, indicator DT.DOD.DPPG.CD, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Public and publicly guaranteed debt comprises long-term external obligations of public debtors, including the national government, Public Corporations, State Owned Enterprises, Development Banks and Other Mixed Enterprises, political subdivisions (or an agency of either), autonomous public bodies, and external obligations of private debtors that are guaranteed for repayment by a public entity. Data are in current U.S. dollars.
The numbers in 2025
In 2025, 120 countries have a value. The highest is China (460.23 billion); the lowest is Tonga (118.05 million). The median country value is 7.22 billion.
Top 10 countries, 2025
DOD, current US$
Highest, 2025
| # | Country | Value |
|---|---|---|
| 1 | China | 460.23 billion |
| 2 | Mexico | 326.13 billion |
| 3 | Indonesia | 264.95 billion |
| 4 | India | 252.90 billion |
| 5 | Brazil | 196.86 billion |
| 6 | Turkiye | 188.58 billion |
| 7 | Ukraine | 154.72 billion |
| 8 | Colombia | 152.84 billion |
| 9 | Argentina | 116.31 billion |
| 10 | South Africa | 115.04 billion |
Lowest, 2025
| # | Country | Value |
|---|---|---|
| 1 | Tonga | 118.05 million |
| 2 | Samoa | 241.82 million |
| 3 | Haiti | 242.07 million |
| 4 | Timor-Leste | 273.43 million |
| 5 | Sao Tome and Principe | 286.35 million |
| 6 | Iran, Islamic Rep. | 319.06 million |
| 7 | Comoros | 378.36 million |
| 8 | Solomon Islands | 381.58 million |
| 9 | Vanuatu | 386.91 million |
| 10 | Dominica | 445.96 million |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 83 |
| 1980s | 97 |
| 1990s | 115 |
| 2000s | 119 |
| 2010s | 122 |
| 2020s | 122 |
By region, 2025
| World Bank region | Value |
|---|---|
| South Asia | 392.36 billion |
First rows
external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 920022562.7 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 1902610499.2 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 1994506003 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 2106108788.4 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 1975547213.6 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 2032464249.9 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 2079786013.4 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 2106231492.2 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | External debt stocks, public and publicly guaranteed (PPG) (DOD, current US$), exactly as the World Bank API returns it (not rounded) |
Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.
Practice questions
answers computed from the file
Which country has the highest value in 2025?
China, with 460.23 billion.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2025
AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);pandas (df = pd.read_csv("external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv"))
y = df[df.year == 2025]
y[y.value == y.value.max()][["country", "value"]]File: external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv
How many countries report a value for 2025?
120 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2025)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2025;pandas (df = pd.read_csv("external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv"))
(df.year == 2025).sum()File: external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv
What is the median across countries in 2025?
7.22 billion (median of the 120 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2025))SQL (table wb = the CSV)
-- SQLite has no MEDIAN(); this picks the middle value(s)
SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));pandas (df = pd.read_csv("external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv"))
df[df.year == 2025]["value"].median()File: external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv
Which country rose the most between 2015 and 2025?
China: from 146.06 billion to 460.23 billion, a rise of 314.17 billion (out of 119 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.SQL (table wb = the CSV)
SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2025] - w[2015]).dropna().nlargest(1)File: external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv
Which year has the most countries reporting?
2022, with 122 countries. (Later years are still filling in as countries report.)
Excel (on the long CSV: E = year, F = value)
Make a pivot table: year in Rows, Count of value in Values, then sort by the count.SQL (table wb = the CSV)
SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;pandas (df = pd.read_csv("external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: external-debt-stocks-public-and-publicly-guaranteed-ppg-dod-current-usd.csv