DataBrighten

    Debt service (PPG and IMF only, % of exports of goods, services and primary income)

    4,170 × 6rows × columns: 120 countries, 1970 to 2025

    Real data: World Bank, World Development Indicators, indicator DT.TDS.DPPF.XP.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,170country-year values
    Countries120with at least one value
    Years1970 – 202556 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Debt service, the sum of principal repayments and interest actually paid in currency, goods, or services, is expressed as a percentage of exports of goods and services--all transactions between residents of a country and the rest of the world involving a change of ownership from residents to nonresidents of general merchandise, net exports of goods under merchanting, nonmonetary gold, and services. This series differs from the standard debt to exports series in that it covers only long-term public and publicly guaranteed debt and repayments (repurchases and charges) to the IMF.

    The numbers in 2025

    In 2025, 77 countries have a value. The highest is Angola (31.06); the lowest is Algeria (0.43). The median country value is 7.89.

    Top 10 countries, 2025

    PPG and IMF only, % of exports of goods, services and primary income

    Source: World Bank, DT.TDS.DPPF.XP.ZS, retrieved 19 November 2026. Computed from debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv.

    Highest, 2025

    #CountryValue
    1Angola31.06
    2Suriname29.95
    3Pakistan27.22
    4Colombia27.09
    5Egypt, Arab Rep.26.94
    6Montenegro24.09
    7Kenya21.63
    8Dominican Republic18.23
    9Sri Lanka17.86
    10Tunisia17.65

    Lowest, 2025

    #CountryValue
    1Algeria0.43
    2Thailand0.669
    3Viet Nam0.965
    4Congo, Dem. Rep.1.11
    5Kosovo1.24
    6Cambodia1.73
    7China2.1
    8Iraq2.46
    9India2.53
    10Timor-Leste2.95
    How many countries report, by decade
    DecadeMost countries in one year
    1970s50
    1980s65
    1990s90
    2000s111
    2010s114
    2020s111

    By region, 2025

    World Bank regionValue
    Sub-Saharan Africa 9.98
    Latin America & Caribbean 9.92
    South Asia3.4

    First rows

    debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20080.402819292924976
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20090.487686262693032
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20100.344156289997136
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20110.313643499018775
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20120.553881984367381
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20131.55148595351724
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20141.87526084674456
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20152.80585396332282

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberDebt service (PPG and IMF only, % of exports of goods, services and primary income), 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?

    Angola, with 31.06.

    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("debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv"))

    y = df[df.year == 2025]
    y[y.value == y.value.max()][["country", "value"]]

    File: debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv

    How many countries report a value for 2025?

    77 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("debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv"))

    (df.year == 2025).sum()

    File: debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv

    What is the median across countries in 2025?

    7.89 (median of the 77 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("debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv"))

    df[df.year == 2025]["value"].median()

    File: debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv

    Which country rose the most between 2015 and 2025?

    Suriname: from 2.82 to 29.95, a rise of 27.13 (out of 77 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income-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("debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2025] - w[2015]).dropna().nlargest(1)

    File: debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv

    Which year has the most countries reporting?

    2015, with 114 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("debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: debt-service-ppg-and-imf-only-percent-of-exports-of-goods-services-and-primary-income.csv