Total tax revenue as a share of GDP for about 140 countries, split into income, social security, payroll, property and goods and services taxes. OECD countries collect about twice as much as African ones: 34% against 16% of GDP.
Tax revenue as a percentage of GDP by country, year and main tax type
Field
Type
Description
Constraints
country_code
string
ISO 3166-1 alpha-3 country code as used by OECD.
pattern ^[A-Z]{3}$
country
string
Country name as OECD labels it.
year
integer
Calendar year (or fiscal year as the country reports it to OECD), 1990 to 2025.
total_tax
number
Total tax revenue of the general government (central, state, local and social security funds), percent of GDP. OECD heading 'Total tax revenue'.
minimum -1
income_profits
number
Taxes on income, profits and capital gains of individuals and corporations, percent of GDP (OECD heading 1000).
minimum -1
social_security
number
Social security contributions by employees, employers and the self-employed, percent of GDP (OECD heading 2000). Blank where OECD gives no value.
minimum -1
payroll
number
Taxes on payroll and workforce, percent of GDP (OECD heading 3000). 0 where OECD reports none or the value rounds to zero; a few small negative values (Bhutan 2016 -0.049).
minimum -1
property
number
Taxes on property (immovable property, net wealth, inheritance, financial transactions), percent of GDP (OECD heading 4000).
minimum -1
goods_services
number
Taxes on goods and services (VAT, sales taxes, excises, customs and import duties), percent of GDP (OECD heading 5000).
minimum -1
other
number
Other taxes, percent of GDP (OECD heading 6000). Can be slightly negative where refunds exceed receipts (Armenia 2018).
minimum -1
Tax revenue as a percentage of GDP in each country's latest year
Field
Type
Description
Constraints
country_code
string
ISO 3166-1 alpha-3 country code as used by OECD.
pattern ^[A-Z]{3}$
country
string
Country name as OECD labels it.
year
integer
Latest year with a total for the country (2023 to 2025; Venezuela 2013).
total_tax
number
Total tax revenue of the general government (central, state, local and social security funds), percent of GDP. OECD heading 'Total tax revenue'.
minimum -1
income_profits
number
Taxes on income, profits and capital gains of individuals and corporations, percent of GDP (OECD heading 1000).
minimum -1
social_security
number
Social security contributions by employees, employers and the self-employed, percent of GDP (OECD heading 2000). Blank where OECD gives no value.
minimum -1
payroll
number
Taxes on payroll and workforce, percent of GDP (OECD heading 3000). 0 where OECD reports none or the value rounds to zero; a few small negative values (Bhutan 2016 -0.049).
minimum -1
property
number
Taxes on property (immovable property, net wealth, inheritance, financial transactions), percent of GDP (OECD heading 4000).
minimum -1
goods_services
number
Taxes on goods and services (VAT, sales taxes, excises, customs and import duties), percent of GDP (OECD heading 5000).
minimum -1
other
number
Other taxes, percent of GDP (OECD heading 6000). Can be slightly negative where refunds exceed receipts (Armenia 2018).
minimum -1
Average tax revenue as a percentage of GDP: OECD, Africa, Asia and the Pacific, Latin America and the Caribbean
Field
Type
Description
Constraints
group
string
Average as published by OECD: 'OECD average', 'Africa average', 'Asia and the Pacific average' or 'Latin America and the Caribbean average'.
enum ["OECD average","Africa average","Asia and the Pacific average","Latin America and the Caribbean average"]
year
integer
Calendar year (or fiscal year as the country reports it to OECD), 1990 to 2025.
total_tax
number
Total tax revenue of the general government (central, state, local and social security funds), percent of GDP. OECD heading 'Total tax revenue'.
minimum -1
income_profits
number
Taxes on income, profits and capital gains of individuals and corporations, percent of GDP (OECD heading 1000).
minimum -1
social_security
number
Social security contributions by employees, employers and the self-employed, percent of GDP (OECD heading 2000). Blank where OECD gives no value.
minimum -1
payroll
number
Taxes on payroll and workforce, percent of GDP (OECD heading 3000). 0 where OECD reports none or the value rounds to zero; a few small negative values (Bhutan 2016 -0.049).
minimum -1
property
number
Taxes on property (immovable property, net wealth, inheritance, financial transactions), percent of GDP (OECD heading 4000).
minimum -1
goods_services
number
Taxes on goods and services (VAT, sales taxes, excises, customs and import duties), percent of GDP (OECD heading 5000).
minimum -1
other
number
Other taxes, percent of GDP (OECD heading 6000). Can be slightly negative where refunds exceed receipts (Armenia 2018).
minimum -1
OECD countries collect about twice as much tax as African ones: the OECD average was 34% of GDP in 2024, Africa's average 16%. This dataset has total tax revenue and its main parts, as a percentage of GDP, for 143 countries from 1990 to 2025.
What stands out
Tax take runs from about 3% to 45% of GDP. In their latest year the middle country collects about 22%. Denmark is highest at 45%, then France, Austria and Italy at 43%; Somalia is lowest at 3%. Nine countries collect 40% or more and 35 collect under 15%.
The OECD average has crept up, not surged. It went from 31% of GDP in 1990 to 34% in 2024. Latin America and the Caribbean went from 15% to 22% over the same years.
The gap is social security. In 2023 the OECD average took 8.8% of GDP in social security contributions; Africa's average took 1.4%. Income taxes were 12.2% against 6.3%, and taxes on goods and services 10.4% against 7.8%.
The same total can be built differently. Denmark takes 31% of GDP in income taxes and almost nothing (0.1%) in social security contributions; France takes 12% and 15%.
Africa leans on taxes on goods and services. There, taxes on goods and services (VAT, excises, customs) make up about half of tax revenue, against about a third in the OECD.
Data
OECD Global Revenue Statistics, general government (central, state and local government and social security funds), as a percentage of GDP.
data/tax-revenue-by-country.csv: one row per country and year, 1990 to 2025 (3,961 rows, 143 countries). Columns: country_code, country, year, total_tax, then the six main headings: income_profits, social_security, payroll, property, goods_services, other. Values are OECD's, rounded to three decimals.
data/latest.csv: each country's latest year with a total (143 rows): 106 countries in 2024, 33 in 2025, three in 2023 and Venezuela in 2013. Same columns.
data/regional-averages.csv: the four averages OECD publishes: OECD, Africa, Asia and the Pacific, and Latin America and the Caribbean. Africa's starts in 2013 and Asia and the Pacific's in 2019.
The OECD tax headings:
Column
OECD heading
income_profits
1000 Taxes on income, profits and capital gains of individuals and corporations
social_security
2000 Social security contributions
payroll
3000 Taxes on payroll and workforce
property
4000 Taxes on property
goods_services
5000 Taxes on goods and services
other
6000 Other taxes
The six headings add up to total_tax except where a heading is blank and in the cases listed under Caveats. The countries' personal income tax rates and tax wedges are in the companion dataset oecd-personal-income-tax.
Caveats
Blank is not zero. A blank means the value is unavailable (OECD gives no observation, or lists it empty); 0 means OECD reports zero or a value that rounds to zero. Where a heading is blank the headings do not add up to the total for that row.
Not every country. 143 countries are covered, not all of them; India, for example, is not in the data. Coverage grows over time: 56 countries have a 1990 total and 139 have a 2024 one.
Latest years differ. Compare countries within one year (use tax-revenue-by-country.csv) when it matters. latest.csv mixes 2023 to 2025 (Venezuela 2013), and the 2025 figures are the newest and the most likely to be revised.
General government only. The figures include social security contributions and taxes collected by every level of government, but not non-tax revenue such as royalties or grants. Resource-rich countries can look low.
OECD's headings do not always add up. Nicaragua (13 years, up to 1.5 points in 2001) and Ireland (1996, 0.4) differ from their total by more than 0.15 points, as do the Africa, Asia and Pacific, and Latin America averages. Values are kept as OECD gives them.
OECD's own flags. OECD marks the dataflow as non-production in its structure file. Burkina Faso 2025 is dropped: OECD lists all seven values as 0 with status "normal value", which looks like a placeholder (its 2024 total was 19%); that is our judgement, not OECD's flag. "Other taxes" can be slightly negative (Armenia 2018, Kenya 2025) where refunds exceed receipts.
The OECD average for 2024 has a total (34.1%) but OECD gives no breakdown yet, so it is blank for the six headings.
Source and licence
Source: OECD, Global Revenue Statistics Database, Comparative tax revenues (dataflow OECD.CTP.TPS:DSD_REV_COMP_GLOBAL@DF_RSGLOBAL, version 2.1), retrieved on 2026-12-05 from the OECD Data Explorer API (https://sdmx.oecd.org/public/rest/). The request is filtered to percent of GDP, general government and the total plus six main headings; unfiltered the dataflow is about 1 GB. See archive/PROVENANCE.md.
Licence: OECD Terms & Conditions, section 3 (Data), read on 2026-12-05 and archived in archive/oecd-terms-conditions.html. It says: "Except where additional restrictions apply as stated above, you can extract from, download, copy, adapt, print, distribute, share and embed Data for any purpose, even for commercial use. You must give appropriate credit to the OECD by using the citation associated with the relevant Data, or, if no specific citation is available, you must cite the source information using the following format: OECD (year), (dataset name),(data source) DOI or URL (accessed on (date)). When sharing or licensing work created using the Data, you agree to include the same acknowledgment requirement in any sub-licenses that you grant, along with the requirement that any further sub-licensees do the same." The OECD does not label this dataflow CC BY 4.0, so it is not offered here under that licence: reuse needs the credit above, passed on to anyone you share it with. The OECD may also restrict a dataset on third-party grounds (the section says so); the dataflow's metadata names none.
Upkeep
Frozen: a snapshot retrieved on 2026-12-05. OECD updates these statistics about once a year. A refresh job could not be set up because OECD's SDMX API answers HTTP 500 to GitHub Actions runners (tested on 2026-12-05, after the same request worked from a normal network). To refresh, run node scripts/fetch.mjs and node scripts/build.mjs from a normal network (OECD answers 429 to bursts, so the fetch waits and retries), then update the figures in this README and the view descriptions. The build stops if the structure or the numbers stop making sense.
API access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.