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

Country comparison

Libya vs Algeria

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

GDP$48.49B vs $269.32BLibya vs Algeria
GDP per Capita$6,569 vs $5,753Libya vs Algeria
Population7.38M vs 46.81MLibya vs Algeria

Indicator by indicator

69 indicators
Indicator Libya AlgeriaPeriod
GDPEconomy$48.49B$269.32B2024
GDP per CapitaEconomy$6,569$5,7532024
Inflation RateEconomy2.1%4.4%2024
Official Exchange RateEconomy6.35 LCU/USD132.53 LCU/USD2026-04
Budget BalanceEconomy-20.9%-10.2%2026
Unemployment RateEconomy18.8%11.6%2025
Public DebtEconomy59.2%2026
Trade BalanceEconomy$7.33B$-1.16B2024
GDP GrowthEconomy1.9%3.7%2024
GNI per CapitaEconomy$6,890$5,3702024
GNI per Capita (PPP)Economy$15,400$17,2902024
GDP (PPP)Economy$105.58B$824.9B2024
Agriculture (% of GDP)Economy2.4%14%2024
Industry (% of GDP)Economy73.5%36.2%2024
Manufacturing (% of GDP)Economy2.8%9.5%2017
Services (% of GDP)Economy28.3%46.8%2024
Investment (% of GDP)Economy14.3%41.1%2024
Remittances ReceivedEconomy$16M$1.8B2006
Remittances (% of GDP)Economy0%0.7%2006
External Debt (% of GNI)Economy2.7%2024
Foreign ReservesEconomy$92.89B$83.01B2024
Credit to Private Sector (% of GDP)Economy13%19%2024
Labor Force ParticipationEconomy48%40.8%2025
Female Labor Force ParticipationEconomy33%14.1%2025
Income Inequality (Gini)Economy27.62011
Extreme Poverty RateEconomy0%2011
Account OwnershipEconomy33.1%35.3%2024
Youth NEET RateEconomy21%2017
Military Spending (% of GDP)Economy5.3%8%2023
Trade Openness (% of GDP)Economy128.8%40.1%2024
Inflation (GDP Deflator)Economy8.5%3.4%2024
Tourism ReceiptsEconomy$170M$50M2010
Tourist ArrivalsEconomy760K591K2008
Human Development IndexDevelopment0.7210.7632023
Gender Inequality IndexDevelopment0.2530.4432023
Inequality-adjusted HDIDevelopment0.6012023
PopulationDemographics7.38M46.81M2024
Population GrowthDemographics1%1.4%2024
Life ExpectancyDemographics71.1 years76.5 years2024
Median AgeDemographics28 years28.8 years2026
Fertility RateDemographics2.32.722024
Rural PopulationDemographics12.1%24.7%2024
Population Under 15Demographics27.4%30.3%2024
Infant MortalityHealth7.919.52024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health7.8%4.4%2023
Physicians per 1,000Health2.041.662017
UHC Service Coverage IndexHealth71702023
Road Traffic DeathsHealth3418.32021
Premature NCD MortalityHealth19.8%13.3%2021
Out-of-Pocket Health SpendingHealth19.2%45%2023
Safely Managed SanitationHealth21.7%62.5%2024
Education Spending (% of GDP)Education2.3%9%1999
Tertiary EnrollmentEducation58.5%54.4%2003
UndernourishmentFood Security16.5%2.5%2023
Agricultural Land (% of Land)Agriculture8.7%17.4%2023
Food Production IndexAgriculture105.8111.22022
Sorghum ProductionAgriculture660.76 t2024
Millet ProductionAgriculture6K t2024
Homicide RateGovernance1.22023
Corruption Perceptions IndexGovernance13342024
Electoral Democracy IndexGovernance0.1930.2652025
Liberal Democracy IndexGovernance0.0980.1262025
Political Corruption IndexGovernance0.8110.6622025
Women in ParliamentGovernance16.5%7.9%2025
Internet UsersTechnology82%77.4%2024
Mobile SubscriptionsTechnology193115.52022
Electricity AccessInfrastructure73.2%100%2023
CO2 Emissions per CapitaClimate8.66 t3.98 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,DZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Libya or Algeria have the larger economy?

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

How do Libya and Algeria compare across indicators?

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

More comparisons