DataBrighten

    Taxes on international trade (% of revenue)

    4,024 × 6rows × columns: 159 countries, 1972 to 2024

    Real data: World Bank, World Development Indicators, indicator GC.TAX.INTT.RV.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,024country-year values
    Countries159with at least one value
    Years1972 – 202453 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Taxes on international trade are taxes that become payable when goods cross the national or customs frontiers of the economic territory or when transactions in services exchange between residents and non-residents. This indicator is expressed as a percentage of revenue which includes all transactions that add to the amount of economic value of a unit or sector.

    Limits and exceptions (World Bank note)

    For most countries central government finance data have been consolidated into one account, but for others only budgetary central government accounts are available. Countries reporting budgetary data are noted in the country metadata. Because budgetary accounts may not include all central government units (such as social security funds), they usually provide an incomplete picture. In federal states the central government accounts provide an incomplete view of total public finance. Data on government revenue and expense are collected by the IMF through questionnaires to member countries and by the Organisation for Economic Co-operation and Development (OECD). Despite IMF efforts to standardize data collection, statistics are often incomplete, untimely, and not comparable across countries.

    The numbers in 2023

    In 2023, 86 countries have a value. The highest is Botswana (32.61); the lowest is Bosnia and Herzegovina (0.000224). The median country value is 4.33. The World Bank's World aggregate for 2022 is 3.75.

    Top 10 countries, 2023

    % of revenue

    Source: World Bank, GC.TAX.INTT.RV.ZS, retrieved 19 November 2026. Computed from taxes-on-international-trade-percent-of-revenue.csv.

    Highest, 2023

    #CountryValue
    1Botswana32.61
    2Namibia30.51
    3Cote d'Ivoire25.51
    4Bahamas, The23.65
    5Philippines23.1
    6Ethiopia18.28
    7Guinea-Bissau16.68
    8Nepal16.58
    9Tanzania16.16
    10Togo15.32

    Lowest, 2023

    #CountryValue
    1Bosnia and Herzegovina0.000224
    2Romania0.000319
    3France0.0031
    4United Arab Emirates0.00873
    5Bulgaria0.027
    6Denmark0.043
    7Norway0.143
    8Israel0.291
    9San Marino0.398
    10Iceland0.445
    How many countries report, by decade
    DecadeMost countries in one year
    1970s44
    1980s46
    1990s82
    2000s100
    2010s121
    2020s113

    World aggregate by year

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

    YearWorld
    20223.75
    20214.07
    20203.9
    20193.98
    20184.41
    20174.51
    20164.63
    20155.06
    20144.01
    20134.15
    20124.4
    20114.41

    By region, 2023

    World Bank regionValue
    South Asia14.67
    Sub-Saharan Africa 10.13
    Latin America & Caribbean 3.39
    North America1.34

    First rows

    taxes-on-international-trade-percent-of-revenue.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200611.1855199886133
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20078.46396731117203
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20083.16148854243017
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20094.84404133483751
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20104.55485875503042
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20113.83063551305111
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20124.22465221322185
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20133.70364318455009

    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
    valuenumberTaxes on international trade (% of revenue), 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 2023?

    Botswana, with 32.61.

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

    =FILTER(A2:A100000,(E2:E100000=2023)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2023)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2023
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2023);

    pandas (df = pd.read_csv("taxes-on-international-trade-percent-of-revenue.csv"))

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

    File: taxes-on-international-trade-percent-of-revenue.csv

    How many countries report a value for 2023?

    86 of the 217 economies in the file's country list.

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2023;

    pandas (df = pd.read_csv("taxes-on-international-trade-percent-of-revenue.csv"))

    (df.year == 2023).sum()

    File: taxes-on-international-trade-percent-of-revenue.csv

    What is the median across countries in 2023?

    4.33 (median of the 86 country values; not a World Bank aggregate).

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

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2023))

    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 = 2023 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));

    pandas (df = pd.read_csv("taxes-on-international-trade-percent-of-revenue.csv"))

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

    File: taxes-on-international-trade-percent-of-revenue.csv

    Which country rose the most between 2013 and 2023?

    Tanzania: from 5.38 to 16.16, a rise of 10.78 (out of 72 countries with both years).

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

    Use the wide file (taxes-on-international-trade-percent-of-revenue-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("taxes-on-international-trade-percent-of-revenue.csv"))

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

    File: taxes-on-international-trade-percent-of-revenue.csv

    Which year has the most countries reporting?

    2015, with 121 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("taxes-on-international-trade-percent-of-revenue.csv"))

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

    File: taxes-on-international-trade-percent-of-revenue.csv