Skip to content

Afghanistan vs Somalia statistics compared

Updated on by Georank team

Afghanistan has a population of 42.6M (ranked 36/197), compared with 19M in Somalia (ranked 68/197). Afghanistan's land area is 251,827 sq mi versus 242,217 sq mi for Somalia (ranked 40th vs. 42nd).

By GDP, Afghanistan ranks 137/197 ($17.2B) and Somalia ranks 150/197 ($12B). By GDP per capita, Afghanistan ranks 196/197 ($414), while Somalia ranks 192/197 ($630).

Main facts and rankings

Afghanistan Somalia
Population
45409324
20503678
Population rank 36/197 66/197
GDP
$17.2B
2023
$12B
2024
GDP rank 137/197 150/197
GDP per capita
$414
2023
$630
2024
GDP per capita rank 196/197 192/197
GDP per capita, PPP
$2,202
2023
$1,602
2024
Government debt
$1.44B
2023
n/a
Debt-to-GDP ratio
8.8%
2024
n/a
Government debt per person
$34.8
2023
n/a
Government debt per person rank 185/185 n/a
Average annual personal income after taxes
$1,869
2026
$1,885
2026
Land area 251,827 sq mi 242,217 sq mi
Population density
179 ppl/mi²
2026
83.9 ppl/mi²
2026
Fertility rate
4.84
2023
6.13
2023
Median age
18.2 years
2024
16.6 years
2024
Life expectancy
66.8 years
2026
59.3 years
2026

Afghanistan and Somalia: Comparison Charts

Afghanistan and Somalia economies compared

GDP
Afghanistan

Somalia
1x
Year GDP
Afghanistan Somalia
2024 - $11,967,000,000
2023 $17,152,234,637 $10,958,000,000
2022 $14,497,243,872 $10,203,000,000
2021 $14,259,995,441 $9,483,000,000
2020 $19,955,929,052 $8,628,000,000
2019 $18,799,444,490 $8,656,000,000
2018 $18,053,222,687 $7,873,000,000
2017 $18,753,456,498 $7,621,501,710
2016 $18,116,572,395 $6,613,743,070
2015 $19,134,221,645 $6,152,149,100
2014 $20,497,128,556 $5,728,399,720
2013 $20,146,416,758 $5,062,881,600
2012 $19,907,329,778 $4,364,670,160
2011 $17,805,098,206 $2,906,000,097
2010 $15,856,668,556 $2,687,807,004
2009 $12,416,152,732 $2,948,594,552
2008 $10,109,297,048 $5,913,620,293
2007 $9,747,886,187 $5,430,713,729
2006 $6,971,758,282 $5,026,743,282
2005 $6,203,256,539 $4,683,246,454
2004 $5,224,896,719 $3,859,592,813
2003 $4,520,946,819 $2,836,724,352
2002 $3,825,701,439 $2,192,684,135
2001 $2,813,571,754 $2,252,847,465
2000 $3,521,418,060 $3,412,797,450
1999 - $3,045,751,528
1998 - $2,962,047,564
1997 - $2,191,749,014
1996 - $1,792,234,297
1995 - $1,534,756,135
1994 - $1,481,205,098
1993 - $1,260,132,956
1992 - $709,297,579
1991 - $717,974,930
1990 - $1,031,282,081
1989 - $1,181,360,844
1988 - $1,051,596,967
1987 - $1,018,972,664
1986 - $916,590,786
1985 - $875,702,247
1984 - $787,434,542
1983 - $735,408,642
1982 - $774,578,932
1981 - $699,302,473
1980 - $602,515,548
1979 - $589,566,929
1978 - $564,571,823
1977 - $498,550,725
1976 - $871,344,245
1975 - $757,015,879
1974 - $572,504,036
1973 - $483,699,611
1972 - $447,883,941
1971 - $347,039,446
1970 - $347,985,394
1969 - $306,357,285
1968 - $286,719,885
1967 - $271,781,887
1966 - $257,375,897
1965 - $243,725,898
1964 - $229,529,913
1963 - $216,145,936
1962 - $203,531,928
1961 - $191,659,914
1960 - $180,459,937

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Afghanistan and Somalia economies compared

GDP per capita
Afghanistan

Somalia
1x
Year GDP per capita
Afghanistan Somalia
2024 - $630
2023 $414 $597
2022 $357 $573
2021 $356 $549
2020 $511 $518
2019 $497 $540
2018 $491 $509
2017 $525 $511
2016 $522 $461
2015 $566 $446
2014 $625 $429
2013 $637 $393
2012 $651 $350
2011 $607 $235.3
2010 $561 $219.2
2009 $452 $246.5
2008 $382 $507
2007 $376 $480
2006 $274.2 $458
2005 $254.2 $440
2004 $221.8 $375
2003 $198.9 $286.3
2002 $179 $229.6
2001 $138.7 $244.9
2000 $174.9 $386
1999 - $359
1998 - $363
1997 - $280.1
1996 - $237.2
1995 - $210.7
1994 - $210.8
1993 - $188.6
1992 - $109.2
1991 - $105.4
1990 - $145.6
1989 - $166
1988 - $145.3
1987 - $141
1986 - $131.4
1985 - $130.8
1984 - $122.5
1983 - $118.6
1982 - $129
1981 - $116.9
1980 - $101.5
1979 - $108.2
1978 - $117.3
1977 - $111.2
1976 - $199.6
1975 - $177.8
1974 - $137.9
1973 - $119.6
1972 - $113.7
1971 - $90.4
1970 - $93.1
1969 - $84.1
1968 - $80.8
1967 - $78.7
1966 - $76.5
1965 - $74.4
1964 - $71.9
1963 - $69.5
1962 - $67.2
1961 - $64.9
1960 - $62.7

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Afghanistan vs. Somalia life expectancy calculator

Life expectancy
Afghanistan

Somalia
1x
Year Life expectancy, years
Afghanistan Somalia
2026 66.8 59.3
2025 66.5 59.1
2024 66.3 59
2023 66 58.8
2022 65.6 53.9
2021 60.4 55.7
2020 61.5 57.1
2019 62.9 57.2
2018 62.4 54.8
2017 62.4 52.2
2016 62.6 55.3
2015 62.3 55.1
2014 62.3 54.4
2013 62.2 54
2012 61.7 49.1
2011 61.3 32.5
2010 60.7 48.9
2009 60.2 52.1
2008 59.7 51.5
2007 59 50.9
2006 58.6 50.9
2005 58.2 50.9
2004 57.8 50.7
2003 57.2 50.7
2002 56.2 50.8
2001 55.5 50.8
2000 55 50.7
1999 54.5 50.6
1998 52.5 50.8
1997 53.2 50.3
1996 52.8 50.5
1995 52.1 50.6
1994 51 50.3
1993 51 50.6
1992 46.6 25
1991 45.5 25.4
1990 45.1 46.9
1989 44.5 46.6
1988 43.2 43.9
1987 38.8 49
1986 38.4 48.4
1985 32.1 48.3
1984 31.5 48.4
1983 36.5 48.2
1982 36.1 48
1981 39.4 47.8
1980 39.3 47.6
1979 38.8 47.4
1978 40.1 47
1977 41.1 47
1976 40.5 44.7
1975 40 44.5
1974 39.5 44.3
1973 39 46.2
1972 38.4 46
1971 37.9 45.8
1970 37.5 45.6
1969 37 45.5
1968 36.5 45.3
1967 36 45.1
1966 35.6 44.8
1965 35.1 44.6
1964 34.7 44.4
1963 34.2 44.2
1962 33.8 44
1961 33.3 43.7
1960 32.8 43.5
1959 32.3 43.3
1958 31.8 43.1
1957 31.3 42.9
1956 30.8 42.7
1955 30.4 42.5
1954 29.7 42.3
1953 29.5 42.1
1952 29 41.9
1951 28.6 41.7
1950 28.2 41.5

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Afghanistan and Somalia population clocks and comparison

Population
Afghanistan

Somalia
1x
Year Population
Afghanistan Somalia
2024 42,647,492 19,009,151
2023 41,454,761 18,358,615
2022 40,578,842 17,801,897
2021 40,000,412 17,271,431
2020 39,068,979 16,651,191
2019 37,856,121 16,030,971
2018 36,743,039 15,452,487
2017 35,688,935 14,916,629
2016 34,700,612 14,348,740
2015 33,831,764 13,806,963
2014 32,792,523 13,339,491
2013 31,622,704 12,869,594
2012 30,560,034 12,461,160
2011 29,347,708 12,348,830
2010 28,284,089 12,261,756
2009 27,466,101 11,961,201
2008 26,482,622 11,663,084
2007 25,909,852 11,322,582
2006 25,424,094 10,975,502
2005 24,404,567 10,644,228
2004 23,560,654 10,280,998
2003 22,733,049 9,909,157
2002 21,378,117 9,550,063
2001 20,284,307 9,198,493
2000 20,130,327 8,838,713
1999 19,887,785 8,492,059
1998 19,159,996 8,155,417
1997 18,452,091 7,824,525
1996 17,763,266 7,554,474
1995 17,065,836 7,285,007
1994 16,250,794 7,026,797
1993 14,943,172 6,681,399
1992 13,278,974 6,495,107
1991 12,238,879 6,813,760
1990 12,045,660 7,082,811
1989 11,874,088 7,114,817
1988 11,523,298 7,235,360
1987 11,387,818 7,228,302
1986 11,420,074 6,974,788
1985 11,426,852 6,693,289
1984 11,190,221 6,428,389
1983 10,917,982 6,198,430
1982 10,991,378 6,003,840
1981 11,937,581 5,982,849
1980 13,169,311 5,936,154
1979 13,655,567 5,449,117
1978 13,611,441 4,814,892
1977 13,340,756 4,484,050
1976 13,059,851 4,365,812
1975 12,773,954 4,257,535
1974 12,469,127 4,151,842
1973 12,157,999 4,045,592
1972 11,853,696 3,939,436
1971 11,567,667 3,837,691
1970 11,290,128 3,738,448
1969 11,017,409 3,641,015
1968 10,756,922 3,546,590
1967 10,505,959 3,454,537
1966 10,266,395 3,365,106
1965 10,036,008 3,277,874
1964 9,814,318 3,192,796
1963 9,604,487 3,110,361
1962 9,404,406 3,030,091
1961 9,214,083 2,952,054
1960 9,035,043 2,876,331

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Fertility rates in Afghanistan and Somalia

Fertility rate
Afghanistan

Somalia
1x
Year Fertility rate
Afghanistan Somalia
2023 4.84 6.13
2022 4.93 6.26
2021 5.04 6.35
2020 5.15 6.45
2019 5.24 6.56
2018 5.33 6.66
2017 5.43 6.77
2016 5.54 6.88
2015 5.65 6.98
2014 5.77 7.06
2013 5.88 7.14
2012 5.99 7.21
2011 6.09 7.27
2010 6.2 7.32
2009 6.3 7.38
2008 6.39 7.42
2007 6.51 7.46
2006 6.69 7.49
2005 6.86 7.53
2004 7.02 7.57
2003 7.17 7.6
2002 7.32 7.63
2001 7.45 7.64
2000 7.57 7.65
1999 7.64 7.66
1998 7.69 7.66
1997 7.73 7.66
1996 7.76 7.62
1995 7.77 7.58
1994 7.77 7.54
1993 7.76 7.53
1992 7.7 7.5
1991 7.63 7.47
1990 7.58 7.44
1989 7.56 7.42
1988 7.55 7.4
1987 7.55 7.37
1986 7.55 7.35
1985 7.55 7.33
1984 7.55 7.3
1983 7.57 7.28
1982 7.6 7.25
1981 7.62 7.23
1980 7.64 7.18
1979 7.61 7.16
1978 7.6 7.13
1977 7.59 7
1976 7.56 7.02
1975 7.54 7.03
1974 7.53 7.06
1973 7.49 7.09
1972 7.45 7.12
1971 7.43 7.15
1970 7.4 7.18
1969 7.39 7.21
1968 7.36 7.23
1967 7.34 7.25
1966 7.32 7.26
1965 7.31 7.26
1964 7.3 7.26
1963 7.3 7.26
1962 7.29 7.26
1961 7.28 7.25
1960 7.28 7.25

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Afghanistan and Somalia demographics compared

Median age
Afghanistan

Somalia
1x
Year Median age, years
Afghanistan Somalia
2024 18.2 16.6
2023 18 16.5
2022 17.8 16.5
2021 17.6 16.4
2020 17.5 16.3
2019 17.3 16.3
2018 17.1 16.2
2017 17 16.2
2016 16.8 16.1
2015 16.6 16.1
2014 16.4 16
2013 16.2 16
2012 16 16
2011 15.9 15.8
2010 15.7 15.7
2009 15.5 15.6
2008 15.3 15.6
2007 15.2 15.6
2006 15.1 15.7
2005 15 15.9
2004 14.9 16
2003 14.9 16.1
2002 14.9 16.2
2001 14.9 16.2
2000 15 16.3
1999 15.1 16.3
1998 15.2 16.4
1997 15.3 16.4
1996 15.5 16.5
1995 15.6 16.6
1994 15.7 16.7
1993 15.8 16.8
1992 15.9 16.7
1991 16 16.5
1990 16.1 16.5
1989 16.1 16.7
1988 16.2 16.8
1987 16.3 17
1986 16.3 17.1
1985 16.4 17.2
1984 16.5 17.3
1983 16.6 17.4
1982 16.7 17.4
1981 16.8 17.5
1980 16.9 17.6
1979 17 17.6
1978 17.2 17.7
1977 17.3 17.7
1976 17.4 17.7
1975 17.5 17.7
1974 17.6 17.7
1973 17.7 17.6
1972 17.8 17.6
1971 17.9 17.6
1970 18.1 17.5
1969 18.2 17.5
1968 18.3 17.5
1967 18.4 17.5
1966 18.5 17.5
1965 18.6 17.5
1964 18.6 17.6
1963 18.7 17.7
1962 18.8 17.8
1961 18.9 17.9
1960 18.9 18.1

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

GeoRank.org/facts/afghanistan/somalia | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Afghanistan Somalia
GNI, Atlas method
$15.5B
2023
$11.7B
2024
Government expenditure, % of GDP
19.4%
2024
13%
2025
Education expenditure, % of GDP
4.34%
2017
0.000008%
2023
Military expenditure, % of GDP
1.83%
2021
1.59%
2024
Armed forces personnel
165,000
2020
14,000
2020
Deficit/surplus, % of GDP
-0.54%
2024
-5.47%
2025
Unemployment rate
5.68%
2021
11.1%
2022
Services, % of GDP
46.4%
2023
n/a
Industry, % of GDP
13.4%
2023
9.66%
1986
Economic freedom index
53
2021
29
2025
Total reserves including gold
$9.75B
2020
$23.1M
1989
Personal remittances received
$320M
2024
$2.12B
2024
International tourism as share of exports
5.08%
2020
n/a
Banked people share
9.65%
2021
38.7%
2014

Energy

Afghanistan Somalia
Carbon dioxide (CO2) emissions
12.1 megatons
2024
0.87 megatons
2024
CO2 emissions per capita
0.28 tons
2024
0.05 tons
2024
Renewable energy use share
20%
2022
95.4%
2022
Renewable electricity output share
78.2%
2021
11.2%
2021
Hydroelectric share
71.7%
2021
0%
2021
Nuclear share
0%
2021
0%
2021
Electricity access
85.3%
2023
50.3%
2023

Society

Afghanistan Somalia
% of world population
0.52%
2024
0.23%
2024
Annual migration change
-74,404
2025
+12,077
2025
Urban population
25.7%
2024
54.6%
2024
Male:Female ratio
50.5:49.5
2024
50.1:49.9
2024
Average male height
5.53 ft
2025
5.62 ft
2025
Average female height
5.12 ft
2025
5.25 ft
2025
Quality of life index
15.5
2026
8.53
2026
Corruption Perceptions Index
16
2025
9
2025
Higher education index
20
2026
11
2026
Homicides per 100K people
4.02
2021
4.31
2015
Road traffic mortality per 100K people
15.9
2019
27.4
2019
Visa free countries
36
2025
43
2025
Adult literacy rate
37.3%
2021
54.1%
2022
English speaking
6%
2023
2%
2025
People using the Internet
17.7%
2023
27.6%
2022

Health

Afghanistan Somalia
Government health expenditure per capita
$59.1
2023
$22.4
2023
Out-of-pocket health expenditure per capita
$45.6
2023
$6.89
2023
Life expectancy
66.8 years
2026
59.3 years
2026
Foreign aid share of health expenditure
21.2%
2023
54.4%
2023
Physicians per 1,000 people
0.32
2023
0.05
2014
Age at first childbirth
19.9 years
2025
n/a
Maternal mortality per 100K births
521
2023
563
2023
Mortality rate before reaching 5 years of age
55.5
2023
104
2023
Obesity rate
19.6%
2022
14.9%
2022
Diabetes prevalence
11.7%
2024
5.8%
2024
Air quality index
3
2026
35
2026
Tobacco use prevalence
22.7%
2022
n/a
Pure alcohol consumption per capita
0.01 liters
2020
0 liters
2020

Territory

Afghanistan Somalia
% of world land
0.44%
2026
0.42%
2026
Land area per capita
5,905 sq mi
2024
12,742 sq mi
2024
Agricultural land area
147,167 sq mi
2026
170,384 sq mi
2026
Forest area
4,666 sq mi
2026
22,200 sq mi
2026
Roads length
21,688 mi
2021
9,321 mi
2018

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–2025, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. EduRank (2026, retrieved 2025-10-13)
  11. The Heritage Foundation | Economic Freedom Index (2021, retrieved 2026-03-09)

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.