Skip to content

Economy of Djibouti vs El Salvador compared: GDP & Debt

Updated on by Georank team

Djibouti has a GDP of $4.15B compared to $35.4B for El Salvador, ranking 165/197 and 105/197 by economy size, respectively.

Djibouti has $1.36B in government debt (32.9% of GDP), compared to $30.9B (87.5% of GDP) in El Salvador.

Djibouti vs El Salvador GDP by year

Djibouti
El Salvador
1x
Year GDP, current $
Djibouti El Salvador
2024 $4,152,145,940 $35,364,960,000
2023 $3,898,447,007 $33,853,940,000
2022 $3,562,814,909 $31,870,120,000
2021 $3,392,796,953 $29,043,140,000
2020 $3,144,136,197 $24,921,190,000
2019 $3,088,851,450 $26,881,140,000
2018 $2,913,464,658 $26,020,850,000
2017 $2,762,581,334 $24,979,190,000
2016 $2,604,955,229 $24,191,430,000
2015 $2,424,391,785 $23,438,240,000
2014 $2,220,637,966 $22,593,470,000
2013 $2,044,440,443 $21,990,960,000
2012 $1,353,632,942 $21,386,150,000
2011 $1,239,144,502 $20,283,780,000
2010 $1,128,611,700 $18,447,920,000
2009 $1,049,110,685 $17,601,620,000
2008 $999,105,339 $17,986,890,000
2007 $847,918,929 $17,011,750,000
2006 $768,873,684 $15,999,890,000
2005 $708,633,195 $14,698,000,000
2004 $666,072,102 $13,724,810,900
2003 $622,044,666 $13,243,892,200
2002 $591,122,040 $12,664,190,300
2001 $572,417,441 $12,282,533,600
2000 $551,230,862 $11,784,927,700
1999 $536,080,148 $11,284,197,000
1998 $514,267,869 $10,936,669,900
1997 $502,675,542 $10,221,705,900
1996 $494,004,648 $9,586,327,800
1995 $497,723,961 $8,921,947,100
1994 $491,689,221 $7,679,384,000
1993 $466,048,469 $6,680,269,200
1992 $478,058,305 $5,813,399,300
1991 $462,421,999 $5,252,342,400
1990 $452,328,087 $4,817,542,204
1989 $409,220,087 $4,372,215,300
1988 $395,794,539 $4,189,880,000
1987 $373,371,738 $3,958,045,800
1986 - $3,771,663,200
1985 $340,989,528 $3,800,368,600
1984 - $3,661,683,400
1983 - $3,506,347,800
1982 - $3,399,189,100
1981 - $3,437,200,200
1980 - $3,573,959,900
1979 - $3,463,639,900
1978 - $3,127,960,000
1977 - $2,941,640,100
1976 - $2,328,280,100
1975 - $1,884,120,100
1974 - $1,665,880,000
1973 - $1,442,320,000
1972 - $1,263,720,000
1971 - $1,186,120,000
1970 - $1,132,920,000
1969 - $1,049,400,000
1968 - $1,009,760,100
1967 - $976,200,000
1966 - $929,520,000
1965 - $877,720,000

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

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

GDP per capita in Djibouti vs El Salvador by year

Djibouti
GDP per capita

GDP per capita, PPP
El Salvador
GDP per capita

GDP per capita, PPP
1x
Year Current $
Djibouti El Salvador
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $3,553 $7,810 $5,580 $13,264
2023 $3,381 $7,226 $5,365 $12,680
2022 $3,133 $6,621 $5,075 $11,876
2021 $3,026 $5,960 $4,643 $10,810
2020 $2,845 $5,527 $3,997 $9,393
2019 $2,837 $5,398 $4,320 $9,757
2018 $2,718 $5,083 $4,184 $9,204
2017 $2,619 $4,677 $4,020 $8,965
2016 $2,510 $4,432 $3,901 $8,456
2015 $2,376 $4,264 $3,790 $7,934
2014 $2,215 $3,978 $3,666 $7,504
2013 $2,076 $3,762 $3,582 $7,093
2012 $1,400 - $3,498 $6,708
2011 $1,306 - $3,331 $6,594
2010 $1,213 - $3,040 $6,248
2009 $1,151 - $2,910 $6,063
2008 $1,119 - $2,983 $6,175
2007 $970 - $2,831 $5,949
2006 $898 - $2,666 $5,695
2005 $844 - $2,447 $5,292
2004 $806 - $2,286 $4,998
2003 $765 - $2,208 $4,829
2002 $743 - $2,115 $4,672
2001 $742 - $2,058 $4,543
2000 $738 - $1,983 $4,422
1999 $740 - $1,908 $4,298
1998 $735 - $1,860 $4,171
1997 $748 - $1,749 $4,043
1996 $762 - $1,651 $3,880
1995 $786 - $1,548 $3,808
1994 $785 - $1,344 $3,591
1993 $759 - $1,180 $3,390
1992 $764 - $1,041 $3,171
1991 $733 - $956 $2,945
1990 $780 - $892 $2,856
1989 $782 - $825 -
1988 $817 - $806 -
1987 $822 - $777 -
1986 - - $755 -
1985 $847 - $776 -
1984 - - $763 -
1983 - - $745 -
1982 - - $735 -
1981 - - $752 -
1980 - - $787 -
1979 - - $773 -
1978 - - $712 -
1977 - - $684 -
1976 - - $553 -
1975 - - $457 -
1974 - - $413 -
1973 - - $366 -
1972 - - $329 -
1971 - - $316 -
1970 - - $309 -
1969 - - $293.4 -
1968 - - $290.1 -
1967 - - $288.4 -
1966 - - $282.4 -
1965 - - $274.3 -

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

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

Djibouti's GDP per capita is $3,553, ranking 133/197, compared to $5,580 in El Salvador, ranking 116/197. Adjusted for purchasing power (GDP per capita PPP), Djibouti ranks 143rd at $7,810, while El Salvador ranks 120th at $13,264.

Economic indicators

Djibouti El Salvador
Gross domestic product
$4.15B
2024
$35.4B
2024
GDP rank
165/197
2024
105/197
2024
GDP growth
6.98%
2023-2024
2.6%
2023-2024
GDP per capita
$3,553
2024
$5,580
2024
GDP per capita rank
133/197
2024
116/197
2024
GDP per capita, PPP
$7,810
2024
$13,264
2024
GDP per capita PPP rank
143/197
2024
120/197
2024
Government debt
$1.36B
2024
$30.9B
2024
Debt-to-GDP ratio
32.9%
2024
87.5%
2024
Government debt per person
$1,167
2024
$4,883
2024
Government debt per person rank
137/185
2024
81/185
2024
Average annual personal income after taxes
$2,690
2026
$4,768
2026
Income share by richest 10%
32.3%
2017
29.7%
2023
Income share by poorest 10%
1.9%
2017
1.9%
2023
Government expenditure, % of GDP
20.6%
2024
31.4%
2024
Consumer prices inflation
2.1%
2023-2024
0.85%
2023-2024
Unemployment rate
40%
2017
2.71%
2024
Population
1203929
6399793

Spending and national debt comparison by year

Djibouti
Spending

Debt
El Salvador
Spending

Debt
1x
Year % of GDP
Djibouti El Salvador
Government spending Government debt Government spending Government debt
2024 20.6% 32.9% 31.4% 87.5%
2023 21.5% 35.4% 30.5% 85.1%
2022 21% 38.3% 28.7% 83.7%
2021 23.1% 40.3% 31.1% 88%
2020 25.8% 42.1% 32.7% 95.4%
2019 24.9% 41.1% 27.8% 77.9%
2018 25.9% 47.5% 27.6% 77%
2017 23.9% 48% 28.1% 77.1%
2016 25.9% 45.9% 27.5% 75.2%
2015 42% 40.3% 27.1% 73.5%
2014 29% 26.9% 27.6% 71.8%
2013 26.8% 24.6% 28.5% 69.7%
2012 26.5% 25% 27.4% 70%
2011 25.3% 25.7% 25.3% 65.6%
2010 26.6% 27.9% 25.6% 66.8%
2009 31% 29.5% 26% 65.8%
2008 28.8% 59.3% 24.5% 54.2%
2007 26.6% 56.6% 22.8% 52.2%
2006 23.8% 58.3% 23.4% 52.6%
2005 26.2% 60.3% 22.4% 46.3%
2004 26.7% 65.3% 21.5% 46.8%
2003 25.8% 66.3% 22.6% 46%
2002 23.4% 63.7% 22.5% 43.8%
2001 21% 58.1% 21.7% 37.8%
2000 23.2% 58.1% 21% 29.6%
1999 23.5% 58.5% 19.7% 28%
1998 24% 55.2% 19.3% 25.7%
1997 25% 56% 18.6% 27.8%
1996 23.7% 53.1% 21% 28.5%
1995 27% 50.9% 18.6% 28%
1994 30.9% - 18.9% 30.5%
1993 35.3% - 18.5% 31.9%
1992 34.9% - 20.8% 36.4%
1991 27.7% - 18.5% 43.3%
1990 30.2% - 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–2008, retrieved 2026-02-20).

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

In 2024, Djibouti's government spending was $856M, accounting for 20.6% of its GDP, while El Salvador spent $11.1B, or 31.4% of GDP.

Debt-to-GDP ratio is 32.9% in Djibouti and 87.5% in El Salvador, ranking 149/185 and 36/185, respectively.

Government deficit by year

Deficit/surplus
Djibouti

El Salvador
1x
Year Deficit/surplus, % of GDP
Djibouti El Salvador
2024 -2.6% -4.55%
2023 -3.46% -4.69%
2022 -1.48% -2.68%
2021 -3.05% -5.53%
2020 -2.58% -8.18%
2019 -0.98% -3.07%
2018 -1.98% -2.71%
2017 -0.21% -2.53%
2016 -0.76% -3.1%
2015 -15.5% -3.63%
2014 -6.92% -4.02%
2013 -0.34% -4.46%
2012 -2.04% -3.81%
2011 -1.18% -4.47%
2010 -1.04% -4.97%
2009 -3.88% -6.65%
2008 0.62% -3.8%
2007 -1.88% -2.32%
2006 0.26% -3.42%
2005 -1.18% -3.47%
2004 -3.67% -2.76%
2003 -4.13% -4.23%
2002 -4.56% -5.5%
2001 -3.61% -4.95%
2000 -3.97% -3.45%
1999 -5.2% -3.08%
1998 -3.59% -2.94%
1997 -2.86% -1.97%
1996 -1.77% -2.7%
1995 -5.13% -0.18%
1994 -4.97% -0.94%
1993 -7.1% -1.42%
1992 -6.13% -4.29%
1991 -0.86% -2.3%
1990 -3.25% -0.61%

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

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

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

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

Inflation comparison by year

Inflation
Djibouti

El Salvador
1x
Year Consumer prices inflation
Djibouti El Salvador
2024 2.1% 0.85%
2023 1.4% 4.05%
2022 5.2% 7.2%
2021 1.2% 3.47%
2020 1.8% -0.37%
2019 3.3% 0.08%
2018 0.1% 1.09%
2017 0.6% 1.01%
2016 2.4% 0.6%
2015 -0.5% -0.73%
2014 1.3% 1.14%
2013 1.1% 0.76%
2012 4.2% 1.73%
2011 5.2% 5.13%
2010 2.5% 1.18%
2009 5.6% 1.06%
2008 8.7% 6.71%
2007 5.9% 4.58%
2006 3.5% 4.04%
2005 3.3% 4.69%
2004 2.4% 4.45%
2003 1.6% 2.12%
2002 1.4% 1.87%
2001 1.9% 3.75%
2000 1.2% 2.27%
1999 -0.4% 0.51%
1998 2.2% 2.55%
1997 2.5% 4.49%

Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2024, retrieved 2026-02-20); World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06).

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

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

Top exports between countries

Djibouti
Export category Export value
Textiles & consumer goods $112K
El Salvador
Export category Export value
Machinery & equipment $13K

Balance of trade

Djibouti El Salvador
Current account balance
$610M
2024
-$633M
2024
Current account balance ranking
59/190
2024
110/190
2024
Current account balance, % of GDP
+14.7%
2024
-1.79%
2024
Goods imports
$4.04B
2024
$15.1B
2024
Goods exports
$4.08B
2024
$5.59B
2024
Service imports
$730M
2024
$3.26B
2024
Service exports
$1.17B
2024
$6B
2024
Imports of goods and services, % of GDP
114.8%
2024
51.9%
2024
Exports of goods and services, % of GDP
126.4%
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.

Djibouti El Salvador
Economic freedom 56.3 57.7
Economic freedom ranking 122/197 114/197
Property rights 30.4 42.7
Government integrity 27.9 31.5
Judicial effectiveness 28.6 15.3
Tax burden 83.5 76.8
Government spending 86.7 72.7
Fiscal health 87.7 59.4
Business freedom 52.9 65.7
Labor freedom 57.5 51.6
Monetary freedom 70.6 70.6
Trade freedom 49.8 76.4
Investment freedom 50 70
Financial freedom 50 60

Economic freedom comparison by year

Djibouti
El Salvador
1x
Year Economic freedom index
Djibouti El Salvador
2026 56.3 57.7
2025 55.7 56.6
2024 55.8 54.4
2023 56.1 56
2022 55.3 59.6
2021 56.2 61
2020 52.9 61.6
2019 47.1 61.8
2018 45.1 63.2
2017 46.7 64.1
2016 56 65.1
2015 57.5 65.7
2014 55.9 66.2
2013 53.9 66.7
2012 53.9 68.7
2011 54.5 68.8
2010 51 69.9
2009 51.3 69.8
2008 51.2 68.5
2007 52.4 68.9
2006 53.2 69.6
2005 55.2 71.5
2004 55.6 71.2
2003 55.7 71.5
2002 57.8 73
2001 58.3 73
2000 55.1 76.3
1999 57.1 75.1
1998 55.9 70.2
1997 54.5 70.5
1996 - 70.1
1995 - 69.1

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

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

The Economic Freedom Index for Djibouti is 56.3, ranking 122/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

Djibouti El Salvador
Services, % of GDP
76.1%
2024
61%
2024
Industry, % of GDP
15.9%
2024
22.4%
2024
Agriculture, forestry, and fishing, % of GDP
2.51%
2024
4.38%
2024
GNI, Atlas method
$4.25B
2024
$32.5B
2024
GNI per capita, PPP
$8,030
2024
$12,420
2024
Total reserves including gold
$349M
2024
$3.7B
2024
Total reserves ranking
165/177
2024
110/177
2024
Net foreign direct investment
-$67.8M
2024
-$636M
2024
Net inflows of foreign direct investment
$67.8M
2024
$924M
2024
Net outflows of foreign direct investment
$0
2024
$288M
2024
Servicing debt to the IMF, % of GNI
3.27%
2024
35%
2024
Poverty at national poverty lines
23%
2020
27.2%
2023
Gross capital formation, % of GDP
0.25%
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/djibouti/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 (1965–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. International Monetary Fund (IMF) | Public Finances in Modern History (1995–2008, retrieved 2026-02-20)
  6. Central Intelligence Agency (CIA) (2017–2020, retrieved 2026-02-20)
  7. TradeMap (2022–2023, retrieved 2026-02-08)
  8. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  9. 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.