Skip to content

Afghanistan vs Spain statistics compared

Updated on by Georank team

Afghanistan has a population of 42.6M (ranked 36/197), compared with 48.8M in Spain (ranked 32/197). Afghanistan's land area is 251,827 sq mi versus 192,934 sq mi for Spain (ranked 40th vs. 51st).

By GDP, Afghanistan ranks 137/197 ($17.2B) and Spain ranks 15/197 ($1.73T). By GDP per capita, Afghanistan ranks 196/197 ($414), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Afghanistan Spain
Population
45409324
48806901
Population rank 36/197 32/197
GDP
$17.2B
2023
$1.73T
2024
GDP rank 137/197 15/197
GDP per capita
$414
2023
$35,327
2024
GDP per capita rank 196/197 32/197
GDP per capita, PPP
$2,202
2023
$57,965
2024
Government debt
$1.44B
2023
$1.75T
2024
Debt-to-GDP ratio
8.8%
2024
101.6%
2024
Government debt per person
$34.8
2023
$35,909
2024
Government debt per person rank 185/185 20/185
Average annual personal income after taxes
$1,869
2026
$25,470
2026
Land area 251,827 sq mi 192,934 sq mi
Population density
179 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
4.84
2023
1.12
2023
Median age
18.2 years
2024
46.4 years
2024
Life expectancy
66.8 years
2026
84.1 years
2026

Afghanistan and Spain: Comparison Charts

Afghanistan and Spain economies compared

GDP
Afghanistan

Spain
1x
Year GDP
Afghanistan Spain
2024 - $1,725,671,652,742
2023 $17,152,234,637 $1,619,481,980,720
2022 $14,497,243,872 $1,448,850,658,407
2021 $14,259,995,441 $1,461,244,901,853
2020 $19,955,929,052 $1,289,783,836,971
2019 $18,799,444,490 $1,403,496,387,686
2018 $18,053,222,687 $1,431,642,809,327
2017 $18,753,456,498 $1,321,754,088,819
2016 $18,116,572,395 $1,243,015,667,917
2015 $19,134,221,645 $1,206,164,777,553
2014 $20,497,128,556 $1,380,244,561,362
2013 $20,146,416,758 $1,362,186,923,158
2012 $19,907,329,778 $1,330,994,811,670
2011 $17,805,098,206 $1,487,568,659,241
2010 $15,856,668,556 $1,427,989,078,917
2009 $12,416,152,732 $1,496,587,590,848
2008 $10,109,297,048 $1,636,115,447,613
2007 $9,747,886,187 $1,476,746,276,855
2006 $6,971,758,282 $1,261,846,683,275
2005 $6,203,256,539 $1,154,667,551,776
2004 $5,224,896,719 $1,069,829,382,515
2003 $4,520,946,819 $907,963,217,058
2002 $3,825,701,439 $708,938,227,244
2001 $2,813,571,754 $627,798,682,379
2000 $3,521,418,060 $598,102,854,756
1999 - $634,394,904,387
1998 - $618,731,484,575
1997 - $589,739,772,727
1996 - $642,251,412,058
1995 - $614,170,002,669
1994 - $530,183,651,720
1993 - $524,700,572,624
1992 - $630,465,353,486
1991 - $576,753,902,322
1990 - $536,175,326,477
1989 - $414,460,794,097
1988 - $375,891,716,898
1987 - $318,520,253,335
1986 - $251,141,555,186
1985 - $180,664,322,896
1984 - $171,979,977,230
1983 - $170,829,074,246
1982 - $195,856,752,991
1981 - $202,663,023,968
1980 - $232,600,556,974
1979 - $214,448,666,336
1978 - $160,484,969,618
1977 - $132,354,665,936
1976 - $118,422,534,195
1975 - $114,695,060,870
1974 - $97,204,522,642
1973 - $78,583,355,226
1972 - $59,090,176,029
1971 - $46,586,119,760
1970 - $40,963,715,237
1969 - $37,090,689,288
1968 - $32,394,326,464
1967 - $32,570,905,397
1966 - $29,559,436,183
1965 - $25,479,619,607
1964 - $21,966,876,027
1963 - $19,631,714,760
1962 - $16,609,632,791
1961 - $14,238,126,760
1960 - $12,424,514,014

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

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

Afghanistan and Spain economies compared

GDP per capita
Afghanistan

Spain
1x
Year GDP per capita
Afghanistan Spain
2024 - $35,327
2023 $414 $33,493
2022 $357 $30,319
2021 $356 $30,799
2020 $511 $27,234
2019 $497 $29,787
2018 $491 $30,602
2017 $525 $28,381
2016 $522 $26,756
2015 $566 $25,982
2014 $625 $29,708
2013 $637 $29,229
2012 $651 $28,456
2011 $607 $31,825
2010 $561 $30,659
2009 $452 $32,280
2008 $382 $35,603
2007 $376 $32,652
2006 $274.2 $28,422
2005 $254.2 $26,451
2004 $221.8 $24,925
2003 $198.9 $21,522
2002 $179 $17,111
2001 $138.7 $15,368
2000 $174.9 $14,743
1999 - $15,708
1998 - $15,382
1997 - $14,722
1996 - $16,101
1995 - $15,461
1994 - $13,406
1993 - $13,330
1992 - $16,101
1991 - $14,801
1990 - $13,795
1989 - $10,674
1988 - $9,696
1987 - $8,234
1986 - $6,509
1985 - $4,696
1984 - $4,487
1983 - $4,475
1982 - $5,156
1981 - $5,367
1980 - $6,204
1979 - $5,766
1978 - $4,353
1977 - $3,625
1976 - $3,277
1975 - $3,208
1974 - $2,748
1973 - $2,246
1972 - $1,708
1971 - $1,361
1970 - $1,211
1969 - $1,109
1968 - $978
1967 - $997
1966 - $916
1965 - $797
1964 - $695
1963 - $627
1962 - $535
1961 - $463
1960 - $408

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

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

Afghanistan vs. Spain life expectancy calculator

Life expectancy
Afghanistan

Spain
1x
Year Life expectancy, years
Afghanistan Spain
2026 66.8 84.1
2025 66.5 84
2024 66.3 83.8
2023 66 83.7
2022 65.6 82.4
2021 60.4 83
2020 61.5 82.2
2019 62.9 83.5
2018 62.4 83.1
2017 62.4 83
2016 62.6 83
2015 62.3 82.6
2014 62.3 82.8
2013 62.2 82.7
2012 61.7 82.2
2011 61.3 82.2
2010 60.7 82
2009 60.2 81.6
2008 59.7 81.3
2007 59 81
2006 58.6 81
2005 58.2 80.3
2004 57.8 80.3
2003 57.2 79.7
2002 56.2 79.8
2001 55.5 79.7
2000 55 79.4
1999 54.5 78.9
1998 52.5 78.9
1997 53.2 78.9
1996 52.8 78.3
1995 52.1 78.2
1994 51 78.1
1993 51 77.7
1992 46.6 77.6
1991 45.5 77.1
1990 45.1 77
1989 44.5 77
1988 43.2 76.9
1987 38.8 77
1986 38.4 76.7
1985 32.1 76.4
1984 31.5 76.5
1983 36.5 76.1
1982 36.1 76.3
1981 39.4 75.7
1980 39.3 75.5
1979 38.8 75
1978 40.1 74.5
1977 41.1 74.3
1976 40.5 73.8
1975 40 73.5
1974 39.5 73.1
1973 39 72.7
1972 38.4 73
1971 37.9 71.7
1970 37.5 72.1
1969 37 71.1
1968 36.5 71.7
1967 36 71.3
1966 35.6 71.2
1965 35.1 70.9
1964 34.7 70.5
1963 34.2 69.8
1962 33.8 69.6
1961 33.3 69.6
1960 32.8 69.2
1959 32.3 68.7
1958 31.8 68.8
1957 31.3 66.6
1956 30.8 66.8
1955 30.4 66.7
1954 29.7 66.9
1953 29.5 65.7
1952 29 64.8
1951 28.6 61.5
1950 28.2 61.8

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

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

Afghanistan and Spain population clocks and comparison

Population
Afghanistan

Spain
1x
Year Population
Afghanistan Spain
2024 42,647,492 48,848,840
2023 41,454,761 48,352,528
2022 40,578,842 47,786,102
2021 40,000,412 47,443,821
2020 39,068,979 47,359,424
2019 37,856,121 47,118,501
2018 36,743,039 46,782,011
2017 35,688,935 46,571,232
2016 34,700,612 46,458,139
2015 33,831,764 46,422,303
2014 32,792,523 46,460,733
2013 31,622,704 46,604,197
2012 30,560,034 46,773,055
2011 29,347,708 46,742,697
2010 28,284,089 46,576,897
2009 27,466,101 46,362,946
2008 26,482,622 45,954,106
2007 25,909,852 45,226,803
2006 25,424,094 44,397,319
2005 24,404,567 43,653,155
2004 23,560,654 42,921,895
2003 22,733,049 42,187,645
2002 21,378,117 41,431,558
2001 20,284,307 40,850,412
2000 20,130,327 40,567,864
1999 19,887,785 40,386,875
1998 19,159,996 40,223,509
1997 18,452,091 40,057,389
1996 17,763,266 39,889,852
1995 17,065,836 39,724,050
1994 16,250,794 39,549,108
1993 14,943,172 39,361,262
1992 13,278,974 39,157,685
1991 12,238,879 38,966,376
1990 12,045,660 38,867,322
1989 11,874,088 38,827,764
1988 11,523,298 38,766,939
1987 11,387,818 38,684,815
1986 11,420,074 38,584,624
1985 11,426,852 38,469,512
1984 11,190,221 38,330,364
1983 10,917,982 38,171,525
1982 10,991,378 37,986,012
1981 11,937,581 37,758,631
1980 13,169,311 37,491,165
1979 13,655,567 37,191,330
1978 13,611,441 36,864,898
1977 13,340,756 36,511,638
1976 13,059,851 36,137,812
1975 12,773,954 35,757,900
1974 12,469,127 35,373,335
1973 12,157,999 34,988,947
1972 11,853,696 34,604,469
1971 11,567,667 34,224,490
1970 11,290,128 33,814,531
1969 11,017,409 33,441,054
1968 10,756,922 33,113,134
1967 10,505,959 32,682,947
1966 10,266,395 32,283,194
1965 10,036,008 31,954,292
1964 9,814,318 31,609,195
1963 9,604,487 31,296,651
1962 9,404,406 31,023,366
1961 9,214,083 30,739,250
1960 9,035,043 30,455,000

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

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

Fertility rates in Afghanistan and Spain

Fertility rate
Afghanistan

Spain
1x
Year Fertility rate
Afghanistan Spain
2023 4.84 1.12
2022 4.93 1.16
2021 5.04 1.18
2020 5.15 1.18
2019 5.24 1.23
2018 5.33 1.26
2017 5.43 1.31
2016 5.54 1.33
2015 5.65 1.33
2014 5.77 1.32
2013 5.88 1.27
2012 5.99 1.32
2011 6.09 1.34
2010 6.2 1.37
2009 6.3 1.38
2008 6.39 1.45
2007 6.51 1.38
2006 6.69 1.36
2005 6.86 1.33
2004 7.02 1.31
2003 7.17 1.3
2002 7.32 1.25
2001 7.45 1.23
2000 7.57 1.22
1999 7.64 1.17
1998 7.69 1.13
1997 7.73 1.15
1996 7.76 1.14
1995 7.77 1.16
1994 7.77 1.19
1993 7.76 1.26
1992 7.7 1.31
1991 7.63 1.33
1990 7.58 1.36
1989 7.56 1.4
1988 7.55 1.45
1987 7.55 1.49
1986 7.55 1.56
1985 7.55 1.64
1984 7.55 1.73
1983 7.57 1.8
1982 7.6 1.94
1981 7.62 2.04
1980 7.64 2.22
1979 7.61 2.37
1978 7.6 2.54
1977 7.59 2.65
1976 7.56 2.77
1975 7.54 2.77
1974 7.53 2.88
1973 7.49 2.84
1972 7.45 2.87
1971 7.43 2.9
1970 7.4 2.84
1969 7.39 2.86
1968 7.36 2.87
1967 7.34 2.94
1966 7.32 2.91
1965 7.31 2.94
1964 7.3 3.01
1963 7.3 2.88
1962 7.29 2.8
1961 7.28 2.77
1960 7.28 2.86

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

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

Afghanistan and Spain demographics compared

Median age
Afghanistan

Spain
1x
Year Median age, years
Afghanistan Spain
2024 18.2 46.4
2023 18 45.9
2022 17.8 45.4
2021 17.6 44.9
2020 17.5 44.5
2019 17.3 44.1
2018 17.1 43.8
2017 17 43.5
2016 16.8 43.1
2015 16.6 42.7
2014 16.4 42.2
2013 16.2 41.7
2012 16 41.1
2011 15.9 40.6
2010 15.7 40.2
2009 15.5 39.8
2008 15.3 39.4
2007 15.2 39.2
2006 15.1 39
2005 15 38.8
2004 14.9 38.5
2003 14.9 38.3
2002 14.9 38.1
2001 14.9 37.8
2000 15 37.4
1999 15.1 37
1998 15.2 36.6
1997 15.3 36.2
1996 15.5 35.7
1995 15.6 35.3
1994 15.7 34.9
1993 15.8 34.6
1992 15.9 34.2
1991 16 33.9
1990 16.1 33.6
1989 16.1 33.2
1988 16.2 32.9
1987 16.3 32.5
1986 16.3 32.2
1985 16.4 31.9
1984 16.5 31.6
1983 16.6 31.4
1982 16.7 31.1
1981 16.8 30.9
1980 16.9 30.7
1979 17 30.6
1978 17.2 30.4
1977 17.3 30.2
1976 17.4 30.1
1975 17.5 30
1974 17.6 30
1973 17.7 30
1972 17.8 30
1971 17.9 30.1
1970 18.1 30.1
1969 18.2 30.2
1968 18.3 30.4
1967 18.4 30.4
1966 18.5 30.3
1965 18.6 30.2
1964 18.6 30.1
1963 18.7 29.9
1962 18.8 29.7
1961 18.9 29.6
1960 18.9 29.4

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Afghanistan Spain
GNI, Atlas method
$15.5B
2023
$1.64T
2024
Government expenditure, % of GDP
19.4%
2024
45.3%
2024
Education expenditure, % of GDP
4.34%
2017
4.59%
2022
Military expenditure, % of GDP
1.83%
2021
1.43%
2024
Armed forces personnel
165,000
2020
199,000
2020
Deficit/surplus, % of GDP
-0.54%
2024
-3.15%
2024
Unemployment rate
5.68%
2021
11.3%
2024
Services, % of GDP
46.4%
2023
68.9%
2024
Industry, % of GDP
13.4%
2023
19.5%
2024
Economic freedom index
53
2021
66.8
2026
Income share by richest 10% n/a
24.5%
2023
Income share by poorest 10% n/a
2.2%
2023
Number of millionaires n/a
1,202,000
2025
Percentage of millionaires n/a
3.01%
2025
Number of billionaires n/a
34
2025
Percentage of billionaires n/a
0.00009%
2025
Listed domestic companies n/a
277
2024
Market capitalization of domestic companies n/a
$754B
2024
Total reserves including gold
$9.75B
2020
$108B
2024
Personal remittances received
$320M
2024
$6.33B
2024
International tourist arrivals n/a
36,410,000
2020
International tourism as share of exports
5.08%
2020
19.8%
1998
Banked people share
9.65%
2021
98.4%
2024

Energy

Afghanistan Spain
Energy use, kg of oil equivalent per capita n/a
2,294 kg
2023
GDP PPP per kg equivalent of energy use n/a
$24.3
2023
Carbon dioxide (CO2) emissions
12.1 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
0.28 tons
2024
4.51 tons
2024
Fossil fuel energy use share n/a
68.5%
2023
Renewable energy use share
20%
2022
19%
2021
Alternative and nuclear energy use share n/a
25.2%
2023
Net energy imports use share n/a
77%
2023
Electric power consumption per capita n/a
5,118 kWh
2023
Renewable electricity output share
78.2%
2021
47%
2021
Hydroelectric share
71.7%
2021
10.9%
2023
Nuclear share
0%
2021
19.9%
2023
Electricity access
85.3%
2023
100%
2023

Society

Afghanistan Spain
% of world population
0.52%
2024
0.6%
2024
Annual migration change
-74,404
2025
+96,630
2025
Urban population
25.7%
2024
80.3%
2024
Male:Female ratio
50.5:49.5
2024
49.1:50.9
2024
Average male height
5.53 ft
2025
5.78 ft
2025
Average female height
5.12 ft
2025
5.31 ft
2025
Quality of life index
15.5
2026
82.5
2026
Corruption Perceptions Index
16
2025
55
2025
Higher education index
20
2026
90
2026
Homicides per 100K people
4.02
2021
0.69
2023
Road traffic mortality per 100K people
15.9
2019
3.9
2019
Visa free countries
36
2025
173
2025
Adult literacy rate
37.3%
2021
99.7%
2021
English speaking
6%
2023
22%
2023
People using the Internet
17.7%
2023
95.8%
2024

Health

Afghanistan Spain
Government health expenditure per capita
$59.1
2023
$3,107
2023
Out-of-pocket health expenditure per capita
$45.6
2023
$648
2023
Life expectancy
66.8 years
2026
84.1 years
2026
Foreign aid share of health expenditure
21.2%
2023
n/a
Physicians per 1,000 people
0.32
2023
4.29
2022
Age at first childbirth
19.9 years
2025
31.5 years
2023
Maternal mortality per 100K births
521
2023
3
2023
Mortality rate before reaching 5 years of age
55.5
2023
3.1
2023
Obesity rate
19.6%
2022
16.2%
2022
Diabetes prevalence
11.7%
2024
9.7%
2024
Air quality index
3
2026
77
2026
Tobacco use prevalence
22.7%
2022
28.4%
2022
Pure alcohol consumption per capita
0.01 liters
2020
9.16 liters
2020

Territory

Afghanistan Spain
% of world land
0.44%
2026
0.34%
2026
Land area per capita
5,905 sq mi
2024
3,950 sq mi
2024
Agricultural land area
147,167 sq mi
2026
95,648 sq mi
2026
Forest area
4,666 sq mi
2026
71,757 sq mi
2026
Roads length
21,688 mi
2021
424,505 mi
2020

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)
  12. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)

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.