54 countries · side-by-side on every indicatorLiveGet API key

Country comparison

Morocco vs Uganda

Morocco and Uganda side by side across 74 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.

GDP$160.61B vs $53.91BMorocco vs Uganda
GDP per Capita$4,153 vs $1,078Morocco vs Uganda
Population38.08M vs 50.02MMorocco vs Uganda

Indicator by indicator

74 indicators
Indicator Morocco UgandaPeriod
GDPEconomy$160.61B$53.91B2024
GDP per CapitaEconomy$4,153$1,0782024
Inflation RateEconomy1.7%2.9%2026-04
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy9.19 LCU/USD3,759.71 LCU/USD2026-05
Budget BalanceEconomy-3.5%-5.9%2026
Unemployment RateEconomy9%2.7%2025
Public DebtEconomy65.8%55%2026
Trade BalanceEconomy$-13.15B$-4.93B2024
GDP GrowthEconomy3.8%6.1%2024
GNI per CapitaEconomy$3,840$1,0202024
GNI per Capita (PPP)Economy$10,260$3,1902024
GDP (PPP)Economy$402.77B$163.71B2024
Agriculture (% of GDP)Economy10.6%24.6%2024
Industry (% of GDP)Economy25.6%24.9%2024
Manufacturing (% of GDP)Economy15.3%15.1%2024
Services (% of GDP)Economy52.7%43.1%2024
Investment (% of GDP)Economy30.1%22.4%2024
Remittances ReceivedEconomy$12.51B$1.43B2024
Remittances (% of GDP)Economy7.8%2.7%2024
External Debt (% of GNI)Economy44.7%39.2%2024
Foreign ReservesEconomy$37.13B$3.48B2024
Credit to Private Sector (% of GDP)Economy77.8%14.3%2024
Tax Revenue (% of GDP)Economy20.7%12.6%2023
Labor Force ParticipationEconomy43.9%80%2025
Female Labor Force ParticipationEconomy19.7%75.6%2025
Income Inequality (Gini)Economy39.542.72013
Extreme Poverty RateEconomy3.7%59.8%2013
Account OwnershipEconomy44.4%72.8%2024
Youth NEET RateEconomy35.3%13.8%2014
Military Spending (% of GDP)Economy3.5%1.9%2024
Trade Openness (% of GDP)Economy92.2%42.7%2024
Inflation (GDP Deflator)Economy4%5%2024
Tourism ReceiptsEconomy$4.51B$518M2020
Tourist ArrivalsEconomy2.8M473K2020
Human Development IndexDevelopment0.710.5822023
Gender Inequality IndexDevelopment0.4380.5242023
Inequality-adjusted HDIDevelopment0.5170.42023
PopulationDemographics38.08M50.02M2024
Population GrowthDemographics1%2.8%2024
Life ExpectancyDemographics75.5 years68.5 years2024
Median AgeDemographics30.1 years17.1 years2026
Fertility RateDemographics2.214.172024
Rural PopulationDemographics37.2%68.7%2024
Population Under 15Demographics25.6%43.5%2024
Infant MortalityHealth14.735.92024
HIV PrevalenceHealth0.1%4.9%2024
Health Spending (% of GDP)Health6.1%4.2%2023
Physicians per 1,000Health0.740.192021
UHC Service Coverage IndexHealth65542023
Road Traffic DeathsHealth18.6162021
Premature NCD MortalityHealth22%21.5%2021
Out-of-Pocket Health SpendingHealth37.3%32.2%2023
Safely Managed SanitationHealth8.4%20.4%2024
Education Spending (% of GDP)Education6%2.6%2023
Tertiary EnrollmentEducation48.2%4.6%2024
UndernourishmentFood Security7%22%2023
Agricultural Land (% of Land)Agriculture66.7%71.9%2023
Food Production IndexAgriculture106.1135.52022
Cassava ProductionAgriculture1.63M t2024
Coffee ProductionAgriculture402K t2024
Cocoa ProductionAgriculture55K t2024
Sorghum ProductionAgriculture2.02K t225K t2024
Millet ProductionAgriculture5.18K t120K t2024
Homicide RateGovernance1.792023
Corruption Perceptions IndexGovernance37262024
Electoral Democracy IndexGovernance0.2590.2532025
Liberal Democracy IndexGovernance0.2510.1652025
Political Corruption IndexGovernance0.6710.8892025
Women in ParliamentGovernance24.3%34.1%2025
Internet UsersTechnology91.2%8.9%2024
Mobile SubscriptionsTechnology153.183.22024
Electricity AccessInfrastructure100%51.5%2023
CO2 Emissions per CapitaClimate1.84 t0.17 t2024

Get this comparison via API

GET /v1/data

One call returns both countries' latest value for any indicator — JSON, with source metadata.

curl "https://api.africa-api.com/v1/data?metric_key=gdp_current_usd&latest=true&country_codes=MA,UG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Uganda have the larger economy?

Morocco has the larger economy: $160.61B for Morocco versus $53.91B for Uganda (GDP, current US$).

How do Morocco and Uganda compare across indicators?

This page compares Morocco and Uganda on 74 indicators — economy, demographics, health, governance and more — each with its latest value, source, and a link to the full 54-country ranking.

How do I get this comparison via the API?

Call GET /v1/data?metric_key=<key>&latest=true&country_codes=MA,UG with a free Africa API key to get both countries' latest values as JSON.

More comparisons