Skip to content

Economy of Ecuador vs El Salvador compared: GDP & Debt

Updated on by Georank team

Ecuador has a GDP of $125B compared to $35.4B for El Salvador, ranking 62/197 and 105/197 by economy size, respectively.

Ecuador has $67B in government debt (53.8% of GDP), compared to $30.9B (87.5% of GDP) in El Salvador.

Ecuador vs El Salvador GDP by year

Ecuador
El Salvador
1x
Year GDP, current $
Ecuador El Salvador
2024 $124,676,074,700 $35,364,960,000
2023 $121,147,057,000 $33,853,940,000
2022 $116,133,121,000 $31,870,120,000
2021 $107,179,074,000 $29,043,140,000
2020 $95,865,473,000 $24,921,190,000
2019 $107,595,830,000 $26,881,140,000
2018 $107,478,961,000 $26,020,850,000
2017 $104,467,486,000 $24,979,190,000
2016 $97,671,433,000 $24,191,430,000
2015 $97,209,558,000 $23,438,240,000
2014 $102,717,794,000 $22,593,470,000
2013 $96,570,334,000 $21,990,960,000
2012 $87,735,048,000 $21,386,150,000
2011 $78,986,648,000 $20,283,780,000
2010 $68,151,329,000 $18,447,920,000
2009 $60,094,978,000 $17,601,620,000
2008 $61,139,438,000 $17,986,890,000
2007 $49,848,725,000 $17,011,750,000
2006 $45,690,762,000 $15,999,890,000
2005 $40,278,849,000 $14,698,000,000
2004 $35,194,947,000 $13,724,810,900
2003 $30,965,208,000 $13,243,892,200
2002 $27,054,197,000 $12,664,190,300
2001 $23,127,055,000 $12,282,533,600
2000 $17,539,454,727 $11,784,927,700
1999 $19,645,272,636 $11,284,197,000
1998 $27,981,896,948 $10,936,669,900
1997 $28,162,053,027 $10,221,705,900
1996 $25,226,393,197 $9,586,327,800
1995 $24,432,884,442 $8,921,947,100
1994 $22,708,673,337 $7,679,384,000
1993 $18,938,717,359 $6,680,269,200
1992 $18,094,238,119 $5,813,399,300
1991 $16,988,535,268 $5,252,342,400
1990 $15,239,272,612 $4,817,542,204
1989 $13,890,823,705 $4,372,215,300
1988 $13,051,881,851 $4,189,880,000
1987 $13,945,426,859 $3,958,045,800
1986 $15,314,138,472 $3,771,663,200
1985 $17,149,088,413 $3,800,368,600
1984 $16,912,509,092 $3,661,683,400
1983 $17,152,477,037 $3,506,347,800
1982 $19,929,846,396 $3,399,189,100
1981 $21,810,759,354 $3,437,200,200
1980 $17,881,508,242 $3,573,959,900
1979 $14,175,160,902 $3,463,639,900
1978 $11,922,497,876 $3,127,960,000
1977 $11,026,342,618 $2,941,640,100
1976 $9,091,921,030 $2,328,280,100
1975 $7,731,674,472 $1,884,120,100
1974 $6,599,257,044 $1,665,880,000
1973 $3,891,754,150 $1,442,320,000
1972 $3,185,986,087 $1,263,720,000
1971 $2,754,219,271 $1,186,120,000
1970 $2,862,503,139 $1,132,920,000
1969 $3,112,165,727 $1,049,400,000
1968 $2,582,179,864 $1,009,760,100
1967 $2,553,595,172 $976,200,000
1966 $2,429,308,639 $929,520,000
1965 $2,387,047,396 $877,720,000
1964 $2,244,146,103 -
1963 $1,824,343,871 -
1962 $1,518,207,703 -
1961 $1,753,850,955 -
1960 $2,069,464,937 -

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

GeoRank.org/economy/ecuador/el-salvador | CC BY

GDP per capita in Ecuador vs El Salvador by year

Ecuador
GDP per capita

GDP per capita, PPP
El Salvador
GDP per capita

GDP per capita, PPP
1x
Year Current $
Ecuador El Salvador
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $6,875 $15,840 $5,580 $13,264
2023 $6,738 $15,919 $5,365 $12,680
2022 $6,516 $15,198 $5,075 $11,876
2021 $6,061 $13,507 $4,643 $10,810
2020 $5,464 $11,527 $3,997 $9,393
2019 $6,205 $12,543 $4,320 $9,757
2018 $6,304 $12,187 $4,184 $9,204
2017 $6,233 $11,793 $4,020 $8,965
2016 $5,918 $10,881 $3,901 $8,456
2015 $5,976 $10,878 $3,790 $7,934
2014 $6,406 $11,836 $3,666 $7,504
2013 $6,109 $11,296 $3,582 $7,093
2012 $5,634 $10,245 $3,498 $6,708
2011 $5,154 $9,769 $3,331 $6,594
2010 $4,520 $8,969 $3,040 $6,248
2009 $4,053 $8,662 $2,910 $6,063
2008 $4,195 $8,663 $2,983 $6,175
2007 $3,479 $8,112 $2,831 $5,949
2006 $3,244 $7,885 $2,666 $5,695
2005 $2,909 $7,457 $2,447 $5,292
2004 $2,586 $6,980 $2,286 $4,998
2003 $2,316 $6,475 $2,208 $4,829
2002 $2,059 $6,282 $2,115 $4,672
2001 $1,791 $5,999 $2,058 $4,543
2000 $1,382 $5,728 $1,983 $4,422
1999 $1,575 $5,638 $1,908 $4,298
1998 $2,284 $5,940 $1,860 $4,171
1997 $2,341 $5,793 $1,749 $4,043
1996 $2,136 $5,560 $1,651 $3,880
1995 $2,108 $5,469 $1,548 $3,808
1994 $1,997 $5,339 $1,344 $3,591
1993 $1,698 $5,112 $1,180 $3,390
1992 $1,655 $4,998 $1,041 $3,171
1991 $1,587 $4,887 $956 $2,945
1990 $1,455 $4,632 $892 $2,856
1989 $1,356 - $825 -
1988 $1,304 - $806 -
1987 $1,426 - $777 -
1986 $1,604 - $755 -
1985 $1,842 - $776 -
1984 $1,864 - $763 -
1983 $1,940 - $745 -
1982 $2,314 - $735 -
1981 $2,601 - $752 -
1980 $2,190 - $787 -
1979 $1,783 - $773 -
1978 $1,541 - $712 -
1977 $1,465 - $684 -
1976 $1,242 - $553 -
1975 $1,086 - $457 -
1974 $954 - $413 -
1973 $579 - $366 -
1972 $488 - $329 -
1971 $434 - $316 -
1970 $465 - $309 -
1969 $521 - $293.4 -
1968 $445 - $290.1 -
1967 $454 - $288.4 -
1966 $445 - $282.4 -
1965 $450 - $274.3 -
1964 $436 - - -
1963 $365 - - -
1962 $312 - - -
1961 $371 - - -
1960 $451 - - -

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

GeoRank.org/economy/ecuador/el-salvador | CC BY

Ecuador's GDP per capita is $6,875, ranking 103/197, compared to $5,580 in El Salvador, ranking 116/197. Adjusted for purchasing power (GDP per capita PPP), Ecuador ranks 110th at $15,840, while El Salvador ranks 120th at $13,264.

Economic indicators

Ecuador El Salvador
Gross domestic product
$125B
2024
$35.4B
2024
GDP rank
62/197
2024
105/197
2024
GDP growth
-2%
2023-2024
2.6%
2023-2024
GDP per capita
$6,875
2024
$5,580
2024
GDP per capita rank
103/197
2024
116/197
2024
GDP per capita, PPP
$15,840
2024
$13,264
2024
GDP per capita PPP rank
110/197
2024
120/197
2024
Government debt
$67B
2024
$30.9B
2024
Debt-to-GDP ratio
53.8%
2024
87.5%
2024
Government debt per person
$3,695
2024
$4,883
2024
Government debt per person rank
93/185
2024
81/185
2024
Average annual personal income after taxes
$5,894
2026
$4,768
2026
Market capitalization of domestic companies
$747M
2000
n/a
Income share by richest 10%
33.4%
2024
29.7%
2023
Income share by poorest 10%
1.5%
2024
1.9%
2023
Government expenditure, % of GDP
38.1%
2024
31.4%
2024
Consumer prices inflation
1.55%
2023-2024
0.85%
2023-2024
Unemployment rate
3.39%
2024
2.71%
2024
Population
18487749
6399793

Spending and national debt comparison by year

Ecuador
Spending

Debt
El Salvador
Spending

Debt
1x
Year % of GDP
Ecuador El Salvador
Government spending Government debt Government spending Government debt
2024 38.1% 53.8% 31.4% 87.5%
2023 39.5% 54.3% 30.5% 85.1%
2022 38.9% 57.2% 28.7% 83.7%
2021 37.5% 61.8% 31.1% 88%
2020 40.2% 63.6% 32.7% 95.4%
2019 39.8% 52.1% 27.8% 77.9%
2018 40.9% 49.5% 27.6% 77%
2017 40.5% 47.4% 28.1% 77.1%
2016 44.1% 46.1% 27.5% 75.2%
2015 44.1% 36.4% 27.1% 73.5%
2014 45.9% 28.2% 27.6% 71.8%
2013 46.7% 23.4% 28.5% 69.7%
2012 43.2% 19.3% 27.4% 70%
2011 39.6% 18.6% 25.3% 65.6%
2010 35.4% 18.4% 25.6% 66.8%
2009 34.3% 19.7% 26% 65.8%
2008 35.6% 24.9% 24.5% 54.2%
2007 24.7% 29.6% 22.8% 52.2%
2006 21.7% 33.1% 23.4% 52.6%
2005 22% 35.8% 22.4% 46.3%
2004 21.3% 40.2% 21.5% 46.8%
2003 21.3% 47.2% 22.6% 46%
2002 22.8% 55% 22.5% 43.8%
2001 21.4% 63.8% 21.7% 37.8%
2000 24.3% 92.2% 21% 29.6%
1999 24.1% 105.2% 19.7% 28%
1998 21.5% 70.3% 19.3% 25.7%
1997 22% 61.5% 18.6% 27.8%
1996 22.7% 69.3% 21% 28.5%
1995 22% 70.5% 18.6% 28%
1994 - - 18.9% 30.5%
1993 - - 18.5% 31.9%
1992 - - 20.8% 36.4%
1991 - - 18.5% 43.3%
1990 - - 15.9% -

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

GeoRank.org/economy/ecuador/el-salvador | CC BY

In 2024, Ecuador's government spending was $47.5B, accounting for 38.1% of its GDP, while El Salvador spent $11.1B, or 31.4% of GDP.

Debt-to-GDP ratio is 53.8% in Ecuador and 87.5% in El Salvador, ranking 98/185 and 36/185, respectively.

Government deficit by year

Deficit/surplus
Ecuador

El Salvador
1x
Year Deficit/surplus, % of GDP
Ecuador El Salvador
2024 -1.28% -4.55%
2023 -3.48% -4.69%
2022 0.04% -2.68%
2021 -1.59% -5.53%
2020 -7.38% -8.18%
2019 -3.47% -3.07%
2018 -2.8% -2.71%
2017 -5.77% -2.53%
2016 -10.3% -3.1%
2015 -6.87% -3.63%
2014 -8.11% -4.02%
2013 -8.17% -4.46%
2012 -2.83% -3.81%
2011 -0.13% -4.47%
2010 -1.39% -4.97%
2009 -3.71% -6.65%
2008 0.57% -3.8%
2007 2.66% -2.32%
2006 2.92% -3.42%
2005 0.66% -3.47%
2004 1.94% -2.76%
2003 1.05% -4.23%
2002 0.74% -5.5%
2001 0.03% -4.95%
2000 -0.32% -3.45%
1999 -4.82% -3.08%
1998 -5.1% -2.94%
1997 -2.83% -1.97%
1996 -3.44% -2.7%
1995 -2.02% -0.18%
1994 - -0.94%
1993 - -1.42%
1992 - -4.29%
1991 - -2.3%
1990 - -0.61%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/ecuador/el-salvador | CC BY

In 2024, Ecuador's government deficit, the difference between spending and revenue, was $1.59B, equivalent to 1.28% of GDP. This compares to El Salvador's deficit of $1.61B, or 4.55% of GDP.

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

Inflation comparison by year

Inflation
Ecuador

El Salvador
1x
Year Consumer prices inflation
Ecuador El Salvador
2024 1.55% 0.85%
2023 2.22% 4.05%
2022 3.47% 7.2%
2021 0.13% 3.47%
2020 -0.34% -0.37%
2019 0.27% 0.08%
2018 -0.22% 1.09%
2017 0.42% 1.01%
2016 1.73% 0.6%
2015 3.97% -0.73%
2014 3.59% 1.14%
2013 2.72% 0.76%
2012 5.1% 1.73%
2011 4.47% 5.13%
2010 3.55% 1.18%
2009 5.16% 1.06%
2008 8.4% 6.71%
2007 2.28% 4.58%
2006 3.3% 4.04%
2005 2.17% 4.69%
2004 2.74% 4.45%
2003 7.93% 2.12%
2002 12.5% 1.87%
2001 37.7% 3.75%
2000 96.1% 2.27%
1999 52.2% 0.51%
1998 36.1% 2.55%
1997 30.7% 4.49%

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

GeoRank.org/economy/ecuador/el-salvador | CC BY

Over the past 28 years, Ecuador has recorded an average annual inflation rate of 11.8%, compared with 2.51% in El Salvador. In 2024, inflation was 1.55% in Ecuador and 0.85% in El Salvador.

Top exports between countries

Ecuador
Export category Export value
Chemicals & pharma $15.2M
Metals $6.17M
Animal & marine products $5.45M
Raw agricultural goods $5.17M
Textiles & consumer goods $4.84M
Machinery & equipment $3.9M
Raw materials & minerals $3.49M
Wood & paper products $1.57M
Processed food, beverages & tobacco $1.21M
Miscellaneous $25K
El Salvador
Export category Export value
Metals $3.62M
Wood & paper products $2.92M
Chemicals & pharma $2.61M
Textiles & consumer goods $308K
Machinery & equipment $248K
Raw materials & minerals $198K
Animal & marine products $166K
Raw agricultural goods $145K
Processed food, beverages & tobacco $108K
Miscellaneous $32K

Balance of trade

Ecuador El Salvador
Current account balance
$7.06B
2024
-$633M
2024
Current account balance ranking
27/190
2024
110/190
2024
Current account balance, % of GDP
+5.66%
2024
-1.79%
2024
Goods imports
$27.9B
2024
$15.1B
2024
Goods exports
$34.7B
2024
$5.59B
2024
Service imports
$6.18B
2024
$3.26B
2024
Service exports
$3.86B
2024
$6B
2024
Imports of goods and services, % of GDP
26.9%
2024
51.9%
2024
Exports of goods and services, % of GDP
30.3%
2024
32.8%
2024

Economic freedom indices

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

Ecuador El Salvador
Economic freedom 55.6 57.7
Economic freedom ranking 127/197 114/197
Property rights 33.2 42.7
Government integrity 33 31.5
Judicial effectiveness 48.1 15.3
Tax burden 74.2 76.8
Government spending 54.9 72.7
Fiscal health 90.3 59.4
Business freedom 64.3 65.7
Labor freedom 56.9 51.6
Monetary freedom 76.3 70.6
Trade freedom 66.4 76.4
Investment freedom 30 70
Financial freedom 40 60

Economic freedom comparison by year

Ecuador
El Salvador
1x
Year Economic freedom index
Ecuador El Salvador
2026 55.6 57.7
2025 55.8 56.6
2024 55 54.4
2023 55 56
2022 54.3 59.6
2021 52.4 61
2020 51.3 61.6
2019 46.9 61.8
2018 48.5 63.2
2017 49.3 64.1
2016 48.6 65.1
2015 49.2 65.7
2014 48 66.2
2013 46.9 66.7
2012 48.3 68.7
2011 47.1 68.8
2010 49.3 69.9
2009 52.5 69.8
2008 55.2 68.5
2007 55.3 68.9
2006 54.6 69.6
2005 52.9 71.5
2004 54.4 71.2
2003 54.1 71.5
2002 53.1 73
2001 55.1 73
2000 59.8 76.3
1999 62.9 75.1
1998 62.8 70.2
1997 61 70.5
1996 60.1 70.1
1995 57.7 69.1

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

GeoRank.org/economy/ecuador/el-salvador | CC BY

The Economic Freedom Index for Ecuador is 55.6, ranking 127/197, compared to 57.7 for El Salvador, ranking 114/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Ecuador El Salvador
Services, % of GDP
57.2%
2024
61%
2024
Industry, % of GDP
26.5%
2024
22.4%
2024
Agriculture, forestry, and fishing, % of GDP
9.48%
2024
4.38%
2024
GNI, Atlas method
$117B
2024
$32.5B
2024
GNI per capita, PPP
$15,410
2024
$12,420
2024
Total reserves including gold
$6.91B
2024
$3.7B
2024
Total reserves ranking
87/177
2024
110/177
2024
Net foreign direct investment
-$438M
2024
-$636M
2024
Net inflows of foreign direct investment
$443M
2024
$924M
2024
Net outflows of foreign direct investment
$0
2024
$288M
2024
Servicing debt to the IMF, % of GNI
7%
2024
35%
2024
Poverty at national poverty lines
28%
2024
27.2%
2023
Gross capital formation, % of GDP
18.5%
2024
20.3%
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/ecuador/el-salvador | 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. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  4. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  5. TradeMap (2023–2024, retrieved 2026-02-08)
  6. International Monetary Fund (IMF) | Public Finances in Modern History (1995–2000, retrieved 2026-02-20)
  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.