Government spending by function as a share of GDP in Costa Rica

Costa Rica: Government spending by function as a share of GDP was 8.1% in 2021. ▲ Rising

Latest (2021)
8.1%
Change on year
down 13.8%
World rank
35th
of 37 countries
All-time high
9.4%
in 2020
All-time low
7.6%
in 2012
Years of data
10
2012–2021

Government spending by function as a share of GDP in Costa Rica, 2012–2021

02468102012201620212012: 7.6 % of GDP2013: 8.1 % of GDP2014: 8.1 % of GDP2015: 8 % of GDP2016: 8.3 % of GDP2017: 8.3 % of GDP2018: 8.6 % of GDP2019: 7.8 % of GDP2020: 9.4 % of GDP2021: 8.1 % of GDP

Source: OECD (2026) – with minor processing by Our World in Data. Measured in % of GDP.

Analysis

In 2021, government spending by function as a share of gdp in Costa Rica stood at 8.1%.

The figure is down 13.8% on the previous year and up 6.7% over ten years.

Over the whole period, government spending by function as a share of gdp in Costa Rica peaked at 9.4% in 2020 and was at its lowest, 7.6%, in 2012.

That places Costa Rica 35th out of 37 countries with data for 2021, putting it in the bottom quarter.

Government spending by function as a share of GDP in Costa Rica, year by year

Annual values for Government spending by function as a share of GDP in Costa Rica, 2012 to 2021.
Year % of GDP Change
2012 7.6%
2013 8.1% +6.6%
2014 8.1% -0.7%
2015 8.0% -0.5%
2016 8.3% +3.3%
2017 8.3% -0.0%
2018 8.6% +3.6%
2019 7.8% -9.8%
2020 9.4% +21.8%
2021 8.1% -13.8%

Averages by decade

DecadeAverage LowestHighest Years
2010s 8.1% 7.6% 8.6% 8
2020s 8.8% 8.1% 9.4% 2

Countries ranked near Costa Rica

  1. 32 Australia 10.6% compare
  2. 33 South Korea 9.3% compare
  3. 34 Chile 8.6% compare
  4. 36 United States 7.9% compare
  5. 37 Ireland 7.8% compare

See the full ranking of 37 places →

More economy & growth data for Costa Rica

All data for Costa Rica →

Frequently asked questions

What is government spending by function as a share of gdp in Costa Rica?
Government spending by function as a share of gdp in Costa Rica was 8.1% in 2021, according to OECD (2026) – with minor processing by Our World in Data.
What is the highest government spending by function as a share of gdp recorded in Costa Rica?
The highest recorded value was 9.4% in 2020.
What is the lowest government spending by function as a share of gdp recorded in Costa Rica?
The lowest recorded value was 7.6% in 2012.
How does Costa Rica rank for government spending by function as a share of gdp?
Costa Rica ranks 35th out of 37 countries with data for 2021.
Is government spending by function as a share of gdp rising or falling in Costa Rica?
Over the last ten years it is up 6.7%. The long-run trend across the full record is rising.
Where does this Costa Rica data come from?
The figures come from OECD (2026) – with minor processing by Our World in Data, published as part of Government spending by function as a share of GDP. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 10 observations, free to reuse under CC BY 4.0 (Our World in Data).

Share, cite or embed this page

Cite this page

Government spending by function as a share of GDP in Costa Rica. Statizoid, drawing on OECD (2026) – with minor processing by Our World in Data. Retrieved 02 September 2026, from https://economy.statizoid.com/stat/government-spending-by-function-as-share-of-gdp-across-countries/costa-rica/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://economy.statizoid.com/stat/government-spending-by-function-as-share-of-gdp-across-countries/costa-rica/">Government spending by function as a share of GDP in Costa Rica</a> — Statizoid

About this data

Indicator
Government spending by function as a share of GDP
Unit
% of GDP
Source
OECD (2026) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
37 places, 618 data points, 2007–2024
Last refreshed

General government expenditure on social protection. This data is divided by gross domestic product, expressed as a percentage.