Skip to content

Afghanistan vs El Salvador statistics compared

Updated on by Georank team

Afghanistan has a population of 42.6M (ranked 36/197), compared with 6.34M in El Salvador (ranked 111/197). Afghanistan's land area is 251,827 sq mi versus 8,000 sq mi for El Salvador (ranked 40th vs. 150th).

By GDP, Afghanistan ranks 137/197 ($17.2B) and El Salvador ranks 105/197 ($35.4B). By GDP per capita, Afghanistan ranks 196/197 ($414), while El Salvador ranks 116/197 ($5,580).

Main facts and rankings

Afghanistan El Salvador
Population
45409324
6399793
Population rank 36/197 111/197
GDP
$17.2B
2023
$35.4B
2024
GDP rank 137/197 105/197
GDP per capita
$414
2023
$5,580
2024
GDP per capita rank 196/197 116/197
GDP per capita, PPP
$2,202
2023
$13,264
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 81/185
Average annual personal income after taxes
$1,869
2026
$4,768
2026
Land area 251,827 sq mi 8,000 sq mi
Population density
179 ppl/mi²
2026
799 ppl/mi²
2026
Fertility rate
4.84
2023
1.78
2023
Median age
18.2 years
2024
28.5 years
2024
Life expectancy
66.8 years
2026
72.7 years
2026

Afghanistan and El Salvador: Comparison Charts

Afghanistan and El Salvador economies compared

GDP
Afghanistan

El Salvador
1x
Year GDP
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/facts/afghanistan/el-salvador | CC BY

Afghanistan and El Salvador economies compared

GDP per capita
Afghanistan

El Salvador
1x
Year GDP per capita
Afghanistan El Salvador
2024 - $5,580
2023 $414 $5,365
2022 $357 $5,075
2021 $356 $4,643
2020 $511 $3,997
2019 $497 $4,320
2018 $491 $4,184
2017 $525 $4,020
2016 $522 $3,901
2015 $566 $3,790
2014 $625 $3,666
2013 $637 $3,582
2012 $651 $3,498
2011 $607 $3,331
2010 $561 $3,040
2009 $452 $2,910
2008 $382 $2,983
2007 $376 $2,831
2006 $274.2 $2,666
2005 $254.2 $2,447
2004 $221.8 $2,286
2003 $198.9 $2,208
2002 $179 $2,115
2001 $138.7 $2,058
2000 $174.9 $1,983
1999 - $1,908
1998 - $1,860
1997 - $1,749
1996 - $1,651
1995 - $1,548
1994 - $1,344
1993 - $1,180
1992 - $1,041
1991 - $956
1990 - $892
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/facts/afghanistan/el-salvador | CC BY

Afghanistan vs. El Salvador life expectancy calculator

Life expectancy
Afghanistan

El Salvador
1x
Year Life expectancy, years
Afghanistan El Salvador
2026 66.8 72.7
2025 66.5 72.5
2024 66.3 72.3
2023 66 72.1
2022 65.6 72
2021 60.4 69.9
2020 61.5 70.2
2019 62.9 71.7
2018 62.4 71.4
2017 62.4 71
2016 62.6 70.9
2015 62.3 71
2014 62.3 71.1
2013 62.2 71.2
2012 61.7 71.4
2011 61.3 71.2
2010 60.7 70.9
2009 60.2 70.4
2008 59.7 70.1
2007 59 69.8
2006 58.6 69.6
2005 58.2 69.3
2004 57.8 69.3
2003 57.2 68.8
2002 56.2 68.5
2001 55.5 68
2000 55 67.7
1999 54.5 67.3
1998 52.5 66.7
1997 53.2 66.2
1996 52.8 65.5
1995 52.1 64.9
1994 51 64.5
1993 51 64
1992 46.6 62.9
1991 45.5 62.5
1990 45.1 62
1989 44.5 61.3
1988 43.2 60
1987 38.8 59.4
1986 38.4 59.3
1985 32.1 58
1984 31.5 56.6
1983 36.5 54.4
1982 36.1 53.3
1981 39.4 50.9
1980 39.3 48.6
1979 38.8 53.8
1978 40.1 54.7
1977 41.1 54
1976 40.5 54.4
1975 40 53.4
1974 39.5 52.9
1973 39 52.8
1972 38.4 52
1971 37.9 51.7
1970 37.5 51.4
1969 37 51.3
1968 36.5 50.8
1967 36 50.8
1966 35.6 50.7
1965 35.1 50.2
1964 34.7 49.7
1963 34.2 49.4
1962 33.8 49
1961 33.3 48.6
1960 32.8 48.3
1959 32.3 48
1958 31.8 47.7
1957 31.3 47.1
1956 30.8 46.6
1955 30.4 46
1954 29.7 45.5
1953 29.5 45
1952 29 44.8
1951 28.6 43.8
1950 28.2 44.2

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

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

Afghanistan and El Salvador population clocks and comparison

Population
Afghanistan

El Salvador
1x
Year Population
Afghanistan El Salvador
2024 42,647,492 6,338,193
2023 41,454,761 6,309,624
2022 40,578,842 6,280,319
2021 40,000,412 6,255,782
2020 39,068,979 6,234,673
2019 37,856,121 6,222,318
2018 36,743,039 6,219,807
2017 35,688,935 6,213,533
2016 34,700,612 6,200,800
2015 33,831,764 6,183,676
2014 32,792,523 6,162,955
2013 31,622,704 6,138,839
2012 30,560,034 6,113,975
2011 29,347,708 6,090,127
2010 28,284,089 6,068,249
2009 27,466,101 6,048,279
2008 26,482,622 6,029,297
2007 25,909,852 6,009,824
2006 25,424,094 6,002,319
2005 24,404,567 6,005,578
2004 23,560,654 6,004,671
2003 22,733,049 5,998,599
2002 21,378,117 5,986,631
2001 20,284,307 5,968,060
2000 20,130,327 5,943,366
1999 19,887,785 5,913,900
1998 19,159,996 5,880,781
1997 18,452,091 5,844,578
1996 17,763,266 5,805,286
1995 17,065,836 5,762,131
1994 16,250,794 5,714,129
1993 14,943,172 5,659,957
1992 13,278,974 5,585,609
1991 12,238,879 5,495,077
1990 12,045,660 5,399,726
1989 11,874,088 5,298,979
1988 11,523,298 5,195,833
1987 11,387,818 5,092,441
1986 11,420,074 4,992,769
1985 11,426,852 4,894,706
1984 11,190,221 4,798,003
1983 10,917,982 4,707,367
1982 10,991,378 4,622,477
1981 11,937,581 4,570,599
1980 13,169,311 4,540,382
1979 13,655,567 4,480,388
1978 13,611,441 4,394,114
1977 13,340,756 4,301,256
1976 13,059,851 4,210,310
1975 12,773,954 4,120,449
1974 12,469,127 4,029,671
1973 12,157,999 3,938,068
1972 11,853,696 3,846,830
1971 11,567,667 3,757,523
1970 11,290,128 3,668,796
1969 11,017,409 3,576,485
1968 10,756,922 3,480,773
1967 10,505,959 3,385,184
1966 10,266,395 3,290,961
1965 10,036,008 3,199,466
1964 9,814,318 3,111,883
1963 9,604,487 3,028,679
1962 9,404,406 2,949,204
1961 9,214,083 2,870,016
1960 9,035,043 2,791,459

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

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

Fertility rates in Afghanistan and El Salvador

Fertility rate
Afghanistan

El Salvador
1x
Year Fertility rate
Afghanistan El Salvador
2023 4.84 1.78
2022 4.93 1.79
2021 5.04 1.8
2020 5.15 1.82
2019 5.24 1.84
2018 5.33 1.85
2017 5.43 1.9
2016 5.54 1.97
2015 5.65 2.07
2014 5.77 2.13
2013 5.88 2.15
2012 5.99 2.19
2011 6.09 2.22
2010 6.2 2.24
2009 6.3 2.26
2008 6.39 2.29
2007 6.51 2.35
2006 6.69 2.4
2005 6.86 2.44
2004 7.02 2.52
2003 7.17 2.64
2002 7.32 2.78
2001 7.45 2.93
2000 7.57 3.08
1999 7.64 3.22
1998 7.69 3.34
1997 7.73 3.38
1996 7.76 3.48
1995 7.77 3.57
1994 7.77 3.61
1993 7.76 3.69
1992 7.7 3.8
1991 7.63 3.89
1990 7.58 3.96
1989 7.56 4.03
1988 7.55 4.1
1987 7.55 4.18
1986 7.55 4.19
1985 7.55 4.32
1984 7.55 4.48
1983 7.57 4.65
1982 7.6 4.83
1981 7.62 4.99
1980 7.64 5.11
1979 7.61 5.23
1978 7.6 5.36
1977 7.59 5.47
1976 7.56 5.59
1975 7.54 5.71
1974 7.53 5.82
1973 7.49 5.93
1972 7.45 6.03
1971 7.43 6.13
1970 7.4 6.18
1969 7.39 6.28
1968 7.36 6.39
1967 7.34 6.49
1966 7.32 6.57
1965 7.31 6.64
1964 7.3 6.68
1963 7.3 6.69
1962 7.29 6.68
1961 7.28 6.64
1960 7.28 6.62

Data sources: World Bank | Health (1960–2023, retrieved 2026-04-06).

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

Afghanistan and El Salvador demographics compared

Median age
Afghanistan

El Salvador
1x
Year Median age, years
Afghanistan El Salvador
2024 18.2 28.5
2023 18 28
2022 17.8 27.6
2021 17.6 27.2
2020 17.5 26.8
2019 17.3 26.4
2018 17.1 26
2017 17 25.6
2016 16.8 25.2
2015 16.6 24.9
2014 16.4 24.6
2013 16.2 24.3
2012 16 24.1
2011 15.9 23.9
2010 15.7 23.7
2009 15.5 23.5
2008 15.3 23.3
2007 15.2 23.2
2006 15.1 23
2005 15 22.7
2004 14.9 22.5
2003 14.9 22.2
2002 14.9 21.9
2001 14.9 21.6
2000 15 21.3
1999 15.1 21
1998 15.2 20.6
1997 15.3 20.3
1996 15.5 19.9
1995 15.6 19.6
1994 15.7 19.3
1993 15.8 19
1992 15.9 18.8
1991 16 18.8
1990 16.1 18.8
1989 16.1 18.7
1988 16.2 18.6
1987 16.3 18.5
1986 16.3 18.4
1985 16.4 18.2
1984 16.5 18
1983 16.6 17.8
1982 16.7 17.7
1981 16.8 17.6
1980 16.9 17.5
1979 17 17.4
1978 17.2 17.2
1977 17.3 17.1
1976 17.4 17
1975 17.5 16.9
1974 17.6 16.8
1973 17.7 16.7
1972 17.8 16.6
1971 17.9 16.6
1970 18.1 16.6
1969 18.2 16.6
1968 18.3 16.6
1967 18.4 16.7
1966 18.5 16.8
1965 18.6 16.9
1964 18.6 16.9
1963 18.7 17
1962 18.8 17
1961 18.9 17.1
1960 18.9 17.2

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

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

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Afghanistan and El Salvador.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Afghanistan El Salvador
GNI, Atlas method
$15.5B
2023
$32.5B
2024
Government expenditure, % of GDP
19.4%
2024
31.4%
2024
Education expenditure, % of GDP
4.34%
2017
3.17%
2023
Military expenditure, % of GDP
1.83%
2021
1.19%
2024
Armed forces personnel
165,000
2020
42,000
2020
Deficit/surplus, % of GDP
-0.54%
2024
-4.55%
2024
Unemployment rate
5.68%
2021
2.71%
2024
Services, % of GDP
46.4%
2023
61%
2024
Industry, % of GDP
13.4%
2023
22.4%
2024
Economic freedom index
53
2021
57.7
2026
Income share by richest 10% n/a
29.7%
2023
Income share by poorest 10% n/a
1.9%
2023
Total reserves including gold
$9.75B
2020
$3.7B
2024
Personal remittances received
$320M
2024
$8.49B
2024
International tourist arrivals n/a
707,000
2020
International tourism as share of exports
5.08%
2020
12.3%
2020
Banked people share
9.65%
2021
43.4%
2024

Energy

Afghanistan El Salvador
Energy use, kg of oil equivalent per capita n/a
769 kg
2022
GDP PPP per kg equivalent of energy use n/a
$15.4
2022
Carbon dioxide (CO2) emissions
12.1 megatons
2024
9.54 megatons
2024
CO2 emissions per capita
0.28 tons
2024
1.51 tons
2024
Fossil fuel energy use share n/a
55.5%
2022
Renewable energy use share
20%
2022
21.9%
2021
Alternative and nuclear energy use share n/a
34.2%
2022
Net energy imports use share n/a
59.5%
2022
Electric power consumption per capita n/a
1,110 kWh
2022
Renewable electricity output share
78.2%
2021
95.6%
2021
Hydroelectric share
71.7%
2021
30.3%
2022
Nuclear share
0%
2021
0%
2021
Electricity access
85.3%
2023
98.3%
2023

Society

Afghanistan El Salvador
% of world population
0.52%
2024
0.08%
2024
Annual migration change
-74,404
2025
-23,934
2025
Urban population
25.7%
2024
75.1%
2024
Male:Female ratio
50.5:49.5
2024
47.5:52.5
2024
Average male height
5.53 ft
2025
5.6 ft
2025
Average female height
5.12 ft
2025
5.13 ft
2025
Quality of life index
15.5
2026
42.7
2026
Corruption Perceptions Index
16
2025
32
2025
Higher education index
20
2026
33
2026
Homicides per 100K people
4.02
2021
7.83
2022
Road traffic mortality per 100K people
15.9
2019
20.9
2019
Visa free countries
36
2025
130
2025
Adult literacy rate
37.3%
2021
89.8%
2024
English speaking
6%
2023
1%
2025
People using the Internet
17.7%
2023
67.7%
2023

Health

Afghanistan El Salvador
Government health expenditure per capita
$59.1
2023
$501
2023
Out-of-pocket health expenditure per capita
$45.6
2023
$162.7
2023
Life expectancy
66.8 years
2026
72.7 years
2026
Foreign aid share of health expenditure
21.2%
2023
0.89%
2023
Physicians per 1,000 people
0.32
2023
1.62
2023
Age at first childbirth
19.9 years
2025
20.8 years
2025
Maternal mortality per 100K births
521
2023
39
2023
Mortality rate before reaching 5 years of age
55.5
2023
10.4
2023
Obesity rate
19.6%
2022
31.3%
2022
Diabetes prevalence
11.7%
2024
12.7%
2024
Air quality index
3
2026
56
2026
Tobacco use prevalence
22.7%
2022
8.9%
2022
Pure alcohol consumption per capita
0.01 liters
2020
3.15 liters
2020

Territory

Afghanistan El Salvador
% of world land
0.44%
2026
0.01%
2026
Land area per capita
5,905 sq mi
2024
1,262 sq mi
2024
Agricultural land area
147,167 sq mi
2026
4,617 sq mi
2026
Forest area
4,666 sq mi
2026
2,202 sq mi
2026
Roads length
21,688 mi
2021
5,600 mi
2017

In-depth comparisons

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 | Health (1960–2025, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2025, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2023–2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. The Heritage Foundation | Economic Freedom Index (2021–2026, retrieved 2026-03-09)
  8. World Obesity Federation (2022, retrieved 2026-02-08)
  9. Passport Index (2025, retrieved 2026-02-08)
  10. Transparency International (2025, retrieved 2026-02-10)
  11. EduRank (2026, retrieved 2025-10-13)

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.