Skip to content

Libya vs Morocco statistics compared

Updated on by Georank team

Libya has a population of 7.38M (ranked 105/197), compared with 38.1M in Morocco (ranked 39/197). Libya's land area is 679,362 sq mi versus 172,317 sq mi for Morocco (ranked 16th vs. 55th).

By GDP, Libya ranks 95/197 ($48.5B) and Morocco ranks 58/197 ($161B). By GDP per capita, Libya ranks 107/197 ($6,569), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Libya Morocco
Population
7559873
38871720
Population rank 105/197 41/197
GDP
$48.5B
2024
$161B
2024
GDP rank 95/197 58/197
GDP per capita
$6,569
2024
$4,218
2024
GDP per capita rank 107/197 127/197
GDP per capita, PPP
$14,304
2024
$10,415
2024
Government debt n/a
$109B
2024
Debt-to-GDP ratio n/a
67.7%
2024
Government debt per person n/a
$2,857
2024
Government debt per person rank n/a 104/185
Average annual personal income after taxes
$3,172
2026
$5,678
2026
Land area 679,362 sq mi 172,317 sq mi
Population density
11.1 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
2.36
2023
2.23
2023
Median age
28.5 years
2024
30.5 years
2024
Life expectancy
75.2 years
2026
75.9 years
2026

Libya and Morocco: Comparison Charts

Libya and Morocco economies compared

GDP
Libya

Morocco
1x
Year GDP
Libya Morocco
2024 $48,487,151,215 $160,610,994,055
2023 $44,027,664,915 $146,036,093,667
2022 $43,246,297,922 $131,245,312,804
2021 $35,217,995,647 $142,022,058,447
2020 $46,854,285,441 $121,353,645,057
2019 $69,254,496,472 $128,920,266,409
2018 $76,686,029,772 $127,341,147,582
2017 $67,157,452,182 $118,540,573,368
2016 $49,912,073,701 $111,572,947,005
2015 $48,717,501,321 $110,413,823,842
2014 $57,372,355,592 $119,130,841,412
2013 $75,351,107,029 $115,739,287,305
2012 $92,540,938,129 $106,937,392,311
2011 $48,169,263,294 $110,080,631,332
2010 $75,380,825,062 $100,865,329,473
2009 $60,808,562,033 $101,154,952,241
2008 $86,710,767,415 $101,822,906,949
2007 $68,032,978,391 $86,947,913,287
2006 $60,094,231,607 $75,883,823,301
2005 $47,334,691,241 $68,852,658,069
2004 $33,122,307,692 $66,114,145,451
2003 $26,265,625,000 $58,029,363,354
2002 $20,481,889,764 $47,077,192,188
2001 $34,112,093,927 $43,831,480,208
2000 $38,270,954,138 $43,017,455,402
1999 $35,975,860,857 $46,266,428,648
1998 $27,251,301,398 $46,497,608,725
1997 $30,700,897,875 $39,147,844,526
1996 $27,884,615,385 $43,161,571,528
1995 $25,541,379,187 $39,030,285,468
1994 $28,610,549,763 $35,604,137,423
1993 $30,660,051,911 $31,655,473,664
1992 $33,887,047,909 $33,711,069,431
1991 $31,991,821,265 $32,285,573,574
1990 $28,904,183,602 $30,179,954,775
1989 $25,156,707,899 $26,314,313,191
1988 $24,308,959,591 $25,705,296,184
1987 $26,697,659,335 $21,765,195,948
1986 $24,180,400,959 $19,462,085,540
1985 $31,530,566,324 $14,991,283,216
1984 $29,476,109,153 $14,824,667,954
1983 $33,200,520,140 $16,251,408,128
1982 $33,760,146,991 $17,692,276,734
1981 $36,374,353,880 $17,788,185,479
1980 $40,953,924,949 $21,728,516,153
1979 $30,536,429,497 $15,911,994,817
1978 $22,136,422,643 $13,236,946,234
1977 $22,428,297,108 $11,049,783,872
1976 $19,096,943,017 $9,584,297,284
1975 $14,710,912,458 $8,984,853,005
1974 $15,112,543,717 $7,675,466,449
1973 $8,625,889,430 $6,242,145,880
1972 $6,299,395,544 $5,074,117,545
1971 $5,260,185,125 $4,356,669,034
1970 $4,601,649,451 $3,956,336,244
1969 $4,380,987,481 $3,651,622,669
1968 $3,850,623,095 $3,271,422,333
1967 $2,726,986,913 $3,046,345,314
1966 $2,312,438,536 $2,876,401,297
1965 $1,804,979,680 $2,948,331,090
1964 $1,341,395,421 $2,798,345,299
1963 $892,327,911 $2,657,252,578
1962 $619,725,785 $2,379,611,125
1961 $443,905,612 $2,025,693,540
1960 $401,644,249 $2,037,154,742

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

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

Libya and Morocco economies compared

GDP per capita
Libya

Morocco
1x
Year GDP per capita
Libya Morocco
2024 $6,569 $4,218
2023 $6,027 $3,872
2022 $5,987 $3,516
2021 $4,936 $3,843
2020 $6,650 $3,317
2019 $9,963 $3,560
2018 $11,197 $3,553
2017 $9,966 $3,344
2016 $7,526 $3,186
2015 $7,458 $3,190
2014 $8,926 $3,483
2013 $11,952 $3,425
2012 $14,976 $3,206
2011 $7,594 $3,345
2010 $11,601 $3,107
2009 $9,551 $3,158
2008 $13,906 $3,222
2007 $11,145 $2,788
2006 $10,049 $2,466
2005 $8,079 $2,268
2004 $5,774 $2,207
2003 $4,674 $1,962
2002 $3,718 $1,612
2001 $6,313 $1,521
2000 $7,214 $1,513
1999 $6,895 $1,651
1998 $5,301 $1,683
1997 $6,062 $1,439
1996 $5,591 $1,610
1995 $5,205 $1,478
1994 $5,933 $1,369
1993 $6,478 $1,236
1992 $7,303 $1,337
1991 $7,040 $1,302
1990 $6,502 $1,238
1989 $5,793 $1,099
1988 $5,736 $1,094
1987 $6,465 $944
1986 $6,019 $861
1985 $8,087 $678
1984 $7,811 $687
1983 $8,927 $772
1982 $9,064 $862
1981 $10,044 $890
1980 $11,960 $1,117
1979 $9,443 $839
1978 $7,252 $716
1977 $7,783 $613
1976 $7,018 $545
1975 $5,721 $524
1974 $6,214 $459
1973 $3,727 $382
1972 $2,830 $319
1971 $2,443 $280.6
1970 $2,210 $261.5
1969 $2,175 $247.8
1968 $1,972 $228
1967 $1,437 $218.1
1966 $1,251 $211.5
1965 $1,001 $222.7
1964 $765 $216.9
1963 $528 $211.3
1962 $382 $194.2
1961 $285.3 $169.8
1960 $269 $175.2

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

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

Libya vs. Morocco life expectancy calculator

Life expectancy
Libya

Morocco
1x
Year Life expectancy, years
Libya Morocco
2026 75.2 75.9
2025 73.2 75.7
2024 71.1 75.5
2023 69.3 75.3
2022 74.5 75.2
2021 72.1 73.4
2020 72.4 73.1
2019 72.9 74.2
2018 73.2 73.9
2017 72.7 73.6
2016 71.8 73.2
2015 71.6 72.9
2014 71.3 72.5
2013 72.3 72.1
2012 72.2 71.7
2011 69.9 71.3
2010 72.2 70.8
2009 72.1 70.5
2008 71.9 70.1
2007 71.8 69.6
2006 71.6 69.2
2005 71.4 68.7
2004 71.2 68.3
2003 71 68
2002 70.8 67.6
2001 70.7 67.2
2000 70.5 66.8
1999 70.6 66.4
1998 70.7 66
1997 70.7 65.6
1996 70.7 65.2
1995 70.6 64.7
1994 70.5 64.3
1993 70.2 63.9
1992 70 63.4
1991 69.6 62.9
1990 69.3 62.4
1989 69 61.8
1988 68.6 61.2
1987 68.3 60.6
1986 67.8 60
1985 67.3 59.2
1984 66.7 58.4
1983 66.3 57.7
1982 65.8 56.9
1981 65.3 56
1980 64.8 55.2
1979 64.3 54.4
1978 63.8 53.6
1977 63.1 52.8
1976 62.4 52
1975 61.6 51.4
1974 60.7 50.8
1973 59.7 50.2
1972 58.7 49.7
1971 57.6 49.2
1970 56.4 48.7
1969 55.2 48.2
1968 53.8 47.7
1967 52.5 47.1
1966 50.9 46.5
1965 49.3 45.9
1964 47.7 45.3
1963 45.6 44.8
1962 44.1 44.2
1961 42.4 43.7
1960 40.8 41.7
1959 39.3 42.7
1958 38 42.2
1957 36.9 41.7
1956 36 41.2
1955 35.2 40.8
1954 34.7 40.4
1953 34.2 40
1952 33.8 39.6
1951 33.5 39.1
1950 33.1 38.8

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

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

Libya and Morocco population clocks and comparison

Population
Libya

Morocco
1x
Year Population
Libya Morocco
2024 7,381,023 38,081,173
2023 7,305,659 37,712,505
2022 7,223,805 37,329,064
2021 7,135,175 36,954,442
2020 7,045,399 36,584,208
2019 6,951,033 36,210,898
2018 6,849,055 35,839,760
2017 6,738,770 35,446,392
2016 6,632,126 35,023,457
2015 6,531,819 34,607,588
2014 6,427,252 34,204,780
2013 6,304,628 33,787,571
2012 6,179,328 33,355,241
2011 6,343,203 32,912,588
2010 6,497,839 32,467,016
2009 6,366,686 32,030,778
2008 6,235,430 31,606,767
2007 6,104,380 31,186,468
2006 5,980,211 30,771,178
2005 5,858,798 30,358,144
2004 5,736,693 29,953,018
2003 5,619,398 29,571,415
2002 5,508,410 29,198,142
2001 5,403,639 28,814,643
2000 5,305,021 28,423,435
1999 5,218,038 28,027,179
1998 5,140,704 27,621,648
1997 5,064,639 27,213,337
1996 4,987,393 26,808,107
1995 4,906,843 26,399,429
1994 4,822,037 26,000,822
1993 4,733,045 25,614,586
1992 4,640,352 25,212,468
1991 4,544,400 24,799,014
1990 4,445,239 24,375,551
1989 4,342,920 23,939,414
1988 4,237,755 23,500,524
1987 4,129,739 23,054,392
1986 4,017,403 22,600,803
1985 3,898,745 22,113,953
1984 3,773,633 21,593,778
1983 3,718,961 21,060,696
1982 3,724,765 20,520,318
1981 3,621,486 19,985,401
1980 3,424,378 19,459,943
1979 3,233,846 18,955,589
1978 3,052,526 18,477,385
1977 2,881,533 18,014,756
1976 2,721,237 17,574,182
1975 2,571,556 17,150,786
1974 2,432,211 16,733,842
1973 2,314,193 16,326,269
1972 2,226,091 15,924,692
1971 2,153,534 15,527,225
1970 2,082,589 15,129,449
1969 2,014,293 14,734,255
1968 1,952,781 14,347,899
1967 1,898,199 13,968,175
1966 1,849,063 13,597,065
1965 1,804,015 13,239,171
1964 1,753,691 12,898,886
1963 1,690,457 12,577,502
1962 1,621,960 12,253,092
1961 1,555,699 11,931,085
1960 1,492,890 11,624,933

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

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

Fertility rates in Libya and Morocco

Fertility rate
Libya

Morocco
1x
Year Fertility rate
Libya Morocco
2023 2.36 2.23
2022 2.4 2.26
2021 2.46 2.29
2020 2.51 2.32
2019 2.54 2.34
2018 2.58 2.35
2017 2.63 2.38
2016 2.67 2.4
2015 2.71 2.41
2014 2.75 2.42
2013 2.72 2.48
2012 2.68 2.54
2011 2.65 2.6
2010 2.6 2.63
2009 2.56 2.62
2008 2.6 2.61
2007 2.65 2.62
2006 2.7 2.61
2005 2.77 2.61
2004 2.77 2.61
2003 2.8 2.61
2002 2.83 2.62
2001 2.87 2.69
2000 2.91 2.77
1999 2.97 2.88
1998 3.04 3.04
1997 3.13 3.15
1996 3.26 3.23
1995 3.44 3.3
1994 3.65 3.41
1993 3.88 3.55
1992 4.16 3.76
1991 4.46 3.95
1990 4.78 4.06
1989 5.09 4.22
1988 5.41 4.39
1987 5.72 4.58
1986 6.02 4.77
1985 6.33 4.99
1984 6.62 5.2
1983 6.91 5.41
1982 7.16 5.6
1981 7.37 5.71
1980 7.54 5.78
1979 7.68 5.85
1978 7.79 5.91
1977 7.87 6.04
1976 7.93 6.18
1975 7.98 6.3
1974 8.02 6.4
1973 8.05 6.48
1972 8.07 6.55
1971 8.1 6.62
1970 8.05 6.68
1969 8.01 6.73
1968 7.97 6.79
1967 7.93 6.85
1966 7.89 6.89
1965 7.82 6.93
1964 7.75 6.97
1963 7.69 7.01
1962 7.61 7.05
1961 7.56 6.97
1960 7.51 6.89

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

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

Libya and Morocco demographics compared

Median age
Libya

Morocco
1x
Year Median age, years
Libya Morocco
2024 28.5 30.5
2023 28.2 30.2
2022 28 29.9
2021 27.7 29.5
2020 27.5 29.2
2019 27.2 28.9
2018 27 28.5
2017 26.8 28.2
2016 26.6 27.8
2015 26.4 27.5
2014 26.2 27.1
2013 25.9 26.7
2012 25.7 26.4
2011 25.5 26.1
2010 25.3 25.7
2009 25 25.4
2008 24.6 25
2007 24.2 24.7
2006 23.8 24.3
2005 23.6 24
2004 23.4 23.7
2003 23.2 23.4
2002 23.1 23.1
2001 22.9 22.8
2000 22.7 22.5
1999 22.4 22.2
1998 22 21.9
1997 21.5 21.6
1996 21.1 21.3
1995 20.6 21
1994 20.1 20.6
1993 19.7 20.3
1992 19.3 20
1991 18.9 19.7
1990 18.6 19.4
1989 18.2 19.2
1988 17.9 18.9
1987 17.6 18.7
1986 17.3 18.5
1985 17.1 18.3
1984 16.8 18.1
1983 16.5 18
1982 16.3 17.8
1981 16.1 17.7
1980 16 17.6
1979 15.9 17.4
1978 15.9 17.3
1977 15.8 17.2
1976 15.6 17.1
1975 15.5 16.9
1974 15.3 16.9
1973 14.9 16.8
1972 14.7 16.7
1971 14.7 16.7
1970 14.7 16.6
1969 14.7 16.6
1968 14.9 16.6
1967 15.3 16.7
1966 15.9 16.8
1965 16.7 16.9
1964 17.2 17
1963 17.5 17.2
1962 17.9 17.4
1961 18.2 17.6
1960 18.5 17.9

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Libya Morocco
GNI, Atlas method
$50.9B
2024
$149B
2024
Government expenditure, % of GDP
94.8%
2024
33%
2024
Education expenditure, % of GDP
2.26%
1999
6.02%
2023
Military expenditure, % of GDP
5.29%
2023
3.52%
2024
Armed forces personnel
0
2020
246,000
2020
Deficit/surplus, % of GDP
-25.1%
2024
-3.92%
2024
Unemployment rate
30%
2004
11.8%
2022
Services, % of GDP
28.3%
2024
52.7%
2024
Industry, % of GDP
73.5%
2024
25.6%
2024
Economic freedom index
35.9
2012
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
$92.9B
2024
$37.1B
2024
Personal remittances received
$16M
2006
$12.5B
2024
International tourist arrivals
760,000
2008
2,802,000
2020
International tourism as share of exports
0.34%
2010
12%
2020
Banked people share
33.1%
2024
44.4%
2024

Energy

Libya Morocco
Energy use, kg of oil equivalent per capita
2,539 kg
2022
601 kg
2023
GDP PPP per kg equivalent of energy use
$4.83
2022
$16.7
2023
Carbon dioxide (CO2) emissions
64 megatons
2024
70 megatons
2024
CO2 emissions per capita
8.66 tons
2024
1.84 tons
2024
Fossil fuel energy use share
96.3%
2022
90.1%
2022
Renewable energy use share
3.1%
2021
10.9%
2021
Alternative and nuclear energy use share
0%
2022
4.92%
2023
Net energy imports use share
-249.7%
2022
93.6%
2023
Electric power consumption per capita
3,979 kWh
2022
997 kWh
2023
Renewable electricity output share
0.02%
2021
19.3%
2021
Hydroelectric share
0%
2021
1.18%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
73.2%
2023
100%
2023

Society

Libya Morocco
% of world population
0.09%
2024
0.47%
2024
Annual migration change
-172
2025
-56,254
2025
Urban population
87.9%
2024
62.8%
2024
Male:Female ratio
50.8:49.2
2024
50.4:49.6
2024
Average male height
5.79 ft
2025
5.79 ft
2025
Average female height
5.33 ft
2025
5.29 ft
2025
Quality of life index
30
2026
51.1
2026
Corruption Perceptions Index
13
2025
39
2025
Higher education index
29
2026
54
2026
Homicides per 100K people
2.5
2015
1.69
2024
Road traffic mortality per 100K people
21.3
2019
17
2019
Visa free countries
51
2025
83
2025
Adult literacy rate
76.5%
1994
77.3%
2022
English speaking
2%
2025
18.4%
2023
People using the Internet
88.5%
2023
91%
2023

Health

Libya Morocco
Government health expenditure per capita
$470
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$90.2
2023
$86.5
2023
Life expectancy
75.2 years
2026
75.9 years
2026
Foreign aid share of health expenditure
0.68%
2023
0.62%
2023
Physicians per 1,000 people
2.04
2017
0.74
2021
Maternal mortality per 100K births
59
2023
70
2023
Mortality rate before reaching 5 years of age
30.8
2023
16.6
2023
Obesity rate
37.9%
2022
22.5%
2022
Diabetes prevalence
15.8%
2024
11.9%
2024
Air quality index
70
2026
75
2026
Tobacco use prevalence n/a
13%
2022
Pure alcohol consumption per capita
0.01 liters
2020
0.5 liters
2020

Territory

Libya Morocco
% of world land
1.18%
2026
0.3%
2026
Land area per capita
92,042 sq mi
2024
4,525 sq mi
2024
Agricultural land area
59,267 sq mi
2026
115,013 sq mi
2026
Forest area
838 sq mi
2026
22,293 sq mi
2026
Roads length
22,991 mi
2010
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–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)

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.