Expense (% of GDP)
Expense - a decrease in net worth resulting from a transaction (current government expenditure) - as a share of GDP, for the 8-country panel (USA, Canada, UK, Germany, France, Japan, China, India). The World Bank publishes the indicator in the World Development Indicators from the Government Finance Statistics Yearbook and data files (International Monetary Fund); National Accounts data files (OECD). Pairs with the government-revenue-gdp-share dataset: expense minus revenue excluding grants approximates the overall fiscal balance, though it is not exactly the deficit because grants are excluded from the revenue figure. The 8-country panel is covered 2000-2025; values are null where national statistics are unavailable and are never interpolated. Units: % of GDP.
- Source
- World Bank
- Rows
- 208
- Columns
- 4
- Source cadence
- Yearly
- Last refreshed
- Sep 24, 2026
- Theme
- government
| Column | Type | Description |
|---|---|---|
| country_code | string | ISO 3166-1 alpha-3 country code (World Bank API field countryiso3code). |
| country_name | string | Country name as published by the World Bank API. |
| year | integer | Calendar year of the observation (World Bank API field date). |
| value | float | Indicator value for the country and year, as defined by the World Bank indicator (see the dataset description). Missing values are null. (unit: % of GDP) |
First 10 sample rows — a preview, not the complete dataset.
| country_code | country_name | year | value |
|---|---|---|---|
| CAN | Canada | 2,000 | 18.775 |
| CAN | Canada | 2,001 | 18.711 |
| CAN | Canada | 2,002 | 17.963 |
| CAN | Canada | 2,003 | 18.037 |
| CAN | Canada | 2,004 | 17.266 |
| CAN | Canada | 2,005 | 17.824 |
| CAN | Canada | 2,006 | 17.027 |
| CAN | Canada | 2,007 | 16.963 |
| CAN | Canada | 2,008 | 17.083 |
| CAN | Canada | 2,009 | 18.854 |
Profiled Sep 24, 2026 from snapshot 20260924T123712Z-c75fb2cc9632
Measured- Completeness
- 94.5%
- Rows
- 208
- Columns
- 4
- Columns with gaps
- 1
| Column | Missing | Distinct | Range | Distribution |
|---|---|---|---|---|
| country_codevarchar | 0% | 7 | — |
|
| country_namevarchar | 0% | 9 | — |
|
| yearbigint | 0% | 27 | 2,000 → 2,025median 2,013 | |
| valuedouble | 22.1% | 173 | 13.73 → 51.96median 22.94 | 4 outside 1st–99th percentile |
- Current
20260924T123712Z-c75fb2cc9632 · sha256 c75fb2cc9632…
208 rows · first snapshot
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
curl "https://datazimuts.com/v1/datasets/world_bank/government_expense_gdp_share" | jq '{title, rows, columns_count, license}'import requests
ds = requests.get("https://datazimuts.com/v1/datasets/world_bank/government_expense_gdp_share").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/world_bank/government_expense_gdp_share
Tip: fetch /llms.txt for the full machine-readable catalog.
Where this data comes from and what was made from it. Other people's work shows as counts; only shared projects are named.
Cite this snapshot
Pinned to snapshot 20260924T123712Z-c75fb2cc9632 and its content hash, so readers get exactly the data you used.
World Bank. (2026). Expense (% of GDP) [Data set, snapshot 20260924T123712Z-c75fb2cc9632, sha256 c75fb2cc9632]. Datazimuts. Retrieved 2026-09-24, from https://datazimuts.com/en/datasets/world_bank/government_expense_gdp_share?snapshot=20260924T123712Z-c75fb2cc9632
@misc{dz_world_bank_government_expense_gdp_share_c75fb2cc,
title = {{Expense (\% of GDP)}},
author = {{World Bank}},
year = {2026},
publisher = {Datazimuts},
howpublished = {\url{https://datazimuts.com/en/datasets/world_bank/government_expense_gdp_share?snapshot=20260924T123712Z-c75fb2cc9632}},
note = {Snapshot 20260924T123712Z-c75fb2cc9632, sha256 c75fb2cc96327fe22e81334a75c25f90ea1e7a0841d4fb2548b7506756508d0d; accessed 2026-09-24}
}Embed a table or a chart
Paste this into any page. The embed is pinned to the same snapshot, follows the reader's light or dark setting, and always shows the source, license and a link back.
<iframe src="https://datazimuts.com/embed/chart?dataset=world_bank%2Fgovernment_expense_gdp_share&lang=en&theme=auto&snapshot=20260924T123712Z-c75fb2cc9632&x=year&y=year&agg=avg" title="Expense (% of GDP)" width="100%" height="380" style="border:0" loading="lazy"></iframe>
Ask about this dataset. Answers come only from its catalog record, measured profile and change history, and list the facts they used.