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

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

Revenue
$681.43B · 42.1% of GDP
Spending
$735.53B · 45.4% of GDP
Surplus (+) or deficit (−)
-$54.09B · -3.3% of GDP

What the money is spent on

Spain, 2023: spending by function, as a share of all spending
Spain, 2023: spending by function, as a share of all spending
RowValue (%)ShareNote
Social protection40.8$299.87B
Health14.5$106.65B
General public services12.4$91.29B
Economic affairs11$80.94B
Education9.2$67.62B
Public order and safety4$29.64B
Recreation, culture and religion2.7$20.15B
Environmental protection2.1$15.76B
Defence2.1$15.15B
Housing and community amenities1.1$8.46B
Social protection$299.87B
Social protection, in detail, as a share of it
Social protection, in detail, as a share of it
RowValue (%)ShareNote
Old age55.2$165.49B
Sickness and disability14.5$43.4B
Survivors12.1$36.37B
Unemployment8.3$24.86B
Family and children5.3$15.86B
Social exclusion n.e.c.3.7$11.06B
Social protection n.e.c.0.7$2.16B
Housing0.2$677.98M
R&D Social protection0$2.16M
Health$106.65B
Health, in detail, as a share of it
Health, in detail, as a share of it
RowValue (%)ShareNote
Hospital services42.8$45.69B
Outpatient services35.7$38.08B
Medical products, appliances and equipment14.6$15.6B
R&D Health4.5$4.76B
Public health services1.9$2.04B
Health n.e.c.0.5$487.67M
General public services$91.29B
General public services, in detail, as a share of it
General public services, in detail, as a share of it
RowValue (%)ShareNote
Public debt transactions43.5$39.71B
Executive and legislative organs, financial and fiscal affairs, external affairs24.8$22.6B
General services18.8$17.14B
Basic research9.6$8.79B
Foreign economic aid2.1$1.87B
General public services n.e.c.0.8$740.69M
R&D General public services0.5$429.28M
Transfers of a general character between different levels of government0$0
Economic affairs$80.94B
Economic affairs, in detail, as a share of it
Economic affairs, in detail, as a share of it
RowValue (%)ShareNote
Transport38.6$31.25B
General economic, commercial and labour affairs23.3$18.89B
Agriculture, forestry, fishing and hunting10$8.09B
R&D Economic affairs7$5.7B
Fuel and energy6.7$5.4B
Other industries5.3$4.32B
Mining, manufacturing and construction3.9$3.13B
Communication3.7$2.96B
Economic affairs n.e.c.1.5$1.19B
Education$67.62B
Education, in detail, as a share of it
Education, in detail, as a share of it
RowValue (%)ShareNote
Secondary education38.9$26.3B
Pre-primary and primary education37.6$25.41B
Tertiary education13.3$8.97B
Subsidiary services to education3.6$2.47B
Education n.e.c.3.1$2.07B
R&D Education2.1$1.43B
Education not definable by level1.4$949.38M
Post-secondary non-tertiary education0$25.95M
Public order and safety$29.64B
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.9$18.34B
Law courts18.7$5.54B
Fire-protection services10.2$3.04B
Prisons8.1$2.4B
Public order and safety n.e.c.1.1$325.47M
R&D Public order and safety0$2.16M
Recreation, culture and religion$20.15B
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.8$8.23B
Recreational and sporting services36.5$7.35B
Broadcasting and publishing services15.9$3.2B
Religious and other community services4.4$890.99M
Recreation, culture and religion n.e.c.1.4$287.63M
R&D Recreation, culture and religion1$192.47M
Environmental protection$15.76B
Environmental protection, in detail, as a share of it
Environmental protection, in detail, as a share of it
RowValue (%)ShareNote
Waste management57.7$9.1B
Waste water management14.5$2.28B
Protection of biodiversity and landscape14.1$2.23B
Environmental protection n.e.c.5.7$893.15M
Pollution abatement4.1$641.21M
R&D Environmental protection3.9$620.67M
Defence$15.15B
Defence, in detail, as a share of it
Defence, in detail, as a share of it
RowValue (%)ShareNote
Military defence81.4$12.33B
Foreign military aid14.3$2.16B
R&D Defence4.3$657.43M
Civil defence0$0
Defence n.e.c.0$0
Housing and community amenities$8.46B
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 development37.9$3.2B
Water supply26.2$2.22B
Street lighting24.1$2.04B
Community development8.3$701.76M
R&D Housing and community amenities2.3$193.55M
Housing and community amenities n.e.c.1.2$100.56M

Where the money comes from

Spain, 2023: revenue by kind, as a share of all revenue
Spain, 2023: revenue by kind, as a share of all revenue
RowValue (%)ShareNote
Social contributions31.3$213.02B
Taxes on income and wealth29.1$198.01B
Taxes on sales, production and imports26.3$179.35B
Sales, fees and charges5.2$35.13B
Capital transfers and taxes received3.5$23.92B
Other transfers received2.4$16.64B
Income from property (interest, dividends, rent)2.3$15.36B
Subsidies received0$0
Taxes on sales, production and imports$179.35B
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.9$103.84B
Not broken down, or fitting no category42.1$75.51B

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.