Skip to content

Libya vs Spain statistics compared

Updated on by Georank team

Libya has a population of 7.38M (ranked 105/197), compared with 48.8M in Spain (ranked 32/197). Libya's land area is 679,362 sq mi versus 192,934 sq mi for Spain (ranked 16th vs. 51st).

By GDP, Libya ranks 95/197 ($48.5B) and Spain ranks 15/197 ($1.73T). By GDP per capita, Libya ranks 107/197 ($6,569), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Libya Spain
Population
7559873
48806901
Population rank 105/197 32/197
GDP
$48.5B
2024
$1.73T
2024
GDP rank 95/197 15/197
GDP per capita
$6,569
2024
$35,327
2024
GDP per capita rank 107/197 32/197
GDP per capita, PPP
$14,304
2024
$57,965
2024
Government debt n/a
$1.75T
2024
Debt-to-GDP ratio n/a
101.6%
2024
Government debt per person n/a
$35,909
2024
Government debt per person rank n/a 20/185
Average annual personal income after taxes
$3,172
2026
$25,470
2026
Land area 679,362 sq mi 192,934 sq mi
Population density
11.1 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
2.36
2023
1.12
2023
Median age
28.5 years
2024
46.4 years
2024
Life expectancy
75.2 years
2026
84.1 years
2026

Libya and Spain: Comparison Charts

Libya and Spain economies compared

GDP
Libya

Spain
1x
Year GDP
Libya Spain
2024 $48,487,151,215 $1,725,671,652,742
2023 $44,027,664,915 $1,619,481,980,720
2022 $43,246,297,922 $1,448,850,658,407
2021 $35,217,995,647 $1,461,244,901,853
2020 $46,854,285,441 $1,289,783,836,971
2019 $69,254,496,472 $1,403,496,387,686
2018 $76,686,029,772 $1,431,642,809,327
2017 $67,157,452,182 $1,321,754,088,819
2016 $49,912,073,701 $1,243,015,667,917
2015 $48,717,501,321 $1,206,164,777,553
2014 $57,372,355,592 $1,380,244,561,362
2013 $75,351,107,029 $1,362,186,923,158
2012 $92,540,938,129 $1,330,994,811,670
2011 $48,169,263,294 $1,487,568,659,241
2010 $75,380,825,062 $1,427,989,078,917
2009 $60,808,562,033 $1,496,587,590,848
2008 $86,710,767,415 $1,636,115,447,613
2007 $68,032,978,391 $1,476,746,276,855
2006 $60,094,231,607 $1,261,846,683,275
2005 $47,334,691,241 $1,154,667,551,776
2004 $33,122,307,692 $1,069,829,382,515
2003 $26,265,625,000 $907,963,217,058
2002 $20,481,889,764 $708,938,227,244
2001 $34,112,093,927 $627,798,682,379
2000 $38,270,954,138 $598,102,854,756
1999 $35,975,860,857 $634,394,904,387
1998 $27,251,301,398 $618,731,484,575
1997 $30,700,897,875 $589,739,772,727
1996 $27,884,615,385 $642,251,412,058
1995 $25,541,379,187 $614,170,002,669
1994 $28,610,549,763 $530,183,651,720
1993 $30,660,051,911 $524,700,572,624
1992 $33,887,047,909 $630,465,353,486
1991 $31,991,821,265 $576,753,902,322
1990 $28,904,183,602 $536,175,326,477
1989 $25,156,707,899 $414,460,794,097
1988 $24,308,959,591 $375,891,716,898
1987 $26,697,659,335 $318,520,253,335
1986 $24,180,400,959 $251,141,555,186
1985 $31,530,566,324 $180,664,322,896
1984 $29,476,109,153 $171,979,977,230
1983 $33,200,520,140 $170,829,074,246
1982 $33,760,146,991 $195,856,752,991
1981 $36,374,353,880 $202,663,023,968
1980 $40,953,924,949 $232,600,556,974
1979 $30,536,429,497 $214,448,666,336
1978 $22,136,422,643 $160,484,969,618
1977 $22,428,297,108 $132,354,665,936
1976 $19,096,943,017 $118,422,534,195
1975 $14,710,912,458 $114,695,060,870
1974 $15,112,543,717 $97,204,522,642
1973 $8,625,889,430 $78,583,355,226
1972 $6,299,395,544 $59,090,176,029
1971 $5,260,185,125 $46,586,119,760
1970 $4,601,649,451 $40,963,715,237
1969 $4,380,987,481 $37,090,689,288
1968 $3,850,623,095 $32,394,326,464
1967 $2,726,986,913 $32,570,905,397
1966 $2,312,438,536 $29,559,436,183
1965 $1,804,979,680 $25,479,619,607
1964 $1,341,395,421 $21,966,876,027
1963 $892,327,911 $19,631,714,760
1962 $619,725,785 $16,609,632,791
1961 $443,905,612 $14,238,126,760
1960 $401,644,249 $12,424,514,014

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

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

Libya and Spain economies compared

GDP per capita
Libya

Spain
1x
Year GDP per capita
Libya Spain
2024 $6,569 $35,327
2023 $6,027 $33,493
2022 $5,987 $30,319
2021 $4,936 $30,799
2020 $6,650 $27,234
2019 $9,963 $29,787
2018 $11,197 $30,602
2017 $9,966 $28,381
2016 $7,526 $26,756
2015 $7,458 $25,982
2014 $8,926 $29,708
2013 $11,952 $29,229
2012 $14,976 $28,456
2011 $7,594 $31,825
2010 $11,601 $30,659
2009 $9,551 $32,280
2008 $13,906 $35,603
2007 $11,145 $32,652
2006 $10,049 $28,422
2005 $8,079 $26,451
2004 $5,774 $24,925
2003 $4,674 $21,522
2002 $3,718 $17,111
2001 $6,313 $15,368
2000 $7,214 $14,743
1999 $6,895 $15,708
1998 $5,301 $15,382
1997 $6,062 $14,722
1996 $5,591 $16,101
1995 $5,205 $15,461
1994 $5,933 $13,406
1993 $6,478 $13,330
1992 $7,303 $16,101
1991 $7,040 $14,801
1990 $6,502 $13,795
1989 $5,793 $10,674
1988 $5,736 $9,696
1987 $6,465 $8,234
1986 $6,019 $6,509
1985 $8,087 $4,696
1984 $7,811 $4,487
1983 $8,927 $4,475
1982 $9,064 $5,156
1981 $10,044 $5,367
1980 $11,960 $6,204
1979 $9,443 $5,766
1978 $7,252 $4,353
1977 $7,783 $3,625
1976 $7,018 $3,277
1975 $5,721 $3,208
1974 $6,214 $2,748
1973 $3,727 $2,246
1972 $2,830 $1,708
1971 $2,443 $1,361
1970 $2,210 $1,211
1969 $2,175 $1,109
1968 $1,972 $978
1967 $1,437 $997
1966 $1,251 $916
1965 $1,001 $797
1964 $765 $695
1963 $528 $627
1962 $382 $535
1961 $285.3 $463
1960 $269 $408

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

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

Libya vs. Spain life expectancy calculator

Life expectancy
Libya

Spain
1x
Year Life expectancy, years
Libya Spain
2026 75.2 84.1
2025 73.2 84
2024 71.1 83.8
2023 69.3 83.7
2022 74.5 82.4
2021 72.1 83
2020 72.4 82.2
2019 72.9 83.5
2018 73.2 83.1
2017 72.7 83
2016 71.8 83
2015 71.6 82.6
2014 71.3 82.8
2013 72.3 82.7
2012 72.2 82.2
2011 69.9 82.2
2010 72.2 82
2009 72.1 81.6
2008 71.9 81.3
2007 71.8 81
2006 71.6 81
2005 71.4 80.3
2004 71.2 80.3
2003 71 79.7
2002 70.8 79.8
2001 70.7 79.7
2000 70.5 79.4
1999 70.6 78.9
1998 70.7 78.9
1997 70.7 78.9
1996 70.7 78.3
1995 70.6 78.2
1994 70.5 78.1
1993 70.2 77.7
1992 70 77.6
1991 69.6 77.1
1990 69.3 77
1989 69 77
1988 68.6 76.9
1987 68.3 77
1986 67.8 76.7
1985 67.3 76.4
1984 66.7 76.5
1983 66.3 76.1
1982 65.8 76.3
1981 65.3 75.7
1980 64.8 75.5
1979 64.3 75
1978 63.8 74.5
1977 63.1 74.3
1976 62.4 73.8
1975 61.6 73.5
1974 60.7 73.1
1973 59.7 72.7
1972 58.7 73
1971 57.6 71.7
1970 56.4 72.1
1969 55.2 71.1
1968 53.8 71.7
1967 52.5 71.3
1966 50.9 71.2
1965 49.3 70.9
1964 47.7 70.5
1963 45.6 69.8
1962 44.1 69.6
1961 42.4 69.6
1960 40.8 69.2
1959 39.3 68.7
1958 38 68.8
1957 36.9 66.6
1956 36 66.8
1955 35.2 66.7
1954 34.7 66.9
1953 34.2 65.7
1952 33.8 64.8
1951 33.5 61.5
1950 33.1 61.8

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

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

Libya and Spain population clocks and comparison

Population
Libya

Spain
1x
Year Population
Libya Spain
2024 7,381,023 48,848,840
2023 7,305,659 48,352,528
2022 7,223,805 47,786,102
2021 7,135,175 47,443,821
2020 7,045,399 47,359,424
2019 6,951,033 47,118,501
2018 6,849,055 46,782,011
2017 6,738,770 46,571,232
2016 6,632,126 46,458,139
2015 6,531,819 46,422,303
2014 6,427,252 46,460,733
2013 6,304,628 46,604,197
2012 6,179,328 46,773,055
2011 6,343,203 46,742,697
2010 6,497,839 46,576,897
2009 6,366,686 46,362,946
2008 6,235,430 45,954,106
2007 6,104,380 45,226,803
2006 5,980,211 44,397,319
2005 5,858,798 43,653,155
2004 5,736,693 42,921,895
2003 5,619,398 42,187,645
2002 5,508,410 41,431,558
2001 5,403,639 40,850,412
2000 5,305,021 40,567,864
1999 5,218,038 40,386,875
1998 5,140,704 40,223,509
1997 5,064,639 40,057,389
1996 4,987,393 39,889,852
1995 4,906,843 39,724,050
1994 4,822,037 39,549,108
1993 4,733,045 39,361,262
1992 4,640,352 39,157,685
1991 4,544,400 38,966,376
1990 4,445,239 38,867,322
1989 4,342,920 38,827,764
1988 4,237,755 38,766,939
1987 4,129,739 38,684,815
1986 4,017,403 38,584,624
1985 3,898,745 38,469,512
1984 3,773,633 38,330,364
1983 3,718,961 38,171,525
1982 3,724,765 37,986,012
1981 3,621,486 37,758,631
1980 3,424,378 37,491,165
1979 3,233,846 37,191,330
1978 3,052,526 36,864,898
1977 2,881,533 36,511,638
1976 2,721,237 36,137,812
1975 2,571,556 35,757,900
1974 2,432,211 35,373,335
1973 2,314,193 34,988,947
1972 2,226,091 34,604,469
1971 2,153,534 34,224,490
1970 2,082,589 33,814,531
1969 2,014,293 33,441,054
1968 1,952,781 33,113,134
1967 1,898,199 32,682,947
1966 1,849,063 32,283,194
1965 1,804,015 31,954,292
1964 1,753,691 31,609,195
1963 1,690,457 31,296,651
1962 1,621,960 31,023,366
1961 1,555,699 30,739,250
1960 1,492,890 30,455,000

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

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

Fertility rates in Libya and Spain

Fertility rate
Libya

Spain
1x
Year Fertility rate
Libya Spain
2023 2.36 1.12
2022 2.4 1.16
2021 2.46 1.18
2020 2.51 1.18
2019 2.54 1.23
2018 2.58 1.26
2017 2.63 1.31
2016 2.67 1.33
2015 2.71 1.33
2014 2.75 1.32
2013 2.72 1.27
2012 2.68 1.32
2011 2.65 1.34
2010 2.6 1.37
2009 2.56 1.38
2008 2.6 1.45
2007 2.65 1.38
2006 2.7 1.36
2005 2.77 1.33
2004 2.77 1.31
2003 2.8 1.3
2002 2.83 1.25
2001 2.87 1.23
2000 2.91 1.22
1999 2.97 1.17
1998 3.04 1.13
1997 3.13 1.15
1996 3.26 1.14
1995 3.44 1.16
1994 3.65 1.19
1993 3.88 1.26
1992 4.16 1.31
1991 4.46 1.33
1990 4.78 1.36
1989 5.09 1.4
1988 5.41 1.45
1987 5.72 1.49
1986 6.02 1.56
1985 6.33 1.64
1984 6.62 1.73
1983 6.91 1.8
1982 7.16 1.94
1981 7.37 2.04
1980 7.54 2.22
1979 7.68 2.37
1978 7.79 2.54
1977 7.87 2.65
1976 7.93 2.77
1975 7.98 2.77
1974 8.02 2.88
1973 8.05 2.84
1972 8.07 2.87
1971 8.1 2.9
1970 8.05 2.84
1969 8.01 2.86
1968 7.97 2.87
1967 7.93 2.94
1966 7.89 2.91
1965 7.82 2.94
1964 7.75 3.01
1963 7.69 2.88
1962 7.61 2.8
1961 7.56 2.77
1960 7.51 2.86

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

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

Libya and Spain demographics compared

Median age
Libya

Spain
1x
Year Median age, years
Libya Spain
2024 28.5 46.4
2023 28.2 45.9
2022 28 45.4
2021 27.7 44.9
2020 27.5 44.5
2019 27.2 44.1
2018 27 43.8
2017 26.8 43.5
2016 26.6 43.1
2015 26.4 42.7
2014 26.2 42.2
2013 25.9 41.7
2012 25.7 41.1
2011 25.5 40.6
2010 25.3 40.2
2009 25 39.8
2008 24.6 39.4
2007 24.2 39.2
2006 23.8 39
2005 23.6 38.8
2004 23.4 38.5
2003 23.2 38.3
2002 23.1 38.1
2001 22.9 37.8
2000 22.7 37.4
1999 22.4 37
1998 22 36.6
1997 21.5 36.2
1996 21.1 35.7
1995 20.6 35.3
1994 20.1 34.9
1993 19.7 34.6
1992 19.3 34.2
1991 18.9 33.9
1990 18.6 33.6
1989 18.2 33.2
1988 17.9 32.9
1987 17.6 32.5
1986 17.3 32.2
1985 17.1 31.9
1984 16.8 31.6
1983 16.5 31.4
1982 16.3 31.1
1981 16.1 30.9
1980 16 30.7
1979 15.9 30.6
1978 15.9 30.4
1977 15.8 30.2
1976 15.6 30.1
1975 15.5 30
1974 15.3 30
1973 14.9 30
1972 14.7 30
1971 14.7 30.1
1970 14.7 30.1
1969 14.7 30.2
1968 14.9 30.4
1967 15.3 30.4
1966 15.9 30.3
1965 16.7 30.2
1964 17.2 30.1
1963 17.5 29.9
1962 17.9 29.7
1961 18.2 29.6
1960 18.5 29.4

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Libya Spain
GNI, Atlas method
$50.9B
2024
$1.64T
2024
Government expenditure, % of GDP
94.8%
2024
45.3%
2024
Education expenditure, % of GDP
2.26%
1999
4.59%
2022
Military expenditure, % of GDP
5.29%
2023
1.43%
2024
Armed forces personnel
0
2020
199,000
2020
Deficit/surplus, % of GDP
-25.1%
2024
-3.15%
2024
Unemployment rate
30%
2004
11.3%
2024
Services, % of GDP
28.3%
2024
68.9%
2024
Industry, % of GDP
73.5%
2024
19.5%
2024
Economic freedom index
35.9
2012
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
$92.9B
2024
$108B
2024
Personal remittances received
$16M
2006
$6.33B
2024
International tourist arrivals
760,000
2008
36,410,000
2020
International tourism as share of exports
0.34%
2010
19.8%
1998
Banked people share
33.1%
2024
98.4%
2024

Energy

Libya Spain
Energy use, kg of oil equivalent per capita
2,539 kg
2022
2,294 kg
2023
GDP PPP per kg equivalent of energy use
$4.83
2022
$24.3
2023
Carbon dioxide (CO2) emissions
64 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
8.66 tons
2024
4.51 tons
2024
Fossil fuel energy use share
96.3%
2022
68.5%
2023
Renewable energy use share
3.1%
2021
19%
2021
Alternative and nuclear energy use share
0%
2022
25.2%
2023
Net energy imports use share
-249.7%
2022
77%
2023
Electric power consumption per capita
3,979 kWh
2022
5,118 kWh
2023
Renewable electricity output share
0.02%
2021
47%
2021
Hydroelectric share
0%
2021
10.9%
2023
Nuclear share
0%
2021
19.9%
2023
Electricity access
73.2%
2023
100%
2023

Society

Libya Spain
% of world population
0.09%
2024
0.6%
2024
Annual migration change
-172
2025
+96,630
2025
Urban population
87.9%
2024
80.3%
2024
Male:Female ratio
50.8:49.2
2024
49.1:50.9
2024
Average male height
5.79 ft
2025
5.78 ft
2025
Average female height
5.33 ft
2025
5.31 ft
2025
Quality of life index
30
2026
82.5
2026
Corruption Perceptions Index
13
2025
55
2025
Higher education index
29
2026
90
2026
Homicides per 100K people
2.5
2015
0.69
2023
Road traffic mortality per 100K people
21.3
2019
3.9
2019
Visa free countries
51
2025
173
2025
Adult literacy rate
76.5%
1994
99.7%
2021
English speaking
2%
2025
22%
2023
People using the Internet
88.5%
2023
95.8%
2024

Health

Libya Spain
Government health expenditure per capita
$470
2023
$3,107
2023
Out-of-pocket health expenditure per capita
$90.2
2023
$648
2023
Life expectancy
75.2 years
2026
84.1 years
2026
Foreign aid share of health expenditure
0.68%
2023
n/a
Physicians per 1,000 people
2.04
2017
4.29
2022
Age at first childbirth n/a
31.5 years
2023
Maternal mortality per 100K births
59
2023
3
2023
Mortality rate before reaching 5 years of age
30.8
2023
3.1
2023
Obesity rate
37.9%
2022
16.2%
2022
Diabetes prevalence
15.8%
2024
9.7%
2024
Air quality index
70
2026
77
2026
Tobacco use prevalence n/a
28.4%
2022
Pure alcohol consumption per capita
0.01 liters
2020
9.16 liters
2020

Territory

Libya Spain
% of world land
1.18%
2026
0.34%
2026
Land area per capita
92,042 sq mi
2024
3,950 sq mi
2024
Agricultural land area
59,267 sq mi
2026
95,648 sq mi
2026
Forest area
838 sq mi
2026
71,757 sq mi
2026
Roads length
22,991 mi
2010
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–2019, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. The Heritage Foundation | Economic Freedom Index (2012–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.