Data

Government revenues as a share of GDP

See all data and research on:

What you should know about this indicator

  • Government revenue in this indicator includes all types of revenue, such as taxes, social contributions, grants, and other income. The total revenue is expressed as a percentage of gross domestic product (GDP).
  • This indicator refers to revenues of the , which includes all levels of government (central, state, and local) and social security funds. Where general government data is not available, it relies on data, which may not include all levels of government.

How is this data described by its producer?

Total government revenue as a proportion of GDP (%)

Definition:

Revenue is defined as an increase in net worth resulting from a transaction. It is a fiscal indicator for assessing the sustainability of fiscal activities.

General government units have four types of revenue. The major types of revenue are taxes, social contributions, grants, and other revenue. Of these, compulsory levies and transfers are the main sources of revenue for most general government units.

In particular, taxes are compulsory, unrequited amounts receivable by government units from institutional units. Social contributions are actual or imputed revenue receivable by social insurance schemes to make provision for social insurance benefits payable. Grants are transfers receivable by government units from other resident or non-resident government units or international organizations, and that do not meet the definition of a tax, subsidy, or social contribution.

Other revenue is all revenue receivable excluding taxes, social contributions, and grants. Other revenue comprises: (i) property income; (ii) sales of goods and services; (iii) fines, penalties, and forfeits; (iv) transfers not elsewhere classified; and (v) premiums, fees, and claims related to non-life insurance and standardized guarantee schemes.

Further information available at: https://unstats.un.org/sdgs/metadata/files/Metadata-17-01-01.pdf

Government revenues as a share of GDP
Taxes, social contributions, and other revenues such as fines, fees, rent, and income from property or sales included.
Source
International Monetary Fundwith minor processing by Our World in Data
Last updated
October 29, 2025
Next expected update
October 2027
Date range
2000–2023
Unit
%

Sources and processing

International Monetary Fund – IMF

The United Nations Sustainable Development Goal (SDG) dataset is the primary collection of data tracking progress towards the SDG indicators, compiled from officially-recognized international sources.

Retrieved on
October 29, 2025
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
International Monetary Fund via UN SDG Indicators Database (https://unstats.un.org/sdgs/dataportal), UN Department of Economic and Social Affairs (accessed 2025). More information available at: https://unstats.un.org/sdgs/metadata/files/Metadata-17-01-01.pdf.

The United Nations Sustainable Development Goal (SDG) dataset is the primary collection of data tracking progress towards the SDG indicators, compiled from officially-recognized international sources.

Retrieved on
October 29, 2025
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
International Monetary Fund via UN SDG Indicators Database (https://unstats.un.org/sdgs/dataportal), UN Department of Economic and Social Affairs (accessed 2025). More information available at: https://unstats.un.org/sdgs/metadata/files/Metadata-17-01-01.pdf.

All data and visualizations on Our World in Data rely on data sourced from one or several original data providers. Preparing this original data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.

At the link below you can find a detailed description of the structure of our data pipeline, including links to all the code used to prepare data across Our World in Data.

Read about our data pipeline

How to cite this page

To cite this page overall, including any descriptions, FAQs or explanations of the data authored by Our World in Data, please use the following citation:

“Data Page: Government revenues as a share of GDP”, part of the following publication: Esteban Ortiz-Ospina, Bertha Rohenkohl, Pablo Arriagada, and Max Roser (2016) - “Government Spending”. Data adapted from International Monetary Fund. Retrieved from https://archive.ourworldindata.org/20260304-094028/grapher/government-revenues-as-a-share-of-gdp-imf.html [online resource] (archived on March 4, 2026).

How to cite this data

In-line citationIf you have limited space (e.g. in data visualizations), you can use this abbreviated in-line citation:

International Monetary Fund – with minor processing by Our World in Data

Full citation

International Monetary Fund – with minor processing by Our World in Data. “Government revenues as a share of GDP” [dataset]. International Monetary Fund, “IMF” [original data]. Retrieved April 1, 2026 from https://archive.ourworldindata.org/20260304-094028/grapher/government-revenues-as-a-share-of-gdp-imf.html (archived on March 4, 2026).

Quick download

Download the data shown in this chart as a ZIP file containing a CSV file, metadata in JSON format, and a README. The CSV file can be opened in Excel, Google Sheets, and other data analysis tools.

Data API

Use these URLs to programmatically access this chart's data and configure your requests with the options below. Our documentation provides more information on how to use the API, and you can find a few code examples below.

Data URL (CSV format)
https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.csv?v=1&csvType=full&useColumnShortNames=false
Metadata URL (JSON format)
https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.metadata.json?v=1&csvType=full&useColumnShortNames=false

Code examples

Examples of how to load this data into different data analysis tools.

Excel / Google Sheets
=IMPORTDATA("https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.csv?v=1&csvType=full&useColumnShortNames=false")
Python with Pandas
import pandas as pd
import requests

# Fetch the data.
df = pd.read_csv("https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.csv?v=1&csvType=full&useColumnShortNames=false", storage_options = {'User-Agent': 'Our World In Data data fetch/1.0'})

# Fetch the metadata
metadata = requests.get("https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.metadata.json?v=1&csvType=full&useColumnShortNames=false").json()
R
library(jsonlite)

# Fetch the data
df <- read.csv("https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.csv?v=1&csvType=full&useColumnShortNames=false")

# Fetch the metadata
metadata <- fromJSON("https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.metadata.json?v=1&csvType=full&useColumnShortNames=false")
Stata
import delimited "https://ourworldindata.org/grapher/government-revenues-as-a-share-of-gdp-imf.csv?v=1&csvType=full&useColumnShortNames=false", encoding("utf-8") clear