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

Country comparison

Egypt vs Libya

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

GDP$429.65B vs $52.45BEgypt vs Libya
GDP per Capita$3,904 vs $6,962Egypt vs Libya
Population118.37M vs 7.46MEgypt vs Libya

Indicator by indicator

196 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 Egypt LibyaPeriod
GDPEconomy$429.65B$52.45B2026
GDP per CapitaEconomy$3,904$6,9622026
Inflation RateEconomy14.3%10.5%2026-06
Official Exchange RateEconomy49.83 LCU/USD6.35 LCU/USD2026-07
Budget BalanceEconomy-12.1%-20.9%2026
Unemployment RateEconomy6.8%18.8%2025
Public DebtEconomy87%2026
Trade BalanceEconomy$-42.71B$2.77B2025
GDP GrowthEconomy4.2%6.7%2026
GNI per CapitaEconomy$3,260$7,2502025
GNI per Capita (PPP)Economy$19,330$17,1502025
GDP (PPP)Economy$2.39T$123.23B2025
Agriculture (% of GDP)Economy16.6%1.5%2025
Industry (% of GDP)Economy32.1%73.2%2025
Manufacturing (% of GDP)Economy14.5%2.8%2025/2017 ⚠
Services (% of GDP)Economy47.3%26.9%2025
Investment (% of GDP)Economy12.9%14.3%2025
Remittances ReceivedEconomy$41.52B$16M2025/2006 ⚠
Remittances (% of GDP)Economy11.4%0%2025/2006 ⚠
External Debt (% of GNI)Economy42%2024
Foreign ReservesEconomy$48.88B$104.66B2025
Credit to Private Sector (% of GDP)Economy25.8%12.5%2025
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/2023
Trade Openness (% of GDP)Economy51.3%137.7%2025
Inflation (GDP Deflator)Economy25%-3.9%2025
Tourism ReceiptsEconomy$4.87B$170M2020/2010 ⚠
Tourist ArrivalsEconomy13.03M760K2019/2008 ⚠
Current Account BalanceEconomy-4.2%4.2%2026
Foreign Direct InvestmentEconomy$46.58B$702M2024/2013 ⚠
FDI (% of GDP)Economy15.2%0.9%2024/2013 ⚠
Youth Unemployment RateEconomy15.3%48.7%2024/2012 ⚠
Productive Capacity IndexEconomy42.238.92024
Natural Resource RentsEconomy5.1%61%2021
Oil Rents (% of GDP)Economy3%56.4%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy2%4.6%2021
Foreign Aid (% of GNI)Economy0.1%0.8%2023
Foreign Aid per CapitaEconomy$4$492023
Lending Interest RateEconomy24.3%6%2024/2014 ⚠
Real Interest RateEconomy-7%7.1%2024/2014 ⚠
Gross Savings (% of GDP)Economy8.1%25.9%2025/2023
Adjusted Net Income per CapitaEconomy$3,185$4,6392021
Employment in AgricultureEconomy17.5%10%2025
Employment in IndustryEconomy29.4%18.6%2025
Employment in ServicesEconomy53.1%71.4%2025
Vulnerable EmploymentEconomy23.9%21.6%2025
Household Consumption (% of GDP)Economy93.4%30.9%2025
Income Share of Poorest 20%Economy9.7%2021
Bank Branches per 100,000Economy6.611.62024/2022
ATMs per 100,000Economy37.116.12024/2022
GDP per Capita GrowthEconomy2.8%12.2%2025
Debt Service (% of GNI)Economy8.9%2024
Poverty Rate ($3.65/day)Economy7.1%2021
Poverty Rate ($6.85/day)Economy58.5%2021
Exports of Goods & ServicesTrade$72.39B$34.49B2025
Imports of Goods & ServicesTrade$115.11B$31.72B2025
Export Diversification IndexTrade0.5990.8352024
Export Concentration IndexTrade0.1350.8592024
Liner Shipping ConnectivityTrade66.712.42021
Fuel Exports (% of Exports)Trade12.5%94.4%2024/2019 ⚠
Manufactures Exports (% of Exports)Trade51.9%0.6%2024/2019 ⚠
Food Exports (% of Exports)Trade21.9%0.1%2024/2019 ⚠
High-Tech Exports (% of Manufactured)Trade3.8%0.6%2024/2019 ⚠
Exports (% of GDP)Trade19.8%71.7%2025
Imports (% of GDP)Trade31.5%65.9%2025
Human Development IndexDevelopment0.7540.7212023
Gender Inequality IndexDevelopment0.3980.2532023
Inequality-adjusted HDIDevelopment0.5822023
PopulationDemographics118.37M7.46M2025
Population GrowthDemographics1.6%1%2025
Life ExpectancyDemographics71.8 years71.1 years2024
Median AgeDemographics24.7 years28 years2026
Fertility RateDemographics2.742.32024
Rural PopulationDemographics57.1%12.1%2025
Population Under 15Demographics31.6%26.8%2025
Urban PopulationDemographics42.9%87.9%2025
Population DensityDemographics120.7/km²4.5/km²2026
Birth RateDemographics20.515.82026
Death RateDemographics5.64.922026
Net Migration RateDemographics-0.440.352026
Life Expectancy (Female)Demographics74 years72.7 years2024
Life Expectancy (Male)Demographics69.7 years69.6 years2024
Urban Population GrowthDemographics1.8%1.1%2025
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/2017
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
Maternal MortalityHealth1759.52023
Under-Five MortalityHealth17.530.82023
Neonatal MortalityHealth9.255.712023
Tuberculosis IncidenceHealth10632024
Measles ImmunizationHealth97%93%2025
DTP3 ImmunizationHealth98%90%2025
Basic Drinking WaterHealth18.4%2024
Basic SanitationHealth39.8%66.8%2024
Diabetes PrevalenceHealth22.4%15.8%2024
Hospital Beds per 1,000Health1.063.52021/2022
Contraceptive PrevalenceHealth58.5%27.7%2014
Skilled Birth AttendanceHealth97.1%99.9%2021/2013 ⚠
Nurses & Midwives per 1,000Health1.796.382018/2017
Adolescent Fertility RateHealth41.15.832024
Health Spending per CapitaHealth$141$4702023
NCD Share of DeathsHealth64.2%62.7%2021
Smoking PrevalenceHealth25%24.2%2024
Antenatal Care CoverageHealth90.3%93%2014/2007 ⚠
Child StuntingChild Welfare12.9%9.2%2024
Child WastingChild Welfare3.3%3.5%2021/2022
Birth RegistrationChild Welfare99.1%99.6%2021/2025
Child MarriageChild Welfare15.8%4.1%2021/2025
Overweight ChildrenChild Welfare10.1%4.6%2021/2022
Education Spending (% of GDP)Education3.8%2.3%2008/1999 ⚠
Tertiary EnrollmentEducation38%58.5%2025/2003 ⚠
Adult Literacy RateEducation79.5%2022
Youth Literacy RateEducation95.2%2022
Primary Completion RateEducation96.1%2022
Lower Secondary CompletionEducation88.1%2022
Primary Net EnrollmentEducation96.5%2024
Lower Secondary EnrollmentEducation93.4%2024
Upper Secondary EnrollmentEducation70%2024
Upper Secondary CompletionEducation75.7%2022
Qualified Primary TeachersEducation87.1%2024
Secondary EnrollmentEducation84.8%97.6%2024/2006 ⚠
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
Maize ProductionAgriculture7.21M t3.8K t2024
Rice ProductionAgriculture6.43M t2024
Wheat ProductionAgriculture9.4M t90K t2024
Maize YieldAgriculture7,585 kg/ha2,219 kg/ha2024
Rice YieldAgriculture9,132 kg/ha2024
Wheat YieldAgriculture6,778 kg/ha768 kg/ha2024
Cattle StockAgriculture2.6M head208.9K head2024
Homicide RateGovernance1.32017
Corruption Perceptions IndexGovernance30132024
Electoral Democracy IndexGovernance0.1870.1932025
Liberal Democracy IndexGovernance0.1150.0982025
Political Corruption IndexGovernance0.7290.8112025
Control of CorruptionGovernance-0.83-1.532024
Government EffectivenessGovernance-0.1-1.422024
Rule of LawGovernance-0.75-1.72024
Political StabilityGovernance-0.98-1.92024
Regulatory QualityGovernance-0.5-1.742024
Voice and AccountabilityGovernance-1.6-1.342024
Refugees HostedHumanitarian220.03K552.52K2025
Internally Displaced PeopleHumanitarian032.79K2025
Asylum Seekers HostedHumanitarian878.27K105.95K2025
Stateless PeopleHumanitarian502025
Internet UsersTechnology74.6%82%2024
Mobile SubscriptionsTechnology97.11932024/2022
4G CoverageTechnology98%90%2024
Fixed Broadband SubscriptionsTechnology11.74.52024/2022
Mobile Data PriceTechnology1.6%0.4%2025
3G CoverageTechnology99.8%98%2024
Fixed Broadband PriceTechnology2.5%0.8%2025
Mobile Bundle PriceTechnology0.7%0.6%2025
R&D Spending (% of GDP)Technology1%2024
Electricity AccessInfrastructure100%77.4%2024
Air Transport PassengersInfrastructure16.67M1.09M2023
Slum PopulationInfrastructure3.8%16.6%2022
Renewable Energy CapacityEnergy9.3K MW9.5 MW2025
Solar CapacityEnergy3.3K MW9.5 MW2025
Wind CapacityEnergy3K MW2025
Hydropower CapacityEnergy2.8K MW2025
Renewable Energy ShareEnergy6.1%3.1%2021
Clean Cooking AccessEnergy99.9%2023
Electricity Consumption per CapitaEnergy1,493 kWh3,796 kWh2023
Power Transmission LossesEnergy19.9%20.2%2023
Off-grid Renewable CapacityEnergy35.3 MW6.3 MW2025
Rural Electricity AccessEnergy100%0.8%2024/2012 ⚠
Solar Share of ElectricityEnergy3.1%0%2025/2024
Wind Share of ElectricityEnergy3.8%0%2025/2024
Hydropower Share of ElectricityEnergy6.1%0%2025/2024
Fossil Share of ElectricityEnergy87%100%2025/2024
Electricity DemandEnergy244 TWh35 TWh2025/2024
Electricity Carbon IntensityEnergy563 gCO₂/kWh827 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy9,661 kWh29,554 kWh2024/2023
CO2 Emissions per CapitaClimate2.5 t8.66 t2024
Renewable Electricity OutputClimate12.2%0%2021
Forest AreaClimate0%0.1%2023
Protected AreasClimate11.6%0.2%2025
Freshwater WithdrawalsClimate7,750%817.1%2022
PM2.5 Air PollutionClimate43.1 µg/m³20 µ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=EG,LY" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Libya have the larger economy?

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

How do Egypt and Libya compare across indicators?

This page compares Egypt and Libya on 196 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