DataBrighten

    Revenue, excluding grants (% of GDP)

    4,683 × 6rows × columns: 162 countries, 1972 to 2024

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

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

    What it measures

    Revenue is an increase in net worth resulting from a transaction. Grants are excluded from this figure. This indicator is expressed as a percentage of Gross Domestic Product (GDP) which is the total income earned through the production of goods and services in an economic territory during an accounting period.

    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, 93 countries have a value. The highest is Naoero (115.5); the lowest is United Arab Emirates (3.03). The median country value is 27.83. The World Bank's World aggregate for 2024 is 24.

    Top 10 countries, 2024

    % of GDP

    Source: World Bank, GC.REV.XGRT.GD.ZS, retrieved 19 November 2026. Computed from revenue-excluding-grants-percent-of-gdp.csv.

    Highest, 2024

    #CountryValue
    1Naoero115.5
    2Norway51.45
    3Austria45.07
    4Greece44.76
    5Luxembourg44.59
    6Slovenia43.53
    7France42.11
    8Lesotho42.03
    9Finland41.79
    10Italy40.14

    Lowest, 2024

    #CountryValue
    1United Arab Emirates3.03
    2Somalia, Fed. Rep.3.09
    3Ethiopia4.07
    4Guinea-Bissau10.25
    5Panama10.7
    6Madagascar12.22
    7Guatemala12.78
    8Lebanon13.45
    9Tanzania13.97
    10Uganda14.04
    How many countries report, by decade
    DecadeMost countries in one year
    1970s47
    1980s48
    1990s94
    2000s123
    2010s146
    2020s137

    World aggregate by year

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

    YearWorld
    202424
    202323.81
    202224.07
    202123.96
    202023.34
    201923.75
    201823.53
    201723.65
    201623.38
    201523.59
    201423.75
    201323.13

    By region, 2024

    World Bank regionValue
    Europe & Central Asia34.65
    Latin America & Caribbean 22.81
    North America17.96

    First rows

    revenue-excluding-grants-percent-of-gdp.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20068.96753350012612
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20077.00919125001792
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20088.05270582231449
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income200910.5750824702327
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201011.0919491573205
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201111.5101607150307
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201210.2006246425162
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20139.40560933162746

    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
    valuenumberRevenue, excluding grants (% of GDP), 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?

    Naoero, with 115.5.

    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("revenue-excluding-grants-percent-of-gdp.csv"))

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

    File: revenue-excluding-grants-percent-of-gdp.csv

    How many countries report a value for 2024?

    93 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("revenue-excluding-grants-percent-of-gdp.csv"))

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

    File: revenue-excluding-grants-percent-of-gdp.csv

    What is the median across countries in 2024?

    27.83 (median of the 93 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("revenue-excluding-grants-percent-of-gdp.csv"))

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

    File: revenue-excluding-grants-percent-of-gdp.csv

    Which country rose the most between 2014 and 2024?

    Naoero: from 85.29 to 115.5, a rise of 30.26 (out of 88 countries with both years).

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

    Use the wide file (revenue-excluding-grants-percent-of-gdp-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("revenue-excluding-grants-percent-of-gdp.csv"))

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

    File: revenue-excluding-grants-percent-of-gdp.csv

    Which year has the most countries reporting?

    2015, with 146 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("revenue-excluding-grants-percent-of-gdp.csv"))

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

    File: revenue-excluding-grants-percent-of-gdp.csv