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

Country comparison

Morocco vs Ghana

Morocco and Ghana 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 $82.31BMorocco vs Ghana
GDP per Capita$4,153 vs $2,391Morocco vs Ghana
Population38.08M vs 34.43MMorocco vs Ghana

Indicator by indicator

74 indicators
Indicator Morocco GhanaPeriod
GDPEconomy$160.61B$82.31B2024
GDP per CapitaEconomy$4,153$2,3912024
Inflation RateEconomy1.7%3.3%2026-04
Central Bank Policy RateEconomy2.3%14%2026-03-19
Official Exchange RateEconomy9.19 LCU/USD11.38 LCU/USD2026-05
Budget BalanceEconomy-3.5%-2.3%2026
Unemployment RateEconomy9%3%2025
Public DebtEconomy65.8%53%2026
Trade BalanceEconomy$-13.15B$953.4M2024
GDP GrowthEconomy3.8%5.6%2024
GNI per CapitaEconomy$3,840$2,3102024
GNI per Capita (PPP)Economy$10,260$7,7202024
GDP (PPP)Economy$402.77B$276.11B2024
Agriculture (% of GDP)Economy10.6%20.9%2024
Industry (% of GDP)Economy25.6%31.5%2024
Manufacturing (% of GDP)Economy15.3%9.8%2024
Services (% of GDP)Economy52.7%40.9%2024
Investment (% of GDP)Economy30.1%10%2024
Remittances ReceivedEconomy$12.51B$3.03B2024
Remittances (% of GDP)Economy7.8%3.7%2024
External Debt (% of GNI)Economy44.7%46.9%2024
Foreign ReservesEconomy$37.13B$4.47B2024
Credit to Private Sector (% of GDP)Economy77.8%9%2024
Tax Revenue (% of GDP)Economy20.7%12.4%2023
Labor Force ParticipationEconomy43.9%58.5%2025
Female Labor Force ParticipationEconomy19.7%55.3%2025
Income Inequality (Gini)Economy39.543.52013
Extreme Poverty RateEconomy3.7%39%2013
Account OwnershipEconomy44.4%81.2%2024
Youth NEET RateEconomy35.3%23.9%2014
Military Spending (% of GDP)Economy3.5%0.4%2024
Trade Openness (% of GDP)Economy92.2%69.8%2024
Inflation (GDP Deflator)Economy4%24.7%2024
Tourism ReceiptsEconomy$4.51B$191M2020
Tourist ArrivalsEconomy2.8M897K2020
Human Development IndexDevelopment0.710.6282023
Gender Inequality IndexDevelopment0.4380.5142023
Inequality-adjusted HDIDevelopment0.5170.3992023
PopulationDemographics38.08M34.43M2024
Population GrowthDemographics1%1.9%2024
Life ExpectancyDemographics75.5 years65.7 years2024
Median AgeDemographics30.1 years21.6 years2026
Fertility RateDemographics2.213.342024
Rural PopulationDemographics37.2%41.6%2024
Population Under 15Demographics25.6%35.8%2024
Infant MortalityHealth14.727.52024
HIV PrevalenceHealth0.1%1.5%2024
Health Spending (% of GDP)Health6.1%2.9%2023
Physicians per 1,000Health0.740.272021
UHC Service Coverage IndexHealth65562023
Road Traffic DeathsHealth18.625.92021
Premature NCD MortalityHealth22%22.2%2021
Out-of-Pocket Health SpendingHealth37.3%26.7%2023
Safely Managed SanitationHealth8.4%18.8%2024
Education Spending (% of GDP)Education6%2.9%2023
Tertiary EnrollmentEducation48.2%21.3%2024
UndernourishmentFood Security7%6.3%2023
Agricultural Land (% of Land)Agriculture66.7%55.4%2023
Food Production IndexAgriculture106.1135.52022
Cassava ProductionAgriculture27.92M t2024
Coffee ProductionAgriculture736 t2024
Cocoa ProductionAgriculture530K t2024
Sorghum ProductionAgriculture2.02K t479K t2024
Millet ProductionAgriculture5.18K t210K t2024
Homicide RateGovernance1.71.82023
Corruption Perceptions IndexGovernance37422024
Electoral Democracy IndexGovernance0.2590.7112025
Liberal Democracy IndexGovernance0.2510.6062025
Political Corruption IndexGovernance0.6710.6152025
Women in ParliamentGovernance24.3%14.6%2025
Internet UsersTechnology91.2%72.2%2024
Mobile SubscriptionsTechnology153.1113.62024
Electricity AccessInfrastructure100%89.5%2023
CO2 Emissions per CapitaClimate1.84 t0.7 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,GH" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Ghana have the larger economy?

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

How do Morocco and Ghana compare across indicators?

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

More comparisons