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.

Highest0.4Denmark
Lowest-15United States
Median-7.341 countries

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.2 % of GDPLuxembourg-3.2Sweden: -3.2 % of GDPSweden-3.2Netherlands: -3.7 % of GDPNetherlands-3.7Latvia: -4.1 % of GDPLatvia-4.1Germany: -4.4 % of GDPGermany-4.4Ireland: -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.4 % of GDPLithuania-6.4Mexico: -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.2-5.8 pts
6Sweden-3.2-3.6 pts
7Netherlands-3.7-5.6 pts
8Latvia-4.1-3.9 pts
9Germany-4.4-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.4-6.8 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.5 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

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