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

Country comparison

Tunisia vs Libya

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

GDP vs $52.45BTunisia vs Libya
GDP per Capita vs $6,962Tunisia vs Libya
Population vs 7.46MTunisia vs Libya

Indicator by indicator

167 indicators
Indicator Tunisia LibyaPeriod
GDPEconomy$52.45B2026
GDP per CapitaEconomy$6,9622026
Inflation RateEconomy10.5%2026
Official Exchange RateEconomy6.35 LCU/USD2026-04
Budget BalanceEconomy-20.9%2026
Unemployment RateEconomy18.8%2025
Trade BalanceEconomy$2.77B2025
GDP GrowthEconomy6.7%2026
GNI per CapitaEconomy$7,2502025
GNI per Capita (PPP)Economy$17,1502025
GDP (PPP)Economy$123.23B2025
Agriculture (% of GDP)Economy1.5%2025
Industry (% of GDP)Economy73.2%2025
Manufacturing (% of GDP)Economy2.8%2017
Services (% of GDP)Economy26.9%2025
Investment (% of GDP)Economy14.3%2025
Remittances ReceivedEconomy$16M2006
Remittances (% of GDP)Economy0%2006
Foreign ReservesEconomy$104.66B2025
Credit to Private Sector (% of GDP)Economy12.5%2025
Labor Force ParticipationEconomy48%2025
Female Labor Force ParticipationEconomy33%2025
Account OwnershipEconomy33.1%2024
Military Spending (% of GDP)Economy5.3%2023
Trade Openness (% of GDP)Economy137.7%2025
Inflation (GDP Deflator)Economy-3.9%2025
Tourism ReceiptsEconomy$170M2010
Tourist ArrivalsEconomy760K2008
Current Account BalanceEconomy4.2%2026
Foreign Direct InvestmentEconomy$702M2013
FDI (% of GDP)Economy0.9%2013
Youth Unemployment RateEconomy48.7%2012
Productive Capacity IndexEconomy38.92024
Natural Resource RentsEconomy61%2021
Oil Rents (% of GDP)Economy56.4%2021
Mineral Rents (% of GDP)Economy0%2021
Natural Gas Rents (% of GDP)Economy4.6%2021
Foreign Aid (% of GNI)Economy0.8%2023
Foreign Aid per CapitaEconomy$492023
Lending Interest RateEconomy6%2014
Real Interest RateEconomy7.1%2014
Gross Savings (% of GDP)Economy25.9%2023
Adjusted Net Income per CapitaEconomy$4,6392021
Employment in AgricultureEconomy10%2025
Employment in IndustryEconomy18.6%2025
Employment in ServicesEconomy71.4%2025
Vulnerable EmploymentEconomy21.6%2025
Household Consumption (% of GDP)Economy30.9%2025
Bank Branches per 100,000Economy11.62022
ATMs per 100,000Economy16.12022
GDP per Capita GrowthEconomy12.2%2025
Exports of Goods & ServicesTrade$34.49B2025
Imports of Goods & ServicesTrade$31.72B2025
Export Diversification IndexTrade0.8352024
Export Concentration IndexTrade0.8592024
Liner Shipping ConnectivityTrade12.42021
Fuel Exports (% of Exports)Trade94.4%2019
Manufactures Exports (% of Exports)Trade0.6%2019
Food Exports (% of Exports)Trade0.1%2019
High-Tech Exports (% of Manufactured)Trade0.6%2019
Exports (% of GDP)Trade71.7%2025
Imports (% of GDP)Trade65.9%2025
Human Development IndexDevelopment0.7212023
Gender Inequality IndexDevelopment0.2532023
PopulationDemographics7.46M2025
Population GrowthDemographics1%2025
Life ExpectancyDemographics71.1 years2024
Median AgeDemographics28 years2026
Fertility RateDemographics2.32024
Rural PopulationDemographics12.1%2025
Population Under 15Demographics26.8%2025
Urban PopulationDemographics87.9%2025
Population DensityDemographics4.5/km²2026
Birth RateDemographics15.82026
Death RateDemographics4.922026
Net Migration RateDemographics0.352026
Life Expectancy (Female)Demographics72.7 years2024
Life Expectancy (Male)Demographics69.6 years2024
Urban Population GrowthDemographics1.1%2025
Infant MortalityHealth7.92024
HIV PrevalenceHealth0.1%2024
Health Spending (% of GDP)Health7.8%2023
Physicians per 1,000Health2.042017
UHC Service Coverage IndexHealth712023
Road Traffic DeathsHealth342021
Premature NCD MortalityHealth19.8%2021
Out-of-Pocket Health SpendingHealth19.2%2023
Safely Managed SanitationHealth21.7%2024
Maternal MortalityHealth59.52023
Under-Five MortalityHealth30.82023
Neonatal MortalityHealth5.712023
Tuberculosis IncidenceHealth632024
Measles ImmunizationHealth93%2025
DTP3 ImmunizationHealth90%2025
Basic SanitationHealth66.8%2024
Diabetes PrevalenceHealth15.8%2024
Hospital Beds per 1,000Health3.52022
Contraceptive PrevalenceHealth27.7%2014
Skilled Birth AttendanceHealth99.9%2013
Nurses & Midwives per 1,000Health6.382017
Adolescent Fertility RateHealth5.832024
Health Spending per CapitaHealth$4702023
NCD Share of DeathsHealth62.7%2021
Smoking PrevalenceHealth24.2%2024
Antenatal Care CoverageHealth93%2007
Child StuntingChild Welfare9.2%2024
Child WastingChild Welfare3.5%2022
Birth RegistrationChild Welfare99.6%2025
Child MarriageChild Welfare4.1%2025
Overweight ChildrenChild Welfare4.6%2022
Education Spending (% of GDP)Education2.3%1999
Tertiary EnrollmentEducation58.5%2003
Secondary EnrollmentEducation97.6%2006
UndernourishmentFood Security16.5%2023
Agricultural Land (% of Land)Agriculture8.7%2023
Food Production IndexAgriculture105.82022
Millet ProductionAgriculture6K t2024
Maize ProductionAgriculture3.8K t2024
Wheat ProductionAgriculture90K t2024
Maize YieldAgriculture2,219 kg/ha2024
Wheat YieldAgriculture768 kg/ha2024
Cattle StockAgriculture208.9K head2024
Corruption Perceptions IndexGovernance132024
Electoral Democracy IndexGovernance0.1932025
Liberal Democracy IndexGovernance0.0982025
Political Corruption IndexGovernance0.8112025
Control of CorruptionGovernance-1.532024
Government EffectivenessGovernance-1.422024
Rule of LawGovernance-1.72024
Political StabilityGovernance-1.92024
Regulatory QualityGovernance-1.742024
Voice and AccountabilityGovernance-1.342024
Refugees HostedHumanitarian552.52K2025
Internally Displaced PeopleHumanitarian32.79K2025
Asylum Seekers HostedHumanitarian105.95K2025
Stateless PeopleHumanitarian02025
Internet UsersTechnology82%2024
Mobile SubscriptionsTechnology1932022
4G CoverageTechnology90%2024
Fixed Broadband SubscriptionsTechnology4.52022
Mobile Data PriceTechnology0.4%2025
3G CoverageTechnology98%2024
Fixed Broadband PriceTechnology0.8%2025
Mobile Bundle PriceTechnology0.6%2025
Electricity AccessInfrastructure77.4%2024
Air Transport PassengersInfrastructure1.09M2023
Slum PopulationInfrastructure16.6%2022
Renewable Energy CapacityEnergy9.5 MW2025
Solar CapacityEnergy9.5 MW2025
Renewable Energy ShareEnergy3.1%2021
Electricity Consumption per CapitaEnergy3,796 kWh2023
Power Transmission LossesEnergy20.2%2023
Off-grid Renewable CapacityEnergy6.3 MW2025
Rural Electricity AccessEnergy0.8%2012
Solar Share of ElectricityEnergy0%2024
Wind Share of ElectricityEnergy0%2024
Hydropower Share of ElectricityEnergy0%2024
Fossil Share of ElectricityEnergy100%2024
Electricity DemandEnergy35 TWh2024
Electricity Carbon IntensityEnergy827 gCO₂/kWh2024
Primary Energy per CapitaEnergy29,554 kWh2023
CO2 Emissions per CapitaClimate8.66 t2024
Renewable Electricity OutputClimate0%2021
Forest AreaClimate0.1%2023
Protected AreasClimate0.2%2025
Freshwater WithdrawalsClimate817.1%2022
PM2.5 Air PollutionClimate20 µ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=TN,LY" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

How do Tunisia and Libya compare across indicators?

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

More comparisons