Spain vs Switzerland: Government spending by function

Spain
40.7%
in 2023
Switzerland
39.3%
in 2023
Spain rank
6th
Switzerland rank
9th

Government spending by function over time

  • Spain
  • Switzerland
010203040200720152023

How they compare

Spain currently reports 40.7% against 39.3% in Switzerland, a difference of 1.4%.

The two have swapped places 5 times across 17 shared years of data; in 2007 it was Switzerland ahead.

Spain ranks 6th and Switzerland ranks 9th of 37 countries.

Across the 3 decades both report, Spain averaged higher in 1 and Switzerland in 2.

Head to head by decade

Decade Spain Switzerland Difference Ahead
2000s 33.7% 38.7% 5.1% Switzerland
2010s 38.9% 39.3% 0.4% Switzerland
2020s 40.9% 40.2% 0.7% Spain

Averages of every year both report within each decade.

Frequently asked questions

Which has higher government spending by function, Spain or Switzerland?
Spain, at 40.7% against 39.3% in Switzerland as of 2023.
What is the difference in government spending by function between Spain and Switzerland?
1.4%, with Spain ahead.
How many years of comparable data are there for Spain and Switzerland?
17 years are reported by both, from 2007 to 2023.
How do Spain and Switzerland rank globally for government spending by function?
Spain ranks 6th and Switzerland ranks 9th 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. 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

Spain vs Switzerland: Government spending by function. Statizoid, drawing on OECD (2026) – with minor processing by Our World in Data. Retrieved 25 September 2026, from https://reference.statizoid.com/compare/government-spending-by-function/spain/switzerland/

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://reference.statizoid.com/compare/government-spending-by-function/spain/switzerland/">Spain vs Switzerland: Government spending by function</a> β€” Statizoid

About this data

Indicator
Government spending by function
Unit
% of government expenditure
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 total government expenditure, expressed as a percentage.