Slovenia vs Spain: Government spending by function as a share of GDP
Slovenia
16.9%
in 2023
Spain
18.5%
in 2023
Slovenia rank
14th
Spain rank
12th
Government spending by function as a share of GDP over time
- Slovenia
- Spain
How they compare
Spain currently reports 18.5% against 16.9% in Slovenia, a difference of 1.6%.
That makes Spain's figure about 1.1 times Slovenia's.
The two have swapped places 1 time across 17 shared years of data; in 2007 it was Slovenia ahead.
Slovenia ranks 14th and Spain ranks 12th of 37 countries.
Across the 3 decades both report, Slovenia averaged higher in 2 and Spain in 1.
Head to head by decade
| Decade | Slovenia | Spain | Difference | Ahead |
|---|---|---|---|---|
| 2000s | 17.1% | 14.2% | 2.9% | Slovenia |
| 2010s | 18.4% | 17.2% | 1.2% | Slovenia |
| 2020s | 17.9% | 19.7% | 1.8% | Spain |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher government spending by function as a share of gdp, Slovenia or Spain?
- Spain, at 18.5% against 16.9% in Slovenia as of 2023.
- What is the difference in government spending by function as a share of gdp between Slovenia and Spain?
- 1.6%, with Spain ahead.
- How many years of comparable data are there for Slovenia and Spain?
- 17 years are reported by both, from 2007 to 2023.
- How do Slovenia and Spain rank globally for government spending by function as a share of gdp?
- Slovenia ranks 14th and Spain ranks 12th of 37 countries.
- Where does this data come from?
- OECD (2026) – with minor processing by Our World in Data, published as Government spending by function as a share of GDP. Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
General government expenditure on social protection. This data is divided by gross domestic product, expressed as a percentage.