Skip to content

Afghanistan vs Morocco statistics compared

Updated on by Georank team

Afghanistan has a population of 42.6M (ranked 36/197), compared with 38.1M in Morocco (ranked 39/197). Afghanistan's land area is 251,827 sq mi versus 172,317 sq mi for Morocco (ranked 40th vs. 55th).

By GDP, Afghanistan ranks 137/197 ($17.2B) and Morocco ranks 58/197 ($161B). By GDP per capita, Afghanistan ranks 196/197 ($414), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Afghanistan Morocco
Population
45409324
38871720
Population rank 36/197 41/197
GDP
$17.2B
2023
$161B
2024
GDP rank 137/197 58/197
GDP per capita
$414
2023
$4,218
2024
GDP per capita rank 196/197 127/197
GDP per capita, PPP
$2,202
2023
$10,415
2024
Government debt
$1.44B
2023
$109B
2024
Debt-to-GDP ratio
8.8%
2024
67.7%
2024
Government debt per person
$34.8
2023
$2,857
2024
Government debt per person rank 185/185 104/185
Average annual personal income after taxes
$1,869
2026
$5,678
2026
Land area 251,827 sq mi 172,317 sq mi
Population density
179 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
4.84
2023
2.23
2023
Median age
18.2 years
2024
30.5 years
2024
Life expectancy
66.8 years
2026
75.9 years
2026

Afghanistan and Morocco: Comparison Charts

Afghanistan and Morocco economies compared

GDP
Afghanistan

Morocco
1x
Year GDP
Afghanistan Morocco
2024 - $160,610,994,055
2023 $17,152,234,637 $146,036,093,667
2022 $14,497,243,872 $131,245,312,804
2021 $14,259,995,441 $142,022,058,447
2020 $19,955,929,052 $121,353,645,057
2019 $18,799,444,490 $128,920,266,409
2018 $18,053,222,687 $127,341,147,582
2017 $18,753,456,498 $118,540,573,368
2016 $18,116,572,395 $111,572,947,005
2015 $19,134,221,645 $110,413,823,842
2014 $20,497,128,556 $119,130,841,412
2013 $20,146,416,758 $115,739,287,305
2012 $19,907,329,778 $106,937,392,311
2011 $17,805,098,206 $110,080,631,332
2010 $15,856,668,556 $100,865,329,473
2009 $12,416,152,732 $101,154,952,241
2008 $10,109,297,048 $101,822,906,949
2007 $9,747,886,187 $86,947,913,287
2006 $6,971,758,282 $75,883,823,301
2005 $6,203,256,539 $68,852,658,069
2004 $5,224,896,719 $66,114,145,451
2003 $4,520,946,819 $58,029,363,354
2002 $3,825,701,439 $47,077,192,188
2001 $2,813,571,754 $43,831,480,208
2000 $3,521,418,060 $43,017,455,402
1999 - $46,266,428,648
1998 - $46,497,608,725
1997 - $39,147,844,526
1996 - $43,161,571,528
1995 - $39,030,285,468
1994 - $35,604,137,423
1993 - $31,655,473,664
1992 - $33,711,069,431
1991 - $32,285,573,574
1990 - $30,179,954,775
1989 - $26,314,313,191
1988 - $25,705,296,184
1987 - $21,765,195,948
1986 - $19,462,085,540
1985 - $14,991,283,216
1984 - $14,824,667,954
1983 - $16,251,408,128
1982 - $17,692,276,734
1981 - $17,788,185,479
1980 - $21,728,516,153
1979 - $15,911,994,817
1978 - $13,236,946,234
1977 - $11,049,783,872
1976 - $9,584,297,284
1975 - $8,984,853,005
1974 - $7,675,466,449
1973 - $6,242,145,880
1972 - $5,074,117,545
1971 - $4,356,669,034
1970 - $3,956,336,244
1969 - $3,651,622,669
1968 - $3,271,422,333
1967 - $3,046,345,314
1966 - $2,876,401,297
1965 - $2,948,331,090
1964 - $2,798,345,299
1963 - $2,657,252,578
1962 - $2,379,611,125
1961 - $2,025,693,540
1960 - $2,037,154,742

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

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

Afghanistan and Morocco economies compared

GDP per capita
Afghanistan

Morocco
1x
Year GDP per capita
Afghanistan Morocco
2024 - $4,218
2023 $414 $3,872
2022 $357 $3,516
2021 $356 $3,843
2020 $511 $3,317
2019 $497 $3,560
2018 $491 $3,553
2017 $525 $3,344
2016 $522 $3,186
2015 $566 $3,190
2014 $625 $3,483
2013 $637 $3,425
2012 $651 $3,206
2011 $607 $3,345
2010 $561 $3,107
2009 $452 $3,158
2008 $382 $3,222
2007 $376 $2,788
2006 $274.2 $2,466
2005 $254.2 $2,268
2004 $221.8 $2,207
2003 $198.9 $1,962
2002 $179 $1,612
2001 $138.7 $1,521
2000 $174.9 $1,513
1999 - $1,651
1998 - $1,683
1997 - $1,439
1996 - $1,610
1995 - $1,478
1994 - $1,369
1993 - $1,236
1992 - $1,337
1991 - $1,302
1990 - $1,238
1989 - $1,099
1988 - $1,094
1987 - $944
1986 - $861
1985 - $678
1984 - $687
1983 - $772
1982 - $862
1981 - $890
1980 - $1,117
1979 - $839
1978 - $716
1977 - $613
1976 - $545
1975 - $524
1974 - $459
1973 - $382
1972 - $319
1971 - $280.6
1970 - $261.5
1969 - $247.8
1968 - $228
1967 - $218.1
1966 - $211.5
1965 - $222.7
1964 - $216.9
1963 - $211.3
1962 - $194.2
1961 - $169.8
1960 - $175.2

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

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

Afghanistan vs. Morocco life expectancy calculator

Life expectancy
Afghanistan

Morocco
1x
Year Life expectancy, years
Afghanistan Morocco
2026 66.8 75.9
2025 66.5 75.7
2024 66.3 75.5
2023 66 75.3
2022 65.6 75.2
2021 60.4 73.4
2020 61.5 73.1
2019 62.9 74.2
2018 62.4 73.9
2017 62.4 73.6
2016 62.6 73.2
2015 62.3 72.9
2014 62.3 72.5
2013 62.2 72.1
2012 61.7 71.7
2011 61.3 71.3
2010 60.7 70.8
2009 60.2 70.5
2008 59.7 70.1
2007 59 69.6
2006 58.6 69.2
2005 58.2 68.7
2004 57.8 68.3
2003 57.2 68
2002 56.2 67.6
2001 55.5 67.2
2000 55 66.8
1999 54.5 66.4
1998 52.5 66
1997 53.2 65.6
1996 52.8 65.2
1995 52.1 64.7
1994 51 64.3
1993 51 63.9
1992 46.6 63.4
1991 45.5 62.9
1990 45.1 62.4
1989 44.5 61.8
1988 43.2 61.2
1987 38.8 60.6
1986 38.4 60
1985 32.1 59.2
1984 31.5 58.4
1983 36.5 57.7
1982 36.1 56.9
1981 39.4 56
1980 39.3 55.2
1979 38.8 54.4
1978 40.1 53.6
1977 41.1 52.8
1976 40.5 52
1975 40 51.4
1974 39.5 50.8
1973 39 50.2
1972 38.4 49.7
1971 37.9 49.2
1970 37.5 48.7
1969 37 48.2
1968 36.5 47.7
1967 36 47.1
1966 35.6 46.5
1965 35.1 45.9
1964 34.7 45.3
1963 34.2 44.8
1962 33.8 44.2
1961 33.3 43.7
1960 32.8 41.7
1959 32.3 42.7
1958 31.8 42.2
1957 31.3 41.7
1956 30.8 41.2
1955 30.4 40.8
1954 29.7 40.4
1953 29.5 40
1952 29 39.6
1951 28.6 39.1
1950 28.2 38.8

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

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

Afghanistan and Morocco population clocks and comparison

Population
Afghanistan

Morocco
1x
Year Population
Afghanistan Morocco
2024 42,647,492 38,081,173
2023 41,454,761 37,712,505
2022 40,578,842 37,329,064
2021 40,000,412 36,954,442
2020 39,068,979 36,584,208
2019 37,856,121 36,210,898
2018 36,743,039 35,839,760
2017 35,688,935 35,446,392
2016 34,700,612 35,023,457
2015 33,831,764 34,607,588
2014 32,792,523 34,204,780
2013 31,622,704 33,787,571
2012 30,560,034 33,355,241
2011 29,347,708 32,912,588
2010 28,284,089 32,467,016
2009 27,466,101 32,030,778
2008 26,482,622 31,606,767
2007 25,909,852 31,186,468
2006 25,424,094 30,771,178
2005 24,404,567 30,358,144
2004 23,560,654 29,953,018
2003 22,733,049 29,571,415
2002 21,378,117 29,198,142
2001 20,284,307 28,814,643
2000 20,130,327 28,423,435
1999 19,887,785 28,027,179
1998 19,159,996 27,621,648
1997 18,452,091 27,213,337
1996 17,763,266 26,808,107
1995 17,065,836 26,399,429
1994 16,250,794 26,000,822
1993 14,943,172 25,614,586
1992 13,278,974 25,212,468
1991 12,238,879 24,799,014
1990 12,045,660 24,375,551
1989 11,874,088 23,939,414
1988 11,523,298 23,500,524
1987 11,387,818 23,054,392
1986 11,420,074 22,600,803
1985 11,426,852 22,113,953
1984 11,190,221 21,593,778
1983 10,917,982 21,060,696
1982 10,991,378 20,520,318
1981 11,937,581 19,985,401
1980 13,169,311 19,459,943
1979 13,655,567 18,955,589
1978 13,611,441 18,477,385
1977 13,340,756 18,014,756
1976 13,059,851 17,574,182
1975 12,773,954 17,150,786
1974 12,469,127 16,733,842
1973 12,157,999 16,326,269
1972 11,853,696 15,924,692
1971 11,567,667 15,527,225
1970 11,290,128 15,129,449
1969 11,017,409 14,734,255
1968 10,756,922 14,347,899
1967 10,505,959 13,968,175
1966 10,266,395 13,597,065
1965 10,036,008 13,239,171
1964 9,814,318 12,898,886
1963 9,604,487 12,577,502
1962 9,404,406 12,253,092
1961 9,214,083 11,931,085
1960 9,035,043 11,624,933

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

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

Fertility rates in Afghanistan and Morocco

Fertility rate
Afghanistan

Morocco
1x
Year Fertility rate
Afghanistan Morocco
2023 4.84 2.23
2022 4.93 2.26
2021 5.04 2.29
2020 5.15 2.32
2019 5.24 2.34
2018 5.33 2.35
2017 5.43 2.38
2016 5.54 2.4
2015 5.65 2.41
2014 5.77 2.42
2013 5.88 2.48
2012 5.99 2.54
2011 6.09 2.6
2010 6.2 2.63
2009 6.3 2.62
2008 6.39 2.61
2007 6.51 2.62
2006 6.69 2.61
2005 6.86 2.61
2004 7.02 2.61
2003 7.17 2.61
2002 7.32 2.62
2001 7.45 2.69
2000 7.57 2.77
1999 7.64 2.88
1998 7.69 3.04
1997 7.73 3.15
1996 7.76 3.23
1995 7.77 3.3
1994 7.77 3.41
1993 7.76 3.55
1992 7.7 3.76
1991 7.63 3.95
1990 7.58 4.06
1989 7.56 4.22
1988 7.55 4.39
1987 7.55 4.58
1986 7.55 4.77
1985 7.55 4.99
1984 7.55 5.2
1983 7.57 5.41
1982 7.6 5.6
1981 7.62 5.71
1980 7.64 5.78
1979 7.61 5.85
1978 7.6 5.91
1977 7.59 6.04
1976 7.56 6.18
1975 7.54 6.3
1974 7.53 6.4
1973 7.49 6.48
1972 7.45 6.55
1971 7.43 6.62
1970 7.4 6.68
1969 7.39 6.73
1968 7.36 6.79
1967 7.34 6.85
1966 7.32 6.89
1965 7.31 6.93
1964 7.3 6.97
1963 7.3 7.01
1962 7.29 7.05
1961 7.28 6.97
1960 7.28 6.89

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

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

Afghanistan and Morocco demographics compared

Median age
Afghanistan

Morocco
1x
Year Median age, years
Afghanistan Morocco
2024 18.2 30.5
2023 18 30.2
2022 17.8 29.9
2021 17.6 29.5
2020 17.5 29.2
2019 17.3 28.9
2018 17.1 28.5
2017 17 28.2
2016 16.8 27.8
2015 16.6 27.5
2014 16.4 27.1
2013 16.2 26.7
2012 16 26.4
2011 15.9 26.1
2010 15.7 25.7
2009 15.5 25.4
2008 15.3 25
2007 15.2 24.7
2006 15.1 24.3
2005 15 24
2004 14.9 23.7
2003 14.9 23.4
2002 14.9 23.1
2001 14.9 22.8
2000 15 22.5
1999 15.1 22.2
1998 15.2 21.9
1997 15.3 21.6
1996 15.5 21.3
1995 15.6 21
1994 15.7 20.6
1993 15.8 20.3
1992 15.9 20
1991 16 19.7
1990 16.1 19.4
1989 16.1 19.2
1988 16.2 18.9
1987 16.3 18.7
1986 16.3 18.5
1985 16.4 18.3
1984 16.5 18.1
1983 16.6 18
1982 16.7 17.8
1981 16.8 17.7
1980 16.9 17.6
1979 17 17.4
1978 17.2 17.3
1977 17.3 17.2
1976 17.4 17.1
1975 17.5 16.9
1974 17.6 16.9
1973 17.7 16.8
1972 17.8 16.7
1971 17.9 16.7
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 17
1963 18.7 17.2
1962 18.8 17.4
1961 18.9 17.6
1960 18.9 17.9

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Afghanistan Morocco
GNI, Atlas method
$15.5B
2023
$149B
2024
Government expenditure, % of GDP
19.4%
2024
33%
2024
Education expenditure, % of GDP
4.34%
2017
6.02%
2023
Military expenditure, % of GDP
1.83%
2021
3.52%
2024
Armed forces personnel
165,000
2020
246,000
2020
Deficit/surplus, % of GDP
-0.54%
2024
-3.92%
2024
Unemployment rate
5.68%
2021
11.8%
2022
Services, % of GDP
46.4%
2023
52.7%
2024
Industry, % of GDP
13.4%
2023
25.6%
2024
Economic freedom index
53
2021
61.8
2026
Income share by richest 10% n/a
31.9%
2013
Income share by poorest 10% n/a
2.7%
2013
Number of billionaires n/a
3
2025
Percentage of billionaires n/a
0.00001%
2025
Listed domestic companies n/a
76
2024
Market capitalization of domestic companies n/a
$74.5B
2024
Total reserves including gold
$9.75B
2020
$37.1B
2024
Personal remittances received
$320M
2024
$12.5B
2024
International tourist arrivals n/a
2,802,000
2020
International tourism as share of exports
5.08%
2020
12%
2020
Banked people share
9.65%
2021
44.4%
2024

Energy

Afghanistan Morocco
Energy use, kg of oil equivalent per capita n/a
601 kg
2023
GDP PPP per kg equivalent of energy use n/a
$16.7
2023
Carbon dioxide (CO2) emissions
12.1 megatons
2024
70 megatons
2024
CO2 emissions per capita
0.28 tons
2024
1.84 tons
2024
Fossil fuel energy use share n/a
90.1%
2022
Renewable energy use share
20%
2022
10.9%
2021
Alternative and nuclear energy use share n/a
4.92%
2023
Net energy imports use share n/a
93.6%
2023
Electric power consumption per capita n/a
997 kWh
2023
Renewable electricity output share
78.2%
2021
19.3%
2021
Hydroelectric share
71.7%
2021
1.18%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
85.3%
2023
100%
2023

Society

Afghanistan Morocco
% of world population
0.52%
2024
0.47%
2024
Annual migration change
-74,404
2025
-56,254
2025
Urban population
25.7%
2024
62.8%
2024
Male:Female ratio
50.5:49.5
2024
50.4:49.6
2024
Average male height
5.53 ft
2025
5.79 ft
2025
Average female height
5.12 ft
2025
5.29 ft
2025
Quality of life index
15.5
2026
51.1
2026
Corruption Perceptions Index
16
2025
39
2025
Higher education index
20
2026
54
2026
Homicides per 100K people
4.02
2021
1.69
2024
Road traffic mortality per 100K people
15.9
2019
17
2019
Visa free countries
36
2025
83
2025
Adult literacy rate
37.3%
2021
77.3%
2022
English speaking
6%
2023
18.4%
2023
People using the Internet
17.7%
2023
91%
2023

Health

Afghanistan Morocco
Government health expenditure per capita
$59.1
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$45.6
2023
$86.5
2023
Life expectancy
66.8 years
2026
75.9 years
2026
Foreign aid share of health expenditure
21.2%
2023
0.62%
2023
Physicians per 1,000 people
0.32
2023
0.74
2021
Age at first childbirth
19.9 years
2025
n/a
Maternal mortality per 100K births
521
2023
70
2023
Mortality rate before reaching 5 years of age
55.5
2023
16.6
2023
Obesity rate
19.6%
2022
22.5%
2022
Diabetes prevalence
11.7%
2024
11.9%
2024
Air quality index
3
2026
75
2026
Tobacco use prevalence
22.7%
2022
13%
2022
Pure alcohol consumption per capita
0.01 liters
2020
0.5 liters
2020

Territory

Afghanistan Morocco
% of world land
0.44%
2026
0.3%
2026
Land area per capita
5,905 sq mi
2024
4,525 sq mi
2024
Agricultural land area
147,167 sq mi
2026
115,013 sq mi
2026
Forest area
4,666 sq mi
2026
22,293 sq mi
2026
Roads length
21,688 mi
2021
35,626 mi
2022

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.