GDP Growth, Inflation and Government Debt by Country
Real GDP growth, inflation, government debt and budget deficits for nearly every country since 1980, with IMF forecasts to 2031. The IMF expects world government debt to pass 100% of GDP in 2030.
Growth, inflation, government debt, budget balance and unemployment by country and year
Field
Type
Description
iso3
string
IMF country code (ISO 3166-1 alpha-3 for almost all; KOS is Kosovo, WBG is West Bank and Gaza).
country
string
Country or economy name as the IMF labels it (e.g. 'Türkiye, Republic of').
year
integer
Calendar year, 1980 to 2031.
weo_vintage
string
IMF World Economic Outlook edition the row comes from, as YYYY-MM (2026-10 is the October 2026 edition). Every row carries the edition of the latest download.
is_forecast
boolean
true for years from the vintage year onward (2026 and later in the October 2026 edition), which are IMF staff projections. false for earlier years, which are historical data or IMF estimates; for some countries the IMF's own estimate period starts earlier (see README).
gdp_growth
number
Real GDP growth, annual percent change (IMF indicator NGDP_RPCH). Blank where the IMF has no value.
inflation
number
Inflation rate, average consumer prices, annual percent change (PCPIPCH). Blank where the IMF has no value.
gov_debt
number
General government gross debt, percent of GDP (GGXWDG_NGDP). Starts in 2001 for most countries. Blank where the IMF has no value.
gov_balance
number
General government net lending (+) or borrowing (-), percent of GDP (GGXCNL_NGDP): the overall budget balance, negative in deficit. Starts in 2001 for most countries.
unemployment
number
Unemployment rate, percent of the labour force (LUR). The IMF gives it for only about 120 economies; blank elsewhere.
The same indicators for the IMF's country groups (world, advanced economies, regions) by year
Field
Type
Description
code
string
IMF group code (WEOWORLD is the world).
group
string
Group name as the IMF labels it. The groups overlap (analytical groups and regions); do not add them up.
year
integer
Calendar year, 1980 to 2031.
weo_vintage
string
IMF World Economic Outlook edition the row comes from, as YYYY-MM (2026-10 is the October 2026 edition). Every row carries the edition of the latest download.
is_forecast
boolean
true for years from the vintage year onward (2026 and later in the October 2026 edition), which are IMF staff projections. false for earlier years, which are historical data or IMF estimates; for some countries the IMF's own estimate period starts earlier (see README).
gdp_growth
number
Real GDP growth, annual percent change (IMF indicator NGDP_RPCH). Blank where the IMF has no value.
inflation
number
Inflation rate, average consumer prices, annual percent change (PCPIPCH). Blank where the IMF has no value.
gov_debt
number
General government gross debt, percent of GDP (GGXWDG_NGDP). Starts in 2001 for most countries. Blank where the IMF has no value.
gov_balance
number
General government net lending (+) or borrowing (-), percent of GDP (GGXCNL_NGDP): the overall budget balance, negative in deficit. Starts in 2001 for most countries.
unemployment
number
Unemployment rate, percent of the labour force (LUR). The IMF gives it for only about 120 economies; blank elsewhere.
The IMF's October 2026 World Economic Outlook puts world government debt at 94.6% of world GDP in 2026 and passing 100% in 2030. This dataset holds the IMF's headline indicators for 197 economies since 1980, historical and forecast.
What stands out
World government debt is heading past 100% of GDP. It was 59.8% in 2007, 82.2% in 2019 and 97.5% in 2020, fell back to 89.2% in 2022, and the IMF projects 100.3% in 2030 and 101.5% in 2031.
Rich countries carry far more. Advanced economies owe about 108% of GDP in 2026, rising to 115% by 2031; emerging and developing economies about 76%, rising to 84%. The US goes from 65% in 2007 to about 127% in 2026 and 145% in 2031.
Big deficits are the norm. 41 of 189 governments run a deficit above 5% of GDP in 2026, and 155 run a deficit of any size. The US deficit is 8.5%.
Fourteen economies are forecast to shrink in 2026, led by Gulf oil producers: Kuwait -16.7%, Iraq -16.0%, Qatar -15.6%, Bahrain -11.3%, Iran -7.6%. Only three still shrink in 2027: Bolivia, Equatorial Guinea and Haiti.
The world economy has grown every year since 1980 except two: 2009 (-0.4%) and 2020 (-2.7%). The IMF forecasts 3.1% for 2026 and 3.1% to 3.4% a year to 2031.
Inflation: world average 8.7% at the 2022 high (the highest since 1996), 4.1% in 2025, a forecast 4.7% in 2026. 23 of 191 economies are above 10% in 2026, Venezuela at 467.9%.
Data
Two CSV files, one row per entity and year, 1980 to 2031. Every row carries weo_vintage (the IMF edition, here 2026-10) and is_forecast.
data/weo-aggregates.csv: the IMF's 32 country groups (the world, advanced economies, emerging and developing economies, regions), 1,618 rows, same columns with code and group in place of iso3 and country. Groups overlap, so do not add them up.
Column
IMF code
Unit
gdp_growth
NGDP_RPCH
real GDP, annual percent change
inflation
PCPIPCH
average consumer prices, annual percent change
gov_debt
GGXWDG_NGDP
general government gross debt, % of GDP (from 2001 for most)
gov_balance
GGXCNL_NGDP
general government net lending (+) or borrowing (-), % of GDP (from 2001 for most); negative is a deficit
unemployment
LUR
% of labour force; only about 120 economies
A blank means the IMF gives no value. is_forecast is true for years from the vintage year (2026 on in the 2026-10 edition).
Caveats
Forecasts are projections. They are IMF staff views as of October 2026 and change with every edition (April and October).
is_forecast is a simple year rule. The IMF's database also marks, country by country, where its estimates start; the DataMapper API does not expose that. For some countries (those with delayed reporting or in conflict) years before 2026 are IMF estimates rather than reported data.
Revisions rewrite history. Each edition revises past years, so a refresh can change old values. The files hold only the latest edition.
Debt and deficit coverage is thinner before 2001 (blank), and some economies have no debt or balance series.
Group totals are the IMF's weighted aggregates, not sums of the countries here. The IMF's group labels are kept as given (code WE is labelled "Latin America and the Caribbean").
Source and licence
International Monetary Fund, World Economic Outlook database (October 2026), from the IMF DataMapper API, retrieved 2026-12-04. Cite as: "Source: International Monetary Fund, World Economic Outlook database, October 2026, https://www.imf.org/external/datamapper/NGDP_RPCH@WEO". This is DataHub's tidy reshaping of the IMF's data (one table per entity type, with is_forecast and weo_vintage added); it is not an official IMF product and carries no IMF endorsement.
Terms: the IMF's Copyright and Usage page has special terms for statistical data, which include the World Economic Outlook database. In its words: "Users may download, extract, copy, create derivative works, publish, distribute, and use Data obtained from IMF Sites subject to these conditions: Distributed or reproduced Data must appear accurately with attribution to the IMF as the source … Users shall not infringe upon the integrity of the Data … If material transformation occurs, it must be stated explicitly along with the required source citation." The same page says: "For any potential commercial reuse of IMF Data, email copyright@imf.org to request permission", and "The IMF prohibits bulk download of information by automated technology without explicit permission". The general terms for other IMF content are narrower (personal, noncommercial use, no redistribution); the Data terms above are the ones that apply to this dataset, which is our reading of the page. The page as retrieved is archived in full in archive/imf-copyright-and-terms.html; archive/PROVENANCE.md quotes the relevant sections. Commercial reuse needs the IMF's permission. Whether a small scripted refresh counts as the "bulk download by automated technology" the terms prohibit is not spelled out; the refresh job makes about 10 requests twice a year and stops on any block.
Upkeep
This dataset is updated annually, and usually twice a year when the IMF publishes a new World Economic Outlook (April and October). A GitHub Actions job checks the IMF API in April, May, October and November, about 10 requests in all, and does nothing if the data are unchanged. When they have changed it pushes the rebuilt data to a review branch and opens an issue, because the numbers in this README and the chart descriptions are for the October 2026 edition. The job fails and publishes nothing if the IMF blocks the request or the response changes shape.
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.