Skip to content

Economy of Costa Rica vs Ecuador compared: GDP & Debt

Updated on by Georank team

Costa Rica has a GDP of $95.4B compared to $125B for Ecuador, ranking 73/197 and 62/197 by economy size, respectively.

Costa Rica has $57B in government debt (59.8% of GDP), compared to $67B (53.8% of GDP) in Ecuador.

Costa Rica vs Ecuador GDP by year

Costa Rica
Ecuador
1x
Year GDP, current $
Costa Rica Ecuador
2024 $95,350,423,177 $124,676,074,700
2023 $86,497,941,439 $121,147,057,000
2022 $69,243,626,029 $116,133,121,000
2021 $64,960,725,734 $107,179,074,000
2020 $62,395,610,760 $95,865,473,000
2019 $64,417,670,521 $107,595,830,000
2018 $62,420,164,992 $107,478,961,000
2017 $60,516,044,657 $104,467,486,000
2016 $58,847,019,610 $97,671,433,000
2015 $56,441,920,821 $97,209,558,000
2014 $52,016,408,854 $102,717,794,000
2013 $50,949,668,842 $96,570,334,000
2012 $47,231,655,432 $87,735,048,000
2011 $42,762,613,699 $78,986,648,000
2010 $37,658,616,952 $68,151,329,000
2009 $30,745,714,313 $60,094,978,000
2008 $30,801,745,700 $61,139,438,000
2007 $26,884,700,709 $49,848,725,000
2006 $22,715,540,324 $45,690,762,000
2005 $20,040,642,477 $40,278,849,000
2004 $18,610,594,846 $35,194,947,000
2003 $17,271,760,507 $30,965,208,000
2002 $16,578,820,687 $27,054,197,000
2001 $15,976,174,337 $23,127,055,000
2000 $15,013,629,662 $17,539,454,727
1999 $14,254,866,285 $19,645,272,636
1998 $13,684,255,947 $27,981,896,948
1997 $12,614,602,382 $28,162,053,027
1996 $11,678,424,507 $25,226,393,197
1995 $11,578,594,260 $24,432,884,442
1994 $10,489,903,725 $22,708,673,337
1993 $9,564,815,975 $18,938,717,359
1992 $8,579,754,758 $18,094,238,119
1991 $7,215,725,487 $16,988,535,268
1990 $5,711,687,787 $15,239,272,612
1989 $5,251,025,767 $13,890,823,705
1988 $4,614,629,898 $13,051,881,851
1987 $4,532,952,047 $13,945,426,859
1986 $4,418,983,871 $15,314,138,472
1985 $3,919,203,960 $17,149,088,413
1984 $3,660,477,856 $16,912,509,092
1983 $3,146,772,631 $17,152,477,037
1982 $2,606,623,555 $19,929,846,396
1981 $2,623,803,096 $21,810,759,354
1980 $4,831,447,001 $17,881,508,242
1979 $4,035,519,323 $14,175,160,902
1978 $3,523,208,810 $11,922,497,876
1977 $3,072,427,013 $11,026,342,618
1976 $2,412,555,426 $9,091,921,030
1975 $1,960,863,466 $7,731,674,472
1974 $1,666,544,754 $6,599,257,044
1973 $1,528,925,846 $3,891,754,150
1972 $1,238,251,696 $3,185,986,087
1971 $1,077,147,538 $2,754,219,271
1970 $984,830,158 $2,862,503,139
1969 $853,630,204 $3,112,165,727
1968 $773,841,494 $2,582,179,864
1967 $699,456,619 $2,553,595,172
1966 $647,305,630 $2,429,308,639
1965 $592,981,162 $2,387,047,396
1964 $542,578,367 $2,244,146,103
1963 $511,902,137 $1,824,343,871
1962 $479,180,824 $1,518,207,703
1961 $490,325,182 $1,753,850,955
1960 $507,513,830 $2,069,464,937

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/economy/costa-rica/ecuador | CC BY

GDP per capita in Costa Rica vs Ecuador by year

Costa Rica
GDP per capita

GDP per capita, PPP
Ecuador
GDP per capita

GDP per capita, PPP
1x
Year Current $
Costa Rica Ecuador
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $18,587 $31,107 $6,875 $15,840
2023 $16,942 $28,909 $6,738 $15,919
2022 $13,626 $26,226 $6,516 $15,198
2021 $12,838 $23,853 $6,061 $13,507
2020 $12,394 $22,100 $5,464 $11,527
2019 $12,885 $23,340 $6,205 $12,543
2018 $12,590 $21,498 $6,304 $12,187
2017 $12,317 $20,499 $6,233 $11,793
2016 $12,091 $19,202 $5,918 $10,881
2015 $11,715 $17,525 $5,976 $10,878
2014 $10,911 $16,394 $6,406 $11,836
2013 $10,803 $15,232 $6,109 $11,296
2012 $10,127 $14,464 $5,634 $10,245
2011 $9,276 $13,614 $5,154 $9,769
2010 $8,266 $12,928 $4,520 $8,969
2009 $6,833 $12,274 $4,053 $8,662
2008 $6,937 $12,472 $4,195 $8,663
2007 $6,138 $11,842 $3,479 $8,112
2006 $5,257 $10,800 $3,244 $7,885
2005 $4,703 $9,899 $2,909 $7,457
2004 $4,431 $9,365 $2,586 $6,980
2003 $4,173 $8,863 $2,316 $6,475
2002 $4,068 $8,461 $2,059 $6,282
2001 $3,985 $8,190 $1,791 $5,999
2000 $3,813 $7,879 $1,382 $5,728
1999 $3,691 $7,563 $1,575 $5,638
1998 $3,617 $7,306 $2,284 $5,940
1997 $3,408 $6,890 $2,341 $5,793
1996 $3,227 $6,568 $2,136 $5,560
1995 $3,275 $6,515 $2,108 $5,469
1994 $3,040 $6,276 $1,997 $5,339
1993 $2,840 $6,025 $1,698 $5,112
1992 $2,612 $5,635 $1,655 $4,998
1991 $2,253 $5,175 $1,587 $4,887
1990 $1,830 $5,021 $1,455 $4,632
1989 $1,725 - $1,356 -
1988 $1,555 - $1,304 -
1987 $1,567 - $1,426 -
1986 $1,569 - $1,604 -
1985 $1,429 - $1,842 -
1984 $1,372 - $1,864 -
1983 $1,213 - $1,940 -
1982 $1,032 - $2,314 -
1981 $1,068 - $2,601 -
1980 $2,021 - $2,190 -
1979 $1,735 - $1,783 -
1978 $1,556 - $1,541 -
1977 $1,393 - $1,465 -
1976 $1,123 - $1,242 -
1975 $937 - $1,086 -
1974 $817 - $954 -
1973 $769 - $579 -
1972 $639 - $488 -
1971 $570 - $434 -
1970 $536 - $465 -
1969 $477 - $521 -
1968 $445 - $445 -
1967 $414 - $454 -
1966 $395 - $445 -
1965 $374 - $450 -
1964 $354 - $436 -
1963 $346 - $365 -
1962 $335 - $312 -
1961 $356 - $371 -
1960 $382 - $451 -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/economy/costa-rica/ecuador | CC BY

Costa Rica's GDP per capita is $18,587, ranking 62/197, compared to $6,875 in Ecuador, ranking 103/197. Adjusted for purchasing power (GDP per capita PPP), Costa Rica ranks 72nd at $31,107, while Ecuador ranks 110th at $15,840.

Economic indicators

Costa Rica Ecuador
Gross domestic product
$95.4B
2024
$125B
2024
GDP rank
73/197
2024
62/197
2024
GDP growth
4.32%
2023-2024
-2%
2023-2024
GDP per capita
$18,587
2024
$6,875
2024
GDP per capita rank
62/197
2024
103/197
2024
GDP per capita, PPP
$31,107
2024
$15,840
2024
GDP per capita PPP rank
72/197
2024
110/197
2024
Government debt
$57B
2024
$67B
2024
Debt-to-GDP ratio
59.8%
2024
53.8%
2024
Government debt per person
$11,106
2024
$3,695
2024
Government debt per person rank
50/185
2024
93/185
2024
Average annual personal income after taxes
$12,150
2026
$5,894
2026
Market capitalization of domestic companies
$2.23B
2022
$747M
2000
Income share by richest 10%
34.2%
2024
33.4%
2024
Income share by poorest 10%
1.7%
2024
1.5%
2024
Government expenditure, % of GDP
18.9%
2024
38.1%
2024
Consumer prices inflation
-0.41%
2023-2024
1.55%
2023-2024
Central bank interest rate
3.5%
2025
n/a
Unemployment rate
6.94%
2024
3.39%
2024
Population
5181862
18487749

Spending and national debt comparison by year

Costa Rica
Spending

Debt
Ecuador
Spending

Debt
1x
Year % of GDP
Costa Rica Ecuador
Government spending Government debt Government spending Government debt
2024 18.9% 59.8% 38.1% 53.8%
2023 18.5% 61.1% 39.5% 54.3%
2022 19.2% 63% 38.9% 57.2%
2021 20.8% 67.6% 37.5% 61.8%
2020 22.3% 66.9% 40.2% 63.6%
2019 21.7% 56.4% 39.8% 52.1%
2018 18.9% 51.8% 40.9% 49.5%
2017 19.2% 47.1% 40.5% 47.4%
2016 18.8% 44.1% 44.1% 46.1%
2015 18.8% 39.8% 44.1% 36.4%
2014 18.4% 37.4% 45.9% 28.2%
2013 18.5% 35.1% 46.7% 23.4%
2012 17.3% 33.7% 43.2% 19.3%
2011 17.2% 29.5% 39.6% 18.6%
2010 18% 28.1% 35.4% 18.4%
2009 16.7% 26% 34.3% 19.7%
2008 15.2% 24% 35.6% 24.9%
2007 14.6% 27% 24.7% 29.6%
2006 15.2% 33% 21.7% 33.1%
2005 15.9% 37.3% 22% 35.8%
2004 17% 41% 21.3% 40.2%
2003 17.6% 40.6% 21.3% 47.2%
2002 18.6% 41.4% 22.8% 55%
2001 17.3% 39.6% 21.4% 63.8%
2000 16.9% 38.9% 24.3% 92.2%
1999 16.7% 39% 24.1% 105.2%
1998 16% 40.7% 21.5% 70.3%
1997 16.3% 30.6% 22% 61.5%
1996 17.3% 33.7% 22.7% 69.3%
1995 16.4% 29.1% 22% 70.5%
1994 17.4% 27% - -
1993 13.8% 24.4% - -
1992 13.7% 23.3% - -
1991 14% 28.4% - -
1990 18.9% 18.5% - -
1989 26.1% 19.3% - -
1988 24.5% 18.2% - -
1987 27.2% 21.2% - -
1986 26.4% 26.1% - -
1985 21.8% 22.8% - -
1984 22.8% 25.2% - -
1983 23.6% 29.8% - -
1982 18.4% 31.8% - -
1981 21% 32.3% - -
1980 25% 37.7% - -
1979 24.9% 39.5% - -
1978 23.2% 41.7% - -
1977 19.3% 27.8% - -
1976 20.1% 29.5% - -
1975 19.1% 26.1% - -
1974 18.3% 30.3% - -
1973 18.4% 32.8% - -
1972 17.2% 31.8% - -
1971 17.5% 30.4% - -
1970 14.9% 28.6% - -
1969 14.5% 26.1% - -
1968 13.8% 27.7% - -
1967 14.7% 26.7% - -
1966 14.3% 24.8% - -
1965 13.8% 24.1% - -
1964 13.5% 22.7% - -
1963 13.3% 21.8% - -
1962 14% 19.7% - -
1961 13.2% 20.3% - -
1960 12.5% 16.1% - -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1960–2000, retrieved 2026-02-20).

GeoRank.org/economy/costa-rica/ecuador | CC BY

In 2024, Costa Rica's government spending was $18B, accounting for 18.9% of its GDP, while Ecuador spent $47.5B, or 38.1% of GDP.

Debt-to-GDP ratio is 59.8% in Costa Rica and 53.8% in Ecuador, ranking 79/185 and 98/185, respectively.

Government deficit by year

Deficit/surplus
Costa Rica

Ecuador
1x
Year Deficit/surplus, % of GDP
Costa Rica Ecuador
2024 -3.78% -1.28%
2023 -3.25% -3.48%
2022 -2.81% 0.04%
2021 -5.09% -1.59%
2020 -8.38% -7.38%
2019 -6.68% -3.47%
2018 -5.66% -2.8%
2017 -5.88% -5.77%
2016 -5.09% -10.3%
2015 -5.52% -6.87%
2014 -5.45% -8.11%
2013 -5.25% -8.17%
2012 -4.22% -2.83%
2011 -3.91% -0.13%
2010 -4.96% -1.39%
2009 -3.25% -3.71%
2008 0.18% 0.57%
2007 0.56% 2.66%
2006 -1.04% 2.92%
2005 -2.09% 0.66%
2004 -3.42% 1.94%
2003 -3.43% 1.05%
2002 -4.99% 0.74%
2001 -3.47% 0.03%
2000 -3.68% -0.32%
1999 -2.88% -4.82%
1998 -2.96% -5.1%
1997 -3.39% -2.83%
1996 -4.32% -3.44%
1995 -3.68% -2.02%
1994 -5.46% -
1993 -1.52% -
1992 -1.51% -
1991 -2.41% -
1990 -4.4% -
1989 -1.55% -
1988 0.57% -
1987 -2.57% -
1986 -4.26% -
1985 -1.06% -
1984 -0.5% -
1983 -1.84% -
1982 -0.94% -
1981 -3.14% -
1980 -7.24% -
1979 -6.6% -
1978 -4.12% -
1977 -2.63% -
1976 -2.42% -
1975 -1.13% -
1974 0.26% -
1973 -2.41% -
1972 -4.54% -
1971 -4.72% -
1970 -1.41% -
1969 -1.61% -
1968 -1.72% -
1967 -3.03% -
1966 -2.12% -
1965 -1.71% -
1964 -1.51% -
1963 -2.01% -
1962 -1.99% -
1961 -0.71% -
1960 -0.19% -
1959 0.49% -
1958 0% -
1957 0.3% -
1956 0.05% -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1956–1989, retrieved 2026-02-20).

GeoRank.org/economy/costa-rica/ecuador | CC BY

In 2024, Costa Rica's government deficit, the difference between spending and revenue, was $3.61B, equivalent to 3.78% of GDP. This compares to Ecuador's deficit of $1.59B, or 1.28% of GDP.

Over the past 30 years, Costa Rica recorded a fiscal deficit in 28 of those years, while Ecuador ran a deficit in 21 years. On average, Costa Rica posted an annual deficit equal to 3.93% of GDP, compared to deficit of 2.51% of GDP for Ecuador.

Inflation comparison by year

Inflation
Costa Rica

Ecuador
1x
Year Consumer prices inflation
Costa Rica Ecuador
2024 -0.41% 1.55%
2023 0.53% 2.22%
2022 8.27% 3.47%
2021 1.73% 0.13%
2020 0.72% -0.34%
2019 2.1% 0.27%
2018 2.22% -0.22%
2017 1.63% 0.42%
2016 -0.02% 1.73%
2015 0.8% 3.97%
2014 4.52% 3.59%
2013 5.23% 2.72%
2012 4.5% 5.1%
2011 4.88% 4.47%
2010 5.66% 3.55%
2009 7.84% 5.16%
2008 13.4% 8.4%
2007 9.36% 2.28%
2006 11.5% 3.3%
2005 13.8% 2.17%
2004 12.3% 2.74%
2003 9.45% 7.93%
2002 9.17% 12.5%
2001 11.3% 37.7%
2000 11% 96.1%
1999 10% 52.2%
1998 11.7% 36.1%
1997 13.2% 30.7%

Data sources: World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06).

GeoRank.org/economy/costa-rica/ecuador | CC BY

Over the past 28 years, Costa Rica has recorded an average annual inflation rate of 6.66%, compared with 11.8% in Ecuador. In 2024, inflation was -0.41% in Costa Rica and 1.55% in Ecuador.

Top exports between countries

Costa Rica
Export category Export value
Machinery & equipment $34.8M
Metals $17.6M
Chemicals & pharma $15.5M
Raw materials & minerals $7M
Wood & paper products $6.04M
Processed food, beverages & tobacco $1.68M
Raw agricultural goods $1.5M
Textiles & consumer goods $310K
Animal & marine products $45K
Weapons & explosives $33K
Ecuador
Export category Export value
Animal & marine products $12.5M
Machinery & equipment $12.2M
Metals $7.02M
Chemicals & pharma $5.3M
Processed food, beverages & tobacco $4.99M
Raw materials & minerals $4.97M
Wood & paper products $2.12M
Textiles & consumer goods $1.75M
Raw agricultural goods $560K
Miscellaneous $96K

Balance of trade

Costa Rica Ecuador
Current account balance
-$1.25B
2024
$7.06B
2024
Current account balance ranking
129/190
2024
27/190
2024
Current account balance, % of GDP
-1.31%
2024
+5.66%
2024
Goods imports
$23.1B
2024
$27.9B
2024
Goods exports
$20.6B
2024
$34.7B
2024
Service imports
$7.58B
2024
$6.18B
2024
Service exports
$16.3B
2024
$3.86B
2024
Imports of goods and services, % of GDP
32.8%
2024
26.9%
2024
Exports of goods and services, % of GDP
38.5%
2024
30.3%
2024

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Costa Rica Ecuador
Economic freedom 69.1 55.6
Economic freedom ranking 43/197 127/197
Property rights 66 33.2
Government integrity 64.1 33
Judicial effectiveness 76.9 48.1
Tax burden 78.6 74.2
Government spending 89.3 54.9
Fiscal health 75.6 90.3
Business freedom 79.9 64.3
Labor freedom 55.9 56.9
Monetary freedom 78.2 76.3
Trade freedom 75 66.4
Investment freedom 50 30
Financial freedom 40 40

Economic freedom comparison by year

Costa Rica
Ecuador
1x
Year Economic freedom index
Costa Rica Ecuador
2026 69.1 55.6
2025 68.6 55.8
2024 67.7 55
2023 66.5 55
2022 65.4 54.3
2021 64.2 52.4
2020 65.8 51.3
2019 65.3 46.9
2018 65.6 48.5
2017 65 49.3
2016 67.4 48.6
2015 67.2 49.2
2014 66.9 48
2013 67 46.9
2012 68 48.3
2011 67.3 47.1
2010 65.9 49.3
2009 66.4 52.5
2008 64.2 55.2
2007 64 55.3
2006 65.9 54.6
2005 66.1 52.9
2004 66.4 54.4
2003 67 54.1
2002 67.5 53.1
2001 67.6 55.1
2000 68.4 59.8
1999 67.4 62.9
1998 65.6 62.8
1997 65.6 61
1996 66.4 60.1
1995 68 57.7

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09).

GeoRank.org/economy/costa-rica/ecuador | CC BY

The Economic Freedom Index for Costa Rica is 69.1, ranking 43/197, compared to 55.6 for Ecuador, ranking 127/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Costa Rica Ecuador
Services, % of GDP
68.8%
2024
57.2%
2024
Industry, % of GDP
19.7%
2024
26.5%
2024
Agriculture, forestry, and fishing, % of GDP
3.56%
2024
9.48%
2024
GNI, Atlas method
$80.2B
2024
$117B
2024
GNI per capita, PPP
$28,840
2024
$15,410
2024
Total reserves including gold
$14.2B
2024
$6.91B
2024
Total reserves ranking
70/177
2024
87/177
2024
Net foreign direct investment
-$4.96B
2024
-$438M
2024
Net inflows of foreign direct investment
$5.3B
2024
$443M
2024
Net outflows of foreign direct investment
$337M
2024
$0
2024
Servicing debt to the IMF, % of GNI
6.31%
2023
7%
2024
Poverty at national poverty lines
20.3%
2024
28%
2024
Gross capital formation, % of GDP
15.7%
2024
18.5%
2024

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2024, retrieved 2026-04-06); U.S. Census Bureau (1985–2024, retrieved 2026-02-08).

GeoRank.org/economy/costa-rica/ecuador | CC BY

Compare countries by 7 more topics

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1956–2000, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2022–2024, retrieved 2026-02-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  8. LivingCost (2026, retrieved 2025-10-14)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.