Public budgets

Spain: public budget

What Spain's government raised and what it spent it on, from the figures its own budget laws or a statistics office publish. Solon places every figure on the same international classification, so it can be compared with any other place.

General government, 2021

Outturn: what came in and was spent

General government: central, state and local government and social security funds together, consolidated so that money passed between them is counted once, as Eurostat's government finance statistics (ESA 2010) count it.

Amounts in USD, converted from EUR at 2021's average rate (Eurostat).

Revenue
$625.59B · 42.8% of GDP
Spending
$722.78B · 49.5% of GDP
Surplus (+) or deficit (−)
-$97.19B · -6.7% of GDP

What the money is spent on

Spain, 2021: spending by function, as a share of all spending
Spain, 2021: spending by function, as a share of all spending
RowValue (%)ShareNote
Social protection40.7$294.1B
Health14.5$104.72B
Economic affairs12.9$93.37B
General public services11.6$83.94B
Education9.1$66.1B
Public order and safety4$29.02B
Recreation, culture and religion2.4$17.28B
Defence1.9$13.86B
Environmental protection1.9$13.56B
Housing and community amenities0.9$6.84B
Social protection$294.1B
Social protection, in detail, as a share of it
Social protection, in detail, as a share of it
RowValue (%)ShareNote
Old age52.1$153.26B
Sickness and disability14.2$41.74B
Unemployment12.9$38.01B
Survivors12$35.24B
Family and children5.1$14.93B
Social exclusion n.e.c.2.9$8.38B
Social protection n.e.c.0.7$1.96B
Housing0.2$520.39M
R&D Social protection0$63.87M
Health$104.72B
Health, in detail, as a share of it
Health, in detail, as a share of it
RowValue (%)ShareNote
Hospital services41.3$43.28B
Outpatient services36.3$38.02B
Medical products, appliances and equipment15$15.67B
R&D Health3.9$4.13B
Public health services3$3.1B
Health n.e.c.0.5$512.11M
Economic affairs$93.37B
Economic affairs, in detail, as a share of it
Economic affairs, in detail, as a share of it
RowValue (%)ShareNote
General economic, commercial and labour affairs38.8$36.23B
Transport31.4$29.31B
Fuel and energy8.3$7.77B
Agriculture, forestry, fishing and hunting6.2$5.77B
R&D Economic affairs5.8$5.43B
Other industries5.3$4.99B
Communication1.8$1.71B
Mining, manufacturing and construction1.6$1.54B
Economic affairs n.e.c.0.6$606.73M
General public services$83.94B
General public services, in detail, as a share of it
General public services, in detail, as a share of it
RowValue (%)ShareNote
Public debt transactions38$31.9B
Executive and legislative organs, financial and fiscal affairs, external affairs30.9$25.95B
General services19.3$16.21B
Basic research8.8$7.4B
Foreign economic aid2.3$1.95B
R&D General public services0.5$413.95M
General public services n.e.c.0.1$107.63M
Transfers of a general character between different levels of government0$0
Education$66.1B
Education, in detail, as a share of it
Education, in detail, as a share of it
RowValue (%)ShareNote
Secondary education38.7$25.6B
Pre-primary and primary education38.5$25.42B
Tertiary education13.7$9.04B
Subsidiary services to education3.2$2.12B
Education n.e.c.2.8$1.85B
R&D Education1.6$1.07B
Education not definable by level1.5$1B
Post-secondary non-tertiary education0$4.73M
Public order and safety$29.02B
Public order and safety, in detail, as a share of it
Public order and safety, in detail, as a share of it
RowValue (%)ShareNote
Police services62.1$18.01B
Law courts18.9$5.49B
Fire-protection services9.7$2.81B
Prisons7.9$2.3B
Public order and safety n.e.c.1.4$416.31M
R&D Public order and safety0$2.37M
Recreation, culture and religion$17.28B
Recreation, culture and religion, in detail, as a share of it
Recreation, culture and religion, in detail, as a share of it
RowValue (%)ShareNote
Cultural services38$6.57B
Recreational and sporting services36.3$6.28B
Broadcasting and publishing services18.2$3.15B
Religious and other community services5.4$924.87M
Recreation, culture and religion n.e.c.1.1$184.5M
R&D Recreation, culture and religion1$173.86M
Defence$13.86B
Defence, in detail, as a share of it
Defence, in detail, as a share of it
RowValue (%)ShareNote
Military defence86.2$11.95B
Foreign military aid11.7$1.63B
R&D Defence2$283.85M
Civil defence0$0
Defence n.e.c.0$0
Environmental protection$13.56B
Environmental protection, in detail, as a share of it
Environmental protection, in detail, as a share of it
RowValue (%)ShareNote
Waste management61.5$8.34B
Waste water management14.4$1.96B
Protection of biodiversity and landscape10.6$1.44B
Environmental protection n.e.c.5.5$745.1M
R&D Environmental protection4.2$562.97M
Pollution abatement3.8$513.29M
Housing and community amenities$6.84B
Housing and community amenities, in detail, as a share of it
Housing and community amenities, in detail, as a share of it
RowValue (%)ShareNote
Housing development40.1$2.74B
Street lighting23.8$1.62B
Water supply23.4$1.6B
Community development8.8$600.81M
R&D Housing and community amenities2.5$173.86M
Housing and community amenities n.e.c.1.4$96.98M

Where the money comes from

Spain, 2021: revenue by kind, as a share of all revenue
Spain, 2021: revenue by kind, as a share of all revenue
RowValue (%)ShareNote
Social contributions32.5$203.05B
Taxes on sales, production and imports27.8$173.8B
Taxes on income and wealth27.1$169.7B
Sales, fees and charges5.2$32.64B
Capital transfers and taxes received3.5$22.05B
Other transfers received2.6$16.32B
Income from property (interest, dividends, rent)1.3$8.02B
Subsidies received0$0
Taxes on sales, production and imports$173.8B
Taxes on sales, production and imports, in detail, as a share of it
Taxes on sales, production and imports, in detail, as a share of it
RowValue (%)ShareNote
Value added tax56.9$98.81B
Not broken down, or fitting no category43.1$74.99B

Over the years

37.3 % of GDPRevenue · 1,99537 % of GDPRevenue · 1,99637.6 % of GDPRevenue · 1,99738.4 % of GDPRevenue · 1,99838.7 % of GDPRevenue · 1,99937.9 % of GDPRevenue · 2,00037.9 % of GDPRevenue · 2,00138.3 % of GDPRevenue · 2,00237.9 % of GDPRevenue · 2,00338.7 % of GDPRevenue · 2,00439.6 % of GDPRevenue · 2,00540.5 % of GDPRevenue · 2,00641.1 % of GDPRevenue · 2,00736.7 % of GDPRevenue · 2,00834.9 % of GDPRevenue · 2,00936.3 % of GDPRevenue · 2,01036.2 % of GDPRevenue · 2,01137.7 % of GDPRevenue · 2,01238.7 % of GDPRevenue · 2,01339 % of GDPRevenue · 2,01438.4 % of GDPRevenue · 2,01537.9 % of GDPRevenue · 2,01637.9 % of GDPRevenue · 2,01738.9 % of GDPRevenue · 2,01838.9 % of GDPRevenue · 2,01941.5 % of GDPRevenue · 2,02042.8 % of GDPRevenue · 2,02141.7 % of GDPRevenue · 2,02242.1 % of GDPRevenue · 2,02342.3 % of GDPRevenue · 2,02442.9 % of GDPRevenue · 2,02544.1 % of GDPSpending · 1,99542.9 % of GDPSpending · 1,99641.5 % of GDPSpending · 1,99741 % of GDPSpending · 1,99839.9 % of GDPSpending · 1,99939.1 % of GDPSpending · 2,00038.4 % of GDPSpending · 2,00138.6 % of GDPSpending · 2,00238.3 % of GDPSpending · 2,00338.8 % of GDPSpending · 2,00438.4 % of GDPSpending · 2,00538.4 % of GDPSpending · 2,00639.2 % of GDPSpending · 2,00741.3 % of GDPSpending · 2,00846.1 % of GDPSpending · 2,00945.8 % of GDPSpending · 2,01045.9 % of GDPSpending · 2,01149.2 % of GDPSpending · 2,01246.2 % of GDPSpending · 2,01345 % of GDPSpending · 2,01443.7 % of GDPSpending · 2,01542.1 % of GDPSpending · 2,01641 % of GDPSpending · 2,01741.5 % of GDPSpending · 2,01842 % of GDPSpending · 2,01951.4 % of GDPSpending · 2,02049.5 % of GDPSpending · 2,02146.3 % of GDPSpending · 2,02245.4 % of GDPSpending · 2,02345.5 % of GDPSpending · 2,024
Spain: revenue and spending, 1995–2025
Spain: revenue and spending, 1995–2025
PeriodRevenue (% of GDP)Spending (% of GDP)
1,99537.344.1
1,9963742.9
1,99737.641.5
1,99838.441
1,99938.739.9
2,00037.939.1
2,00137.938.4
2,00238.338.6
2,00337.938.3
2,00438.738.8
2,00539.638.4
2,00640.538.4
2,00741.139.2
2,00836.741.3
2,00934.946.1
2,01036.345.8
2,01136.245.9
2,01237.749.2
2,01338.746.2
2,0143945
2,01538.443.7
2,01637.942.1
2,01737.941
2,01838.941.5
2,01938.942
2,02041.551.4
2,02142.849.5
2,02241.746.3
2,02342.145.4
2,02442.345.5
2,02542.9
Where these figures come from

Change it

Think this money should be raised or spent differently? Draft it as a proposal: a proposal is evidence of support, handed to whoever decides, never law.