DataBrighten

    Net barter terms of trade index (2015 = 100)

    4,077 × 6rows × columns: 206 countries, 2000 to 2024

    Real data: World Bank, World Development Indicators, indicator TT.PRI.MRCH.XD.WD, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,077country-year values
    Countries206with at least one value
    Years2000 – 202421 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Net barter terms of trade index is calculated as the percentage ratio of the export unit value indexes to the import unit value indexes, measured relative to the base year 2015.

    The numbers in 2024

    In 2024, 203 countries have a value. The highest is Saudi Arabia (168.9); the lowest is St. Vincent and the Grenadines (52.9). The median country value is 101.1. The World Bank's World aggregate for 2024 is 100.2.

    Top 10 countries, 2024

    2015 = 100

    Source: World Bank, TT.PRI.MRCH.XD.WD, retrieved 19 November 2026. Computed from net-barter-terms-of-trade-index-2015-100.csv.

    Highest, 2024

    #CountryValue
    1Saudi Arabia168.9
    2American Samoa167.2
    3Australia160.5
    4Pakistan155.7
    5Lao PDR155
    6Chad150.6
    7Ghana148.8
    8Mali145
    9Peru145
    10Congo, Dem. Rep.142.4

    Lowest, 2024

    #CountryValue
    1St. Vincent and the Grenadines52.9
    2British Virgin Islands59.5
    3Gibraltar67.5
    4Ireland67.6
    5Comoros69.7
    6Dominica71.8
    7Somalia, Fed. Rep.75.1
    8Ukraine75.7
    9Botswana76.7
    10Albania77
    How many countries report, by decade
    DecadeMost countries in one year
    2000s202
    2010s206
    2020s205

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    2024100.2
    2023100.4
    2022101
    2021101.3
    202099.7
    201999.6
    201899.7
    201799.5
    201699.4
    2015100
    2014100.4
    2013100.5

    First rows

    net-barter-terms-of-trade-index-2015-100.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200598.2
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2006103.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2007112
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2008106.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2009107.8
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2010115.6
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2011116.7
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2012110.3

    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
    valuenumberNet barter terms of trade index (2015 = 100), 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?

    Saudi Arabia, with 168.9.

    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("net-barter-terms-of-trade-index-2015-100.csv"))

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

    File: net-barter-terms-of-trade-index-2015-100.csv

    How many countries report a value for 2024?

    203 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("net-barter-terms-of-trade-index-2015-100.csv"))

    (df.year == 2024).sum()

    File: net-barter-terms-of-trade-index-2015-100.csv

    What is the median across countries in 2024?

    101.1 (median of the 203 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("net-barter-terms-of-trade-index-2015-100.csv"))

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

    File: net-barter-terms-of-trade-index-2015-100.csv

    Which country rose the most between 2014 and 2024?

    American Samoa: from 77.8 to 167.2, a rise of 89.4 (out of 203 countries with both years).

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

    Use the wide file (net-barter-terms-of-trade-index-2015-100-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("net-barter-terms-of-trade-index-2015-100.csv"))

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

    File: net-barter-terms-of-trade-index-2015-100.csv

    Which year has the most countries reporting?

    2018, with 206 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("net-barter-terms-of-trade-index-2015-100.csv"))

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

    File: net-barter-terms-of-trade-index-2015-100.csv