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.

At a glance

Morocco is higher on 8 of the 12 indicators, while South Africa leads on the remaining 4. The widest separation is in armed forces as a share of the labor force, about 5.2 times; they are closest on gdp per capita.

Key differences

  • Morocco's armed forces as a share of the labor force (2.07) is about 5.2 times South Africa's (0.40).
  • Morocco's military expenditure as a share of government spending (10.67) is about 5.1 times South Africa's (2.11).
  • Morocco's military expenditure as a share of gdp (3.52) is about 5.0 times South Africa's (0.70).
  • Morocco's armed forces per 1,000 people (6.4) is about 4.7 times South Africa's (1.4).
  • Morocco's military expenditure per capita (144) is about 3.3 times South Africa's (44).

Frequently asked questions

Where do Morocco and South Africa differ most?
In armed forces as a share of the labor force. Morocco records 2.07 against South Africa's 0.40 — a ratio of roughly 5.2 to one.
Where are Morocco and South Africa most alike?
In gdp per capita, at 6,598 and 4,672 — a gap of only %41.
On how many indicators is Morocco ahead of South Africa?
Morocco is higher on 8 of the 12 ratio-scale indicators and South Africa on 4. A higher number is not automatically better, though — population density, for instance, is a characteristic rather than an advantage.
Morocco and South Africa — core indicators
020 M40 M60 M80 MPopulation (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