DataBrighten

    Customs and other import duties (% of tax revenue)

    3,888 × 6rows × columns: 157 countries, 1972 to 2024

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

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

    What it measures

    Taxes and duties on imports are taxes on goods and services that become payable at the moment when goods enter the economic territory or when services are delivered by non-resident producers to residents. This indicator is expressed as a percentage of tax revenue which includes compulsory, unrequited payments, in cash or in kind, made by institutional units to government units.

    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 2024

    In 2024, 69 countries have a value. The highest is Somalia, Fed. Rep. (62.59); the lowest is Bosnia and Herzegovina (2.52e-05). The median country value is 4.96.

    Top 10 countries, 2024

    % of tax revenue

    Source: World Bank, GC.TAX.IMPT.ZS, retrieved 19 November 2026. Computed from customs-and-other-import-duties-percent-of-tax-revenue.csv.

    Highest, 2024

    #CountryValue
    1Somalia, Fed. Rep.62.59
    2Namibia33.13
    3Naoero31.56
    4Ethiopia25.47
    5Philippines24.12
    6Lesotho19.61
    7Tanzania19.52
    8Andorra19.38
    9Madagascar19.26
    10Belarus15.43

    Lowest, 2024

    #CountryValue
    1Bosnia and Herzegovina2.52e-05
    2Romania0.000561
    3France0.00601
    4Greece0.0123
    5United Arab Emirates0.0163
    6Bulgaria0.0541
    7Norway0.276
    8Israel0.376
    9Georgia0.616
    10United Kingdom0.619
    How many countries report, by decade
    DecadeMost countries in one year
    1970s43
    1980s47
    1990s77
    2000s97
    2010s114
    2020s108

    First rows

    customs-and-other-import-duties-percent-of-tax-revenue.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200647.5804541276089
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200751.2692641891784
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200845.6809503259135
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200941.9949087414767
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201041.5729815243975
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201140.117794607105
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201236.4174027510884
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201334.8192689525137

    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
    valuenumberCustoms and other import duties (% of tax 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 2024?

    Somalia, Fed. Rep., with 62.59.

    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("customs-and-other-import-duties-percent-of-tax-revenue.csv"))

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

    File: customs-and-other-import-duties-percent-of-tax-revenue.csv

    How many countries report a value for 2024?

    69 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("customs-and-other-import-duties-percent-of-tax-revenue.csv"))

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

    File: customs-and-other-import-duties-percent-of-tax-revenue.csv

    What is the median across countries in 2024?

    4.96 (median of the 69 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("customs-and-other-import-duties-percent-of-tax-revenue.csv"))

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

    File: customs-and-other-import-duties-percent-of-tax-revenue.csv

    Which country rose the most between 2014 and 2024?

    Tanzania: from 7.68 to 19.52, a rise of 11.85 (out of 61 countries with both years).

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

    Use the wide file (customs-and-other-import-duties-percent-of-tax-revenue-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("customs-and-other-import-duties-percent-of-tax-revenue.csv"))

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

    File: customs-and-other-import-duties-percent-of-tax-revenue.csv

    Which year has the most countries reporting?

    2017, 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("customs-and-other-import-duties-percent-of-tax-revenue.csv"))

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

    File: customs-and-other-import-duties-percent-of-tax-revenue.csv