Countries by government balance as a share of GDP

Denmark had the highest government balance as a share of GDP of 41 countries in 2020, at 0.4% of GDP. The United States had the lowest, at -15% of GDP. The median was -7.3% of GDP. Source: the Organisation for Economic Co-operation and Development.

Keep it in a collection in your library.
Highest0.4Denmark
Lowest-15United States
Median-7.341 countries

Map of countries, 2020

Austria: -8.2 % of GDPAustralia: -8.1 % of GDPBelgium: -9 % of GDPBrazil: -12.1 % of GDPCanada: -10.9 % of GDPSwitzerland: -2.6 % of GDPChile: -7.3 % of GDPChina: -7.5 % of GDPColombia: -8.8 % of GDPCosta Rica: -5.3 % of GDPCzechia: -5.6 % of GDPGermany: -4.3 % of GDPDenmark: 0.4 % of GDPEstonia: -5.4 % of GDPSpain: -9.9 % of GDPFinland: -5.5 % of GDPFrance: -8.9 % of GDPUnited Kingdom: -12.9 % of GDPGreece: -9.9 % of GDPHungary: -7.5 % of GDPIndonesia: -5.8 % of GDPIreland: -4.9 % of GDPIsrael: -10.7 % of GDPIceland: -8.8 % of GDPItaly: -9.4 % of GDPJapan: -9 % of GDPSouth Korea: -2.6 % of GDPLithuania: -6.3 % of GDPLuxembourg: -3 % of GDPLatvia: -4 % of GDPMexico: -6.5 % of GDPNetherlands: -3.7 % of GDPNorway: -2.6 % of GDPNew Zealand: -7.7 % of GDPPoland: -6.9 % of GDPPortugal: -5.8 % of GDPSweden: -3.3 % of GDPSlovenia: -7.7 % of GDPSlovakia: -5.3 % of GDPUnited States: -15 % of GDPSouth Africa: -10.5 % of GDP
  • Under -8.8
  • -8.8 to -5.6
  • -5.6 to 0
  • 0 and over
  • No data
% of GDP, 2020. 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, 2020

Denmark: 0.4 % of GDPDenmark0.4South Korea: -2.6 % of GDPSouth Korea-2.6Norway: -2.6 % of GDPNorway-2.6Switzerland: -2.6 % of GDPSwitzerland-2.6Luxembourg: -3 % of GDPLuxembourg-3Sweden: -3.3 % of GDPSweden-3.3Netherlands: -3.7 % of GDPNetherlands-3.7Latvia: -4 % of GDPLatvia-4Germany: -4.3 % of GDPGermany-4.3Ireland: -4.9 % of GDPIreland-4.9Slovakia: -5.3 % of GDPSlovakia-5.3Costa Rica: -5.3 % of GDPCosta Rica-5.3Estonia: -5.4 % of GDPEstonia-5.4Finland: -5.5 % of GDPFinland-5.5Czechia: -5.6 % of GDPCzechia-5.6Portugal: -5.8 % of GDPPortugal-5.8Indonesia: -5.8 % of GDPIndonesia-5.8Lithuania: -6.3 % of GDPLithuania-6.3Mexico: -6.5 % of GDPMexico-6.5Poland: -6.9 % of GDPPoland-6.9Chile: -7.3 % of GDPChile-7.3China: -7.5 % of GDPChina-7.5Hungary: -7.5 % of GDPHungary-7.5Slovenia: -7.7 % of GDPSlovenia-7.7New Zealand: -7.7 % of GDPNew Zealand-7.7Australia: -8.1 % of GDPAustralia-8.1Austria: -8.2 % of GDPAustria-8.2Colombia: -8.8 % of GDPColombia-8.8Iceland: -8.8 % of GDPIceland-8.8France: -8.9 % of GDPFrance-8.9Belgium: -9 % of GDPBelgium-9Japan: -9 % of GDPJapan-9Italy: -9.4 % of GDPItaly-9.4Greece: -9.9 % of GDPGreece-9.9Spain: -9.9 % of GDPSpain-9.9South Africa: -10.5 % of GDPSouth Africa-10.5Israel: -10.7 % of GDPIsrael-10.7Canada: -10.9 % of GDPCanada-10.9Brazil: -12.1 % of GDPBrazil-12.1United Kingdom: -12.9 % of GDPUnited Kingdom-12.9United States: -15 % of GDPUnited States-15Denmark: 0.4 % of GDPDenmark0.4South Korea: -2.6 % of GDPSouth Korea-2.6Norway: -2.6 % of GDPNorway-2.6Switzerland: -2.6 % of GDPSwitzerland-2.6Luxembourg: -3 % of GDPLuxembourg-3Sweden: -3.3 % of GDPSweden-3.3Netherlands: -3.7 % of GDPNetherlands-3.7Latvia: -4 % of GDPLatvia-4Germany: -4.3 % of GDPGermany-4.3Ireland: -4.9 % of GDPIreland-4.9Slovakia: -5.3 % of GDPSlovakia-5.3Costa Rica: -5.3 % of GDPCosta Rica-5.3Estonia: -5.4 % of GDPEstonia-5.4Finland: -5.5 % of GDPFinland-5.5Czechia: -5.6 % of GDPCzechia-5.6Portugal: -5.8 % of GDPPortugal-5.8Indonesia: -5.8 % of GDPIndonesia-5.8Lithuania: -6.3 % of GDPLithuania-6.3Mexico: -6.5 % of GDPMexico-6.5Poland: -6.9 % of GDPPoland-6.9Chile: -7.3 % of GDPChile-7.3China: -7.5 % of GDPChina-7.5Hungary: -7.5 % of GDPHungary-7.5Slovenia: -7.7 % of GDPSlovenia-7.7New Zealand: -7.7 % of GDPNew Zealand-7.7Australia: -8.1 % of GDPAustralia-8.1Austria: -8.2 % of GDPAustria-8.2Colombia: -8.8 % of GDPColombia-8.8Iceland: -8.8 % of GDPIceland-8.8France: -8.9 % of GDPFrance-8.9Belgium: -9 % of GDPBelgium-9Japan: -9 % of GDPJapan-9Italy: -9.4 % of GDPItaly-9.4Greece: -9.9 % of GDPGreece-9.9Spain: -9.9 % of GDPSpain-9.9South Africa: -10.5 % of GDPSouth Africa-10.5Israel: -10.7 % of GDPIsrael-10.7Canada: -10.9 % of GDPCanada-10.9Brazil: -12.1 % of GDPBrazil-12.1United Kingdom: -12.9 % of GDPUnited Kingdom-12.9United States: -15 % of GDPUnited States-15
% 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

RankCountries2020
% of GDP
Change on 2019
1Denmark0.4-3.9 pts
2South Korea-2.6-3.5 pts
3Norway-2.6-8.9 pts
4Switzerland-2.6-3.8 pts
5Luxembourg-3-5.8 pts
6Sweden-3.3-3.8 pts
7Netherlands-3.7-5.6 pts
8Latvia-4-3.9 pts
9Germany-4.3-5.7 pts
10Ireland-4.9-5.3 pts
11Slovakia-5.3-4.1 pts
12Costa Rica-5.3-2.2 pts
13Estonia-5.4-5.3 pts
14Finland-5.5-4.6 pts
15Czechia-5.6-5.9 pts
16Portugal-5.8-5.9 pts
17Indonesia-5.8-4.2 pts
18Lithuania-6.3-6.7 pts
19Mexico-6.5-1.2 pts
20Poland-6.9-6.1 pts
21Chile-7.3-3.9 pts
22China-7.5-3.8 pts
23Hungary-7.5-5.5 pts
24Slovenia-7.7-8.4 pts
25New Zealand-7.7-7.3 pts
26Australia-8.1-1.4 pts
27Austria-8.2-8.7 pts
28Colombia-8.8-4.7 pts
29Iceland-8.8-7.4 pts
30France-8.9-6.5 pts
31Belgium-9-7 pts
32Japan-9-6 pts
33Italy-9.4-7.9 pts
34Greece-9.9-10.7 pts
35Spain-9.9-6.8 pts
36South Africa-10.5-5.4 pts
37Israel-10.7-6.9 pts
38Canada-10.9-10.9 pts
39Brazil-12.1-7.1 pts
40United Kingdom-12.9-10.6 pts
41United States-15-8.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 2020 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, 2020) [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, 2020. 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=2020. 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, 2020. 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=2020.

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

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

Denmark, with 0.4% of GDP in 2020, 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 -15% of GDP in 2020.

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 2020 and are not ranked.

Government balance: other rankings

Countries: more rankings