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

Country comparison

Morocco vs Ghana

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

GDP$194.33B vs $118.29BMorocco vs Ghana
GDP per Capita$5,107 vs $3,314Morocco vs Ghana
Population38.43M vs 35.06MMorocco vs Ghana

Indicator by indicator

200 indicators

Each country shows its latest available year, which can differ by indicator. Rows where the two sides are 5+ years apart are marked in the Period column.

Indicator Morocco GhanaPeriod
GDPEconomy$194.33B$118.29B2026
GDP per CapitaEconomy$5,107$3,3142026
Inflation RateEconomy1.2%5.3%2026-05
Central Bank Policy RateEconomy2.3%14%2026-03-19
Official Exchange RateEconomy9.35 LCU/USD11.46 LCU/USD2026-07
Budget BalanceEconomy-3.5%-2.3%2026
Unemployment RateEconomy9%3%2025
Public DebtEconomy65.8%53%2026
Trade BalanceEconomy$-16.71B$953.4M2025/2024
GDP GrowthEconomy4.9%4.8%2026
GNI per CapitaEconomy$4,360$2,6302025
GNI per Capita (PPP)Economy$10,960$8,0802025
GDP (PPP)Economy$433.71B$301.91B2025
Agriculture (% of GDP)Economy10.5%21.3%2025
Industry (% of GDP)Economy25.2%29.3%2025
Manufacturing (% of GDP)Economy14.9%10.1%2025
Services (% of GDP)Economy52.3%42.9%2025
Investment (% of GDP)Economy31.9%9.9%2025/2024
Remittances ReceivedEconomy$13.66B$2.42B2025
Remittances (% of GDP)Economy7.5%2.1%2025
External Debt (% of GNI)Economy44.7%46.9%2024
Foreign ReservesEconomy$48.45B$4.47B2025/2024
Credit to Private Sector (% of GDP)Economy77.8%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/2016
Extreme Poverty RateEconomy3.7%39%2013/2016
Account OwnershipEconomy44.4%81.2%2024
Youth NEET RateEconomy35.3%23.9%2014/2024 ⚠
Military Spending (% of GDP)Economy3.5%0.4%2024
Trade Openness (% of GDP)Economy93.1%69%2025/2024
Inflation (GDP Deflator)Economy2.1%14.4%2025
Tourism ReceiptsEconomy$4.51B$191M2020
Tourist ArrivalsEconomy2.8M897K2020/2015 ⚠
Current Account BalanceEconomy-3.1%10.1%2026
Foreign Direct InvestmentEconomy$1.64B$1.67B2024
FDI (% of GDP)Economy1%2%2024
Government Revenue (% of GDP)Economy29.1%15.9%2024
Government Spending (% of GDP)Economy33%23.2%2024
Youth Unemployment RateEconomy32.7%10%2022/2024
Productive Capacity IndexEconomy47.134.92024
Natural Resource RentsEconomy0.4%13.3%2021
Oil Rents (% of GDP)Economy0%4.1%2021
Mineral Rents (% of GDP)Economy0.3%5.2%2021
Natural Gas Rents (% of GDP)Economy0%0.4%2021
Foreign Aid (% of GNI)Economy0.5%2.1%2023
Foreign Aid per CapitaEconomy$20$472023
Gross Savings (% of GDP)Economy29.4%12.4%2025/2024
Adjusted Net Income per CapitaEconomy$3,373$1,8422021
Employment in AgricultureEconomy27.9%34.6%2025
Employment in IndustryEconomy23.8%18.3%2025
Employment in ServicesEconomy48.3%47.2%2025
Vulnerable EmploymentEconomy35.5%60%2025
Household Consumption (% of GDP)Economy59.3%83%2025/2024
Income Share of Poorest 20%Economy6.7%4.7%2013/2016
Bank Branches per 100,000Economy20.25.92024
ATMs per 100,000Economy28.5112024
GDP per Capita GrowthEconomy3.6%4%2025
Debt Service (% of GNI)Economy5.6%3.5%2024
Poverty Rate ($3.65/day)Economy11.6%56.3%2013/2016
Poverty Rate ($6.85/day)Economy49%85.4%2013/2016
Exports of Goods & ServicesTrade$76.54B$29.2B2025/2024
Imports of Goods & ServicesTrade$93.25B$28.24B2025/2024
Export Diversification IndexTrade0.6570.8172024
Export Concentration IndexTrade0.1910.5142024
Liner Shipping ConnectivityTrade69.337.22021
Fuel Exports (% of Exports)Trade0.8%24.5%2024/2023
Manufactures Exports (% of Exports)Trade82.9%6%2024/2023
Food Exports (% of Exports)Trade12.5%18.1%2024/2023
High-Tech Exports (% of Manufactured)Trade5.4%2.1%2023
Exports (% of GDP)Trade42%35.1%2025/2024
Imports (% of GDP)Trade51.1%33.9%2025/2024
Human Development IndexDevelopment0.710.6282023
Gender Inequality IndexDevelopment0.4380.5142023
Inequality-adjusted HDIDevelopment0.5170.3992023
PopulationDemographics38.43M35.06M2025
Population GrowthDemographics0.9%1.8%2025
Life ExpectancyDemographics75.5 years65.7 years2024
Median AgeDemographics30.1 years21.6 years2026
Fertility RateDemographics2.213.342024
Rural PopulationDemographics36.9%41.1%2025
Population Under 15Demographics25.2%35.4%2025
Urban PopulationDemographics63.1%58.9%2025
Population DensityDemographics86.9/km²156.9/km²2026
Birth RateDemographics15.825.32026
Death RateDemographics5.916.972026
Net Migration RateDemographics-1.57-0.682026
Life Expectancy (Female)Demographics77.8 years68.2 years2024
Life Expectancy (Male)Demographics73.3 years63.3 years2024
Urban Population GrowthDemographics1.4%2.8%2025
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/2023
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
Maternal MortalityHealth69.8234.32023
Under-Five MortalityHealth16.637.12023
Neonatal MortalityHealth10.221.22023
Tuberculosis IncidenceHealth981262024
Measles ImmunizationHealth98%93%2025
DTP3 ImmunizationHealth96%99%2025
Basic Drinking WaterHealth12.2%47%2024
Basic SanitationHealth79.4%12.8%2024
Diabetes PrevalenceHealth11.9%2.7%2024
Hospital Beds per 1,000Health0.730.692023/2015 ⚠
Contraceptive PrevalenceHealth70.8%36.3%2018/2022
Skilled Birth AttendanceHealth86.6%78.9%2018
Nurses & Midwives per 1,000Health0.874.112023
Adolescent Fertility RateHealth24.857.42024
Health Spending per CapitaHealth$232$702023
NCD Share of DeathsHealth74%46.8%2021
Smoking PrevalenceHealth12.5%3.3%2024
Antenatal Care CoverageHealth88.5%97.4%2018/2019
Child StuntingChild Welfare13.7%15.6%2024
Child WastingChild Welfare2.4%5.8%2019/2022
Birth RegistrationChild Welfare96.9%74.5%2018/2022
Child MarriageChild Welfare13.7%16.1%2018/2022
Overweight ChildrenChild Welfare12.7%2%2019/2022
Education Spending (% of GDP)Education6%2.9%2023/2022
Tertiary EnrollmentEducation48.2%21.3%2024
Adult Literacy RateEducation64.3%76.5%2014/2021 ⚠
Youth Literacy RateEducation89.1%91.5%2014/2021 ⚠
Primary Completion RateEducation69.4%77.6%2010/2024 ⚠
Lower Secondary CompletionEducation37.6%71.2%2010/2024 ⚠
Primary Net EnrollmentEducation99.1%95.2%2024
Lower Secondary EnrollmentEducation97.7%94.8%2024
Upper Secondary EnrollmentEducation81.1%41.9%2024
Upper Secondary CompletionEducation46.9%45%2017/2024 ⚠
Qualified Primary TeachersEducation100%89.3%2024
Secondary EnrollmentEducation90%75.7%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
Maize ProductionAgriculture73.23K t3.79M t2024
Rice ProductionAgriculture6.01K t1.72M t2024
Wheat ProductionAgriculture2.44M t2024
Maize YieldAgriculture722 kg/ha2,772 kg/ha2024
Rice YieldAgriculture6,500 kg/ha3,640 kg/ha2024
Wheat YieldAgriculture1,388 kg/ha2024
Cattle StockAgriculture2.4M head2.4M head2024
Homicide RateGovernance1.71.82023/2022
Corruption Perceptions IndexGovernance37422024
Electoral Democracy IndexGovernance0.2590.7112025
Liberal Democracy IndexGovernance0.2510.6062025
Political Corruption IndexGovernance0.6710.6152025
Control of CorruptionGovernance-0.52-0.192024
Government EffectivenessGovernance0.180.062024
Rule of LawGovernance-0.370.052024
Political StabilityGovernance-0.440.012024
Regulatory QualityGovernance-0.03-0.092024
Voice and AccountabilityGovernance-0.730.22024
Refugees HostedHumanitarian7.3K21.05K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian15.03K4752025
Stateless PeopleHumanitarian002025
Internet UsersTechnology91.2%72.2%2024
Mobile SubscriptionsTechnology153.1113.62024
4G CoverageTechnology99.8%99.3%2024
Fixed Broadband SubscriptionsTechnology7.30.72024
Mobile Data PriceTechnology1.5%3.1%2025
3G CoverageTechnology99.4%99.5%2024
Fixed Broadband PriceTechnology3%3.7%2025
Mobile Bundle PriceTechnology0.8%0.7%2025
R&D Spending (% of GDP)Technology0.7%0.4%2010
Electricity AccessInfrastructure100%91.9%2024
Air Transport PassengersInfrastructure9.35M440.68K2023
Slum PopulationInfrastructure10.9%33.5%2022
Renewable Energy CapacityEnergy4.9K MW1.8K MW2025
Solar CapacityEnergy1.1K MW185.5 MW2025
Wind CapacityEnergy2.5K MW0 MW2025
Hydropower CapacityEnergy1.3K MW1.6K MW2025
Renewable Energy ShareEnergy10.9%39%2021
Clean Cooking AccessEnergy98.1%32.8%2023
Electricity Consumption per CapitaEnergy997 kWh565 kWh2023
Power Transmission LossesEnergy18.2%11.2%2023
Off-grid Renewable CapacityEnergy28 MW20.5 MW2025
Rural Electricity AccessEnergy100%82.6%2024
Solar Share of ElectricityEnergy5.8%0.7%2025/2024
Wind Share of ElectricityEnergy16%0%2025/2024
Hydropower Share of ElectricityEnergy2%35.4%2025/2024
Fossil Share of ElectricityEnergy76%63.8%2025/2024
Electricity DemandEnergy48 TWh22 TWh2025/2024
Electricity Carbon IntensityEnergy596 gCO₂/kWh469 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy7,257 kWh3,075 kWh2024/2023
CO2 Emissions per CapitaClimate1.84 t0.7 t2024
Renewable Electricity OutputClimate19.3%34.9%2021
Forest AreaClimate12.9%35.2%2023
Protected AreasClimate1.4%7.9%2025
Freshwater WithdrawalsClimate36.5%4.8%2022
PM2.5 Air PollutionClimate18.7 µg/m³28.1 µg/m³2023

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: $194.33B for Morocco versus $118.29B for Ghana (GDP, current US$).

How do Morocco and Ghana compare across indicators?

This page compares Morocco and Ghana on 200 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