Skip to content

Economy of Afghanistan vs El Salvador compared: GDP & Debt

Updated on by Georank team

Afghanistan has a GDP of $17.2B compared to $35.4B for El Salvador, ranking 137/197 and 105/197 by economy size, respectively.

Afghanistan has $1.44B in government debt (8.8% of GDP), compared to $30.9B (87.5% of GDP) in El Salvador.

Afghanistan vs El Salvador GDP by year

Afghanistan
El Salvador
1x
Year GDP, current $
Afghanistan El Salvador
2024 - $35,364,960,000
2023 $17,152,234,637 $33,853,940,000
2022 $14,497,243,872 $31,870,120,000
2021 $14,259,995,441 $29,043,140,000
2020 $19,955,929,052 $24,921,190,000
2019 $18,799,444,490 $26,881,140,000
2018 $18,053,222,687 $26,020,850,000
2017 $18,753,456,498 $24,979,190,000
2016 $18,116,572,395 $24,191,430,000
2015 $19,134,221,645 $23,438,240,000
2014 $20,497,128,556 $22,593,470,000
2013 $20,146,416,758 $21,990,960,000
2012 $19,907,329,778 $21,386,150,000
2011 $17,805,098,206 $20,283,780,000
2010 $15,856,668,556 $18,447,920,000
2009 $12,416,152,732 $17,601,620,000
2008 $10,109,297,048 $17,986,890,000
2007 $9,747,886,187 $17,011,750,000
2006 $6,971,758,282 $15,999,890,000
2005 $6,203,256,539 $14,698,000,000
2004 $5,224,896,719 $13,724,810,900
2003 $4,520,946,819 $13,243,892,200
2002 $3,825,701,439 $12,664,190,300
2001 $2,813,571,754 $12,282,533,600
2000 $3,521,418,060 $11,784,927,700
1999 - $11,284,197,000
1998 - $10,936,669,900
1997 - $10,221,705,900
1996 - $9,586,327,800
1995 - $8,921,947,100
1994 - $7,679,384,000
1993 - $6,680,269,200
1992 - $5,813,399,300
1991 - $5,252,342,400
1990 - $4,817,542,204
1989 - $4,372,215,300
1988 - $4,189,880,000
1987 - $3,958,045,800
1986 - $3,771,663,200
1985 - $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/afghanistan/el-salvador | CC BY

GDP per capita in Afghanistan vs El Salvador by year

Afghanistan
GDP per capita

GDP per capita, PPP
El Salvador
GDP per capita

GDP per capita, PPP
1x
Year Current $
Afghanistan El Salvador
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 - - $5,580 $13,264
2023 $414 $2,202 $5,365 $12,680
2022 $357 $2,123 $5,075 $11,876
2021 $356 $2,144 $4,643 $10,810
2020 $511 $2,562 $3,997 $9,393
2019 $497 $2,583 $4,320 $9,757
2018 $491 $2,432 $4,184 $9,204
2017 $525 $2,336 $4,020 $8,965
2016 $522 $2,213 $3,901 $8,456
2015 $566 $2,284 $3,790 $7,934
2014 $625 $2,224 $3,666 $7,504
2013 $637 $2,133 $3,582 $7,093
2012 $651 $1,988 $3,498 $6,708
2011 $607 $1,744 $3,331 $6,594
2010 $561 $1,766 $3,040 $6,248
2009 $452 $1,571 $2,910 $6,063
2008 $382 $1,334 $2,983 $6,175
2007 $376 $1,287 $2,831 $5,949
2006 $274.2 $1,122 $2,666 $5,695
2005 $254.2 $1,076 $2,447 $5,292
2004 $221.8 $972 $2,286 $4,998
2003 $198.9 $967 $2,208 $4,829
2002 $179 $927 $2,115 $4,672
2001 $138.7 $748 $2,058 $4,543
2000 $174.9 $814 $1,983 $4,422
1999 - - $1,908 $4,298
1998 - - $1,860 $4,171
1997 - - $1,749 $4,043
1996 - - $1,651 $3,880
1995 - - $1,548 $3,808
1994 - - $1,344 $3,591
1993 - - $1,180 $3,390
1992 - - $1,041 $3,171
1991 - - $956 $2,945
1990 - - $892 $2,856
1989 - - $825 -
1988 - - $806 -
1987 - - $777 -
1986 - - $755 -
1985 - - $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/afghanistan/el-salvador | CC BY

Afghanistan's GDP per capita is $414, ranking 196/197, compared to $5,580 in El Salvador, ranking 116/197. Adjusted for purchasing power (GDP per capita PPP), Afghanistan ranks 184th at $2,202, while El Salvador ranks 120th at $13,264.

Economic indicators

Afghanistan El Salvador
Gross domestic product
$17.2B
2023
$35.4B
2024
GDP rank
137/197
2023
105/197
2024
GDP growth
2.27%
2022-2023
2.6%
2023-2024
GDP per capita
$414
2023
$5,580
2024
GDP per capita rank
196/197
2023
116/197
2024
GDP per capita, PPP
$2,202
2023
$13,264
2024
GDP per capita PPP rank
184/197
2023
120/197
2024
Government debt
$1.44B
2023
$30.9B
2024
Debt-to-GDP ratio
8.8%
2024
87.5%
2024
Government debt per person
$34.8
2023
$4,883
2024
Government debt per person rank
185/185
2023
81/185
2024
Average annual personal income after taxes
$1,869
2026
$4,768
2026
Income share by richest 10% n/a
29.7%
2023
Income share by poorest 10% n/a
1.9%
2023
Government expenditure, % of GDP
19.4%
2024
31.4%
2024
Consumer prices inflation
-4.3%
2023-2024
0.85%
2023-2024
Central bank interest rate
6%
2021
n/a
Unemployment rate
5.68%
2021
2.71%
2024
Population
45409324
6399793

Spending and national debt comparison by year

Afghanistan
Spending

Debt
El Salvador
Spending

Debt
1x
Year % of GDP
Afghanistan El Salvador
Government spending Government debt Government spending Government debt
2024 19.4% 8.8% 31.4% 87.5%
2023 17% 8.42% 30.5% 85.1%
2022 16.1% 10.8% 28.7% 83.7%
2021 17.9% 11.2% 31.1% 88%
2020 27.9% 7.33% 32.7% 95.4%
2019 28% 6.14% 27.8% 77.9%
2018 28.9% 7.38% 27.6% 77%
2017 27.7% 8% 28.1% 77.1%
2016 28% 8.44% 27.5% 75.2%
2015 25.9% 9.15% 27.1% 73.5%
2014 25.4% 8.7% 27.6% 71.8%
2013 25% 6.92% 28.5% 69.7%
2012 25% 6.77% 27.4% 70%
2011 21.9% 7.52% 25.3% 65.6%
2010 20.8% 7.71% 25.6% 66.8%
2009 21.2% 16.2% 26% 65.8%
2008 20.9% 19.1% 24.5% 54.2%
2007 21.4% 20.1% 22.8% 52.2%
2006 18.3% 23% 23.4% 52.6%
2005 15.7% 206.4% 22.4% 46.3%
2004 15.1% 245% 21.5% 46.8%
2003 11.9% 270.6% 22.6% 46%
2002 6.94% 346% 22.5% 43.8%
2001 - - 21.7% 37.8%
2000 - - 21% 29.6%
1999 - - 19.7% 28%
1998 - - 19.3% 25.7%
1997 - - 18.6% 27.8%
1996 - - 21% 28.5%
1995 - - 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).

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

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

Debt-to-GDP ratio is 8.8% in Afghanistan and 87.5% in El Salvador, ranking 181/185 and 36/185, respectively.

Government deficit by year

Deficit/surplus
Afghanistan

El Salvador
1x
Year Deficit/surplus, % of GDP
Afghanistan El Salvador
2024 -0.54% -4.55%
2023 -1.33% -4.69%
2022 -1% -2.68%
2021 -0.48% -5.53%
2020 -2.24% -8.18%
2019 -1.06% -3.07%
2018 1.63% -2.71%
2017 -0.67% -2.53%
2016 0.13% -3.1%
2015 -1.38% -3.63%
2014 -1.72% -4.02%
2013 -0.63% -4.46%
2012 0.18% -3.81%
2011 -0.67% -4.47%
2010 0.93% -4.97%
2009 -1.76% -6.65%
2008 -3.86% -3.8%
2007 -2.46% -2.32%
2006 0.68% -3.42%
2005 -0.92% -3.47%
2004 -2.39% -2.76%
2003 -2.1% -4.23%
2002 -0.1% -5.5%
2001 - -4.95%
2000 - -3.45%
1999 - -3.08%
1998 - -2.94%
1997 - -1.97%
1996 - -2.7%
1995 - -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/afghanistan/el-salvador | CC BY

In 2023, Afghanistan's government deficit, the difference between spending and revenue, was $228M, equivalent to 1.33% of GDP. This compares to El Salvador's deficit of $1.59B, or 4.69% of GDP.

Over the past 22 years, Afghanistan recorded a fiscal deficit in 17 of those years, while El Salvador ran a deficit in 22 years. On average, Afghanistan posted an annual deficit equal to 0.96% of GDP, compared to deficit of 4.09% of GDP for El Salvador.

Inflation comparison by year

Inflation
Afghanistan

El Salvador
1x
Year Consumer prices inflation
Afghanistan El Salvador
2024 -4.3% 0.85%
2023 -7.7% 4.05%
2022 10.6% 7.2%
2021 7.8% 3.47%
2020 5.6% -0.37%
2019 2.3% 0.08%
2018 0.6% 1.09%
2017 5% 1.01%
2016 4.4% 0.6%
2015 -0.7% -0.73%
2014 4.7% 1.14%
2013 7.4% 0.76%
2012 6.4% 1.73%
2011 11.8% 5.13%
2010 2.2% 1.18%
2009 -6.8% 1.06%
2008 26.4% 6.71%
2007 8.7% 4.58%
2006 6.8% 4.04%
2005 10.6% 4.69%
2004 16.4% 4.45%
2003 35.7% 2.12%
2002 - 1.87%
2001 - 3.75%
2000 - 2.27%
1999 - 0.51%
1998 - 2.55%
1997 - 4.49%

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

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

Over the past 22 years, Afghanistan has recorded an average annual inflation rate of 7%, compared with 2.49% in El Salvador. In 2024, inflation was -4.3% in Afghanistan and 0.85% in El Salvador.

Balance of trade

Afghanistan El Salvador
Current account balance
-$3.14B
2020
-$633M
2024
Current account balance ranking
159/190
2020
110/190
2024
Current account balance, % of GDP
-15.7%
2020
-1.79%
2024
Goods imports
$5.88B
2020
$15.1B
2024
Goods exports
$777M
2020
$5.59B
2024
Service imports
$1.11B
2020
$3.26B
2024
Service exports
$700M
2020
$6B
2024
Imports of goods and services, % of GDP
50.7%
2023
51.9%
2024
Exports of goods and services, % of GDP
16.9%
2023
32.8%
2024

Economic freedom indices

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

Afghanistan El Salvador
Economic freedom 53 57.7
Economic freedom ranking 142/197 114/197
Property rights 3.6 42.7
Government integrity 13.5 31.5
Judicial effectiveness 0 15.3
Tax burden 92 76.8
Government spending 90.8 72.7
Fiscal health 98.4 59.4
Business freedom 33.7 65.7
Labor freedom 44.4 51.6
Monetary freedom 84.9 70.6
Trade freedom 68.6 76.4
Investment freedom 10 70
Financial freedom 10 60

Economic freedom comparison by year

Afghanistan
El Salvador
1x
Year Economic freedom index
Afghanistan El Salvador
2026 - 57.7
2025 - 56.6
2024 - 54.4
2023 - 56
2022 - 59.6
2021 53 61
2020 54.7 61.6
2019 51.5 61.8
2018 51.3 63.2
2017 48.9 64.1
2016 - 65.1
2015 - 65.7
2014 - 66.2
2013 - 66.7
2012 - 68.7
2011 - 68.8
2010 - 69.9
2009 - 69.8
2008 - 68.5
2007 - 68.9
2006 - 69.6
2005 - 71.5
2004 - 71.2
2003 - 71.5
2002 - 73
2001 - 73
2000 - 76.3
1999 - 75.1
1998 - 70.2
1997 - 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/afghanistan/el-salvador | CC BY

The Economic Freedom Index for Afghanistan is 53, ranking 142/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

Afghanistan El Salvador
Services, % of GDP
46.4%
2023
61%
2024
Industry, % of GDP
13.4%
2023
22.4%
2024
Agriculture, forestry, and fishing, % of GDP
34.7%
2023
4.38%
2024
GNI, Atlas method
$15.5B
2023
$32.5B
2024
GNI per capita, PPP
$2,210
2023
$12,420
2024
Total reserves including gold
$9.75B
2020
$3.7B
2024
Total reserves ranking
78/177
2020
110/177
2024
Net foreign direct investment
$24.3M
2020
-$636M
2024
Net inflows of foreign direct investment
$0
2024
$924M
2024
Net outflows of foreign direct investment
$0
2024
$288M
2024
Servicing debt to the IMF, % of GNI
0.25%
2023
35%
2024
Poverty at national poverty lines
47.1%
2019
27.2%
2023
Gross capital formation, % of GDP
15.3%
2023
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/afghanistan/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. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  6. 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.