Government spending by function as share of gdp across countries in Spain
Spain: Government spending by function as share of gdp across countries was 18.5 in 2023. ▲ Rising
Government spending by function as share of gdp across countries in Spain, 2007–2023
Source: Our World in Data.
Analysis
In 2023, government spending by function as share of gdp across countries in Spain stood at 18.5.
That represents a change of up 1.0% on the previous year and up 2.4% over ten years.
Over the whole period, government spending by function as share of gdp across countries in Spain peaked at 21.91 in 2020 and was at its lowest, 12.82, in 2007.
Spain ranks 12th of 37 countries on this measure, in the middle of the range.
The long-run direction has been consistently rising across the 17 years of available data.
Government spending by function as share of gdp across countries in Spain, year by year
| Year | Value | Change |
|---|---|---|
| 2007 | 12.82 | — |
| 2008 | 13.77 | +7.4% |
| 2009 | 16.1 | +16.9% |
| 2010 | 16.69 | +3.6% |
| 2011 | 16.92 | +1.4% |
| 2012 | 17.74 | +4.9% |
| 2013 | 18.07 | +1.9% |
| 2014 | 17.84 | -1.3% |
| 2015 | 17.04 | -4.5% |
| 2016 | 16.86 | -1.0% |
| 2017 | 16.57 | -1.7% |
| 2018 | 16.78 | +1.3% |
| 2019 | 17.29 | +3.0% |
| 2020 | 21.91 | +26.8% |
| 2021 | 20.13 | -8.1% |
| 2022 | 18.32 | -9.0% |
| 2023 | 18.5 | +1.0% |
Spain compared with similar countries
- Spain's 18.5 is above the median for high income countries, which is 15.65, 1.2× the median. (36 countries reporting)
- Spain's 18.5 is above the median for Europe & Central Asia, which is 16.84, 1.1× the median. (29 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 2000s | 14.23 | 12.82 | 16.1 | 3 |
| 2010s | 17.18 | 16.57 | 18.07 | 10 |
| 2020s | 19.72 | 18.32 | 21.91 | 4 |
Countries ranked near Spain
More economy & growth data for Spain
- Real gdp growth, annual growth rate -19.94 % change on previous year (2025)
- Africa's Development Dynamics (AfDD) Table 04 - Annual real GDP 1.77 Percent per annum (2029)
- Africa's Development Dynamics (AfDD) Table 02 - Annual real GDP 1.62 Percent per annum (2029)
- SDRs holdings, US dollar, annual growth rate -9.14 % change on previous year (2025)
- SDRs holdings, US dollar, per unit of GDP 0.0077 units per US$ of GDP (2025)
- SDRs holdings, US dollar, per capita 298.15 units per person (2025)
- SDRs holdings, SDR, annual growth rate -13.48 % change on previous year (2025)
- SDRs holdings, SDR, per unit of GDP 0.0056 units per US$ of GDP (2025)
- SDRs holdings, SDR, per capita 217.71 units per person (2025)
- IMF holdings of currency, US dollar, annual growth rate 2.3 % change on previous year (2025)
Frequently asked questions
- What is government spending by function as share of gdp across countries in Spain?
- Government spending by function as share of gdp across countries in Spain was 18.5 in 2023, according to Our World in Data.
- What is the highest government spending by function as share of gdp across countries recorded in Spain?
- The highest recorded value was 21.91 in 2020.
- What is the lowest government spending by function as share of gdp across countries recorded in Spain?
- The lowest recorded value was 12.82 in 2007.
- How does Spain rank for government spending by function as share of gdp across countries?
- Spain ranks 12th out of 37 countries with data for 2023.
- Is government spending by function as share of gdp across countries rising or falling in Spain?
- Over the last ten years it is up 2.4%. The long-run trend across the full record is rising.
- Where does this Spain data come from?
- The figures come from Our World in Data, published as part of Government spending by function as share of gdp across countries. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 17 observations, free to reuse under CC BY 4.0 (Our World in Data).