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

Country comparison

Egypt vs Morocco

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

GDP$389.06B vs $160.61BEgypt vs Morocco
GDP per Capita$3,338 vs $4,153Egypt vs Morocco
Population116.54M vs 38.08MEgypt vs Morocco

Indicator by indicator

71 indicators
Indicator Egypt MoroccoPeriod
GDPEconomy$389.06B$160.61B2024
GDP per CapitaEconomy$3,338$4,1532024
Inflation RateEconomy14.9%1.7%2026-04
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy53.02 LCU/USD9.19 LCU/USD2026-05
Budget BalanceEconomy-12.1%-3.5%2026
Unemployment RateEconomy6.8%9%2025
Public DebtEconomy87%65.8%2026
Trade BalanceEconomy$-26.64B$-13.15B2024
GDP GrowthEconomy2.4%3.8%2024
GNI per CapitaEconomy$3,510$3,8402024
GNI per Capita (PPP)Economy$18,230$10,2602024
GDP (PPP)Economy$2.23T$402.77B2024
Agriculture (% of GDP)Economy13.7%10.6%2024
Industry (% of GDP)Economy32.6%25.6%2024
Manufacturing (% of GDP)Economy13.9%15.3%2024
Services (% of GDP)Economy48.9%52.7%2024
Investment (% of GDP)Economy13%30.1%2024
Remittances ReceivedEconomy$29.56B$12.51B2024
Remittances (% of GDP)Economy7.6%7.8%2024
External Debt (% of GNI)Economy42%44.7%2024
Foreign ReservesEconomy$44.92B$37.13B2024
Credit to Private Sector (% of GDP)Economy27.6%77.8%2024
Tax Revenue (% of GDP)Economy12.5%20.7%2015
Labor Force ParticipationEconomy44.6%43.9%2025
Female Labor Force ParticipationEconomy18.5%19.7%2025
Income Inequality (Gini)Economy28.539.52021
Extreme Poverty RateEconomy1.4%3.7%2021
Account OwnershipEconomy43.1%44.4%2024
Youth NEET RateEconomy23.8%35.3%2024
Military Spending (% of GDP)Economy0.7%3.5%2024
Trade Openness (% of GDP)Economy39.6%92.2%2024
Inflation (GDP Deflator)Economy33.7%4%2024
Tourism ReceiptsEconomy$4.87B$4.51B2020
Tourist ArrivalsEconomy13.03M2.8M2019
Human Development IndexDevelopment0.7540.712023
Gender Inequality IndexDevelopment0.3980.4382023
Inequality-adjusted HDIDevelopment0.5820.5172023
PopulationDemographics116.54M38.08M2024
Population GrowthDemographics1.7%1%2024
Life ExpectancyDemographics71.8 years75.5 years2024
Median AgeDemographics24.7 years30.1 years2026
Fertility RateDemographics2.742.212024
Rural PopulationDemographics57.2%37.2%2024
Population Under 15Demographics32%25.6%2024
Infant MortalityHealth20.814.72024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health4.9%6.1%2023
Physicians per 1,000Health0.670.742020
UHC Service Coverage IndexHealth71652023
Road Traffic DeathsHealth9.418.62021
Premature NCD MortalityHealth26%22%2021
Out-of-Pocket Health SpendingHealth57.2%37.3%2023
Safely Managed SanitationHealth57.3%8.4%2024
Education Spending (% of GDP)Education3.8%6%2008
Tertiary EnrollmentEducation38%48.2%2025
UndernourishmentFood Security9.4%7%2023
Agricultural Land (% of Land)Agriculture4.1%66.7%2023
Food Production IndexAgriculture109.1106.12022
Sorghum ProductionAgriculture780K t2.02K t2024
Millet ProductionAgriculture5.18K t2024
Homicide RateGovernance1.31.72017
Corruption Perceptions IndexGovernance30372024
Electoral Democracy IndexGovernance0.1870.2592025
Liberal Democracy IndexGovernance0.1150.2512025
Political Corruption IndexGovernance0.7290.6712025
Women in ParliamentGovernance27.7%24.3%2025
Internet UsersTechnology74.6%91.2%2024
Mobile SubscriptionsTechnology97.1153.12024
Electricity AccessInfrastructure100%100%2023
CO2 Emissions per CapitaClimate2.5 t1.84 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=EG,MA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Morocco have the larger economy?

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

How do Egypt and Morocco compare across indicators?

This page compares Egypt and Morocco on 71 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=EG,MA with a free Africa API key to get both countries' latest values as JSON.

More comparisons