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

Country comparison

Morocco vs Algeria

Morocco and Algeria 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$160.61B vs $269.32BMorocco vs Algeria
GDP per Capita$4,153 vs $5,753Morocco vs Algeria
Population38.08M vs 46.81MMorocco vs Algeria

Indicator by indicator

71 indicators
Indicator Morocco AlgeriaPeriod
GDPEconomy$160.61B$269.32B2024
GDP per CapitaEconomy$4,153$5,7532024
Inflation RateEconomy1.7%4.4%2026-04
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy9.19 LCU/USD132.53 LCU/USD2026-05
Budget BalanceEconomy-3.5%-10.2%2026
Unemployment RateEconomy9%11.6%2025
Public DebtEconomy65.8%59.2%2026
Trade BalanceEconomy$-13.15B$-1.16B2024
GDP GrowthEconomy3.8%3.7%2024
GNI per CapitaEconomy$3,840$5,3702024
GNI per Capita (PPP)Economy$10,260$17,2902024
GDP (PPP)Economy$402.77B$824.9B2024
Agriculture (% of GDP)Economy10.6%14%2024
Industry (% of GDP)Economy25.6%36.2%2024
Manufacturing (% of GDP)Economy15.3%9.5%2024
Services (% of GDP)Economy52.7%46.8%2024
Investment (% of GDP)Economy30.1%41.1%2024
Remittances ReceivedEconomy$12.51B$1.8B2024
Remittances (% of GDP)Economy7.8%0.7%2024
External Debt (% of GNI)Economy44.7%2.7%2024
Foreign ReservesEconomy$37.13B$83.01B2024
Credit to Private Sector (% of GDP)Economy77.8%19%2024
Tax Revenue (% of GDP)Economy20.7%2023
Labor Force ParticipationEconomy43.9%40.8%2025
Female Labor Force ParticipationEconomy19.7%14.1%2025
Income Inequality (Gini)Economy39.527.62013
Extreme Poverty RateEconomy3.7%0%2013
Account OwnershipEconomy44.4%35.3%2024
Youth NEET RateEconomy35.3%21%2014
Military Spending (% of GDP)Economy3.5%8%2024
Trade Openness (% of GDP)Economy92.2%40.1%2024
Inflation (GDP Deflator)Economy4%3.4%2024
Tourism ReceiptsEconomy$4.51B$50M2020
Tourist ArrivalsEconomy2.8M591K2020
Human Development IndexDevelopment0.710.7632023
Gender Inequality IndexDevelopment0.4380.4432023
Inequality-adjusted HDIDevelopment0.5170.6012023
PopulationDemographics38.08M46.81M2024
Population GrowthDemographics1%1.4%2024
Life ExpectancyDemographics75.5 years76.5 years2024
Median AgeDemographics30.1 years28.8 years2026
Fertility RateDemographics2.212.722024
Rural PopulationDemographics37.2%24.7%2024
Population Under 15Demographics25.6%30.3%2024
Infant MortalityHealth14.719.52024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health6.1%4.4%2023
Physicians per 1,000Health0.741.662021
UHC Service Coverage IndexHealth65702023
Road Traffic DeathsHealth18.618.32021
Premature NCD MortalityHealth22%13.3%2021
Out-of-Pocket Health SpendingHealth37.3%45%2023
Safely Managed SanitationHealth8.4%62.5%2024
Education Spending (% of GDP)Education6%9%2023
Tertiary EnrollmentEducation48.2%54.4%2024
UndernourishmentFood Security7%2.5%2023
Agricultural Land (% of Land)Agriculture66.7%17.4%2023
Food Production IndexAgriculture106.1111.22022
Sorghum ProductionAgriculture2.02K t660.76 t2024
Millet ProductionAgriculture5.18K t2024
Homicide RateGovernance1.71.22023
Corruption Perceptions IndexGovernance37342024
Electoral Democracy IndexGovernance0.2590.2652025
Liberal Democracy IndexGovernance0.2510.1262025
Political Corruption IndexGovernance0.6710.6622025
Women in ParliamentGovernance24.3%7.9%2025
Internet UsersTechnology91.2%77.4%2024
Mobile SubscriptionsTechnology153.1115.52024
Electricity AccessInfrastructure100%100%2023
CO2 Emissions per CapitaClimate1.84 t3.98 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,DZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Algeria have the larger economy?

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

How do Morocco and Algeria compare across indicators?

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

More comparisons