Morocco vs South Africa

Every indicator for Morocco and South Africa side by side, with the percentage gap between them. Sources are listed at the bottom of the page.

Indicator comparison
IndicatorMoroccoSouth AfricaDifference
Population (2025) (people)38,430,77064,747,319−40.6%
GDP (nominal) (billion $)182427−57.4%
GDP per capita ($)4,6726,598−29.2%
Life expectancy (years)75.566.3
Area (km²)446,5501,219,090−63.4%
Population density (people/km²)8653+62.0%
Median age (years)28.0
Internet usage (%)91.278.4
Unemployment rate (%)9.032.4
Inflation (%)0.73.2
Urban population (%)63.163.8
Military expenditure (2024) (million $)5,5182,836+94.6%
Military expenditure as a share of GDP (%)3.520.70+402.9%
Military expenditure as a share of government spending (%)10.672.11+405.7%
Military expenditure per capita ($)14444+227.8%
Armed forces personnel (2020) (people)246,00089,000+176.4%
Armed forces per 1,000 people (people)6.41.4+365.7%
Armed forces as a share of the labor force (%)2.070.40+417.5%

The difference column shows the percentage gap of Morocco relative to South Africa; a positive value favors Morocco. Interpret it in context — for unemployment, a lower value is better.

Key differences

  • On population (2025), Morocco is 40.6% lower than South Africa.
  • On gdp (nominal), Morocco is 57.4% lower than South Africa.
  • On gdp per capita, Morocco is 29.2% lower than South Africa.
Morocco and South Africa — core indicators
020 mn40 mn60 mn80 mnPopulation (2025)GDP (nominal)GDP per capitaAreaPopulation (2025) — Morocco: 38.430.770GDP (nominal) — Morocco: 182GDP per capita — Morocco: 4.672Area — Morocco: 446.550Population (2025) — South Africa: 64.747.319GDP (nominal) — South Africa: 427GDP per capita — South Africa: 6.598Area — South Africa: 1.219.090
MoroccoSouth Africa

The indicators use different scales, so the chart is a rough visual comparison only; use the table for exact figures.

Other comparisons involving Morocco or South Africa.

Data sourcesUN World Population Prospects, IMF, World Bank, SIPRI