EU countries by government balance as a share of GDP
Denmark had the highest government balance as a share of GDP of 27 EU countries in 2020, at 0.4% of GDP. Spain had the lowest, at -9.9% of GDP. The median was -5.8% of GDP and the figure for the European Union (27) was -6.7% of GDP. Source: Eurostat, European Commission.
All EU countries, 2020
Full ranking
| Rank | EU countries | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | Denmark | 0.4 | -3.9 pts |
| 2 | Luxembourg | -3.1 | -5.8 pts |
| 3 | Sweden | -3.2 | -3.6 pts |
| 4 | Netherlands | -3.7 | -5.6 pts |
| 5 | Bulgaria | -3.8 | -6 pts |
| 6 | Latvia | -4.1 | -3.9 pts |
| 7 | Germany | -4.4 | -5.7 pts |
| 8 | Ireland | -5 | -5.4 pts |
| 9 | Slovakia | -5.3 | -4.1 pts |
| 10 | Estonia | -5.4 | -5.3 pts |
| 11 | Finland | -5.5 | -4.6 pts |
| 12 | Cyprus | -5.6 | -6.6 pts |
| 12 | Czechia | -5.6 | -5.9 pts |
| 14 | Portugal | -5.8 | -5.9 pts |
| 15 | Lithuania | -6.4 | -6.8 pts |
| 16 | Poland | -6.9 | -6.2 pts |
| 17 | Croatia | -7.2 | -7.4 pts |
| 18 | Hungary | -7.5 | -5.5 pts |
| 19 | Slovenia | -7.7 | -8.4 pts |
| 20 | Austria | -8.2 | -8.7 pts |
| 21 | Malta | -8.7 | -9.5 pts |
| 22 | France | -8.9 | -6.5 pts |
| 23 | Belgium | -9 | -7 pts |
| 24 | Romania | -9.3 | -4.9 pts |
| 25 | Italy | -9.4 | -7.9 pts |
| 26 | Greece | -9.9 | -10.7 pts |
| 26 | Spain | -9.9 | -6.8 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 EU countries are compared on one definition. Equal values share a rank.
How to cite
Eurostat. Government deficit and debt, net lending or borrowing (gov_10dd_edpt1). https://ec.europa.eu/eurostat/databrowser/view/gov_10dd_edpt1/default/table. Retrieved 2026-10-07.
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 EU countries by government balance as a share of GDP using official data, and cite the source.
rank_places {"indicator":"government_deficit","level":"country","within":"European Union (27)","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=government_deficit&level=country&within=European%20Union%20(27)&limit=10
Questions
Which EU country has the highest government balance as a share of GDP?
Denmark, with 0.4% of GDP in 2020, according to Eurostat, European Commission.
Which EU country has the lowest government balance as a share of GDP?
Spain, with -9.9% of GDP in 2020.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Eurostat, European Commission, Government deficit and debt, net lending or borrowing (gov_10dd_edpt1). Retrieved 2026-10-07.
EU countries: more rankings
- Activity rate
- At-risk-of-poverty rate
- Live births
- Crude birth rate
- Crude death rate
- Deaths
- Age dependency ratio (ages 15 to 64 base)
- Employment rate
- Enterprises using artificial intelligence
- Enterprises buying cloud computing services
- Total fertility rate
- Gross domestic product (GDP)
- Real GDP growth
- GDP per capita
- GDP per capita in PPS (EU27 = 100)
- GDP per capita, US dollars