Costa Rica vs Hungary: Government spending by function
Costa Rica
26.1%
in 2021
Hungary
24.9%
in 2023
Costa Rica rank
33rd
Hungary rank
35th
Government spending by function over time
- Costa Rica
- Hungary
How they compare
Costa Rica currently reports 26.1% against 24.9% in Hungary, a difference of 1.2%.
The two have swapped places 2 times across 10 shared years of data; in 2012 it was Hungary ahead.
Costa Rica ranks 33rd and Hungary ranks 35th of 37 countries.
Across the 2 decades both report, Costa Rica averaged higher in 1 and Hungary in 1.
Head to head by decade
| Decade | Costa Rica | Hungary | Difference | Ahead |
|---|---|---|---|---|
| 2010s | 25.3% | 30.2% | 4.9% | Hungary |
| 2020s | 26.9% | 26.6% | 0.3% | Costa Rica |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher government spending by function, Costa Rica or Hungary?
- Costa Rica, at 26.1% against 24.9% in Hungary as of 2021.
- What is the difference in government spending by function between Costa Rica and Hungary?
- 1.2%, with Costa Rica ahead.
- How many years of comparable data are there for Costa Rica and Hungary?
- 10 years are reported by both, from 2012 to 2021.
- How do Costa Rica and Hungary rank globally for government spending by function?
- Costa Rica ranks 33rd and Hungary ranks 35th of 37 countries.
- Where does this data come from?
- OECD (2026) β with minor processing by Our World in Data, published as Government spending by function. Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
General government expenditure on social protection. This data is divided by total government expenditure, expressed as a percentage.