Countries by government balance as a share of GDP

Norway had the highest government balance as a share of GDP of 41 countries in 2021, at 10% of GDP. The United States had the lowest, at -12% of GDP. The median was -4.6% of GDP. Source: the Organisation for Economic Co-operation and Development.

Keep it in a collection in your library.
Highest10Norway
Lowest-12United States
Median-4.641 countries

Map of countries, 2021

Austria: -5.7 % of GDPAustralia: -4.3 % of GDPBelgium: -5.4 % of GDPBrazil: -2.2 % of GDPCanada: -3.1 % of GDPSwitzerland: -1.1 % of GDPChile: -7.4 % of GDPChina: -4.6 % of GDPColombia: -7.8 % of GDPCosta Rica: -1.8 % of GDPCzechia: -5 % of GDPGermany: -3.2 % of GDPDenmark: 4.1 % of GDPEstonia: -2.5 % of GDPSpain: -6.7 % of GDPFinland: -2.7 % of GDPFrance: -6.6 % of GDPUnited Kingdom: -7.4 % of GDPGreece: -7.3 % of GDPHungary: -7.1 % of GDPIndonesia: -4.7 % of GDPIreland: -1.2 % of GDPIsrael: -3.4 % of GDPIceland: -8 % of GDPItaly: -8.9 % of GDPJapan: -6.3 % of GDPSouth Korea: -0.3 % of GDPLithuania: -1.1 % of GDPLuxembourg: 1.5 % of GDPLatvia: -7.2 % of GDPMexico: -5.2 % of GDPNetherlands: -2.3 % of GDPNorway: 10 % of GDPNew Zealand: -4 % of GDPPoland: -1.7 % of GDPPortugal: -2.8 % of GDPSweden: -0.2 % of GDPSlovenia: -4.6 % of GDPSlovakia: -5.1 % of GDPUnited States: -12 % of GDPSouth Africa: -6.7 % of GDP
  • Under -6.1
  • -6.1 to -3.1
  • -3.1 to 0
  • 0 to 3.2
  • 3.2 to 6
  • 6 and over
  • No data
% of GDP, 2021. Red areas are below zero and blue areas above it. Hatched areas have no value for this period. Source: 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). Boundaries: Natural Earth (public domain).

All countries, 2021

Norway: 10 % of GDPNorway10Denmark: 4.1 % of GDPDenmark4.1Luxembourg: 1.5 % of GDPLuxembourg1.5Sweden: -0.2 % of GDPSweden-0.2South Korea: -0.3 % of GDPSouth Korea-0.3Switzerland: -1.1 % of GDPSwitzerland-1.1Lithuania: -1.1 % of GDPLithuania-1.1Ireland: -1.2 % of GDPIreland-1.2Poland: -1.7 % of GDPPoland-1.7Costa Rica: -1.8 % of GDPCosta Rica-1.8Brazil: -2.2 % of GDPBrazil-2.2Netherlands: -2.3 % of GDPNetherlands-2.3Estonia: -2.5 % of GDPEstonia-2.5Finland: -2.7 % of GDPFinland-2.7Portugal: -2.8 % of GDPPortugal-2.8Canada: -3.1 % of GDPCanada-3.1Germany: -3.2 % of GDPGermany-3.2Israel: -3.4 % of GDPIsrael-3.4New Zealand: -4 % of GDPNew Zealand-4Australia: -4.3 % of GDPAustralia-4.3China: -4.6 % of GDPChina-4.6Slovenia: -4.6 % of GDPSlovenia-4.6Indonesia: -4.7 % of GDPIndonesia-4.7Czechia: -5 % of GDPCzechia-5Slovakia: -5.1 % of GDPSlovakia-5.1Mexico: -5.2 % of GDPMexico-5.2Belgium: -5.4 % of GDPBelgium-5.4Austria: -5.7 % of GDPAustria-5.7Japan: -6.3 % of GDPJapan-6.3France: -6.6 % of GDPFrance-6.6Spain: -6.7 % of GDPSpain-6.7South Africa: -6.7 % of GDPSouth Africa-6.7Hungary: -7.1 % of GDPHungary-7.1Latvia: -7.2 % of GDPLatvia-7.2Greece: -7.3 % of GDPGreece-7.3Chile: -7.4 % of GDPChile-7.4United Kingdom: -7.4 % of GDPUnited Kingdom-7.4Colombia: -7.8 % of GDPColombia-7.8Iceland: -8 % of GDPIceland-8Italy: -8.9 % of GDPItaly-8.9United States: -12 % of GDPUnited States-12Norway: 10 % of GDPNorway10Denmark: 4.1 % of GDPDenmark4.1Luxembourg: 1.5 % of GDPLuxembourg1.5Sweden: -0.2 % of GDPSweden-0.2South Korea: -0.3 % of GDPSouth Korea-0.3Switzerland: -1.1 % of GDPSwitzerland-1.1Lithuania: -1.1 % of GDPLithuania-1.1Ireland: -1.2 % of GDPIreland-1.2Poland: -1.7 % of GDPPoland-1.7Costa Rica: -1.8 % of GDPCosta Rica-1.8Brazil: -2.2 % of GDPBrazil-2.2Netherlands: -2.3 % of GDPNetherlands-2.3Estonia: -2.5 % of GDPEstonia-2.5Finland: -2.7 % of GDPFinland-2.7Portugal: -2.8 % of GDPPortugal-2.8Canada: -3.1 % of GDPCanada-3.1Germany: -3.2 % of GDPGermany-3.2Israel: -3.4 % of GDPIsrael-3.4New Zealand: -4 % of GDPNew Zealand-4Australia: -4.3 % of GDPAustralia-4.3China: -4.6 % of GDPChina-4.6Slovenia: -4.6 % of GDPSlovenia-4.6Indonesia: -4.7 % of GDPIndonesia-4.7Czechia: -5 % of GDPCzechia-5Slovakia: -5.1 % of GDPSlovakia-5.1Mexico: -5.2 % of GDPMexico-5.2Belgium: -5.4 % of GDPBelgium-5.4Austria: -5.7 % of GDPAustria-5.7Japan: -6.3 % of GDPJapan-6.3France: -6.6 % of GDPFrance-6.6Spain: -6.7 % of GDPSpain-6.7South Africa: -6.7 % of GDPSouth Africa-6.7Hungary: -7.1 % of GDPHungary-7.1Latvia: -7.2 % of GDPLatvia-7.2Greece: -7.3 % of GDPGreece-7.3Chile: -7.4 % of GDPChile-7.4United Kingdom: -7.4 % of GDPUnited Kingdom-7.4Colombia: -7.8 % of GDPColombia-7.8Iceland: -8 % of GDPIceland-8Italy: -8.9 % of GDPItaly-8.9United States: -12 % of GDPUnited States-12
% of GDP. Source: 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). Retrieved 2026-10-12.

Full ranking

RankCountries2021
% of GDP
Change on 2020
1Norway10+12.6 pts
2Denmark4.1+3.7 pts
3Luxembourg1.5+4.5 pts
4Sweden-0.2+3.2 pts
5South Korea-0.3+2.3 pts
6Switzerland-1.1+1.5 pts
7Lithuania-1.1+5.1 pts
8Ireland-1.2+3.7 pts
9Poland-1.7+5.2 pts
10Costa Rica-1.8+3.5 pts
11Brazil-2.2+9.9 pts
12Netherlands-2.3+1.4 pts
13Estonia-2.5+2.9 pts
14Finland-2.7+2.9 pts
15Portugal-2.8+2.9 pts
16Canada-3.1+7.9 pts
17Germany-3.2+1.2 pts
18Israel-3.4+7.3 pts
19New Zealand-4+3.7 pts
20Australia-4.3+3.8 pts
21China-4.6+2.9 pts
22Slovenia-4.6+3.1 pts
23Indonesia-4.7+1.1 pts
24Czechia-5+0.7 pts
25Slovakia-5.1+0.2 pts
26Mexico-5.2+1.3 pts
27Belgium-5.4+3.6 pts
28Austria-5.7+2.5 pts
29Japan-6.3+2.7 pts
30France-6.6+2.3 pts
31Spain-6.7+3.3 pts
32South Africa-6.7+3.8 pts
33Hungary-7.1+0.4 pts
34Latvia-7.2-3.1 pts
35Greece-7.3+2.6 pts
36Chile-7.4-0 pts
37United Kingdom-7.4+5.5 pts
38Colombia-7.8+0.9 pts
39Iceland-8+0.8 pts
40Italy-8.9+0.5 pts
41United States-12+3 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. 6 countries with data in other periods have no value for 2021 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

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

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, 2021) [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, 2021. 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=2021. 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, 2021. 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=2021.

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, 2021 [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=2021 (Accessed: 12 October 2026).

BibTeX
@misc{organisation_countries_by_government_balance_2021,
  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, 2021}},
  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=2021. 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, 2021
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=2021
Y2  - 2026/10/12
N1  - Accessed via Invokely, https://invokely.ai/rankings/government-balance/countries?period=2021.
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  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which country has the highest government balance as a share of GDP?

Norway, with 10% of GDP in 2021, according to the Organisation for Economic Co-operation and Development.

Which country has the lowest government balance as a share of GDP?

The United States, with -12% of GDP in 2021.

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. 6 countries have no value for 2021 and are not ranked.

Government balance: other rankings

Countries: more rankings