Skip to content

Malaysia vs Morocco statistics compared

Updated on by Georank team

Malaysia has a population of 35.6M (ranked 44/197), compared with 38.1M in Morocco (ranked 39/197). Malaysia's land area is 126,854 sq mi versus 172,317 sq mi for Morocco (ranked 65th vs. 55th).

By GDP, Malaysia ranks 38/197 ($422B) and Morocco ranks 58/197 ($161B). By GDP per capita, Malaysia ranks 79/197 ($11,874), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Malaysia Morocco
Population
36512221
38871720
Population rank 45/197 41/197
GDP
$422B
2024
$161B
2024
GDP rank 38/197 58/197
GDP per capita
$11,874
2024
$4,218
2024
GDP per capita rank 79/197 127/197
GDP per capita, PPP
$38,779
2024
$10,415
2024
Government debt
$296B
2024
$109B
2024
Debt-to-GDP ratio
70.1%
2024
67.7%
2024
Government debt per person
$8,322
2024
$2,857
2024
Government debt per person rank 62/185 104/185
Average annual personal income after taxes
$11,005
2026
$5,678
2026
Land area 126,854 sq mi 172,317 sq mi
Population density
287 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
1.55
2023
2.23
2023
Median age
31.5 years
2024
30.5 years
2024
Life expectancy
77.2 years
2026
75.9 years
2026

Malaysia and Morocco: Comparison Charts

Malaysia and Morocco economies compared

GDP
Malaysia

Morocco
1x
Year GDP
Malaysia Morocco
2024 $422,227,005,429 $160,610,994,055
2023 $399,949,418,753 $146,036,093,667
2022 $407,830,525,990 $131,245,312,804
2021 $373,784,553,030 $142,022,058,447
2020 $337,456,163,961 $121,353,645,057
2019 $365,177,721,022 $128,920,266,409
2018 $358,788,845,713 $127,341,147,582
2017 $319,109,094,160 $118,540,573,368
2016 $301,256,033,870 $111,572,947,005
2015 $301,355,266,965 $110,413,823,842
2014 $338,066,095,097 $119,130,841,412
2013 $323,276,235,524 $115,739,287,305
2012 $314,443,047,642 $106,937,392,311
2011 $297,951,668,675 $110,080,631,332
2010 $255,017,638,456 $100,865,329,473
2009 $202,257,453,037 $101,154,952,241
2008 $230,811,614,370 $101,822,906,949
2007 $193,549,569,478 $86,947,913,287
2006 $162,692,258,307 $75,883,823,301
2005 $143,534,405,819 $68,852,658,069
2004 $124,749,473,684 $66,114,145,451
2003 $110,202,368,421 $58,029,363,354
2002 $100,845,526,316 $47,077,192,188
2001 $92,783,947,368 $43,831,480,208
2000 $93,789,736,842 $43,017,455,402
1999 $79,148,421,053 $46,266,428,648
1998 $72,167,498,981 $46,497,608,725
1997 $100,005,323,302 $39,147,844,526
1996 $100,855,393,910 $43,161,571,528
1995 $88,705,342,903 $39,030,285,468
1994 $74,478,356,958 $35,604,137,423
1993 $66,894,966,969 $31,655,473,664
1992 $59,167,550,163 $33,711,069,431
1991 $49,143,148,094 $32,285,573,574
1990 $44,024,585,240 $30,179,954,775
1989 $38,847,965,293 $26,314,313,191
1988 $35,272,109,220 $25,705,296,184
1987 $32,181,210,158 $21,765,195,948
1986 $27,734,111,400 $19,462,085,540
1985 $31,199,633,353 $14,991,283,216
1984 $33,942,897,422 $14,824,667,954
1983 $30,347,442,111 $16,251,408,128
1982 $26,804,493,635 $17,692,276,734
1981 $25,004,285,792 $17,788,185,479
1980 $24,488,224,677 $21,728,516,153
1979 $21,213,264,962 $15,911,994,817
1978 $16,358,079,862 $13,236,946,234
1977 $13,139,488,633 $11,049,783,872
1976 $11,050,234,599 $9,584,297,284
1975 $9,298,800,799 $8,984,853,005
1974 $9,496,204,302 $7,675,466,449
1973 $7,662,902,678 $6,242,145,880
1972 $5,043,347,250 $5,074,117,545
1971 $4,244,395,956 $4,356,669,034
1970 $3,864,145,667 $3,956,336,244
1969 $3,664,552,041 $3,651,622,669
1968 $3,330,371,551 $3,271,422,333
1967 $3,188,924,677 $3,046,345,314
1966 $3,143,517,944 $2,876,401,297
1965 $2,956,337,669 $2,948,331,090
1964 $2,674,423,922 $2,798,345,299
1963 $2,510,110,348 $2,657,252,578
1962 $2,001,489,602 $2,379,611,125
1961 $1,901,856,123 $2,025,693,540
1960 $1,916,229,477 $2,037,154,742

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

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

Malaysia and Morocco economies compared

GDP per capita
Malaysia

Morocco
1x
Year GDP per capita
Malaysia Morocco
2024 $11,874 $4,218
2023 $11,386 $3,872
2022 $11,755 $3,516
2021 $10,903 $3,843
2020 $9,958 $3,317
2019 $10,920 $3,560
2018 $10,902 $3,553
2017 $9,863 $3,344
2016 $9,477 $3,186
2015 $9,649 $3,190
2014 $11,013 $3,483
2013 $10,714 $3,425
2012 $10,601 $3,206
2011 $10,217 $3,345
2010 $8,899 $3,107
2009 $7,191 $3,158
2008 $8,372 $3,222
2007 $7,169 $2,788
2006 $6,158 $2,466
2005 $5,556 $2,268
2004 $4,939 $2,207
2003 $4,465 $1,962
2002 $4,184 $1,612
2001 $3,944 $1,521
2000 $4,084 $1,513
1999 $3,528 $1,651
1998 $3,294 $1,683
1997 $4,679 $1,439
1996 $4,837 $1,610
1995 $4,363 $1,478
1994 $3,758 $1,369
1993 $3,462 $1,236
1992 $3,141 $1,337
1991 $2,679 $1,302
1990 $2,469 $1,238
1989 $2,244 $1,099
1988 $2,100 $1,094
1987 $1,977 $944
1986 $1,760 $861
1985 $2,046 $678
1984 $2,300 $687
1983 $2,124 $772
1982 $1,938 $862
1981 $1,866 $890
1980 $1,886 $1,117
1979 $1,680 $839
1978 $1,327 $716
1977 $1,092 $613
1976 $940 $545
1975 $811 $524
1974 $848 $459
1973 $701 $382
1972 $472 $319
1971 $407 $280.6
1970 $380 $261.5
1969 $368 $247.8
1968 $342 $228
1967 $335 $218.1
1966 $339 $211.5
1965 $326 $222.7
1964 $303 $216.9
1963 $291.8 $211.3
1962 $238.8 $194.2
1961 $232.9 $169.8
1960 $240.8 $175.2

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

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

Malaysia vs. Morocco life expectancy calculator

Life expectancy
Malaysia

Morocco
1x
Year Life expectancy, years
Malaysia Morocco
2026 77.2 75.9
2025 77 75.7
2024 76.8 75.5
2023 76.7 75.3
2022 75.4 75.2
2021 73.9 73.4
2020 76.1 73.1
2019 75.9 74.2
2018 75.7 73.9
2017 75.5 73.6
2016 75.4 73.2
2015 75.3 72.9
2014 75.3 72.5
2013 75.5 72.1
2012 75.6 71.7
2011 75.5 71.3
2010 75.4 70.8
2009 75.3 70.5
2008 75.2 70.1
2007 75 69.6
2006 74.7 69.2
2005 74.4 68.7
2004 74 68.3
2003 73.7 68
2002 73.5 67.6
2001 73.1 67.2
2000 72.7 66.8
1999 72.4 66.4
1998 72.4 66
1997 72.3 65.6
1996 72.1 65.2
1995 72 64.7
1994 71.9 64.3
1993 71.7 63.9
1992 71.5 63.4
1991 71.2 62.9
1990 71 62.4
1989 70.8 61.8
1988 70.6 61.2
1987 70.4 60.6
1986 70.1 60
1985 69.9 59.2
1984 69.6 58.4
1983 69.2 57.7
1982 68.9 56.9
1981 68.5 56
1980 68.1 55.2
1979 67.6 54.4
1978 67.2 53.6
1977 66.7 52.8
1976 66.2 52
1975 65.7 51.4
1974 65.2 50.8
1973 64.7 50.2
1972 64.2 49.7
1971 63.8 49.2
1970 63.3 48.7
1969 62.9 48.2
1968 62.4 47.7
1967 62 47.1
1966 61.7 46.5
1965 61.1 45.9
1964 60.4 45.3
1963 59.7 44.8
1962 58.9 44.2
1961 58 43.7
1960 57.2 41.7
1959 56.3 42.7
1958 55.4 42.2
1957 54.5 41.7
1956 53.7 41.2
1955 52.8 40.8
1954 52 40.4
1953 51.1 40
1952 50.1 39.6
1951 49.2 39.1
1950 48.5 38.8

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

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

Malaysia and Morocco population clocks and comparison

Population
Malaysia

Morocco
1x
Year Population
Malaysia Morocco
2024 35,557,673 38,081,173
2023 35,126,298 37,712,505
2022 34,695,493 37,329,064
2021 34,282,399 36,954,442
2020 33,889,558 36,584,208
2019 33,440,596 36,210,898
2018 32,910,967 35,839,760
2017 32,355,644 35,446,392
2016 31,789,685 35,023,457
2015 31,232,798 34,607,588
2014 30,696,137 34,204,780
2013 30,174,265 33,787,571
2012 29,662,831 33,355,241
2011 29,162,039 32,912,588
2010 28,655,776 32,467,016
2009 28,124,778 32,030,778
2008 27,570,059 31,606,767
2007 26,998,389 31,186,468
2006 26,417,909 30,771,178
2005 25,836,071 30,358,144
2004 25,256,772 29,953,018
2003 24,679,602 29,571,415
2002 24,102,477 29,198,142
2001 23,526,538 28,814,643
2000 22,967,816 28,423,435
1999 22,435,531 28,027,179
1998 21,906,713 27,621,648
1997 21,375,218 27,213,337
1996 20,850,087 26,808,107
1995 20,330,599 26,399,429
1994 19,820,446 26,000,822
1993 19,322,664 25,614,586
1992 18,834,572 25,212,468
1991 18,342,464 24,799,014
1990 17,833,171 24,375,551
1989 17,314,997 23,939,414
1988 16,796,605 23,500,524
1987 16,276,737 23,054,392
1986 15,760,419 22,600,803
1985 15,252,258 22,113,953
1984 14,759,009 21,593,778
1983 14,285,907 21,060,696
1982 13,832,798 20,520,318
1981 13,399,203 19,985,401
1980 12,983,363 19,459,943
1979 12,627,862 18,955,589
1978 12,328,157 18,477,385
1977 12,035,713 18,014,756
1976 11,750,097 17,574,182
1975 11,471,914 17,150,786
1974 11,200,906 16,733,842
1973 10,935,621 16,326,269
1972 10,676,835 15,924,692
1971 10,423,453 15,527,225
1970 10,178,802 15,129,449
1969 9,947,597 14,734,255
1968 9,725,281 14,347,899
1967 9,507,099 13,968,175
1966 9,284,688 13,597,065
1965 9,056,408 13,239,171
1964 8,828,406 12,898,886
1963 8,602,160 12,577,502
1962 8,380,172 12,253,092
1961 8,164,443 11,931,085
1960 7,956,197 11,624,933

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

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

Fertility rates in Malaysia and Morocco

Fertility rate
Malaysia

Morocco
1x
Year Fertility rate
Malaysia Morocco
2023 1.55 2.23
2022 1.55 2.26
2021 1.56 2.29
2020 1.68 2.32
2019 1.78 2.34
2018 1.84 2.35
2017 1.89 2.38
2016 1.94 2.4
2015 2.01 2.41
2014 2.06 2.42
2013 2.07 2.48
2012 2.12 2.54
2011 2.15 2.6
2010 2.14 2.63
2009 2.22 2.62
2008 2.26 2.61
2007 2.25 2.62
2006 2.31 2.61
2005 2.39 2.61
2004 2.49 2.61
2003 2.6 2.61
2002 2.66 2.62
2001 2.81 2.69
2000 2.94 2.77
1999 3.07 2.88
1998 3.12 3.04
1997 3.23 3.15
1996 3.3 3.23
1995 3.32 3.3
1994 3.35 3.41
1993 3.36 3.55
1992 3.37 3.76
1991 3.34 3.95
1990 3.3 4.06
1989 3.31 4.22
1988 3.5 4.39
1987 3.57 4.58
1986 3.7 4.77
1985 3.8 4.99
1984 3.89 5.2
1983 3.93 5.41
1982 3.97 5.6
1981 4 5.71
1980 4.04 5.78
1979 4.09 5.85
1978 4.18 5.91
1977 4.28 6.04
1976 4.4 6.18
1975 4.5 6.3
1974 4.62 6.4
1973 4.73 6.48
1972 4.82 6.55
1971 4.92 6.62
1970 5.04 6.68
1969 5.16 6.73
1968 5.29 6.79
1967 5.43 6.85
1966 5.64 6.89
1965 5.84 6.93
1964 6.03 6.97
1963 6.19 7.01
1962 6.3 7.05
1961 6.37 6.97
1960 6.41 6.89

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

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

Malaysia and Morocco demographics compared

Median age
Malaysia

Morocco
1x
Year Median age, years
Malaysia Morocco
2024 31.5 30.5
2023 31.1 30.2
2022 30.6 29.9
2021 30.1 29.5
2020 29.6 29.2
2019 29.2 28.9
2018 28.8 28.5
2017 28.5 28.2
2016 28.1 27.8
2015 27.8 27.5
2014 27.5 27.1
2013 27.1 26.7
2012 26.8 26.4
2011 26.4 26.1
2010 26 25.7
2009 25.6 25.4
2008 25.1 25
2007 24.8 24.7
2006 24.5 24.3
2005 24.2 24
2004 24 23.7
2003 23.9 23.4
2002 23.7 23.1
2001 23.6 22.8
2000 23.5 22.5
1999 23.4 22.2
1998 23.1 21.9
1997 22.9 21.6
1996 22.7 21.3
1995 22.5 21
1994 22.3 20.6
1993 22.1 20.3
1992 21.9 20
1991 21.7 19.7
1990 21.5 19.4
1989 21.3 19.2
1988 21.1 18.9
1987 21 18.7
1986 20.9 18.5
1985 20.7 18.3
1984 20.5 18.1
1983 20.4 18
1982 20.1 17.8
1981 19.9 17.7
1980 19.7 17.6
1979 19.5 17.4
1978 19.3 17.3
1977 19 17.2
1976 18.8 17.1
1975 18.6 16.9
1974 18.3 16.9
1973 18.1 16.8
1972 17.9 16.7
1971 17.6 16.7
1970 17.4 16.6
1969 17.3 16.6
1968 17.1 16.6
1967 17 16.7
1966 16.9 16.8
1965 16.8 16.9
1964 16.9 17
1963 17 17.2
1962 17.1 17.4
1961 17.3 17.6
1960 17.5 17.9

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Malaysia Morocco
GNI, Atlas method
$414B
2024
$149B
2024
Government expenditure, % of GDP
23.9%
2024
33%
2024
Education expenditure, % of GDP
3.51%
2023
6.02%
2023
Military expenditure, % of GDP
0.99%
2024
3.52%
2024
Armed forces personnel
136,000
2020
246,000
2020
Deficit/surplus, % of GDP
-3.95%
2024
-3.92%
2024
Unemployment rate
3.93%
2022
11.8%
2022
Services, % of GDP
53.7%
2024
52.7%
2024
Industry, % of GDP
37%
2024
25.6%
2024
Economic freedom index
68
2026
61.8
2026
Income share by richest 10%
30.9%
2021
31.9%
2013
Income share by poorest 10%
2.3%
2021
2.7%
2013
Number of billionaires
19
2025
3
2025
Percentage of billionaires
0.00008%
2025
0.00001%
2025
Listed domestic companies
1,031
2024
76
2024
Market capitalization of domestic companies
$449B
2024
$74.5B
2024
Total reserves including gold
$116B
2024
$37.1B
2024
Personal remittances received
$1.61B
2024
$12.5B
2024
International tourist arrivals
4,333,000
2020
2,802,000
2020
International tourism as share of exports
1.63%
2020
12%
2020
Banked people share
88.7%
2024
44.4%
2024

Energy

Malaysia Morocco
Energy use, kg of oil equivalent per capita
2,867 kg
2022
601 kg
2023
GDP PPP per kg equivalent of energy use
$12
2022
$16.7
2023
Carbon dioxide (CO2) emissions
296 megatons
2024
70 megatons
2024
CO2 emissions per capita
8.32 tons
2024
1.84 tons
2024
Fossil fuel energy use share
96%
2022
90.1%
2022
Renewable energy use share
7.5%
2021
10.9%
2021
Alternative and nuclear energy use share
2.88%
2022
4.92%
2023
Net energy imports use share
-0.58%
2022
93.6%
2023
Electric power consumption per capita
4,986 kWh
2022
997 kWh
2023
Renewable electricity output share
17%
2021
19.3%
2021
Hydroelectric share
16.6%
2022
1.18%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
100%
2023
100%
2023

Society

Malaysia Morocco
% of world population
0.44%
2024
0.47%
2024
Annual migration change
+166,615
2025
-56,254
2025
Urban population
76.9%
2024
62.8%
2024
Male:Female ratio
52.4:47.6
2024
50.4:49.6
2024
Average male height
5.55 ft
2025
5.79 ft
2025
Average female height
5.15 ft
2025
5.29 ft
2025
Quality of life index
68.2
2026
51.1
2026
Corruption Perceptions Index
52
2025
39
2025
Higher education index
76
2026
54
2026
Homicides per 100K people
0.72
2021
1.69
2024
Road traffic mortality per 100K people
22.5
2019
17
2019
Visa free countries
174
2025
83
2025
Adult literacy rate
95.8%
2022
77.3%
2022
English speaking
57.3%
2023
18.4%
2023
People using the Internet
98%
2024
91%
2023

Health

Malaysia Morocco
Government health expenditure per capita
$450
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$167
2023
$86.5
2023
Life expectancy
77.2 years
2026
75.9 years
2026
Foreign aid share of health expenditure
0.001%
2023
0.62%
2023
Physicians per 1,000 people
2.34
2023
0.74
2021
Maternal mortality per 100K births
26
2023
70
2023
Mortality rate before reaching 5 years of age
8.1
2023
16.6
2023
Obesity rate
22.4%
2022
22.5%
2022
Diabetes prevalence
21.1%
2024
11.9%
2024
Air quality index
41
2026
75
2026
Tobacco use prevalence
22%
2022
13%
2022
Pure alcohol consumption per capita
0.74 liters
2020
0.5 liters
2020

Territory

Malaysia Morocco
% of world land
0.22%
2026
0.3%
2026
Land area per capita
3,568 sq mi
2024
4,525 sq mi
2024
Agricultural land area
33,093 sq mi
2026
115,013 sq mi
2026
Forest area
73,219 sq mi
2026
22,293 sq mi
2026
Roads length
173,898 mi
2022
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. 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.