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, 2024

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 2024's average rate (Eurostat).

Revenue
$729.88B · 42.3% of GDP
Spending
$784.74B · 45.5% of GDP
Surplus (+) or deficit (−)
-$54.99B · -3.2% of GDP

What the money is spent on

Spain, 2024: spending by function, as a share of all spending
Spain, 2024: spending by function, as a share of all spending
RowValue (%)ShareNote
Social protection41$322.05B
Health14.2$111.42B
General public services12.8$100.18B
Economic affairs11.2$87.57B
Education9.1$71.29B
Public order and safety3.9$30.99B
Recreation, culture and religion2.6$20.77B
Environmental protection2.1$16.82B
Defence2$15.41B
Housing and community amenities1.1$8.24B
Social protection$322.05B
Social protection, in detail, as a share of it
Social protection, in detail, as a share of it
RowValue (%)ShareNote
Old age55.5$178.65B
Sickness and disability14.8$47.65B
Survivors11.9$38.34B
Unemployment8.1$26.06B
Family and children5.1$16.55B
Social exclusion n.e.c.3.7$11.77B
Social protection n.e.c.0.7$2.3B
Housing0.2$711.14M
R&D Social protection0$5.41M
Health$111.42B
Health, in detail, as a share of it
Health, in detail, as a share of it
RowValue (%)ShareNote
Hospital services42.4$47.25B
Outpatient services36.2$40.32B
Medical products, appliances and equipment14.7$16.33B
R&D Health4.6$5.1B
Public health services1.7$1.92B
Health n.e.c.0.5$504.4M
General public services$100.18B
General public services, in detail, as a share of it
General public services, in detail, as a share of it
RowValue (%)ShareNote
Public debt transactions42.8$42.91B
Executive and legislative organs, financial and fiscal affairs, external affairs23.2$23.21B
General services18$18B
Basic research9.2$9.21B
General public services n.e.c.5$5.05B
Foreign economic aid1.4$1.36B
R&D General public services0.4$441.62M
Transfers of a general character between different levels of government0$0
Economic affairs$87.57B
Economic affairs, in detail, as a share of it
Economic affairs, in detail, as a share of it
RowValue (%)ShareNote
Transport35.4$30.99B
General economic, commercial and labour affairs26.1$22.86B
Agriculture, forestry, fishing and hunting8.8$7.75B
Fuel and energy7.1$6.23B
R&D Economic affairs6.8$5.94B
Other industries5.2$4.56B
Communication4.6$3.99B
Mining, manufacturing and construction3.1$2.73B
Economic affairs n.e.c.2.9$2.53B
Education$71.29B
Education, in detail, as a share of it
Education, in detail, as a share of it
RowValue (%)ShareNote
Secondary education38.9$27.75B
Pre-primary and primary education37.3$26.61B
Tertiary education13.4$9.52B
Subsidiary services to education3.6$2.56B
Education n.e.c.3.1$2.22B
R&D Education2.1$1.51B
Education not definable by level1.5$1.09B
Post-secondary non-tertiary education0$28.14M
Public order and safety$30.99B
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 services61.3$18.99B
Law courts18.9$5.86B
Fire-protection services10.5$3.26B
Prisons8.1$2.53B
Public order and safety n.e.c.1.1$348.53M
R&D Public order and safety0$2.16M
Recreation, culture and religion$20.77B
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 services40.7$8.45B
Recreational and sporting services35.3$7.33B
Broadcasting and publishing services16.4$3.4B
Religious and other community services5.1$1.06B
Recreation, culture and religion n.e.c.1.7$351.78M
R&D Recreation, culture and religion0.9$189.42M
Environmental protection$16.82B
Environmental protection, in detail, as a share of it
Environmental protection, in detail, as a share of it
RowValue (%)ShareNote
Waste management57$9.58B
Protection of biodiversity and landscape15.6$2.63B
Waste water management14.2$2.39B
Environmental protection n.e.c.5.6$936.28M
R&D Environmental protection3.8$646.19M
Pollution abatement3.8$633.2M
Defence$15.41B
Defence, in detail, as a share of it
Defence, in detail, as a share of it
RowValue (%)ShareNote
Military defence79.5$12.25B
Foreign military aid15.5$2.39B
R&D Defence5$770.67M
Civil defence0$0
Defence n.e.c.0$0
Housing and community amenities$8.24B
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 development36.2$2.98B
Water supply27$2.22B
Street lighting24.9$2.05B
Community development8.2$675.42M
R&D Housing and community amenities2.4$200.24M
Housing and community amenities n.e.c.1.3$106.08M

Where the money comes from

Spain, 2024: revenue by kind, as a share of all revenue
Spain, 2024: revenue by kind, as a share of all revenue
RowValue (%)ShareNote
Social contributions31.2$227.62B
Taxes on income and wealth29.5$215.07B
Taxes on sales, production and imports26.3$191.84B
Sales, fees and charges5.2$37.96B
Capital transfers and taxes received3.6$26.15B
Income from property (interest, dividends, rent)2.2$16.01B
Other transfers received2.1$15.23B
Subsidies received0$0
Taxes on sales, production and imports$191.84B
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 tax57.8$110.98B
Not broken down, or fitting no category42.2$80.86B

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.