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

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

Revenue
$604.43B · 41.7% of GDP
Spending
$670.88B · 46.3% of GDP
Surplus (+) or deficit (−)
-$66.45B · -4.6% of GDP

What the money is spent on

Spain, 2022: spending by function, as a share of all spending
Spain, 2022: spending by function, as a share of all spending
RowValue (%)ShareNote
Social protection39.6$265.47B
Health14.6$98.27B
General public services12.2$81.94B
Economic affairs12.1$81.22B
Education9.2$61.78B
Public order and safety4$27.17B
Recreation, culture and religion2.7$18.03B
Defence2.4$16.16B
Environmental protection2.1$14.04B
Housing and community amenities1$6.8B
Social protection$265.47B
Social protection, in detail, as a share of it
Social protection, in detail, as a share of it
RowValue (%)ShareNote
Old age54.5$144.79B
Sickness and disability14.9$39.43B
Survivors12.2$32.49B
Unemployment8.6$22.75B
Family and children5.2$13.93B
Social exclusion n.e.c.3.7$9.78B
Social protection n.e.c.0.7$1.77B
Housing0.2$411.72M
R&D Social protection0$116.88M
Health$98.27B
Health, in detail, as a share of it
Health, in detail, as a share of it
RowValue (%)ShareNote
Hospital services41.4$40.72B
Outpatient services36$35.4B
Medical products, appliances and equipment14.9$14.65B
R&D Health4.1$4.01B
Public health services3.1$3.07B
Health n.e.c.0.4$428.57M
General public services$81.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 transactions41.9$34.34B
Executive and legislative organs, financial and fiscal affairs, external affairs27.4$22.44B
General services18.8$15.38B
Basic research9.2$7.51B
Foreign economic aid2.2$1.82B
R&D General public services0.5$398.03M
General public services n.e.c.0.1$56.86M
Transfers of a general character between different levels of government0$0
Economic affairs$81.22B
Economic affairs, in detail, as a share of it
Economic affairs, in detail, as a share of it
RowValue (%)ShareNote
Transport32.6$26.5B
General economic, commercial and labour affairs22.8$18.54B
Fuel and energy20.5$16.67B
Agriculture, forestry, fishing and hunting7.4$6.04B
R&D Economic affairs6$4.91B
Communication4.5$3.65B
Other industries3.9$3.18B
Mining, manufacturing and construction1.4$1.14B
Economic affairs n.e.c.0.7$590.73M
Education$61.78B
Education, in detail, as a share of it
Education, in detail, as a share of it
RowValue (%)ShareNote
Secondary education38.9$24.01B
Pre-primary and primary education37.7$23.29B
Tertiary education13.8$8.51B
Subsidiary services to education3.4$2.11B
Education n.e.c.2.9$1.77B
R&D Education1.8$1.12B
Education not definable by level1.5$941.38M
Post-secondary non-tertiary education0$26.33M
Public order and safety$27.17B
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.6$17.01B
Law courts18.9$5.13B
Fire-protection services9.7$2.64B
Prisons7.8$2.11B
Public order and safety n.e.c.1$267.46M
R&D Public order and safety0$3.16M
Recreation, culture and religion$18.03B
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 services39.8$7.18B
Recreational and sporting services35.7$6.44B
Broadcasting and publishing services15.9$2.87B
Religious and other community services6.2$1.11B
Recreation, culture and religion n.e.c.1.5$262.2M
R&D Recreation, culture and religion1$172.69M
Defence$16.16B
Defence, in detail, as a share of it
Defence, in detail, as a share of it
RowValue (%)ShareNote
Military defence87.2$14.08B
Foreign military aid10$1.62B
R&D Defence2.8$453.84M
Civil defence0$0
Defence n.e.c.0$0
Environmental protection$14.04B
Environmental protection, in detail, as a share of it
Environmental protection, in detail, as a share of it
RowValue (%)ShareNote
Waste management61.9$8.69B
Waste water management14.2$2B
Protection of biodiversity and landscape10.8$1.52B
Environmental protection n.e.c.5.3$738.15M
R&D Environmental protection3.9$551.77M
Pollution abatement3.9$541.24M
Housing and community amenities$6.8B
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 development35.6$2.43B
Street lighting26.3$1.79B
Water supply25.5$1.73B
Community development8.3$563.36M
R&D Housing and community amenities2.6$176.9M
Housing and community amenities n.e.c.1.7$113.72M

Where the money comes from

Spain, 2022: revenue by kind, as a share of all revenue
Spain, 2022: revenue by kind, as a share of all revenue
RowValue (%)ShareNote
Social contributions31.4$189.63B
Taxes on income and wealth28.7$173.5B
Taxes on sales, production and imports27.9$168.93B
Sales, fees and charges5.3$32.29B
Capital transfers and taxes received2.9$17.48B
Other transfers received2.5$14.88B
Income from property (interest, dividends, rent)1.3$7.72B
Subsidies received0$0
Taxes on sales, production and imports$168.93B
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 tax58.7$99.13B
Not broken down, or fitting no category41.3$69.8B

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.