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

Country comparison

Egypt vs Libya

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

GDP$389.06B vs $48.49BEgypt vs Libya
GDP per Capita$3,338 vs $6,569Egypt vs Libya
Population116.54M vs 7.38MEgypt vs Libya

Indicator by indicator

70 indicators
Indicator Egypt LibyaPeriod
GDPEconomy$389.06B$48.49B2024
GDP per CapitaEconomy$3,338$6,5692024
Inflation RateEconomy14.9%2.1%2026-04
Official Exchange RateEconomy53.02 LCU/USD6.35 LCU/USD2026-05
Budget BalanceEconomy-12.1%-20.9%2026
Unemployment RateEconomy6.8%18.8%2025
Public DebtEconomy87%2026
Trade BalanceEconomy$-26.64B$7.33B2024
GDP GrowthEconomy2.4%1.9%2024
GNI per CapitaEconomy$3,510$6,8902024
GNI per Capita (PPP)Economy$18,230$15,4002024
GDP (PPP)Economy$2.23T$105.58B2024
Agriculture (% of GDP)Economy13.7%2.4%2024
Industry (% of GDP)Economy32.6%73.5%2024
Manufacturing (% of GDP)Economy13.9%2.8%2024
Services (% of GDP)Economy48.9%28.3%2024
Investment (% of GDP)Economy13%14.3%2024
Remittances ReceivedEconomy$29.56B$16M2024
Remittances (% of GDP)Economy7.6%0%2024
External Debt (% of GNI)Economy42%2024
Foreign ReservesEconomy$44.92B$92.89B2024
Credit to Private Sector (% of GDP)Economy27.6%13%2024
Tax Revenue (% of GDP)Economy12.5%2015
Labor Force ParticipationEconomy44.6%48%2025
Female Labor Force ParticipationEconomy18.5%33%2025
Income Inequality (Gini)Economy28.52021
Extreme Poverty RateEconomy1.4%2021
Account OwnershipEconomy43.1%33.1%2024
Youth NEET RateEconomy23.8%2024
Military Spending (% of GDP)Economy0.7%5.3%2024
Trade Openness (% of GDP)Economy39.6%128.8%2024
Inflation (GDP Deflator)Economy33.7%8.5%2024
Tourism ReceiptsEconomy$4.87B$170M2020
Tourist ArrivalsEconomy13.03M760K2019
Human Development IndexDevelopment0.7540.7212023
Gender Inequality IndexDevelopment0.3980.2532023
Inequality-adjusted HDIDevelopment0.5822023
PopulationDemographics116.54M7.38M2024
Population GrowthDemographics1.7%1%2024
Life ExpectancyDemographics71.8 years71.1 years2024
Median AgeDemographics24.7 years28 years2026
Fertility RateDemographics2.742.32024
Rural PopulationDemographics57.2%12.1%2024
Population Under 15Demographics32%27.4%2024
Infant MortalityHealth20.87.92024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health4.9%7.8%2023
Physicians per 1,000Health0.672.042020
UHC Service Coverage IndexHealth71712023
Road Traffic DeathsHealth9.4342021
Premature NCD MortalityHealth26%19.8%2021
Out-of-Pocket Health SpendingHealth57.2%19.2%2023
Safely Managed SanitationHealth57.3%21.7%2024
Education Spending (% of GDP)Education3.8%2.3%2008
Tertiary EnrollmentEducation38%58.5%2025
UndernourishmentFood Security9.4%16.5%2023
Agricultural Land (% of Land)Agriculture4.1%8.7%2023
Food Production IndexAgriculture109.1105.82022
Sorghum ProductionAgriculture780K t2024
Millet ProductionAgriculture6K t2024
Homicide RateGovernance1.32017
Corruption Perceptions IndexGovernance30132024
Electoral Democracy IndexGovernance0.1870.1932025
Liberal Democracy IndexGovernance0.1150.0982025
Political Corruption IndexGovernance0.7290.8112025
Women in ParliamentGovernance27.7%16.5%2025
Internet UsersTechnology74.6%82%2024
Mobile SubscriptionsTechnology97.11932024
Electricity AccessInfrastructure100%73.2%2023
CO2 Emissions per CapitaClimate2.5 t8.66 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,LY" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Libya have the larger economy?

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

How do Egypt and Libya compare across indicators?

This page compares Egypt and Libya on 70 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,LY with a free Africa API key to get both countries' latest values as JSON.

More comparisons