Countries by government balance as a share of GDP
Norway had the highest government balance as a share of GDP of 42 countries in 2017, at 4.8% of GDP. Brazil had the lowest, at -7.1% of GDP. The median was -0.8% of GDP. Source: the Organisation for Economic Co-operation and Development.
All countries, 2017
Full ranking
| Rank | Countries | 2017 | Change on 2016 |
|---|---|---|---|
| 1 | Norway | 4.8 | +0.9 pts |
| 2 | South Korea | 2.5 | +0.4 pts |
| 3 | Denmark | 1.7 | +1.4 pts |
| 4 | New Zealand | 1.5 | +0.5 pts |
| 5 | Czechia | 1.5 | +0.8 pts |
| 6 | Luxembourg | 1.5 | -0.5 pts |
| 7 | Netherlands | 1.4 | +1.1 pts |
| 8 | Germany | 1.3 | +0.2 pts |
| 9 | Sweden | 1.3 | +0.4 pts |
| 10 | Iceland | 1.3 | -11.4 pts |
| 11 | Switzerland | 0.9 | +0.5 pts |
| 12 | Greece | 0.7 | +0.5 pts |
| 13 | Lithuania | 0.4 | +0.3 pts |
| 14 | Slovenia | 0.1 | +2.1 pts |
| 15 | Canada | -0.1 | +0.3 pts |
| 16 | Latvia | -0.3 | -0.3 pts |
| 17 | Ireland | -0.3 | +0.5 pts |
| 18 | Estonia | -0.5 | -0.4 pts |
| 19 | Finland | -0.6 | +1.1 pts |
| 20 | Russia | -0.6 | +1.8 pts |
| 21 | Belgium | -0.8 | +1.7 pts |
| 22 | Austria | -0.8 | +0.7 pts |
| 23 | Slovakia | -1 | +1.6 pts |
| 24 | Israel | -1.2 | +0.6 pts |
| 25 | Australia | -1.2 | +0.4 pts |
| 26 | Poland | -1.5 | +0.9 pts |
| 27 | China | -2.3 | -0.5 pts |
| 28 | Indonesia | -2.3 | +0.6 pts |
| 29 | Hungary | -2.5 | -0.7 pts |
| 30 | United Kingdom | -2.5 | +0.8 pts |
| 31 | Italy | -2.5 | -0.1 pts |
| 32 | Chile Estimated | -2.9 | -0.2 pts |
| 33 | Portugal | -3 | -1.1 pts |
| 34 | Japan | -3 | +0.5 pts |
| 35 | Spain | -3.1 | +1.2 pts |
| 36 | France | -3.4 | +0.4 pts |
| 37 | Costa Rica | -3.5 | -1.1 pts |
| 38 | Colombia | -3.8 | +0.8 pts |
| 39 | Mexico | -3.9 | -0.6 pts |
| 40 | South Africa | -4.3 | -0.4 pts |
| 41 | United States | -4.4 | +1 pts |
| 42 | Brazil | -7.1 | +0.1 pts |
Other periods
About this ranking
General government net lending (+) or net borrowing (-) as a percentage of GDP.
Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 5 countries with data in other periods have no value for 2017 and are left out rather than filled from another source. Equal values share a rank.
How to cite
OECD. OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13). https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD. Accessed 2026-10-12. Data reuse terms and downstream attribution: https://www.oecd.org/en/about/terms-conditions.html
Citation styles
APA 7
Organisation for Economic Co-operation and Development. (2026). OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13) (Countries by government balance as a share of GDP, 2017) [Data set]. Retrieved October 12, 2026, from https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD
MLA 9
OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13), Countries by government balance as a share of GDP, 2017. Organisation for Economic Co-operation and Development, 12 Oct. 2026, https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD. Invokely, https://invokely.ai/rankings/government-balance/countries?period=2017. Accessed 12 Oct. 2026.
Chicago (author-date)
Organisation for Economic Co-operation and Development. 2026. OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13). Countries by government balance as a share of GDP, 2017. Dataset. Accessed October 12, 2026. https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD. Also distributed by Invokely, https://invokely.ai/rankings/government-balance/countries?period=2017.
Harvard
Organisation for Economic Co-operation and Development (2026) OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13), Countries by government balance as a share of GDP, 2017 [Dataset]. Available at: https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD, via Invokely: https://invokely.ai/rankings/government-balance/countries?period=2017 (Accessed: 12 October 2026).
BibTeX
@misc{organisation_countries_by_government_balance_2017,
author = {{Organisation for Economic Co-operation and Development}},
title = {{OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD\_NAAG\_VI@DF\_NAAG\_VI, B9S13): Countries by government balance as a share of GDP, 2017}},
year = {2026},
howpublished = {Data set},
url = {https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD},
urldate = {2026-10-12},
note = {Accessed via Invokely, https://invokely.ai/rankings/government-balance/countries?period=2017. Publisher attribution: OECD. OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD\_NAAG\_VI@DF\_NAAG\_VI, B9S13). https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ\&df[id]=DSD\_NAAG\_VI\%40DF\_NAAG\_VI\&df[ag]=OECD.SDD.NAD. Accessed 2026-10-12. Data reuse terms and downstream attribution: https://www.oecd.org/en/about/terms-conditions.html.},
}
RIS
TY - DATA
AU - Organisation for Economic Co-operation and Development
TI - OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13): Countries by government balance as a share of GDP, 2017
PY - 2026
DA - 2026/10/12
PB - Organisation for Economic Co-operation and Development
DB - Invokely
UR - https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD
L2 - https://invokely.ai/rankings/government-balance/countries?period=2017
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/government-balance/countries?period=2017.
N1 - Publisher attribution: OECD. OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13). https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAAG_VI%40DF_NAAG_VI&df[ag]=OECD.SDD.NAD. Accessed 2026-10-12. Data reuse terms and downstream attribution: https://www.oecd.org/en/about/terms-conditions.html.
ER -
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Countries by government balance as a share of GDP using official data, and cite the source.
rank_places {"indicator":"government_deficit","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=government_deficit&level=country&limit=10
Questions
Which country has the highest government balance as a share of GDP?
Norway, with 4.8% of GDP in 2017, according to the Organisation for Economic Co-operation and Development.
Which country has the lowest government balance as a share of GDP?
Brazil, with -7.1% of GDP in 2017.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Organisation for Economic Co-operation and Development, OECD National Accounts at a Glance: net lending (+) or net borrowing (-) of general government, percentage of GDP (DSD_NAAG_VI@DF_NAAG_VI, B9S13). Retrieved 2026-10-12. 5 countries have no value for 2017 and are not ranked.