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
05101520200720152023

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

Share, cite or embed this page

Cite this page

Slovenia vs Spain: Government spending by function as a share of GDP. Statizoid, drawing on OECD (2026) – with minor processing by Our World in Data. Retrieved 02 September 2026, from https://economy.statizoid.com/compare/government-spending-by-function-as-share-of-gdp-across-countries/slovenia/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://economy.statizoid.com/compare/government-spending-by-function-as-share-of-gdp-across-countries/slovenia/spain/">Slovenia vs Spain: Government spending by function as a share of GDP</a> — Statizoid

About this data

Indicator
Government spending by function as a share of GDP
Unit
% of GDP
Source
OECD (2026) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
37 places, 618 data points, 2007–2024
Last refreshed

General government expenditure on social protection. This data is divided by gross domestic product, expressed as a percentage.