Public and publicly guaranteed debt service (% of GNI)
Real data: World Bank, World Development Indicators, indicator DT.TDS.DPPG.GN.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Public and publicly guaranteed debt service to gross national income. Public and publicly guaranteed debt service is the sum of principal repayments and interest actually paid in currency, goods, or services on long-term obligations of public debtors and long-term private obligations guaranteed by a public entity. GNI (formerly GNP) is the sum of value added by all resident producers plus any product taxes (less subsidies) not included in the valuation of output plus net receipts of primary income (compensation of employees and property income) from abroad.
The numbers in 2024
In 2024, 117 countries have a value. The highest is Angola (10.22); the lowest is Iran, Islamic Rep. (0.0161). The median country value is 2.17.
Top 10 countries, 2024
% of GNI
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Angola | 10.22 |
| 2 | El Salvador | 9.38 |
| 3 | Dominica | 7.78 |
| 4 | Congo, Rep. | 7.37 |
| 5 | Maldives | 6.82 |
| 6 | Tunisia | 6.76 |
| 7 | Egypt, Arab Rep. | 6.53 |
| 8 | Mongolia | 6.43 |
| 9 | Senegal | 6.27 |
| 10 | Mauritius | 6.23 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Iran, Islamic Rep. | 0.0161 |
| 2 | Algeria | 0.0392 |
| 3 | Somalia, Fed. Rep. | 0.0442 |
| 4 | Afghanistan | 0.196 |
| 5 | Zimbabwe | 0.217 |
| 6 | Sudan | 0.321 |
| 7 | Sao Tome and Principe | 0.364 |
| 8 | China | 0.426 |
| 9 | Kosovo | 0.435 |
| 10 | Solomon Islands | 0.438 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 73 |
| 1980s | 90 |
| 1990s | 113 |
| 2000s | 119 |
| 2010s | 120 |
| 2020s | 119 |
By region, 2024
| World Bank region | Value |
|---|---|
| Sub-Saharan Africa | 2.65 |
| Latin America & Caribbean | 2.3 |
| South Asia | 0.821 |
| East Asia & Pacific | 0.65 |
First rows
public-and-publicly-guaranteed-debt-service-percent-of-gni.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 0.130405136516398 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 0.0456990740952178 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 0.0721466171740633 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 0.0781203236708296 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 0.0546086040176538 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 0.0548204517804912 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 0.0496648894299881 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 0.057796378834158 |
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 | Public and publicly guaranteed debt service (% of GNI), 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 2024?
Angola, with 10.22.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2024
AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);pandas (df = pd.read_csv("public-and-publicly-guaranteed-debt-service-percent-of-gni.csv"))
y = df[df.year == 2024]
y[y.value == y.value.max()][["country", "value"]]File: public-and-publicly-guaranteed-debt-service-percent-of-gni.csv
How many countries report a value for 2024?
117 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2024)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2024;pandas (df = pd.read_csv("public-and-publicly-guaranteed-debt-service-percent-of-gni.csv"))
(df.year == 2024).sum()File: public-and-publicly-guaranteed-debt-service-percent-of-gni.csv
What is the median across countries in 2024?
2.17 (median of the 117 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2024))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 = 2024 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));pandas (df = pd.read_csv("public-and-publicly-guaranteed-debt-service-percent-of-gni.csv"))
df[df.year == 2024]["value"].median()File: public-and-publicly-guaranteed-debt-service-percent-of-gni.csv
Which country rose the most between 2014 and 2024?
Angola: from 4.86 to 10.22, a rise of 5.35 (out of 116 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (public-and-publicly-guaranteed-debt-service-percent-of-gni-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("public-and-publicly-guaranteed-debt-service-percent-of-gni.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2024] - w[2014]).dropna().nlargest(1)File: public-and-publicly-guaranteed-debt-service-percent-of-gni.csv
Which year has the most countries reporting?
2018, with 120 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("public-and-publicly-guaranteed-debt-service-percent-of-gni.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: public-and-publicly-guaranteed-debt-service-percent-of-gni.csv