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

Country comparison

Somalia vs Eritrea

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

GDP$14.17B vs $1.98BSomalia vs Eritrea
GDP per Capita$813 vs $567Somalia vs Eritrea
Population19.65M vs 3.61MSomalia vs Eritrea

Indicator by indicator

185 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 Somalia EritreaPeriod
GDPEconomy$14.17B$1.98B2026/2019 ⚠
GDP per CapitaEconomy$813$5672026/2019 ⚠
Inflation RateEconomy5.9%1.3%2026/2019 ⚠
Official Exchange RateEconomy23,581 LCU/USD15.08 LCU/USD2018/2026 ⚠
Budget BalanceEconomy-0.6%2.7%2026/2019 ⚠
Unemployment RateEconomy18.9%6%2025
Public DebtEconomy260.4%2019
Trade BalanceEconomy$-9.04B$-228.89M2025/2011 ⚠
GDP GrowthEconomy2.6%3.8%2026/2019 ⚠
GNI per CapitaEconomy$640$6502025/2011 ⚠
GNI per Capita (PPP)Economy$1,640$1,7202025/2011 ⚠
GDP (PPP)Economy$32.29B$5.22B2025/2011 ⚠
Agriculture (% of GDP)Economy55.8%14.1%1990/2009 ⚠
Industry (% of GDP)Economy9.7%21.8%1986/2009 ⚠
Manufacturing (% of GDP)Economy3.9%5.5%1990/2009 ⚠
Investment (% of GDP)Economy28.1%12.6%2025/2011 ⚠
Remittances ReceivedEconomy$21.7M$3.28M1983/2000 ⚠
Remittances (% of GDP)Economy3%0.5%1983/2000 ⚠
External Debt (% of GNI)Economy14.9%51.5%2024/2011 ⚠
Foreign ReservesEconomy$23.11M$191.69M1989/2019 ⚠
Credit to Private Sector (% of GDP)Economy5.4%53.2%2024/2014 ⚠
Tax Revenue (% of GDP)Economy2.2%2024
Labor Force ParticipationEconomy33.8%78.3%2025
Female Labor Force ParticipationEconomy20.7%72.8%2025
Account OwnershipEconomy38.7%2014
Youth NEET RateEconomy51%2022
Military Spending (% of GDP)Economy1.6%20.9%2024/2003 ⚠
Trade Openness (% of GDP)Economy128.1%47.4%2025/2011 ⚠
Inflation (GDP Deflator)Economy12.9%19.5%2025/2011 ⚠
Tourism ReceiptsEconomy$48M2016
Tourist ArrivalsEconomy142K2016
Current Account BalanceEconomy-8.7%13%2026/2019 ⚠
Foreign Direct InvestmentEconomy$765M$-27.95M2024
FDI (% of GDP)Economy6.4%-1.5%2024
Youth Unemployment RateEconomy17.9%2022
Productive Capacity IndexEconomy19.324.92024
Natural Resource RentsEconomy11.2%27%2021/2011 ⚠
Oil Rents (% of GDP)Economy0%0%2021/2011 ⚠
Mineral Rents (% of GDP)Economy0%24.6%2021/2011 ⚠
Natural Gas Rents (% of GDP)Economy0%0%2021/2011 ⚠
Foreign Aid (% of GNI)Economy20.4%6.5%2023/2011 ⚠
Foreign Aid per CapitaEconomy$124$372023
Lending Interest RateEconomy33.7%1988
Real Interest RateEconomy-18.5%1988
Gross Savings (% of GDP)Economy15.8%2000
Adjusted Net Income per CapitaEconomy$356$4852021/2011 ⚠
Employment in AgricultureEconomy30%55.5%2025
Employment in IndustryEconomy17.8%12.7%2025
Employment in ServicesEconomy52.2%31.8%2025
Vulnerable EmploymentEconomy46%47.9%2025
Household Consumption (% of GDP)Economy133.3%98.2%2025/2011 ⚠
GDP per Capita GrowthEconomy-0.4%6.7%2025/2011 ⚠
Debt Service (% of GNI)Economy0.1%1.1%2024/2011 ⚠
Exports of Goods & ServicesTrade$3.8B$374.9M2025/2011 ⚠
Imports of Goods & ServicesTrade$12.84B$603.78M2025/2011 ⚠
Export Diversification IndexTrade0.7740.8222024
Export Concentration IndexTrade0.7570.3662024
Liner Shipping ConnectivityTrade9.73.52021
Fuel Exports (% of Exports)Trade1.1%0%1982/2002 ⚠
Manufactures Exports (% of Exports)Trade1.3%30.3%1982/2003 ⚠
Food Exports (% of Exports)Trade93.7%42%1982/2003 ⚠
Exports (% of GDP)Trade29.2%18.2%2025/2011 ⚠
Imports (% of GDP)Trade98.8%29.2%2025/2011 ⚠
Human Development IndexDevelopment0.4040.5032023
Gender Inequality IndexDevelopment0.6752023
Inequality-adjusted HDIDevelopment0.2292023
PopulationDemographics19.65M3.61M2025
Population GrowthDemographics3.3%2%2025
Life ExpectancyDemographics59 years68.9 years2024
Median AgeDemographics15.6 years19.5 years2026
Fertility RateDemographics6.013.682024
Rural PopulationDemographics44.9%65.5%2025
Population Under 15Demographics46.6%37.6%2025
Urban PopulationDemographics55.1%34.5%2025
Population DensityDemographics32.4/km²30.4/km²2026
Birth RateDemographics41.228.62026
Death RateDemographics9.555.892026
Net Migration RateDemographics0.76-2.042026
Life Expectancy (Female)Demographics61.6 years70.9 years2024
Life Expectancy (Male)Demographics56.5 years66.8 years2024
Urban Population GrowthDemographics4.3%2%2025
Infant MortalityHealth65.424.72024
HIV PrevalenceHealth0.1%0.4%2024
Health Spending (% of GDP)Health3.7%3.7%2023
Physicians per 1,000Health0.050.092014/2022 ⚠
UHC Service Coverage IndexHealth30402023
Road Traffic DeathsHealth20.217.72021
Premature NCD MortalityHealth27.6%27.3%2021
Out-of-Pocket Health SpendingHealth30.8%48.4%2023
Safely Managed SanitationHealth16.4%2024
Maternal MortalityHealth562.6291.42023
Under-Five MortalityHealth10435.42023
Neonatal MortalityHealth34.916.42023
Tuberculosis IncidenceHealth1511152024
Measles ImmunizationHealth61%93%2025
DTP3 ImmunizationHealth72%96%2025
Basic SanitationHealth28.1%2024
Diabetes PrevalenceHealth5.8%4.4%2024
Hospital Beds per 1,000Health0.871.022019/2023
Contraceptive PrevalenceHealth6.9%8.7%2019/2010 ⚠
Skilled Birth AttendanceHealth31.9%34.1%2019/2010 ⚠
Nurses & Midwives per 1,000Health0.261.542014/2022 ⚠
Adolescent Fertility RateHealth115.465.22024
Health Spending per CapitaHealth$22$282023
NCD Share of DeathsHealth25.1%51.6%2021
Antenatal Care CoverageHealth31.1%88.5%2019/2010 ⚠
Child StuntingChild Welfare23.9%48%2024
Child WastingChild Welfare14.3%14.6%2009/2010
Birth RegistrationChild Welfare3%2006
Child MarriageChild Welfare45.3%40.7%2006/2010
Overweight ChildrenChild Welfare3%2.1%2009/2010
Education Spending (% of GDP)Education0%2.1%2023/2006 ⚠
Tertiary EnrollmentEducation2.4%3.2%1987/2016 ⚠
Adult Literacy RateEducation54.1%64.7%2022/2008 ⚠
Youth Literacy RateEducation70.7%87%2022/2008 ⚠
Primary Completion RateEducation49.8%2023
Lower Secondary CompletionEducation47.9%2023
Primary Net EnrollmentEducation59.6%2022
Lower Secondary EnrollmentEducation62.9%2022
Upper Secondary EnrollmentEducation56.2%2022
Upper Secondary CompletionEducation9.2%2011
Qualified Primary TeachersEducation76.9%2022
Secondary EnrollmentEducation3.3%44%2023/2022
UndernourishmentFood Security53.2%2023
Acute Food InsecurityFood Security6.5M2026-06
Agricultural Land (% of Land)Agriculture70.3%62.7%2023
Food Production IndexAgriculture98.9106.12022
Cassava ProductionAgriculture98.46K t2024
Sorghum ProductionAgriculture56K t140K t2024
Millet ProductionAgriculture25K t2024
Maize ProductionAgriculture69K t20K t2024
Rice ProductionAgriculture2K t2024
Wheat ProductionAgriculture1.06K t25K t2024
Maize YieldAgriculture690 kg/ha1,000 kg/ha2024
Rice YieldAgriculture2,000 kg/ha2024
Wheat YieldAgriculture401 kg/ha1,000 kg/ha2024
Cattle StockAgriculture4.8M head2.2M head2024
Homicide RateGovernance15.62012
Corruption Perceptions IndexGovernance9132024
Electoral Democracy IndexGovernance0.1650.0692025
Liberal Democracy IndexGovernance0.1280.0092025
Political Corruption IndexGovernance0.870.7522025
Control of CorruptionGovernance-1.79-1.632024
Government EffectivenessGovernance-1.95-1.462024
Rule of LawGovernance-2.21-1.82024
Political StabilityGovernance-2.26-0.712024
Regulatory QualityGovernance-1.73-2.042024
Voice and AccountabilityGovernance-1.58-2.292024
Refugees HostedHumanitarian20.97K1192025
Internally Displaced PeopleHumanitarian3.35M02025
Asylum Seekers HostedHumanitarian25.7K02025
Stateless PeopleHumanitarian002025
Internet UsersTechnology27.9%20%2024/2023
Mobile SubscriptionsTechnology5459.12023/2022
4G CoverageTechnology61%0%2024
Fixed Broadband SubscriptionsTechnology0.70.22023/2022
Mobile Data PriceTechnology4%2025
3G CoverageTechnology83%77%2024
Fixed Broadband PriceTechnology50%213.8%2025/2013 ⚠
Mobile Bundle PriceTechnology4%0%2025/2022
Electricity AccessInfrastructure54.4%55.3%2024
Air Transport PassengersInfrastructure34.07K45.1K2019/2020
Slum PopulationInfrastructure48.7%48.7%2022
Renewable Energy CapacityEnergy49.5 MW25.9 MW2025
Solar CapacityEnergy45.9 MW25.1 MW2025
Wind CapacityEnergy3.6 MW0.8 MW2025
Renewable Energy ShareEnergy95.4%80.7%2022/2021
Clean Cooking AccessEnergy5.4%12%2023
Electricity Consumption per CapitaEnergy123 kWh2023
Power Transmission LossesEnergy11.8%2023
Off-grid Renewable CapacityEnergy49.5 MW25.6 MW2025
Rural Electricity AccessEnergy24.4%43.2%2024
Solar Share of ElectricityEnergy18.6%11.1%2024
Wind Share of ElectricityEnergy2.3%0%2024
Hydropower Share of ElectricityEnergy0%0%2024
Fossil Share of ElectricityEnergy79.1%88.9%2024
Electricity DemandEnergy0.4 TWh0.5 TWh2024
Electricity Carbon IntensityEnergy512 gCO₂/kWh578 gCO₂/kWh2024
Primary Energy per CapitaEnergy190 kWh873 kWh2023
CO2 Emissions per CapitaClimate0.05 t0.22 t2024
Renewable Electricity OutputClimate11.2%5.1%2021
Forest AreaClimate9.2%8.6%2023
Protected AreasClimate0%0%2025
Freshwater WithdrawalsClimate55%20.8%2022
PM2.5 Air PollutionClimate18.5 µg/m³33.7 µ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=SO,ER" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Somalia or Eritrea have the larger economy?

Somalia has the larger economy: $14.17B for Somalia versus $1.98B for Eritrea (GDP, current US$).

How do Somalia and Eritrea compare across indicators?

This page compares Somalia and Eritrea on 185 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=SO,ER with a free Africa API key to get both countries' latest values as JSON.

More comparisons