Skip to content

Morocco vs South Africa statistics compared

Updated on by Georank team

Morocco has a population of 38.1M (ranked 39/197), compared with 64M in South Africa (ranked 24/197). Morocco's land area is 172,317 sq mi versus 468,377 sq mi for South Africa (ranked 55th vs. 24th).

By GDP, Morocco ranks 58/197 ($161B) and South Africa ranks 40/197 ($401B). By GDP per capita, Morocco ranks 127/197 ($4,218), while South Africa ranks 111/197 ($6,267).

Main facts and rankings

Morocco South Africa
Population
38871720
65683993
Population rank 41/197 24/197
GDP
$161B
2024
$401B
2024
GDP rank 58/197 40/197
GDP per capita
$4,218
2024
$6,267
2024
GDP per capita rank 127/197 111/197
GDP per capita, PPP
$10,415
2024
$15,456
2024
Government debt
$109B
2024
$305B
2024
Debt-to-GDP ratio
67.7%
2024
76%
2024
Government debt per person
$2,857
2024
$4,761
2024
Government debt per person rank 104/185 83/185
Average annual personal income after taxes
$5,678
2026
$15,431
2026
Land area 172,317 sq mi 468,377 sq mi
Population density
225.1 ppl/mi²
2026
139.8 ppl/mi²
2026
Fertility rate
2.23
2023
2.22
2023
Median age
30.5 years
2024
29.5 years
2024
Life expectancy
75.9 years
2026
66.7 years
2026

Morocco and South Africa: Comparison Charts

Morocco and South Africa economies compared

GDP
Morocco

South Africa
1x
Year GDP
Morocco South Africa
2024 $160,610,994,055 $401,144,998,374
2023 $146,036,093,667 $381,440,724,491
2022 $131,245,312,804 $407,596,043,068
2021 $142,022,058,447 $419,986,284,375
2020 $121,353,645,057 $337,974,655,408
2019 $128,920,266,409 $389,330,032,224
2018 $127,341,147,582 $405,260,723,893
2017 $118,540,573,368 $381,448,814,653
2016 $111,572,947,005 $323,585,509,674
2015 $110,413,823,842 $346,709,790,459
2014 $119,130,841,412 $381,198,869,776
2013 $115,739,287,305 $400,886,013,596
2012 $106,937,392,311 $434,400,545,086
2011 $110,080,631,332 $458,199,494,831
2010 $100,865,329,473 $417,363,822,802
2009 $101,154,952,241 $329,754,060,647
2008 $101,822,906,949 $316,131,258,616
2007 $86,947,913,287 $333,077,117,254
2006 $75,883,823,301 $303,858,675,364
2005 $68,852,658,069 $288,867,217,197
2004 $66,114,145,451 $255,806,908,595
2003 $58,029,363,354 $197,018,965,309
2002 $47,077,192,188 $129,087,556,612
2001 $43,831,480,208 $135,429,905,923
2000 $43,017,455,402 $151,752,757,215
1999 $46,266,428,648 $151,516,957,079
1998 $46,497,608,725 $152,982,984,557
1997 $39,147,844,526 $168,978,057,328
1996 $43,161,571,528 $163,234,925,381
1995 $39,030,285,468 $171,735,933,897
1994 $35,604,137,423 $153,512,712,382
1993 $31,655,473,664 $147,194,747,566
1992 $33,711,069,431 $146,956,150,987
1991 $32,285,573,574 $135,203,698,238
1990 $30,179,954,775 $126,048,140,142
1989 $26,314,313,191 $108,055,624,082
1988 $25,705,296,184 $103,976,831,871
1987 $21,765,195,948 $96,535,763,418
1986 $19,462,085,540 $73,354,771,399
1985 $14,991,283,216 $64,459,376,087
1984 $14,824,667,954 $84,870,163,366
1983 $16,251,408,128 $96,204,110,942
1982 $17,692,276,734 $85,904,057,409
1981 $17,788,185,479 $93,141,472,164
1980 $21,728,516,153 $89,411,864,402
1979 $15,911,994,817 $63,038,658,089
1978 $13,236,946,234 $51,607,412,902
1977 $11,049,783,872 $45,328,411,332
1976 $9,584,297,284 $41,150,460,288
1975 $8,984,853,005 $42,906,905,672
1974 $7,675,466,449 $41,389,186,095
1973 $6,242,145,880 $33,262,772,008
1972 $5,074,117,545 $24,515,919,217
1971 $4,356,669,034 $23,411,076,638
1970 $3,956,336,244 $21,218,391,513
1969 $3,651,622,669 $19,256,992,297
1968 $3,271,422,333 $17,124,793,150
1967 $3,046,345,314 $15,821,393,671
1966 $2,876,401,297 $14,211,394,315
1965 $2,948,331,090 $13,068,994,772
1964 $2,798,345,299 $11,955,995,218
1963 $2,657,252,578 $10,854,195,658
1962 $2,379,611,125 $9,813,996,074
1961 $2,025,693,540 $9,225,996,310
1960 $2,037,154,742 $8,748,596,501

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

GeoRank.org/facts/morocco/south-africa | CC BY

Morocco and South Africa economies compared

GDP per capita
Morocco

South Africa
1x
Year GDP per capita
Morocco South Africa
2024 $4,218 $6,267
2023 $3,872 $6,034
2022 $3,516 $6,534
2021 $3,843 $6,829
2020 $3,317 $5,581
2019 $3,560 $6,534
2018 $3,553 $6,914
2017 $3,344 $6,618
2016 $3,186 $5,651
2015 $3,190 $6,112
2014 $3,483 $6,857
2013 $3,425 $7,332
2012 $3,206 $8,077
2011 $3,345 $8,646
2010 $3,107 $7,973
2009 $3,158 $6,375
2008 $3,222 $6,185
2007 $2,788 $6,592
2006 $2,466 $6,077
2005 $2,268 $5,837
2004 $2,207 $5,221
2003 $1,962 $4,062
2002 $1,612 $2,688
2001 $1,521 $2,847
2000 $1,513 $3,218
1999 $1,651 $3,242
1998 $1,683 $3,310
1997 $1,439 $3,700
1996 $1,610 $3,618
1995 $1,478 $3,856
1994 $1,369 $3,489
1993 $1,236 $3,400
1992 $1,337 $3,462
1991 $1,302 $3,243
1990 $1,238 $3,093
1989 $1,099 $2,727
1988 $1,094 $2,702
1987 $944 $2,586
1986 $861 $2,027
1985 $678 $1,839
1984 $687 $2,504
1983 $772 $2,938
1982 $862 $2,717
1981 $890 $3,050
1980 $1,117 $3,029
1979 $839 $2,202
1978 $716 $1,852
1977 $613 $1,671
1976 $545 $1,559
1975 $524 $1,670
1974 $459 $1,656
1973 $382 $1,369
1972 $319 $1,038
1971 $280.6 $1,020
1970 $261.5 $952
1969 $247.8 $891
1968 $228 $817
1967 $218.1 $779
1966 $211.5 $722
1965 $222.7 $685
1964 $216.9 $646
1963 $211.3 $605
1962 $194.2 $563
1961 $169.8 $546
1960 $175.2 $532

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

GeoRank.org/facts/morocco/south-africa | CC BY

Morocco vs. South Africa life expectancy calculator

Life expectancy
Morocco

South Africa
1x
Year Life expectancy, years
Morocco South Africa
2026 75.9 66.7
2025 75.7 66.5
2024 75.5 66.3
2023 75.3 66.1
2022 75.2 65.5
2021 73.4 62
2020 73.1 65.2
2019 74.2 66.1
2018 73.9 65.7
2017 73.6 65.4
2016 73.2 64.7
2015 72.9 64.1
2014 72.5 63.2
2013 72.1 62.4
2012 71.7 61.7
2011 71.3 60.6
2010 70.8 58.9
2009 70.5 57.4
2008 70.1 56
2007 69.6 54.9
2006 69.2 54.2
2005 68.7 53.9
2004 68.3 54
2003 68 54.2
2002 67.6 55.6
2001 67.2 57.2
2000 66.8 58.4
1999 66.4 59.2
1998 66 59.9
1997 65.6 60.5
1996 65.2 61.1
1995 64.7 61.6
1994 64.3 62.1
1993 63.9 62.6
1992 63.4 62.8
1991 62.9 63
1990 62.4 62.9
1989 61.8 63
1988 61.2 62.9
1987 60.6 62.7
1986 60 62.4
1985 59.2 62.2
1984 58.4 61.8
1983 57.7 61.4
1982 56.9 60.9
1981 56 60.4
1980 55.2 60
1979 54.4 59.5
1978 53.6 59
1977 52.8 58.5
1976 52 58
1975 51.4 57.6
1974 50.8 57.1
1973 50.2 56.7
1972 49.7 56.4
1971 49.2 56
1970 48.7 55.7
1969 48.2 55.4
1968 47.7 55.2
1967 47.1 55
1966 46.5 54.7
1965 45.9 54.4
1964 45.3 54.2
1963 44.8 53.9
1962 44.2 53.6
1961 43.7 53.1
1960 41.7 52.6
1959 42.7 51.9
1958 42.2 51.1
1957 41.7 50.2
1956 41.2 49.2
1955 40.8 48.2
1954 40.4 47.1
1953 40 46.1
1952 39.6 45
1951 39.1 44.1
1950 38.8 43.1

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

GeoRank.org/facts/morocco/south-africa | CC BY

Morocco and South Africa population clocks and comparison

Population
Morocco

South Africa
1x
Year Population
Morocco South Africa
2024 38,081,173 64,007,187
2023 37,712,505 63,212,384
2022 37,329,064 62,378,410
2021 36,954,442 61,502,603
2020 36,584,208 60,562,381
2019 36,210,898 59,587,885
2018 35,839,760 58,613,001
2017 35,446,392 57,635,162
2016 35,023,457 57,259,551
2015 34,607,588 56,723,537
2014 34,204,780 55,594,838
2013 33,787,571 54,678,791
2012 33,355,241 53,782,567
2011 32,912,588 52,995,205
2010 32,467,016 52,344,051
2009 32,030,778 51,728,516
2008 31,606,767 51,114,599
2007 31,186,468 50,528,584
2006 30,771,178 49,998,277
2005 30,358,144 49,490,033
2004 29,953,018 48,991,421
2003 29,571,415 48,500,348
2002 29,198,142 48,019,415
2001 28,814,643 47,566,800
2000 28,423,435 47,159,719
1999 28,027,179 46,730,335
1998 27,621,648 46,223,880
1997 27,213,337 45,666,838
1996 26,808,107 45,123,018
1995 26,399,429 44,541,554
1994 26,000,822 44,004,139
1993 25,614,586 43,297,156
1992 25,212,468 42,443,509
1991 24,799,014 41,687,898
1990 24,375,551 40,746,268
1989 23,939,414 39,628,575
1988 23,500,524 38,480,649
1987 23,054,392 37,326,190
1986 22,600,803 36,180,515
1985 22,113,953 35,042,093
1984 21,593,778 33,892,788
1983 21,060,696 32,739,304
1982 20,520,318 31,615,339
1981 19,985,401 30,541,044
1980 19,459,943 29,518,857
1979 18,955,589 28,634,162
1978 18,477,385 27,869,507
1977 18,014,756 27,118,952
1976 17,574,182 26,395,450
1975 17,150,786 25,690,940
1974 16,733,842 24,989,108
1973 16,326,269 24,294,263
1972 15,924,692 23,609,456
1971 15,527,225 22,942,143
1970 15,129,449 22,279,984
1969 14,734,255 21,614,676
1968 14,347,899 20,957,287
1967 13,968,175 20,314,066
1966 13,597,065 19,690,087
1965 13,239,171 19,089,380
1964 12,898,886 18,511,361
1963 12,577,502 17,954,564
1962 12,253,092 17,418,522
1961 11,931,085 16,908,035
1960 11,624,933 16,440,172

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

GeoRank.org/facts/morocco/south-africa | CC BY

Fertility rates in Morocco and South Africa

Fertility rate
Morocco

South Africa
1x
Year Fertility rate
Morocco South Africa
2023 2.23 2.22
2022 2.26 2.23
2021 2.29 2.25
2020 2.32 2.26
2019 2.34 2.26
2018 2.35 2.27
2017 2.38 2.28
2016 2.4 2.26
2015 2.41 2.36
2014 2.42 2.42
2013 2.48 2.43
2012 2.54 2.45
2011 2.6 2.44
2010 2.63 2.44
2009 2.62 2.5
2008 2.61 2.68
2007 2.62 2.55
2006 2.61 2.55
2005 2.61 2.51
2004 2.61 2.44
2003 2.61 2.36
2002 2.62 2.32
2001 2.69 2.37
2000 2.77 2.41
1999 2.88 2.56
1998 3.04 2.63
1997 3.15 2.73
1996 3.23 2.99
1995 3.3 3.17
1994 3.41 3.26
1993 3.55 3.37
1992 3.76 3.48
1991 3.95 3.62
1990 4.06 3.72
1989 4.22 3.98
1988 4.39 4.18
1987 4.58 4.35
1986 4.77 4.41
1985 4.99 4.5
1984 5.2 4.57
1983 5.41 4.63
1982 5.6 4.7
1981 5.71 4.71
1980 5.78 4.78
1979 5.85 4.82
1978 5.91 4.85
1977 6.04 4.94
1976 6.18 5.07
1975 6.3 5.19
1974 6.4 5.3
1973 6.48 5.41
1972 6.55 5.49
1971 6.62 5.57
1970 6.68 5.63
1969 6.73 5.72
1968 6.79 5.78
1967 6.85 5.85
1966 6.89 5.91
1965 6.93 5.89
1964 6.97 5.96
1963 7.01 6.01
1962 7.05 6.05
1961 6.97 6.08
1960 6.89 6.11

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

GeoRank.org/facts/morocco/south-africa | CC BY

Morocco and South Africa demographics compared

Median age
Morocco

South Africa
1x
Year Median age, years
Morocco South Africa
2024 30.5 29.5
2023 30.2 29.2
2022 29.9 28.9
2021 29.5 28.6
2020 29.2 28.3
2019 28.9 27.9
2018 28.5 27.5
2017 28.2 27
2016 27.8 26.7
2015 27.5 26.4
2014 27.1 26
2013 26.7 25.7
2012 26.4 25.3
2011 26.1 25
2010 25.7 24.6
2009 25.4 24.3
2008 25 24
2007 24.7 23.8
2006 24.3 23.5
2005 24 23.3
2004 23.7 23.1
2003 23.4 22.8
2002 23.1 22.4
2001 22.8 22.2
2000 22.5 21.9
1999 22.2 21.6
1998 21.9 21.4
1997 21.6 21.2
1996 21.3 21.2
1995 21 21.5
1994 20.6 22
1993 20.3 21.9
1992 20 21.5
1991 19.7 21.5
1990 19.4 21.3
1989 19.2 21.1
1988 18.9 20.9
1987 18.7 20.7
1986 18.5 20.5
1985 18.3 20.4
1984 18.1 20.2
1983 18 20
1982 17.8 19.8
1981 17.7 19.6
1980 17.6 19.4
1979 17.4 19.3
1978 17.3 19.2
1977 17.2 19.1
1976 17.1 19
1975 16.9 18.9
1974 16.9 18.9
1973 16.8 18.8
1972 16.7 18.8
1971 16.7 18.8
1970 16.6 18.8
1969 16.6 18.8
1968 16.6 18.8
1967 16.7 18.8
1966 16.8 18.8
1965 16.9 18.8
1964 17 18.9
1963 17.2 18.9
1962 17.4 18.9
1961 17.6 19
1960 17.9 19

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

GeoRank.org/facts/morocco/south-africa | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Morocco South Africa
GNI, Atlas method
$149B
2024
$391B
2024
Government expenditure, % of GDP
33%
2024
33%
2024
Education expenditure, % of GDP
6.02%
2023
6.02%
2024
Military expenditure, % of GDP
3.52%
2024
0.7%
2024
Armed forces personnel
246,000
2020
89,000
2020
Deficit/surplus, % of GDP
-3.92%
2024
-5.79%
2024
Unemployment rate
11.8%
2022
32.3%
2024
Services, % of GDP
52.7%
2024
63%
2024
Industry, % of GDP
25.6%
2024
24.3%
2024
Economic freedom index
61.8
2026
58.6
2026
Income share by richest 10%
31.9%
2013
50.5%
2014
Income share by poorest 10%
2.7%
2013
0.9%
2014
Number of millionaires n/a
90,595
2025
Percentage of millionaires n/a
0.22%
2025
Number of billionaires
3
2025
7
2025
Percentage of billionaires
0.00001%
2025
0.00002%
2025
Listed domestic companies
76
2024
220
2024
Market capitalization of domestic companies
$74.5B
2024
$986B
2024
Total reserves including gold
$37.1B
2024
$65.4B
2024
Personal remittances received
$12.5B
2024
$855M
2024
International tourist arrivals
2,802,000
2020
3,886,600
2020
International tourism as share of exports
12%
2020
2.89%
2020
Banked people share
44.4%
2024
81.1%
2024

Energy

Morocco South Africa
Energy use, kg of oil equivalent per capita
601 kg
2023
1,939 kg
2023
GDP PPP per kg equivalent of energy use
$16.7
2023
$7.84
2023
Carbon dioxide (CO2) emissions
70 megatons
2024
440 megatons
2024
CO2 emissions per capita
1.84 tons
2024
6.88 tons
2024
Fossil fuel energy use share
90.1%
2022
93.3%
2022
Renewable energy use share
10.9%
2021
9.7%
2021
Alternative and nuclear energy use share
4.92%
2023
3.58%
2023
Net energy imports use share
93.6%
2023
-12.5%
2023
Electric power consumption per capita
997 kWh
2023
3,247 kWh
2023
Renewable electricity output share
19.3%
2021
6.45%
2021
Hydroelectric share
1.18%
2023
2.91%
2023
Nuclear share
0%
2021
3.73%
2023
Electricity access
100%
2023
87.7%
2023

Society

Morocco South Africa
% of world population
0.47%
2024
0.79%
2024
Annual migration change
-56,254
2025
+146,370
2025
Urban population
62.8%
2024
63.7%
2024
Male:Female ratio
50.4:49.6
2024
48.7:51.3
2024
Average male height
5.79 ft
2025
5.56 ft
2025
Average female height
5.29 ft
2025
5.2 ft
2025
Quality of life index
51.1
2026
42.1
2026
Corruption Perceptions Index
39
2025
41
2025
Higher education index
54
2026
81
2026
Homicides per 100K people
1.69
2024
45.5
2022
Road traffic mortality per 100K people
17
2019
22.2
2019
Visa free countries
83
2025
109
2025
Adult literacy rate
77.3%
2022
91.2%
2024
English speaking
18.4%
2023
31%
2023
People using the Internet
91%
2023
75.7%
2023

Health

Morocco South Africa
Government health expenditure per capita
$232.2
2023
$537
2023
Out-of-pocket health expenditure per capita
$86.5
2023
$35.9
2023
Life expectancy
75.9 years
2026
66.7 years
2026
Foreign aid share of health expenditure
0.62%
2023
2.06%
2023
Physicians per 1,000 people
0.74
2021
0.79
2022
Maternal mortality per 100K births
70
2023
118
2023
Mortality rate before reaching 5 years of age
16.6
2023
34.7
2023
Obesity rate
22.5%
2022
31.4%
2022
Diabetes prevalence
11.9%
2024
7.2%
2024
Air quality index
75
2026
39
2026
Tobacco use prevalence
13%
2022
20.7%
2022
Pure alcohol consumption per capita
0.5 liters
2020
7.13 liters
2020

Territory

Morocco South Africa
% of world land
0.3%
2026
0.81%
2026
Land area per capita
4,525 sq mi
2024
7,318 sq mi
2024
Agricultural land area
115,013 sq mi
2026
371,975 sq mi
2026
Forest area
22,293 sq mi
2026
65,409 sq mi
2026
Roads length
35,626 mi
2022
466,028 mi
2016

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.