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.

Report an issue
Downloads
5
Last updated
Data files
2
Total size
580 kB
Format
csv

Data Views

3 views

Growth, inflation, government debt, budget balance and unemployment by country and year

The same indicators for the IMF's country groups (world, advanced economies, regions) by year

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-by-country.csv: 197 economies, 9,386 rows. Columns: iso3, country, year, weo_vintage, is_forecast, gdp_growth, inflation, gov_debt, gov_balance, unemployment.
  • 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.
ColumnIMF codeUnit
gdp_growthNGDP_RPCHreal GDP, annual percent change
inflationPCPIPCHaverage consumer prices, annual percent change
gov_debtGGXWDG_NGDPgeneral government gross debt, % of GDP (from 2001 for most)
gov_balanceGGXCNL_NGDPgeneral government net lending (+) or borrowing (-), % of GDP (from 2001 for most); negative is a deficit
unemploymentLUR% 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.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/core/imf-world-economic-outlook/5 files
  • README.mddocumentationhttps://datahub.io/core/imf-world-economic-outlook/_r/-/README.md
  • config.jsonhttps://datahub.io/core/imf-world-economic-outlook/_r/-/config.json
  • data/weo-aggregates.csvhttps://datahub.io/core/imf-world-economic-outlook/_r/-/data/weo-aggregates.csv
  • data/weo-by-country.csvhttps://datahub.io/core/imf-world-economic-outlook/_r/-/data/weo-by-country.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/core/imf-world-economic-outlook/_r/-/datapackage.json