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

Country comparison

Algeria vs Libya

Algeria and Libya 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$269.32B vs $48.49BAlgeria vs Libya
GDP per Capita$5,753 vs $6,569Algeria vs Libya
Population46.81M vs 7.38MAlgeria vs Libya

Indicator by indicator

69 indicators
Indicator Algeria LibyaPeriod
GDPEconomy$269.32B$48.49B2024
GDP per CapitaEconomy$5,753$6,5692024
Inflation RateEconomy4.4%2.1%2026-03
Official Exchange RateEconomy132.53 LCU/USD6.35 LCU/USD2026-05
Budget BalanceEconomy-10.2%-20.9%2026
Unemployment RateEconomy11.6%18.8%2025
Public DebtEconomy59.2%2026
Trade BalanceEconomy$-1.16B$7.33B2024
GDP GrowthEconomy3.7%1.9%2024
GNI per CapitaEconomy$5,370$6,8902024
GNI per Capita (PPP)Economy$17,290$15,4002024
GDP (PPP)Economy$824.9B$105.58B2024
Agriculture (% of GDP)Economy14%2.4%2024
Industry (% of GDP)Economy36.2%73.5%2024
Manufacturing (% of GDP)Economy9.5%2.8%2024
Services (% of GDP)Economy46.8%28.3%2024
Investment (% of GDP)Economy41.1%14.3%2024
Remittances ReceivedEconomy$1.8B$16M2024
Remittances (% of GDP)Economy0.7%0%2024
External Debt (% of GNI)Economy2.7%2024
Foreign ReservesEconomy$83.01B$92.89B2024
Credit to Private Sector (% of GDP)Economy19%13%2024
Labor Force ParticipationEconomy40.8%48%2025
Female Labor Force ParticipationEconomy14.1%33%2025
Income Inequality (Gini)Economy27.62011
Extreme Poverty RateEconomy0%2011
Account OwnershipEconomy35.3%33.1%2024
Youth NEET RateEconomy21%2017
Military Spending (% of GDP)Economy8%5.3%2024
Trade Openness (% of GDP)Economy40.1%128.8%2024
Inflation (GDP Deflator)Economy3.4%8.5%2024
Tourism ReceiptsEconomy$50M$170M2020
Tourist ArrivalsEconomy591K760K2020
Human Development IndexDevelopment0.7630.7212023
Gender Inequality IndexDevelopment0.4430.2532023
Inequality-adjusted HDIDevelopment0.6012023
PopulationDemographics46.81M7.38M2024
Population GrowthDemographics1.4%1%2024
Life ExpectancyDemographics76.5 years71.1 years2024
Median AgeDemographics28.8 years28 years2026
Fertility RateDemographics2.722.32024
Rural PopulationDemographics24.7%12.1%2024
Population Under 15Demographics30.3%27.4%2024
Infant MortalityHealth19.57.92024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health4.4%7.8%2023
Physicians per 1,000Health1.662.042022
UHC Service Coverage IndexHealth70712023
Road Traffic DeathsHealth18.3342021
Premature NCD MortalityHealth13.3%19.8%2021
Out-of-Pocket Health SpendingHealth45%19.2%2023
Safely Managed SanitationHealth62.5%21.7%2024
Education Spending (% of GDP)Education9%2.3%2024
Tertiary EnrollmentEducation54.4%58.5%2024
UndernourishmentFood Security2.5%16.5%2023
Agricultural Land (% of Land)Agriculture17.4%8.7%2023
Food Production IndexAgriculture111.2105.82022
Sorghum ProductionAgriculture660.76 t2024
Millet ProductionAgriculture6K t2024
Homicide RateGovernance1.22023
Corruption Perceptions IndexGovernance34132024
Electoral Democracy IndexGovernance0.2650.1932025
Liberal Democracy IndexGovernance0.1260.0982025
Political Corruption IndexGovernance0.6620.8112025
Women in ParliamentGovernance7.9%16.5%2025
Internet UsersTechnology77.4%82%2024
Mobile SubscriptionsTechnology115.51932024
Electricity AccessInfrastructure100%73.2%2023
CO2 Emissions per CapitaClimate3.98 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=DZ,LY" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Algeria or Libya have the larger economy?

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

How do Algeria and Libya compare across indicators?

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

More comparisons