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

Country comparison

Morocco vs Kenya

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

GDP$160.61B vs $120.34BMorocco vs Kenya
GDP per Capita$4,153 vs $2,132Morocco vs Kenya
Population38.08M vs 56.43MMorocco vs Kenya

Indicator by indicator

73 indicators
Indicator Morocco KenyaPeriod
GDPEconomy$160.61B$120.34B2024
GDP per CapitaEconomy$4,153$2,1322024
Inflation RateEconomy1.7%6.7%2026-04
Central Bank Policy RateEconomy2.3%8.8%2026-03-19
Official Exchange RateEconomy9.19 LCU/USD129.29 LCU/USD2026-05
Budget BalanceEconomy-3.5%-6.4%2026
Unemployment RateEconomy9%5.4%2025
Public DebtEconomy65.8%71.6%2026
Trade BalanceEconomy$-13.15B$-7.29B2024
GDP GrowthEconomy3.8%4.7%2024
GNI per CapitaEconomy$3,840$2,0902024
GNI per Capita (PPP)Economy$10,260$6,5402024
GDP (PPP)Economy$402.77B$374.95B2024
Agriculture (% of GDP)Economy10.6%22.5%2024
Industry (% of GDP)Economy25.6%16.5%2024
Manufacturing (% of GDP)Economy15.3%7.3%2024
Services (% of GDP)Economy52.7%55.3%2024
Investment (% of GDP)Economy30.1%16.8%2024
Remittances ReceivedEconomy$12.51B$5B2024
Remittances (% of GDP)Economy7.8%4.2%2024
External Debt (% of GNI)Economy44.7%35%2024
Foreign ReservesEconomy$37.13B$10.07B2024
Credit to Private Sector (% of GDP)Economy77.8%31.8%2024
Tax Revenue (% of GDP)Economy20.7%14.1%2023
Labor Force ParticipationEconomy43.9%67.4%2025
Female Labor Force ParticipationEconomy19.7%63%2025
Income Inequality (Gini)Economy39.538.52013
Extreme Poverty RateEconomy3.7%45.5%2013
Account OwnershipEconomy44.4%90.1%2024
Youth NEET RateEconomy35.3%27.8%2014
Military Spending (% of GDP)Economy3.5%1%2024
Trade Openness (% of GDP)Economy92.2%40.2%2024
Inflation (GDP Deflator)Economy4%3.1%2024
Tourism ReceiptsEconomy$4.51B$1.76B2020
Tourist ArrivalsEconomy2.8M2.05M2020
Human Development IndexDevelopment0.710.6282023
Gender Inequality IndexDevelopment0.4380.5262023
Inequality-adjusted HDIDevelopment0.5170.4562023
PopulationDemographics38.08M56.43M2024
Population GrowthDemographics1%2%2024
Life ExpectancyDemographics75.5 years63.8 years2024
Median AgeDemographics30.1 years20.3 years2026
Fertility RateDemographics2.213.172024
Rural PopulationDemographics37.2%68.1%2024
Population Under 15Demographics25.6%36.8%2024
Infant MortalityHealth14.734.22024
HIV PrevalenceHealth0.1%3%2024
Health Spending (% of GDP)Health6.1%4.4%2023
Physicians per 1,000Health0.740.292021
UHC Service Coverage IndexHealth65572023
Road Traffic DeathsHealth18.628.22021
Premature NCD MortalityHealth22%18%2021
Out-of-Pocket Health SpendingHealth37.3%24.2%2023
Safely Managed SanitationHealth8.4%35.8%2024
Education Spending (% of GDP)Education6%4%2023
Tertiary EnrollmentEducation48.2%10.4%2024
UndernourishmentFood Security7%36.8%2023
Agricultural Land (% of Land)Agriculture66.7%49.5%2023
Food Production IndexAgriculture106.1112.42022
Cassava ProductionAgriculture1.21M t2024
Coffee ProductionAgriculture49.5K t2024
Sorghum ProductionAgriculture2.02K t243K t2024
Millet ProductionAgriculture5.18K t65.76K t2024
Homicide RateGovernance1.74.92023
Corruption Perceptions IndexGovernance37322024
Electoral Democracy IndexGovernance0.2590.5632025
Liberal Democracy IndexGovernance0.2510.4462025
Political Corruption IndexGovernance0.6710.5642025
Women in ParliamentGovernance24.3%23.4%2025
Internet UsersTechnology91.2%35%2024
Mobile SubscriptionsTechnology153.1126.52024
Electricity AccessInfrastructure100%76.2%2023
CO2 Emissions per CapitaClimate1.84 t0.38 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,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Kenya have the larger economy?

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

How do Morocco and Kenya compare across indicators?

This page compares Morocco and Kenya on 73 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,KE with a free Africa API key to get both countries' latest values as JSON.

More comparisons