54 country profiles · available indicators comparedAPI dataGet API key

Country comparison

Libya vs Morocco

166 indicators have a value for Libya, Morocco, or both. Open an indicator to see the available country ranking and source details.

GDP$52.45B vs $194.33BLibya vs Morocco
GDP per Capita$6,962 vs $5,107Libya vs Morocco
Population7.46M vs 38.43MLibya vs Morocco

Indicator by indicator

166 indicators

Values can describe different reporting periods. When two years are shown, they follow the country order in the table.

Indicator Libya MoroccoPeriod
GDPEconomy$52.45B$194.33B2026
GDP per CapitaEconomy$6,962$5,1072026
Inflation RateEconomy10.5%-0.5%2026
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy6.35 LCU/USD9.34 LCU/USD2026-04
Budget BalanceEconomy-20.9%-3.5%2026
Unemployment RateEconomy18.8%9%2025
Public DebtEconomy65.8%2026
Trade BalanceEconomy$2.77B$-16.71B2025
GDP GrowthEconomy6.7%4.9%2026
GNI per CapitaEconomy$7,250$4,3602025
GNI per Capita (PPP)Economy$17,150$10,9602025
GDP (PPP)Economy$123.23B$433.71B2025
Agriculture (% of GDP)Economy1.5%10.5%2025
Industry (% of GDP)Economy73.2%25.2%2025
Manufacturing (% of GDP)Economy14.9%2025
Services (% of GDP)Economy26.9%52.3%2025
Investment (% of GDP)Economy14.3%31.9%2025
Remittances ReceivedEconomy$13.66B2025
Remittances (% of GDP)Economy7.5%2025
External Debt (% of GNI)Economy44.7%2024
Foreign ReservesEconomy$104.66B$48.45B2025
Credit to Private Sector (% of GDP)Economy12.5%77.8%2025/2024
Tax Revenue (% of GDP)Economy20.7%2023
Labor Force ParticipationEconomy48%43.9%2025
Female Labor Force ParticipationEconomy33%19.7%2025
Account OwnershipEconomy33.1%44.4%2024
Military Spending (% of GDP)Economy5.3%3.5%2023/2024
Trade Openness (% of GDP)Economy137.7%93.1%2025
Inflation (GDP Deflator)Economy-3.9%2.1%2025
Current Account BalanceEconomy4.2%-3.1%2026
Foreign Direct InvestmentEconomy$827.57M$3.34B2025
FDI (% of GDP)Economy1.9%1.8%2025
Government Revenue (% of GDP)Economy29.1%2024
Government Spending (% of GDP)Economy33%2024
Productive Capacity IndexEconomy38.947.12024
Foreign Aid (% of GNI)Economy0.8%0.5%2023
Foreign Aid per CapitaEconomy$49$202023
Gross Savings (% of GDP)Economy25.9%29.4%2023/2025
Employment in AgricultureEconomy10%27.9%2025
Employment in IndustryEconomy18.6%23.8%2025
Employment in ServicesEconomy71.4%48.3%2025
Vulnerable EmploymentEconomy21.6%35.5%2025
Household Consumption (% of GDP)Economy30.9%59.3%2025
Bank Branches per 100,000Economy20.22024
ATMs per 100,000Economy28.52024
GDP per Capita GrowthEconomy12.2%3.6%2025
Debt Service (% of GNI)Economy5.6%2024
Exports of Goods & ServicesTrade$34.49B$76.54B2025
Imports of Goods & ServicesTrade$31.72B$93.25B2025
Export Diversification IndexTrade0.8240.6662025
Export Concentration IndexTrade0.7840.212025
Fuel Exports (% of Exports)Trade0.8%2024
Manufactures Exports (% of Exports)Trade82.9%2024
Food Exports (% of Exports)Trade12.5%2024
High-Tech Exports (% of Manufactured)Trade5.4%2023
Exports (% of GDP)Trade71.7%42%2025
Imports (% of GDP)Trade65.9%51.1%2025
Human Development IndexDevelopment0.7210.712023
Gender Inequality IndexDevelopment0.2530.4382023
Inequality-adjusted HDIDevelopment0.5172023
PopulationDemographics7.46M38.43M2025
Population GrowthDemographics1%0.9%2025
Life ExpectancyDemographics71.1 years75.5 years2024
Median AgeDemographics28 years30.1 years2026
Fertility RateDemographics2.32.212024
Rural PopulationDemographics12.1%36.9%2025
Population Under 15Demographics26.8%25.2%2025
Urban PopulationDemographics87.9%63.1%2025
Population DensityDemographics4.5/km²86.9/km²2026
Birth RateDemographics15.815.82026
Death RateDemographics4.925.912026
Net Migration RateDemographics0.35-1.572026
Life Expectancy (Female)Demographics72.7 years77.8 years2024
Life Expectancy (Male)Demographics69.6 years73.3 years2024
Urban Population GrowthDemographics1.1%1.4%2025
Infant MortalityHealth7.914.72024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health7.8%6.1%2023
UHC Service Coverage IndexHealth71652023
Out-of-Pocket Health SpendingHealth19.2%37.3%2023
Safely Managed SanitationHealth21.7%8.4%2024
Maternal MortalityHealth59.569.82023
Under-Five MortalityHealth9.7615.72024
Neonatal MortalityHealth5.29.642024
Tuberculosis IncidenceHealth63982024
Measles ImmunizationHealth93%98%2025
DTP3 ImmunizationHealth90%96%2025
Basic Drinking WaterHealth12.2%2024
Basic SanitationHealth66.8%79.4%2024
Diabetes PrevalenceHealth15.8%11.9%2024
Hospital Beds per 1,000Health0.732023
Nurses & Midwives per 1,000Health0.872023
Adolescent Fertility RateHealth5.8324.82024
Health Spending per CapitaHealth$470$2322023
Smoking PrevalenceHealth24.2%12.5%2024
Child StuntingChild Welfare9.2%13.7%2024
Birth RegistrationChild Welfare99.6%2025
Child MarriageChild Welfare4.1%2025
Education Spending (% of GDP)Education6%2023
Tertiary EnrollmentEducation48.2%2024
Primary Net EnrollmentEducation99.1%2024
Lower Secondary EnrollmentEducation97.7%2024
Upper Secondary EnrollmentEducation81.1%2024
Qualified Primary TeachersEducation100%2024
Secondary EnrollmentEducation90%2024
UndernourishmentFood Security16.5%7%2023
Agricultural Land (% of Land)Agriculture8.7%66.7%2023
Sorghum ProductionAgriculture2.02K t2024
Millet ProductionAgriculture6K t5.18K t2024
Maize ProductionAgriculture3.8K t73.23K t2024
Rice ProductionAgriculture6.01K t2024
Wheat ProductionAgriculture90K t2.44M t2024
Maize YieldAgriculture2,219 kg/ha722 kg/ha2024
Rice YieldAgriculture6,500 kg/ha2024
Wheat YieldAgriculture768 kg/ha1,388 kg/ha2024
Cattle StockAgriculture208.9K head2.4M head2024
Homicide RateGovernance1.72023
Corruption Perceptions IndexGovernance13372024
Electoral Democracy IndexGovernance0.1930.2592025
Liberal Democracy IndexGovernance0.0980.2512025
Political Corruption IndexGovernance0.8110.6712025
Control of CorruptionGovernance-1.53-0.522024
Government EffectivenessGovernance-1.420.182024
Rule of LawGovernance-1.7-0.372024
Political StabilityGovernance-1.9-0.442024
Regulatory QualityGovernance-1.74-0.032024
Voice and AccountabilityGovernance-1.34-0.732024
Organized Violence DeathsGovernance0 deaths7 deaths2025
State-Based Conflict DyadsGovernance012025
Non-State Conflict DyadsGovernance002025
One-Sided Violence DyadsGovernance002025
Refugees HostedHumanitarian552.52K7.3K2025
Internally Displaced PeopleHumanitarian32.79K02025
Asylum Seekers HostedHumanitarian105.95K15.03K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology82%91.2%2024
Mobile SubscriptionsTechnology153.12024
4G CoverageTechnology96%99.8%2025
Fixed Broadband SubscriptionsTechnology7.32024
Mobile Data PriceTechnology0.4%1.5%2025
3G CoverageTechnology97%99.8%2025
Fixed Broadband PriceTechnology0.8%3%2025
Mobile Bundle PriceTechnology0.6%0.8%2025
Electricity AccessInfrastructure77.4%100%2024
Air Transport PassengersInfrastructure1.09M9.35M2023
Renewable Energy CapacityEnergy9.5 MW4.9K MW2025
Solar CapacityEnergy9.5 MW1.1K MW2025
Wind CapacityEnergy2.5K MW2025
Hydropower CapacityEnergy1.3K MW2025
Clean Cooking AccessEnergy98.1%2023
Electricity Consumption per CapitaEnergy3,796 kWh997 kWh2023
Power Transmission LossesEnergy20.2%18.2%2023
Off-grid Renewable CapacityEnergy6.3 MW28 MW2025
Rural Electricity AccessEnergy100%2024
Solar Share of ElectricityEnergy0%5.8%2024/2025
Wind Share of ElectricityEnergy0%16%2024/2025
Hydropower Share of ElectricityEnergy0%2%2024/2025
Fossil Share of ElectricityEnergy100%76%2024/2025
Electricity DemandEnergy35 TWh48 TWh2024/2025
Electricity Carbon IntensityEnergy827 gCO₂/kWh596 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy29,554 kWh7,257 kWh2023/2024
CO2 Emissions per CapitaClimate8.66 t1.84 t2024
Forest AreaClimate0.1%12.9%2023
Protected AreasClimate0.2%1.4%2025
PM2.5 Air PollutionClimate20 µg/m³18.7 µg/m³2023

Get this comparison via API

GET /v1/data

Request both countries' latest available GDP values as JSON, including source metadata.

curl "https://api.africa-api.com/v1/data?metric_key=gdp_current_usd&latest=true&country_codes=LY,MA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

More comparisons