Skip to content

Morocco vs Sri Lanka statistics compared

Updated on by Georank team

Morocco has a population of 38.1M (ranked 39/197), compared with 21.9M in Sri Lanka (ranked 61/197). Morocco's land area is 172,317 sq mi versus 23,884 sq mi for Sri Lanka (ranked 55th vs. 122nd).

By GDP, Morocco ranks 58/197 ($161B) and Sri Lanka ranks 72/197 ($99B). By GDP per capita, Morocco ranks 127/197 ($4,218), while Sri Lanka ranks 124/197 ($4,516).

Main facts and rankings

Morocco Sri Lanka
Population
38871720
22185425
Population rank 41/197 63/197
GDP
$161B
2024
$99B
2024
GDP rank 58/197 72/197
GDP per capita
$4,218
2024
$4,516
2024
GDP per capita rank 127/197 124/197
GDP per capita, PPP
$10,415
2024
$15,633
2024
Government debt
$109B
2024
$99.8B
2024
Debt-to-GDP ratio
67.7%
2024
100.8%
2024
Government debt per person
$2,857
2024
$4,554
2024
Government debt per person rank 104/185 85/185
Average annual personal income after taxes
$5,678
2026
$2,874
2026
Land area 172,317 sq mi 23,884 sq mi
Population density
225.1 ppl/mi²
2026
928 ppl/mi²
2026
Fertility rate
2.23
2023
1.97
2023
Median age
30.5 years
2024
34.1 years
2024
Life expectancy
75.9 years
2026
78 years
2026

Morocco and Sri Lanka: Comparison Charts

Morocco and Sri Lanka economies compared

GDP
Morocco

Sri Lanka
1x
Year GDP
Morocco Sri Lanka
2024 $160,610,994,055 $98,963,185,510
2023 $146,036,093,667 $83,716,142,582
2022 $131,245,312,804 $74,143,020,263
2021 $142,022,058,447 $88,556,698,938
2020 $121,353,645,057 $84,335,574,582
2019 $128,920,266,409 $88,998,706,297
2018 $127,341,147,582 $94,450,015,983
2017 $118,540,573,368 $94,369,350,286
2016 $111,572,947,005 $88,000,211,172
2015 $110,413,823,842 $85,090,301,052
2014 $119,130,841,412 $82,531,125,191
2013 $115,739,287,305 $76,976,203,829
2012 $106,937,392,311 $70,447,217,164
2011 $110,080,631,332 $67,753,285,897
2010 $100,865,329,473 $58,636,049,434
2009 $101,154,952,241 $42,066,224,093
2008 $101,822,906,949 $40,713,826,215
2007 $86,947,913,287 $32,350,238,760
2006 $75,883,823,301 $28,267,410,543
2005 $68,852,658,069 $24,405,791,045
2004 $66,114,145,451 $20,662,525,941
2003 $58,029,363,354 $18,881,765,437
2002 $47,077,192,188 $16,536,535,647
2001 $43,831,480,208 $15,749,753,805
2000 $43,017,455,402 $16,595,882,819
1999 $46,266,428,648 $15,711,933,513
1998 $46,497,608,725 $15,760,736,956
1997 $39,147,844,526 $15,091,913,884
1996 $43,161,571,528 $13,897,738,375
1995 $39,030,285,468 $13,029,697,561
1994 $35,604,137,423 $11,717,604,209
1993 $31,655,473,664 $10,338,679,636
1992 $33,711,069,431 $9,703,011,636
1991 $32,285,573,574 $9,000,362,582
1990 $30,179,954,775 $8,032,551,173
1989 $26,314,313,191 $6,987,267,684
1988 $25,705,296,184 $6,978,371,581
1987 $21,765,195,948 $6,682,167,120
1986 $19,462,085,540 $6,405,210,564
1985 $14,991,283,216 $5,978,460,972
1984 $14,824,667,954 $6,043,474,843
1983 $16,251,408,128 $5,167,913,302
1982 $17,692,276,734 $4,768,765,017
1981 $17,788,185,479 $4,415,844,156
1980 $21,728,516,153 $4,024,621,900
1979 $15,911,994,817 $3,364,611,432
1978 $13,236,946,234 $2,733,183,857
1977 $11,049,783,872 $4,104,509,583
1976 $9,584,297,284 $3,591,319,857
1975 $8,984,853,005 $3,791,298,146
1974 $7,675,466,449 $3,574,586,466
1973 $6,242,145,880 $2,875,625,000
1972 $5,074,117,545 $2,553,936,348
1971 $4,356,669,034 $2,369,308,600
1970 $3,956,336,244 $2,296,470,588
1969 $3,651,622,669 $1,965,546,218
1968 $3,271,422,333 $1,801,344,538
1967 $3,046,345,314 $1,859,465,021
1966 $2,876,401,297 $1,751,470,588
1965 $2,948,331,090 $1,698,319,328
1964 $2,798,345,299 $1,309,747,899
1963 $2,657,252,578 $1,240,672,269
1962 $2,379,611,125 $1,434,156,379
1961 $2,025,693,540 $1,444,327,731
1960 $2,037,154,742 $1,409,873,950

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Morocco and Sri Lanka economies compared

GDP per capita
Morocco

Sri Lanka
1x
Year GDP per capita
Morocco Sri Lanka
2024 $4,218 $4,516
2023 $3,872 $3,799
2022 $3,516 $3,343
2021 $3,843 $3,997
2020 $3,317 $3,848
2019 $3,560 $4,082
2018 $3,553 $4,359
2017 $3,344 $4,399
2016 $3,186 $4,149
2015 $3,190 $4,058
2014 $3,483 $3,972
2013 $3,425 $3,739
2012 $3,206 $3,328
2011 $3,345 $3,225
2010 $3,107 $2,808
2009 $3,158 $2,027
2008 $3,222 $1,974
2007 $2,788 $1,579
2006 $2,466 $1,389
2005 $2,268 $1,207
2004 $2,207 $1,029
2003 $1,962 $946
2002 $1,612 $835
2001 $1,521 $804
2000 $1,513 $860
1999 $1,651 $829
1998 $1,683 $848
1997 $1,439 $827
1996 $1,610 $776
1995 $1,478 $742
1994 $1,369 $678
1993 $1,236 $607
1992 $1,337 $580
1991 $1,302 $546
1990 $1,238 $491
1989 $1,099 $430
1988 $1,094 $434
1987 $944 $420
1986 $861 $407
1985 $678 $385
1984 $687 $391
1983 $772 $336
1982 $862 $312
1981 $890 $292.5
1980 $1,117 $271.1
1979 $839 $230.8
1978 $716 $191
1977 $613 $292.1
1976 $545 $260.3
1975 $524 $279.8
1974 $459 $268.7
1973 $382 $220.2
1972 $319 $199.4
1971 $280.6 $188.8
1970 $261.5 $186.9
1969 $247.8 $163.6
1968 $228 $153.5
1967 $218.1 $162.3
1966 $211.5 $156.6
1965 $222.7 $155.6
1964 $216.9 $122.9
1963 $211.3 $119.4
1962 $194.2 $141.4
1961 $169.8 $145.9
1960 $175.2 $145.9

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Morocco vs. Sri Lanka life expectancy calculator

Life expectancy
Morocco

Sri Lanka
1x
Year Life expectancy, years
Morocco Sri Lanka
2026 75.9 78
2025 75.7 77.9
2024 75.5 77.7
2023 75.3 77.5
2022 75.2 77.3
2021 73.4 76.3
2020 73.1 76.9
2019 74.2 76.7
2018 73.9 76.5
2017 73.6 76.2
2016 73.2 76.1
2015 72.9 76
2014 72.5 75.8
2013 72.1 75.5
2012 71.7 75.2
2011 71.3 74.7
2010 70.8 74.5
2009 70.5 70.3
2008 70.1 72.6
2007 69.6 73
2006 69.2 72.8
2005 68.7 73.1
2004 68.3 68
2003 68 72.4
2002 67.6 72.3
2001 67.2 71.8
2000 66.8 71.2
1999 66.4 70.4
1998 66 70.1
1997 65.6 69.9
1996 65.2 69.8
1995 64.7 69.7
1994 64.3 70.2
1993 63.9 70
1992 63.4 69.6
1991 62.9 69.1
1990 62.4 69.2
1989 61.8 67.3
1988 61.2 69
1987 60.6 69
1986 60 69
1985 59.2 68.9
1984 58.4 68.8
1983 57.7 68.7
1982 56.9 68.7
1981 56 68.4
1980 55.2 68
1979 54.4 67.5
1978 53.6 66.8
1977 52.8 66.4
1976 52 65.8
1975 51.4 65.4
1974 50.8 65
1973 50.2 64.8
1972 49.7 64.6
1971 49.2 64.2
1970 48.7 64.4
1969 48.2 64.1
1968 47.7 63.9
1967 47.1 63.6
1966 46.5 63.2
1965 45.9 62.8
1964 45.3 62.4
1963 44.8 62
1962 44.2 61.6
1961 43.7 61.2
1960 41.7 60.6
1959 42.7 60
1958 42.2 59.3
1957 41.7 58.5
1956 41.2 57.9
1955 40.8 57.2
1954 40.4 56.4
1953 40 55.6
1952 39.6 54.9
1951 39.1 54
1950 38.8 53.2

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Morocco and Sri Lanka population clocks and comparison

Population
Morocco

Sri Lanka
1x
Year Population
Morocco Sri Lanka
2024 38,081,173 21,916,000
2023 37,712,505 22,037,000
2022 37,329,064 22,181,000
2021 36,954,442 22,156,000
2020 36,584,208 21,919,000
2019 36,210,898 21,803,000
2018 35,839,760 21,670,000
2017 35,446,392 21,453,000
2016 35,023,457 21,209,000
2015 34,607,588 20,970,000
2014 34,204,780 20,778,000
2013 33,787,571 20,585,000
2012 33,355,241 21,169,458
2011 32,912,588 21,009,048
2010 32,467,016 20,879,089
2009 32,030,778 20,756,435
2008 31,606,767 20,629,378
2007 31,186,468 20,492,545
2006 30,771,178 20,352,411
2005 30,358,144 20,216,524
2004 29,953,018 20,087,605
2003 29,571,415 19,951,521
2002 29,198,142 19,805,752
2001 28,814,643 19,600,362
2000 28,423,435 19,293,054
1999 28,027,179 18,944,731
1998 27,621,648 18,596,003
1997 27,213,337 18,248,200
1996 26,808,107 17,905,018
1995 26,399,429 17,564,068
1994 26,000,822 17,275,773
1993 25,614,586 17,025,918
1992 25,212,468 16,739,284
1991 24,799,014 16,475,354
1990 24,375,551 16,352,458
1989 23,939,414 16,248,557
1988 23,500,524 16,078,621
1987 23,054,392 15,916,576
1986 22,600,803 15,731,256
1985 22,113,953 15,544,154
1984 21,593,778 15,441,860
1983 21,060,696 15,388,794
1982 20,520,318 15,286,567
1981 19,985,401 15,099,414
1980 19,459,943 14,847,974
1979 18,955,589 14,579,614
1978 18,477,385 14,310,128
1977 18,014,756 14,049,371
1976 17,574,182 13,796,770
1975 17,150,786 13,548,984
1974 16,733,842 13,305,693
1973 16,326,269 13,060,916
1972 15,924,692 12,809,205
1971 15,527,225 12,551,910
1970 15,129,449 12,287,110
1969 14,734,255 12,013,858
1968 14,347,899 11,736,088
1967 13,968,175 11,457,328
1966 13,597,065 11,183,928
1965 13,239,171 10,916,965
1964 12,898,886 10,653,397
1963 12,577,502 10,395,040
1962 12,253,092 10,143,754
1961 11,931,085 9,899,372
1960 11,624,933 9,661,389

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Fertility rates in Morocco and Sri Lanka

Fertility rate
Morocco

Sri Lanka
1x
Year Fertility rate
Morocco Sri Lanka
2023 2.23 1.97
2022 2.26 1.98
2021 2.29 2
2020 2.32 2.01
2019 2.34 2.02
2018 2.35 2.03
2017 2.38 2.04
2016 2.4 2.06
2015 2.41 2.09
2014 2.42 2.13
2013 2.48 2.18
2012 2.54 2.17
2011 2.6 2.14
2010 2.63 2.13
2009 2.62 2.18
2008 2.61 2.23
2007 2.62 2.3
2006 2.61 2.29
2005 2.61 2.26
2004 2.61 2.27
2003 2.61 2.3
2002 2.62 2.31
2001 2.69 2.28
2000 2.77 2.21
1999 2.88 2.14
1998 3.04 2.14
1997 3.15 2.22
1996 3.23 2.29
1995 3.3 2.35
1994 3.41 2.4
1993 3.55 2.44
1992 3.76 2.49
1991 3.95 2.51
1990 4.06 2.54
1989 4.22 2.58
1988 4.39 2.57
1987 4.58 2.64
1986 4.77 2.74
1985 4.99 2.9
1984 5.2 3.01
1983 5.41 3.11
1982 5.6 3.32
1981 5.71 3.65
1980 5.78 3.73
1979 5.85 3.82
1978 5.91 3.81
1977 6.04 3.74
1976 6.18 3.78
1975 6.3 3.82
1974 6.4 3.86
1973 6.48 4
1972 6.55 4.16
1971 6.62 4.27
1970 6.68 4.39
1969 6.73 4.5
1968 6.79 4.66
1967 6.85 4.79
1966 6.89 4.83
1965 6.93 4.93
1964 6.97 5.06
1963 7.01 5.12
1962 7.05 5.18
1961 6.97 5.24
1960 6.89 5.35

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Morocco and Sri Lanka demographics compared

Median age
Morocco

Sri Lanka
1x
Year Median age, years
Morocco Sri Lanka
2024 30.5 34.1
2023 30.2 33.8
2022 29.9 33.6
2021 29.5 33.3
2020 29.2 33.1
2019 28.9 32.8
2018 28.5 32.5
2017 28.2 32.3
2016 27.8 32
2015 27.5 31.7
2014 27.1 31.4
2013 26.7 31.1
2012 26.4 30.8
2011 26.1 30.5
2010 25.7 30.2
2009 25.4 29.9
2008 25 29.6
2007 24.7 29.3
2006 24.3 29
2005 24 28.8
2004 23.7 28.5
2003 23.4 28.2
2002 23.1 27.9
2001 22.8 27.6
2000 22.5 27.2
1999 22.2 26.9
1998 21.9 26.5
1997 21.6 26.2
1996 21.3 25.8
1995 21 25.3
1994 20.6 24.9
1993 20.3 24.6
1992 20 24.3
1991 19.7 23.9
1990 19.4 23.6
1989 19.2 23.4
1988 18.9 23.1
1987 18.7 22.8
1986 18.5 22.5
1985 18.3 22.2
1984 18.1 22
1983 18 21.9
1982 17.8 21.7
1981 17.7 21.6
1980 17.6 21.5
1979 17.4 21.3
1978 17.3 21.2
1977 17.2 21
1976 17.1 20.9
1975 16.9 20.7
1974 16.9 20.6
1973 16.8 20.4
1972 16.7 20.2
1971 16.7 20.1
1970 16.6 20
1969 16.6 19.9
1968 16.6 19.8
1967 16.7 19.7
1966 16.8 19.6
1965 16.9 19.5
1964 17 19.5
1963 17.2 19.5
1962 17.4 19.5
1961 17.6 19.5
1960 17.9 19.5

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

GeoRank.org/facts/morocco/sri-lanka | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Morocco Sri Lanka
GNI, Atlas method
$149B
2024
$84.6B
2024
Government expenditure, % of GDP
33%
2024
19.3%
2024
Education expenditure, % of GDP
6.02%
2023
1.83%
2023
Military expenditure, % of GDP
3.52%
2024
1.43%
2024
Armed forces personnel
246,000
2020
317,000
2020
Deficit/surplus, % of GDP
-3.92%
2024
-5.64%
2024
Unemployment rate
11.8%
2022
4.67%
2023
Services, % of GDP
52.7%
2024
57.5%
2024
Industry, % of GDP
25.6%
2024
25.5%
2024
Economic freedom index
61.8
2026
50.3
2026
Income share by richest 10%
31.9%
2013
30.8%
2019
Income share by poorest 10%
2.7%
2013
3.1%
2019
Number of billionaires
3
2025
n/a
Percentage of billionaires
0.00001%
2025
n/a
Listed domestic companies
76
2024
284
2024
Market capitalization of domestic companies
$74.5B
2024
$19.5B
2024
Total reserves including gold
$37.1B
2024
$6.09B
2024
Personal remittances received
$12.5B
2024
$6.72B
2024
International tourist arrivals
2,802,000
2020
540,000
2020
International tourism as share of exports
12%
2020
8.22%
2020
Banked people share
44.4%
2024
81.7%
2024

Energy

Morocco Sri Lanka
Energy use, kg of oil equivalent per capita
601 kg
2023
474 kg
2022
GDP PPP per kg equivalent of energy use
$16.7
2023
$29.9
2022
Carbon dioxide (CO2) emissions
70 megatons
2024
23.3 megatons
2024
CO2 emissions per capita
1.84 tons
2024
1.06 tons
2024
Fossil fuel energy use share
90.1%
2022
53.9%
2022
Renewable energy use share
10.9%
2021
48.8%
2021
Alternative and nuclear energy use share
4.92%
2023
6.72%
2022
Net energy imports use share
93.6%
2023
60%
2022
Electric power consumption per capita
997 kWh
2023
684 kWh
2022
Renewable electricity output share
19.3%
2021
49.2%
2021
Hydroelectric share
1.18%
2023
40.8%
2022
Nuclear share
0%
2021
0%
2021
Electricity access
100%
2023
100%
2023

Society

Morocco Sri Lanka
% of world population
0.47%
2024
0.27%
2024
Annual migration change
-56,254
2025
-30,724
2025
Urban population
62.8%
2024
20.3%
2024
Male:Female ratio
50.4:49.6
2024
48.4:51.6
2024
Average male height
5.79 ft
2025
5.52 ft
2025
Average female height
5.29 ft
2025
5.11 ft
2025
Quality of life index
51.1
2026
51.1
2026
Corruption Perceptions Index
39
2025
35
2025
Higher education index
54
2026
53
2026
Homicides per 100K people
1.69
2024
3.43
2019
Road traffic mortality per 100K people
17
2019
19.7
2019
Visa free countries
83
2025
55
2025
Adult literacy rate
77.3%
2022
92.7%
2023
English speaking
18.4%
2023
18.3%
2023
People using the Internet
91%
2023
51.2%
2023

Health

Morocco Sri Lanka
Government health expenditure per capita
$232.2
2023
$134.2
2023
Out-of-pocket health expenditure per capita
$86.5
2023
$73.6
2023
Life expectancy
75.9 years
2026
78 years
2026
Foreign aid share of health expenditure
0.62%
2023
6.05%
2023
Physicians per 1,000 people
0.74
2021
1.14
2023
Age at first childbirth n/a
25.6 years
2025
Maternal mortality per 100K births
70
2023
18
2023
Mortality rate before reaching 5 years of age
16.6
2023
6.1
2023
Obesity rate
22.5%
2022
10.9%
2022
Diabetes prevalence
11.9%
2024
10.2%
2024
Air quality index
75
2026
40
2026
Tobacco use prevalence
13%
2022
19.5%
2022
Pure alcohol consumption per capita
0.5 liters
2020
2.91 liters
2020

Territory

Morocco Sri Lanka
% of world land
0.3%
2026
0.04%
2026
Land area per capita
4,525 sq mi
2024
1,090 sq mi
2024
Agricultural land area
115,013 sq mi
2026
11,610 sq mi
2026
Forest area
22,293 sq mi
2026
8,122 sq mi
2026
Roads length
35,626 mi
2022
70,894 mi
2010

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 (2024, 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. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  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.