Revenue, excluding grants (% of GDP)
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.
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
Highest, 2024
| # | Country | Value |
|---|---|---|
| 1 | Naoero | 115.5 |
| 2 | Norway | 51.45 |
| 3 | Austria | 45.07 |
| 4 | Greece | 44.76 |
| 5 | Luxembourg | 44.59 |
| 6 | Slovenia | 43.53 |
| 7 | France | 42.11 |
| 8 | Lesotho | 42.03 |
| 9 | Finland | 41.79 |
| 10 | Italy | 40.14 |
Lowest, 2024
| # | Country | Value |
|---|---|---|
| 1 | United Arab Emirates | 3.03 |
| 2 | Somalia, Fed. Rep. | 3.09 |
| 3 | Ethiopia | 4.07 |
| 4 | Guinea-Bissau | 10.25 |
| 5 | Panama | 10.7 |
| 6 | Madagascar | 12.22 |
| 7 | Guatemala | 12.78 |
| 8 | Lebanon | 13.45 |
| 9 | Tanzania | 13.97 |
| 10 | Uganda | 14.04 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 1970s | 47 |
| 1980s | 48 |
| 1990s | 94 |
| 2000s | 123 |
| 2010s | 146 |
| 2020s | 137 |
World aggregate by year
As published by the World Bank (in the regions file, not the country file).
| Year | World |
|---|---|
| 2024 | 24 |
| 2023 | 23.81 |
| 2022 | 24.07 |
| 2021 | 23.96 |
| 2020 | 23.34 |
| 2019 | 23.75 |
| 2018 | 23.53 |
| 2017 | 23.65 |
| 2016 | 23.38 |
| 2015 | 23.59 |
| 2014 | 23.75 |
| 2013 | 23.13 |
By region, 2024
| World Bank region | Value |
|---|---|
| Europe & Central Asia | 34.65 |
| Latin America & Caribbean | 22.81 |
| North America | 17.96 |
First rows
revenue-excluding-grants-percent-of-gdp.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 8.96753350012612 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 7.00919125001792 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 8.05270582231449 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 10.5750824702327 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 11.0919491573205 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 11.5101607150307 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2012 | 10.2006246425162 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2013 | 9.40560933162746 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Revenue, 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