Skip to content

Economy of El Salvador vs Indonesia compared: GDP & Debt

Updated on by Georank team

El Salvador has a GDP of $35.4B compared to $1.4T for Indonesia, ranking 105/197 and 16/197 by economy size, respectively.

El Salvador has $30.9B in government debt (87.5% of GDP), compared to $561B (40.2% of GDP) in Indonesia.

El Salvador vs Indonesia GDP by year

El Salvador
Indonesia
1x
Year GDP, current $
El Salvador Indonesia
2024 $35,364,960,000 $1,396,300,098,191
2023 $33,853,940,000 $1,371,169,301,564
2022 $31,870,120,000 $1,319,101,183,380
2021 $29,043,140,000 $1,186,509,691,087
2020 $24,921,190,000 $1,059,054,842,698
2019 $26,881,140,000 $1,119,099,871,350
2018 $26,020,850,000 $1,042,271,532,989
2017 $24,979,190,000 $1,015,618,744,160
2016 $24,191,430,000 $931,877,364,038
2015 $23,438,240,000 $860,854,232,686
2014 $22,593,470,000 $890,814,755,534
2013 $21,990,960,000 $912,524,136,718
2012 $21,386,150,000 $917,869,913,333
2011 $20,283,780,000 $892,969,104,563
2010 $18,447,920,000 $755,094,157,622
2009 $17,601,620,000 $539,580,085,612
2008 $17,986,890,000 $510,228,634,992
2007 $17,011,750,000 $432,216,737,775
2006 $15,999,890,000 $364,570,515,618
2005 $14,698,000,000 $285,868,619,196
2004 $13,724,810,900 $256,836,875,295
2003 $13,243,892,200 $234,772,463,824
2002 $12,664,190,300 $195,660,611,165
2001 $12,282,533,600 $160,446,947,785
2000 $11,784,927,700 $165,021,012,078
1999 $11,284,197,000 $140,001,351,215
1998 $10,936,669,900 $95,445,547,873
1997 $10,221,705,900 $215,748,998,610
1996 $9,586,327,800 $227,369,679,375
1995 $8,921,947,100 $202,132,028,723
1994 $7,679,384,000 $176,892,143,932
1993 $6,680,269,200 $158,006,700,302
1992 $5,813,399,300 $128,026,966,580
1991 $5,252,342,400 $116,621,996,217
1990 $4,817,542,204 $106,140,727,334
1989 $4,372,215,300 $94,451,427,877
1988 $4,189,880,000 $84,300,174,486
1987 $3,958,045,800 $75,929,617,558
1986 $3,771,663,200 $79,954,072,545
1985 $3,800,368,600 $85,289,488,375
1984 $3,661,683,400 $84,853,700,028
1983 $3,506,347,800 $81,052,283,384
1982 $3,399,189,100 $90,158,449,295
1981 $3,437,200,200 $85,518,233,419
1980 $3,573,959,900 $72,482,337,397
1979 $3,463,639,900 $51,400,186,343
1978 $3,127,960,000 $51,455,719,076
1977 $2,941,640,100 $45,808,915,663
1976 $2,328,280,100 $37,269,156,627
1975 $1,884,120,100 $30,463,855,422
1974 $1,665,880,000 $25,802,409,639
1973 $1,442,320,000 $16,273,253,012
1972 $1,263,720,000 $10,997,590,361
1971 $1,186,120,000 $9,333,536,370
1970 $1,132,920,000 $9,150,684,932
1969 $1,049,400,000 $8,337,423,313
1968 $1,009,760,100 $7,076,465,300
1967 $976,200,000 $5,667,756,628
1966 $929,520,000 -
1965 $877,720,000 -

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

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

GDP per capita in El Salvador vs Indonesia by year

El Salvador
GDP per capita

GDP per capita, PPP
Indonesia
GDP per capita

GDP per capita, PPP
1x
Year Current $
El Salvador Indonesia
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $5,580 $13,264 $4,925 $16,448
2023 $5,365 $12,680 $4,876 $15,416
2022 $5,075 $11,876 $4,731 $14,285
2021 $4,643 $10,810 $4,287 $12,757
2020 $3,997 $9,393 $3,854 $11,729
2019 $4,320 $9,757 $4,107 $11,986
2018 $4,184 $9,204 $3,861 $11,372
2017 $4,020 $8,965 $3,799 $10,688
2016 $3,901 $8,456 $3,521 $10,263
2015 $3,790 $7,934 $3,288 $10,028
2014 $3,666 $7,504 $3,441 $10,065
2013 $3,582 $7,093 $3,567 $9,866
2012 $3,498 $6,708 $3,632 $9,530
2011 $3,331 $6,594 $3,579 $8,937
2010 $3,040 $6,248 $3,066 $8,353
2009 $2,910 $6,063 $2,218 $7,868
2008 $2,983 $6,175 $2,125 $7,569
2007 $2,831 $5,949 $1,823 $7,096
2006 $2,666 $5,695 $1,558 $6,583
2005 $2,447 $5,292 $1,238 $6,134
2004 $2,286 $4,998 $1,127 $5,700
2003 $2,208 $4,829 $1,043 $5,353
2002 $2,115 $4,672 $881 $5,076
2001 $2,058 $4,543 $732 $4,849
2000 $1,983 $4,422 $764 $4,639
1999 $1,908 $4,298 $657 $4,386
1998 $1,860 $4,171 $455 $4,356
1997 $1,749 $4,043 $1,045 $5,037
1996 $1,651 $3,880 $1,119 $4,807
1995 $1,548 $3,808 $1,011 $4,451
1994 $1,344 $3,591 $900 $4,096
1993 $1,180 $3,390 $817 $3,793
1992 $1,041 $3,171 $674 $3,538
1991 $956 $2,945 $624 $3,305
1990 $892 $2,856 $578 $3,044
1989 $825 - $524 -
1988 $806 - $477 -
1987 $777 - $438 -
1986 $755 - $470 -
1985 $776 - $511 -
1984 $763 - $520 -
1983 $745 - $508 -
1982 $735 - $578 -
1981 $752 - $561 -
1980 $787 - $487 -
1979 $773 - $353 -
1978 $712 - $362 -
1977 $684 - $331 -
1976 $553 - $275.7 -
1975 $457 - $231.1 -
1974 $413 - $200.7 -
1973 $366 - $129.9 -
1972 $329 - $90.1 -
1971 $316 - $78.5 -
1970 $309 - $79.1 -
1969 $293.4 - $74.1 -
1968 $290.1 - $64.7 -
1967 $288.4 - $53.2 -
1966 $282.4 - - -
1965 $274.3 - - -

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

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

El Salvador's GDP per capita is $5,580, ranking 116/197, compared to $4,925 in Indonesia, ranking 121/197. Adjusted for purchasing power (GDP per capita PPP), El Salvador ranks 120th at $13,264, while Indonesia ranks 107th at $16,448.

Economic indicators

El Salvador Indonesia
Gross domestic product
$35.4B
2024
$1.4T
2024
GDP rank
105/197
2024
16/197
2024
GDP growth
2.6%
2023-2024
5.03%
2023-2024
GDP per capita
$5,580
2024
$4,925
2024
GDP per capita rank
116/197
2024
121/197
2024
GDP per capita, PPP
$13,264
2024
$16,448
2024
GDP per capita PPP rank
120/197
2024
107/197
2024
Government debt
$30.9B
2024
$561B
2024
Debt-to-GDP ratio
87.5%
2024
40.2%
2024
Government debt per person
$4,883
2024
$1,978
2024
Government debt per person rank
81/185
2024
120/185
2024
Average annual personal income after taxes
$4,768
2026
$3,371
2026
Market capitalization of domestic companies n/a
$758B
2023
Number of millionaires n/a
178,605
2025
Number of billionaires n/a
33
2025
Income share by richest 10%
29.7%
2023
28.8%
2024
Income share by poorest 10%
1.9%
2023
3.5%
2024
Government expenditure, % of GDP
31.4%
2024
16.8%
2024
Consumer prices inflation
0.85%
2023-2024
2.18%
2023-2024
Central bank interest rate n/a
4.75%
2025
Unemployment rate
2.71%
2024
3.31%
2023
Population
6399793
288551776

Spending and national debt comparison by year

El Salvador
Spending

Debt
Indonesia
Spending

Debt
1x
Year % of GDP
El Salvador Indonesia
Government spending Government debt Government spending Government debt
2024 31.4% 87.5% 16.8% 40.2%
2023 30.5% 85.1% 16.6% 39.6%
2022 28.7% 83.7% 17.3% 40.1%
2021 31.1% 88% 18.1% 41.1%
2020 32.7% 95.4% 18.4% 39.7%
2019 27.8% 77.9% 16.4% 30.6%
2018 27.6% 77% 16.6% 30.4%
2017 28.1% 77.1% 16.4% 29.4%
2016 27.5% 75.2% 16.9% 28%
2015 27.1% 73.5% 17.6% 27%
2014 27.6% 71.8% 18.4% 24.6%
2013 28.5% 69.7% 18.8% 24.9%
2012 27.4% 70% 18.8% 23%
2011 25.3% 65.6% 17.7% 23.1%
2010 25.6% 66.8% 16.9% 26.4%
2009 26% 65.8% 17% 26.5%
2008 24.5% 54.2% 19.4% 30.3%
2007 22.8% 52.2% 18.7% 38.1%
2006 23.4% 52.6% 18.4% 35.8%
2005 22.4% 46.3% 17.4% 42.6%
2004 21.5% 46.8% 17.8% 51.3%
2003 22.6% 46% 18.2% 55.6%
2002 22.5% 43.8% 16.9% 62.3%
2001 21.7% 37.8% 19.5% 73.7%
2000 21% 29.6% 15.3% 87.4%
1999 19.7% 28% 15.1% 95.9%
1998 19.3% 25.7% 15.1% 72.5%
1997 18.6% 27.8% 15.2% 26.4%
1996 21% 28.5% 11.5% 27.5%
1995 18.6% 28% 11.9% 32%
1994 18.9% 30.5% 13.5% 37%
1993 18.5% 31.9% 14.1% 40.4%
1992 20.8% 36.4% 16.8% 42.6%
1991 18.5% 43.3% 15% 39.2%
1990 15.9% - 15.8% 40.8%
1989 - - 16.5% 42.5%
1988 - - 17.3% 45.6%
1987 - - 18% 49.7%
1986 - - 20.9% 38.3%
1985 - - 18.5% 28%
1984 - - 16.1% 23.5%
1983 - - 18.2% 23.1%
1982 - - 18.8% 18.6%
1981 - - 24.4% 16.4%
1980 - - 22.1% 17.3%
1979 - - 20.9% 22%
1978 - - 20.1% 30.3%
1977 - - 19.5% 27.7%
1976 - - 21.8% 38.1%
1975 - - 20.5% 36.7%
1974 - - 17.3% 34.4%
1973 - - 16.3% 43.1%
1972 - - 15.7% 51.2%
1971 - - 14.5% 50.5%
1970 - - 13.8% 46.7%
1969 - - 12.8% -
1968 - - 8.82% -
1967 - - 10.4% -
1966 - - 9.18% -
1965 - - 10.7% -
1964 - - 9.55% -
1963 - - 10.3% -
1962 - - 7.89% -
1961 - - 15.1% -
1960 - - 14.4% -

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

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

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

Debt-to-GDP ratio is 87.5% in El Salvador and 40.2% in Indonesia, ranking 36/185 and 132/185, respectively.

Government deficit by year

Deficit/surplus
El Salvador

Indonesia
1x
Year Deficit/surplus, % of GDP
El Salvador Indonesia
2024 -4.55% -2.3%
2023 -4.69% -1.64%
2022 -2.68% -2.31%
2021 -5.53% -4.4%
2020 -8.18% -6.07%
2019 -3.07% -2.09%
2018 -2.71% -1.69%
2017 -2.53% -2.26%
2016 -3.1% -2.56%
2015 -3.63% -2.72%
2014 -4.02% -1.8%
2013 -4.46% -1.96%
2012 -3.81% -1.59%
2011 -4.47% -0.7%
2010 -4.97% -1.24%
2009 -6.65% -1.64%
2008 -3.8% 0.05%
2007 -2.32% -0.95%
2006 -3.42% 0.45%
2005 -3.47% 0.46%
2004 -2.76% -0.26%
2003 -4.23% -1.08%
2002 -5.5% -0.58%
2001 -4.95% -1.76%
2000 -3.45% -1.87%
1999 -3.08% -0.96%
1998 -2.94% -1.89%
1997 -1.97% -1.03%
1996 -2.7% 0.96%
1995 -0.18% 0.64%
1994 -0.94% 0.005%
1993 -1.42% -0.59%
1992 -4.29% -2.95%
1991 -2.3% -0.87%
1990 -0.61% -0.55%
1989 - -1.72%
1988 - -2.68%
1987 - -0.9%
1986 - -2.94%
1985 - -0.45%
1984 - 1.83%
1983 - -1%
1982 - -1.11%
1981 - -0.69%
1980 - -0.82%
1979 - -0.67%
1978 - -2.03%
1977 - -0.38%
1976 - -2.63%
1975 - -2.33%
1974 - -0.35%
1973 - -1.33%
1972 - -1.82%
1971 - -2.51%
1970 - -3.02%
1969 - -2.8%
1968 - 0%
1967 - -0.35%
1966 - -5.06%
1965 - -6.62%
1964 - -5.58%
1963 - -5.24%
1962 - -3.1%
1961 - -4.57%
1960 - -1.65%
1959 - -4.06%
1958 - -6.67%
1957 - -2.92%
1956 - -1.38%
1955 - -1.6%
1954 - -3.16%
1953 - -2.33%
1952 - -3.66%
1951 - 1.52%

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

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

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

Over the past 35 years, El Salvador recorded a fiscal deficit in 35 of those years, while Indonesia ran a deficit in 29 years. On average, El Salvador posted an annual deficit equal to 3.52% of GDP, compared to deficit of 1.42% of GDP for Indonesia.

Inflation comparison by year

Inflation
El Salvador

Indonesia
1x
Year Consumer prices inflation
El Salvador Indonesia
2024 0.85% 2.18%
2023 4.05% 3.67%
2022 7.2% 4.21%
2021 3.47% 1.56%
2020 -0.37% 1.92%
2019 0.08% 3.03%
2018 1.09% 3.2%
2017 1.01% 3.81%
2016 0.6% 3.53%
2015 -0.73% 6.36%
2014 1.14% 6.39%
2013 0.76% 6.41%
2012 1.73% 4.28%
2011 5.13% 5.36%
2010 1.18% 5.13%
2009 1.06% 4.39%
2008 6.71% 10.2%
2007 4.58% 6.41%
2006 4.04% 13.1%
2005 4.69% 10.5%
2004 4.45% 6.06%
2003 2.12% 6.76%
2002 1.87% 11.9%
2001 3.75% 11.5%
2000 2.27% 3.69%
1999 0.51% 20.5%
1998 2.55% 58.5%
1997 4.49% 6.23%

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

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

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

Top exports between countries

El Salvador
Export category Export value
Animal & marine products $277K
Chemicals & pharma $34K
Metals $32K
Textiles & consumer goods $21K
Raw agricultural goods $6K
Indonesia
Export category Export value
Machinery & equipment $22.8M
Metals $16.1M
Textiles & consumer goods $9.48M
Wood & paper products $6.22M
Raw materials & minerals $5.55M
Chemicals & pharma $1.73M
Miscellaneous $1.47M
Animal & marine products $801K
Raw agricultural goods $112K
Processed food, beverages & tobacco $103K

Balance of trade

El Salvador Indonesia
Current account balance
-$633M
2024
-$8.72B
2024
Current account balance ranking
110/190
2024
174/190
2024
Current account balance, % of GDP
-1.79%
2024
-0.62%
2024
Goods imports
$15.1B
2024
$223B
2024
Goods exports
$5.59B
2024
$263B
2024
Service imports
$3.26B
2024
$57.6B
2024
Service exports
$6B
2024
$39B
2024
Imports of goods and services, % of GDP
51.9%
2024
20.4%
2024
Exports of goods and services, % of GDP
32.8%
2024
22.2%
2024

Economic freedom indices

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

El Salvador Indonesia
Economic freedom 57.7 65.1
Economic freedom ranking 114/197 67/197
Property rights 42.7 39.7
Government integrity 31.5 42
Judicial effectiveness 15.3 43.1
Tax burden 76.8 81.5
Government spending 72.7 91.4
Fiscal health 59.4 89.8
Business freedom 65.7 69.2
Labor freedom 51.6 56.8
Monetary freedom 70.6 79.4
Trade freedom 76.4 78.6
Investment freedom 70 50
Financial freedom 60 60

Economic freedom comparison by year

El Salvador
Indonesia
1x
Year Economic freedom index
El Salvador Indonesia
2026 57.7 65.1
2025 56.6 65.2
2024 54.4 63.5
2023 56 63.5
2022 59.6 64.4
2021 61 66.9
2020 61.6 67.2
2019 61.8 65.8
2018 63.2 64.2
2017 64.1 61.9
2016 65.1 59.4
2015 65.7 58.1
2014 66.2 58.5
2013 66.7 56.9
2012 68.7 56.4
2011 68.8 56
2010 69.9 55.5
2009 69.8 53.4
2008 68.5 53.2
2007 68.9 53.2
2006 69.6 51.9
2005 71.5 52.9
2004 71.2 52.1
2003 71.5 55.8
2002 73 54.8
2001 73 52.5
2000 76.3 55.2
1999 75.1 61.5
1998 70.2 63.4
1997 70.5 62
1996 70.1 61
1995 69.1 54.9

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

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

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

Other economic metrics

El Salvador Indonesia
Services, % of GDP
61%
2024
43.8%
2024
Industry, % of GDP
22.4%
2024
39.3%
2024
Agriculture, forestry, and fishing, % of GDP
4.38%
2024
12.6%
2024
GNI, Atlas method
$32.5B
2024
$1.39T
2024
GNI per capita, PPP
$12,420
2024
$16,010
2024
Total reserves including gold
$3.7B
2024
$156B
2024
Total reserves ranking
110/177
2024
20/177
2024
Net foreign direct investment
-$636M
2024
-$15.9B
2024
Net inflows of foreign direct investment
$924M
2024
$24.2B
2024
Net outflows of foreign direct investment
$288M
2024
$8.39B
2024
Servicing debt to the IMF, % of GNI
35%
2024
5.65%
2024
Poverty at national poverty lines
27.2%
2023
9%
2024
Gross capital formation, % of GDP
20.3%
2024
31.4%
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/el-salvador/indonesia | 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 (1965–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 (1951–1999, 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 (2021–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.