Germany vs Spain: Government spending by function

Germany
40.6%
in 2023
Spain
40.7%
in 2023
Germany rank
7th
Spain rank
6th

Government spending by function over time

  • Germany
  • Spain
010203040200720152023

How they compare

Spain currently reports 40.7% against 40.6% in Germany, a difference of 0.1%.

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

Germany ranks 7th and Spain ranks 6th of 37 countries.

Germany has averaged higher in every one of the 3 decades both report.

Head to head by decade

Decade Germany Spain Difference Ahead
2000s 42.1% 33.7% 8.4% Germany
2010s 41.7% 38.9% 2.8% Germany
2020s 40.9% 40.9% 0.0% Germany

Averages of every year both report within each decade.

Frequently asked questions

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

Germany vs Spain: 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/germany/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://reference.statizoid.com/compare/government-spending-by-function/germany/spain/">Germany vs Spain: 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.