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

Country comparison

Morocco vs Algeria

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

GDP$194.33B vs $317.17BMorocco vs Algeria
GDP per Capita$5,107 vs $6,628Morocco vs Algeria
Population38.43M vs 47.44MMorocco vs Algeria

Indicator by indicator

199 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 AlgeriaPeriod
GDPEconomy$194.33B$317.17B2026
GDP per CapitaEconomy$5,107$6,6282026
Inflation RateEconomy1.2%4.9%2026-05
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy9.35 LCU/USD133.15 LCU/USD2026-07
Budget BalanceEconomy-3.5%-10.2%2026
Unemployment RateEconomy9%11.6%2025
Public DebtEconomy65.8%59.2%2026
Trade BalanceEconomy$-16.71B$-15.24B2025
GDP GrowthEconomy4.9%3.8%2026
GNI per CapitaEconomy$4,360$5,8502025
GNI per Capita (PPP)Economy$10,960$18,2402025
GDP (PPP)Economy$433.71B$881.65B2025
Agriculture (% of GDP)Economy10.5%14.5%2025
Industry (% of GDP)Economy25.2%34.8%2025
Manufacturing (% of GDP)Economy14.9%9.5%2025/2024
Services (% of GDP)Economy52.3%45.7%2025
Investment (% of GDP)Economy31.9%45.3%2025
Remittances ReceivedEconomy$13.66B$1.8B2025/2024
Remittances (% of GDP)Economy7.5%0.7%2025/2024
External Debt (% of GNI)Economy44.7%2.7%2024
Foreign ReservesEconomy$48.45B$72.5B2025
Credit to Private Sector (% of GDP)Economy77.8%19.6%2024/2025
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/2011
Extreme Poverty RateEconomy3.7%0%2013/2011
Account OwnershipEconomy44.4%35.3%2024
Youth NEET RateEconomy35.3%21%2014/2017
Military Spending (% of GDP)Economy3.5%8%2024
Trade Openness (% of GDP)Economy93.1%39%2025
Inflation (GDP Deflator)Economy2.1%0.8%2025
Tourism ReceiptsEconomy$4.51B$50M2020
Tourist ArrivalsEconomy2.8M591K2020
Current Account BalanceEconomy-3.1%-1.2%2026
Foreign Direct InvestmentEconomy$1.64B$1.44B2024
FDI (% of GDP)Economy1%0.5%2024
Government Revenue (% of GDP)Economy29.1%23%2024
Government Spending (% of GDP)Economy33%36.8%2024
Youth Unemployment RateEconomy32.7%29%2022/2017 ⚠
Productive Capacity IndexEconomy47.1432024
Natural Resource RentsEconomy0.4%22.6%2021
Oil Rents (% of GDP)Economy0%14.5%2021
Mineral Rents (% of GDP)Economy0.3%0%2021
Natural Gas Rents (% of GDP)Economy0%8%2021
Foreign Aid (% of GNI)Economy0.5%0.1%2023
Foreign Aid per CapitaEconomy$20$42023
Lending Interest RateEconomy8%2025
Real Interest RateEconomy7.2%2025
Gross Savings (% of GDP)Economy29.4%39.4%2025/2024
Adjusted Net Income per CapitaEconomy$3,373$2,8102021
Employment in AgricultureEconomy27.9%9.5%2025
Employment in IndustryEconomy23.8%32.3%2025
Employment in ServicesEconomy48.3%58.3%2025
Vulnerable EmploymentEconomy35.5%25.6%2025
Household Consumption (% of GDP)Economy59.3%41.8%2025
Income Share of Poorest 20%Economy6.7%9.4%2013/2011
Bank Branches per 100,000Economy20.24.92024
ATMs per 100,000Economy28.512.12024
GDP per Capita GrowthEconomy3.6%2.5%2025
Debt Service (% of GNI)Economy5.6%0.2%2024
Poverty Rate ($3.65/day)Economy11.6%4.7%2013/2011
Poverty Rate ($6.85/day)Economy49%41.8%2013/2011
Exports of Goods & ServicesTrade$76.54B$48.32B2025
Imports of Goods & ServicesTrade$93.25B$63.56B2025
Export Diversification IndexTrade0.6570.82024
Export Concentration IndexTrade0.1910.4792024
Liner Shipping ConnectivityTrade69.312.22021
Fuel Exports (% of Exports)Trade0.8%96.1%2024/2017 ⚠
Manufactures Exports (% of Exports)Trade82.9%2.7%2024/2017 ⚠
Food Exports (% of Exports)Trade12.5%1%2024/2017 ⚠
High-Tech Exports (% of Manufactured)Trade5.4%1%2023/2017 ⚠
Exports (% of GDP)Trade42%16.8%2025
Imports (% of GDP)Trade51.1%22.1%2025
Human Development IndexDevelopment0.710.7632023
Gender Inequality IndexDevelopment0.4380.4432023
Inequality-adjusted HDIDevelopment0.5170.6012023
PopulationDemographics38.43M47.44M2025
Population GrowthDemographics0.9%1.3%2025
Life ExpectancyDemographics75.5 years76.5 years2024
Median AgeDemographics30.1 years28.8 years2026
Fertility RateDemographics2.212.722024
Rural PopulationDemographics36.9%24.2%2025
Population Under 15Demographics25.2%29.9%2025
Urban PopulationDemographics63.1%75.8%2025
Population DensityDemographics86.9/km²20.2/km²2026
Birth RateDemographics15.817.32026
Death RateDemographics5.914.682026
Net Migration RateDemographics-1.57-0.62026
Life Expectancy (Female)Demographics77.8 years77.9 years2024
Life Expectancy (Male)Demographics73.3 years75.1 years2024
Urban Population GrowthDemographics1.4%2%2025
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/2022
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
Maternal MortalityHealth69.862.52023
Under-Five MortalityHealth16.6222023
Neonatal MortalityHealth10.215.32023
Tuberculosis IncidenceHealth98542024
Measles ImmunizationHealth98%96%2025
DTP3 ImmunizationHealth96%94%2025
Basic Drinking WaterHealth12.2%23.4%2024
Basic SanitationHealth79.4%23.4%2024
Diabetes PrevalenceHealth11.9%17.5%2024
Hospital Beds per 1,000Health0.731.612023/2017 ⚠
Contraceptive PrevalenceHealth70.8%53.6%2018/2019
Skilled Birth AttendanceHealth86.6%98.8%2018/2019
Nurses & Midwives per 1,000Health0.872.512023/2022
Adolescent Fertility RateHealth24.88.582024
Health Spending per CapitaHealth$232$2332023
NCD Share of DeathsHealth74%73.9%2021
Smoking PrevalenceHealth12.5%22.4%2024
Antenatal Care CoverageHealth88.5%95.3%2018/2019
Child StuntingChild Welfare13.7%8.9%2024
Child WastingChild Welfare2.4%2.7%2019
Birth RegistrationChild Welfare96.9%99.6%2018/2019
Child MarriageChild Welfare13.7%3.8%2018/2019
Overweight ChildrenChild Welfare12.7%12.8%2019
Education Spending (% of GDP)Education6%9%2023/2024
Tertiary EnrollmentEducation48.2%54.4%2024
Adult Literacy RateEducation64.3%75.1%2014/2008 ⚠
Youth Literacy RateEducation89.1%93.8%2014/2008 ⚠
Primary Completion RateEducation69.4%94.1%2010/2019 ⚠
Lower Secondary CompletionEducation37.6%73.2%2010/2019 ⚠
Primary Net EnrollmentEducation99.1%98.4%2024/2025
Lower Secondary EnrollmentEducation97.7%22.4%2024/2025
Upper Secondary EnrollmentEducation81.1%79.6%2024/2025
Upper Secondary CompletionEducation46.9%46.5%2017/2019
Qualified Primary TeachersEducation100%100%2024/2025
Secondary EnrollmentEducation90%105.2%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
Maize ProductionAgriculture73.23K t12K t2024
Rice ProductionAgriculture6.01K t313.12 t2024
Wheat ProductionAgriculture2.44M t3M t2024
Maize YieldAgriculture722 kg/ha6,000 kg/ha2024
Rice YieldAgriculture6,500 kg/ha1,899 kg/ha2024
Wheat YieldAgriculture1,388 kg/ha1,667 kg/ha2024
Cattle StockAgriculture2.4M head1.8M head2024
Homicide RateGovernance1.71.22023
Corruption Perceptions IndexGovernance37342024
Electoral Democracy IndexGovernance0.2590.2652025
Liberal Democracy IndexGovernance0.2510.1262025
Political Corruption IndexGovernance0.6710.6622025
Control of CorruptionGovernance-0.52-0.592024
Government EffectivenessGovernance0.18-0.252024
Rule of LawGovernance-0.37-0.72024
Political StabilityGovernance-0.44-0.692024
Regulatory QualityGovernance-0.03-0.752024
Voice and AccountabilityGovernance-0.73-1.052024
Refugees HostedHumanitarian7.3K180.58K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian15.03K3.69K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology91.2%77.4%2024
Mobile SubscriptionsTechnology153.1115.52024
4G CoverageTechnology99.8%99.1%2024
Fixed Broadband SubscriptionsTechnology7.313.32024
Mobile Data PriceTechnology1.5%0.5%2025
3G CoverageTechnology99.4%99.1%2024
Fixed Broadband PriceTechnology3%2.6%2025
Mobile Bundle PriceTechnology0.8%1.6%2025
R&D Spending (% of GDP)Technology0.7%0.4%2010/2024 ⚠
Electricity AccessInfrastructure100%100%2024
Air Transport PassengersInfrastructure9.35M7.16M2023
Slum PopulationInfrastructure10.9%13.2%2022
Renewable Energy CapacityEnergy4.9K MW600.7 MW2025
Solar CapacityEnergy1.1K MW461.8 MW2025
Wind CapacityEnergy2.5K MW10 MW2025
Hydropower CapacityEnergy1.3K MW128.9 MW2025
Renewable Energy ShareEnergy10.9%0.1%2021
Clean Cooking AccessEnergy98.1%99.7%2023
Electricity Consumption per CapitaEnergy997 kWh1,828 kWh2023
Power Transmission LossesEnergy18.2%9.2%2023
Off-grid Renewable CapacityEnergy28 MW57.9 MW2025
Rural Electricity AccessEnergy100%100%2024
Solar Share of ElectricityEnergy5.8%1%2025/2024
Wind Share of ElectricityEnergy16%0%2025/2024
Hydropower Share of ElectricityEnergy2%0%2025/2024
Fossil Share of ElectricityEnergy76%98.9%2025/2024
Electricity DemandEnergy48 TWh94 TWh2025/2024
Electricity Carbon IntensityEnergy596 gCO₂/kWh633 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy7,257 kWh16,237 kWh2024
CO2 Emissions per CapitaClimate1.84 t3.98 t2024
Renewable Electricity OutputClimate19.3%0.9%2021
Forest AreaClimate12.9%0.8%2023
Protected AreasClimate1.4%4.4%2025
Freshwater WithdrawalsClimate36.5%91.5%2022
PM2.5 Air PollutionClimate18.7 µg/m³16.5 µ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,DZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Algeria have the larger economy?

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

How do Morocco and Algeria compare across indicators?

This page compares Morocco and Algeria on 199 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