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

Country comparison

Libya vs Egypt

Libya and Egypt 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$48.49B vs $389.06BLibya vs Egypt
GDP per Capita$6,569 vs $3,338Libya vs Egypt
Population7.38M vs 116.54MLibya vs Egypt

Indicator by indicator

70 indicators
Indicator Libya EgyptPeriod
GDPEconomy$48.49B$389.06B2024
GDP per CapitaEconomy$6,569$3,3382024
Inflation RateEconomy2.1%14.9%2024
Official Exchange RateEconomy6.35 LCU/USD53.02 LCU/USD2026-04
Budget BalanceEconomy-20.9%-12.1%2026
Unemployment RateEconomy18.8%6.8%2025
Public DebtEconomy87%2026
Trade BalanceEconomy$7.33B$-26.64B2024
GDP GrowthEconomy1.9%2.4%2024
GNI per CapitaEconomy$6,890$3,5102024
GNI per Capita (PPP)Economy$15,400$18,2302024
GDP (PPP)Economy$105.58B$2.23T2024
Agriculture (% of GDP)Economy2.4%13.7%2024
Industry (% of GDP)Economy73.5%32.6%2024
Manufacturing (% of GDP)Economy2.8%13.9%2017
Services (% of GDP)Economy28.3%48.9%2024
Investment (% of GDP)Economy14.3%13%2024
Remittances ReceivedEconomy$16M$29.56B2006
Remittances (% of GDP)Economy0%7.6%2006
External Debt (% of GNI)Economy42%2024
Foreign ReservesEconomy$92.89B$44.92B2024
Credit to Private Sector (% of GDP)Economy13%27.6%2024
Tax Revenue (% of GDP)Economy12.5%2015
Labor Force ParticipationEconomy48%44.6%2025
Female Labor Force ParticipationEconomy33%18.5%2025
Income Inequality (Gini)Economy28.52021
Extreme Poverty RateEconomy1.4%2021
Account OwnershipEconomy33.1%43.1%2024
Youth NEET RateEconomy23.8%2024
Military Spending (% of GDP)Economy5.3%0.7%2023
Trade Openness (% of GDP)Economy128.8%39.6%2024
Inflation (GDP Deflator)Economy8.5%33.7%2024
Tourism ReceiptsEconomy$170M$4.87B2010
Tourist ArrivalsEconomy760K13.03M2008
Human Development IndexDevelopment0.7210.7542023
Gender Inequality IndexDevelopment0.2530.3982023
Inequality-adjusted HDIDevelopment0.5822023
PopulationDemographics7.38M116.54M2024
Population GrowthDemographics1%1.7%2024
Life ExpectancyDemographics71.1 years71.8 years2024
Median AgeDemographics28 years24.7 years2026
Fertility RateDemographics2.32.742024
Rural PopulationDemographics12.1%57.2%2024
Population Under 15Demographics27.4%32%2024
Infant MortalityHealth7.920.82024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health7.8%4.9%2023
Physicians per 1,000Health2.040.672017
UHC Service Coverage IndexHealth71712023
Road Traffic DeathsHealth349.42021
Premature NCD MortalityHealth19.8%26%2021
Out-of-Pocket Health SpendingHealth19.2%57.2%2023
Safely Managed SanitationHealth21.7%57.3%2024
Education Spending (% of GDP)Education2.3%3.8%1999
Tertiary EnrollmentEducation58.5%38%2003
UndernourishmentFood Security16.5%9.4%2023
Agricultural Land (% of Land)Agriculture8.7%4.1%2023
Food Production IndexAgriculture105.8109.12022
Sorghum ProductionAgriculture780K t2024
Millet ProductionAgriculture6K t2024
Homicide RateGovernance1.32017
Corruption Perceptions IndexGovernance13302024
Electoral Democracy IndexGovernance0.1930.1872025
Liberal Democracy IndexGovernance0.0980.1152025
Political Corruption IndexGovernance0.8110.7292025
Women in ParliamentGovernance16.5%27.7%2025
Internet UsersTechnology82%74.6%2024
Mobile SubscriptionsTechnology19397.12022
Electricity AccessInfrastructure73.2%100%2023
CO2 Emissions per CapitaClimate8.66 t2.5 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=LY,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Libya or Egypt have the larger economy?

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

How do Libya and Egypt compare across indicators?

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

More comparisons