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

Country comparison

Somalia vs Egypt

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

GDP$14.17B vs $429.65BSomalia vs Egypt
GDP per Capita$813 vs $3,904Somalia vs Egypt
Population19.65M vs 118.37MSomalia vs Egypt

Indicator by indicator

197 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 EgyptPeriod
GDPEconomy$14.17B$429.65B2026
GDP per CapitaEconomy$813$3,9042026
Inflation RateEconomy5.9%14.3%2026
Official Exchange RateEconomy23,581 LCU/USD49.83 LCU/USD2018/2026 ⚠
Budget BalanceEconomy-0.6%-12.1%2026
Unemployment RateEconomy18.9%6.8%2025
Public DebtEconomy87%2026
Trade BalanceEconomy$-9.04B$-42.71B2025
GDP GrowthEconomy2.6%4.2%2026
GNI per CapitaEconomy$640$3,2602025
GNI per Capita (PPP)Economy$1,640$19,3302025
GDP (PPP)Economy$32.29B$2.39T2025
Agriculture (% of GDP)Economy55.8%16.6%1990/2025 ⚠
Industry (% of GDP)Economy9.7%32.1%1986/2025 ⚠
Manufacturing (% of GDP)Economy3.9%14.5%1990/2025 ⚠
Services (% of GDP)Economy47.3%2025
Investment (% of GDP)Economy28.1%12.9%2025
Remittances ReceivedEconomy$21.7M$41.52B1983/2025 ⚠
Remittances (% of GDP)Economy3%11.4%1983/2025 ⚠
External Debt (% of GNI)Economy14.9%42%2024
Foreign ReservesEconomy$23.11M$48.88B1989/2025 ⚠
Credit to Private Sector (% of GDP)Economy5.4%25.8%2024/2025
Tax Revenue (% of GDP)Economy2.2%12.5%2024/2015 ⚠
Labor Force ParticipationEconomy33.8%44.6%2025
Female Labor Force ParticipationEconomy20.7%18.5%2025
Income Inequality (Gini)Economy28.52021
Extreme Poverty RateEconomy1.4%2021
Account OwnershipEconomy38.7%43.1%2014/2024 ⚠
Youth NEET RateEconomy51%23.8%2022/2024
Military Spending (% of GDP)Economy1.6%0.7%2024
Trade Openness (% of GDP)Economy128.1%51.3%2025
Inflation (GDP Deflator)Economy12.9%25%2025
Tourism ReceiptsEconomy$4.87B2020
Tourist ArrivalsEconomy13.03M2019
Current Account BalanceEconomy-8.7%-4.2%2026
Foreign Direct InvestmentEconomy$765M$46.58B2024
FDI (% of GDP)Economy6.4%15.2%2024
Youth Unemployment RateEconomy17.9%15.3%2022/2024
Productive Capacity IndexEconomy19.342.22024
Natural Resource RentsEconomy11.2%5.1%2021
Oil Rents (% of GDP)Economy0%3%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy0%2%2021
Foreign Aid (% of GNI)Economy20.4%0.1%2023
Foreign Aid per CapitaEconomy$124$42023
Lending Interest RateEconomy33.7%24.3%1988/2024 ⚠
Real Interest RateEconomy-18.5%-7%1988/2024 ⚠
Gross Savings (% of GDP)Economy8.1%2025
Adjusted Net Income per CapitaEconomy$356$3,1852021
Employment in AgricultureEconomy30%17.5%2025
Employment in IndustryEconomy17.8%29.4%2025
Employment in ServicesEconomy52.2%53.1%2025
Vulnerable EmploymentEconomy46%23.9%2025
Household Consumption (% of GDP)Economy133.3%93.4%2025
Income Share of Poorest 20%Economy9.7%2021
Bank Branches per 100,000Economy6.62024
ATMs per 100,000Economy37.12024
GDP per Capita GrowthEconomy-0.4%2.8%2025
Debt Service (% of GNI)Economy0.1%8.9%2024
Poverty Rate ($3.65/day)Economy7.1%2021
Poverty Rate ($6.85/day)Economy58.5%2021
Exports of Goods & ServicesTrade$3.8B$72.39B2025
Imports of Goods & ServicesTrade$12.84B$115.11B2025
Export Diversification IndexTrade0.7740.5992024
Export Concentration IndexTrade0.7570.1352024
Liner Shipping ConnectivityTrade9.766.72021
Fuel Exports (% of Exports)Trade1.1%12.5%1982/2024 ⚠
Manufactures Exports (% of Exports)Trade1.3%51.9%1982/2024 ⚠
Food Exports (% of Exports)Trade93.7%21.9%1982/2024 ⚠
High-Tech Exports (% of Manufactured)Trade3.8%2024
Exports (% of GDP)Trade29.2%19.8%2025
Imports (% of GDP)Trade98.8%31.5%2025
Human Development IndexDevelopment0.4040.7542023
Gender Inequality IndexDevelopment0.6750.3982023
Inequality-adjusted HDIDevelopment0.2290.5822023
PopulationDemographics19.65M118.37M2025
Population GrowthDemographics3.3%1.6%2025
Life ExpectancyDemographics59 years71.8 years2024
Median AgeDemographics15.6 years24.7 years2026
Fertility RateDemographics6.012.742024
Rural PopulationDemographics44.9%57.1%2025
Population Under 15Demographics46.6%31.6%2025
Urban PopulationDemographics55.1%42.9%2025
Population DensityDemographics32.4/km²120.7/km²2026
Birth RateDemographics41.220.52026
Death RateDemographics9.555.62026
Net Migration RateDemographics0.76-0.442026
Life Expectancy (Female)Demographics61.6 years74 years2024
Life Expectancy (Male)Demographics56.5 years69.7 years2024
Urban Population GrowthDemographics4.3%1.8%2025
Infant MortalityHealth65.420.82024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health3.7%4.9%2023
Physicians per 1,000Health0.050.672014/2020 ⚠
UHC Service Coverage IndexHealth30712023
Road Traffic DeathsHealth20.29.42021
Premature NCD MortalityHealth27.6%26%2021
Out-of-Pocket Health SpendingHealth30.8%57.2%2023
Safely Managed SanitationHealth16.4%57.3%2024
Maternal MortalityHealth562.6172023
Under-Five MortalityHealth10417.52023
Neonatal MortalityHealth34.99.252023
Tuberculosis IncidenceHealth151102024
Measles ImmunizationHealth61%97%2025
DTP3 ImmunizationHealth72%98%2025
Basic Drinking WaterHealth18.4%2024
Basic SanitationHealth28.1%39.8%2024
Diabetes PrevalenceHealth5.8%22.4%2024
Hospital Beds per 1,000Health0.871.062019/2021
Contraceptive PrevalenceHealth6.9%58.5%2019/2014 ⚠
Skilled Birth AttendanceHealth31.9%97.1%2019/2021
Nurses & Midwives per 1,000Health0.261.792014/2018
Adolescent Fertility RateHealth115.441.12024
Health Spending per CapitaHealth$22$1412023
NCD Share of DeathsHealth25.1%64.2%2021
Smoking PrevalenceHealth25%2024
Antenatal Care CoverageHealth31.1%90.3%2019/2014 ⚠
Child StuntingChild Welfare23.9%12.9%2024
Child WastingChild Welfare14.3%3.3%2009/2021 ⚠
Birth RegistrationChild Welfare3%99.1%2006/2021 ⚠
Child MarriageChild Welfare45.3%15.8%2006/2021 ⚠
Overweight ChildrenChild Welfare3%10.1%2009/2021 ⚠
Education Spending (% of GDP)Education0%3.8%2023/2008 ⚠
Tertiary EnrollmentEducation2.4%38%1987/2025 ⚠
Adult Literacy RateEducation54.1%79.5%2022
Youth Literacy RateEducation70.7%95.2%2022
Primary Completion RateEducation49.8%96.1%2023/2022
Lower Secondary CompletionEducation47.9%88.1%2023/2022
Primary Net EnrollmentEducation96.5%2024
Lower Secondary EnrollmentEducation93.4%2024
Upper Secondary EnrollmentEducation70%2024
Upper Secondary CompletionEducation9.2%75.7%2011/2022 ⚠
Qualified Primary TeachersEducation87.1%2024
Secondary EnrollmentEducation3.3%84.8%2023/2024
UndernourishmentFood Security53.2%9.4%2023
Acute Food InsecurityFood Security6.5M2026-06
Agricultural Land (% of Land)Agriculture70.3%4.1%2023
Food Production IndexAgriculture98.9109.12022
Cassava ProductionAgriculture98.46K t2024
Sorghum ProductionAgriculture56K t780K t2024
Maize ProductionAgriculture69K t7.21M t2024
Rice ProductionAgriculture2K t6.43M t2024
Wheat ProductionAgriculture1.06K t9.4M t2024
Maize YieldAgriculture690 kg/ha7,585 kg/ha2024
Rice YieldAgriculture2,000 kg/ha9,132 kg/ha2024
Wheat YieldAgriculture401 kg/ha6,778 kg/ha2024
Cattle StockAgriculture4.8M head2.6M head2024
Homicide RateGovernance1.32017
Corruption Perceptions IndexGovernance9302024
Electoral Democracy IndexGovernance0.1650.1872025
Liberal Democracy IndexGovernance0.1280.1152025
Political Corruption IndexGovernance0.870.7292025
Control of CorruptionGovernance-1.79-0.832024
Government EffectivenessGovernance-1.95-0.12024
Rule of LawGovernance-2.21-0.752024
Political StabilityGovernance-2.26-0.982024
Regulatory QualityGovernance-1.73-0.52024
Voice and AccountabilityGovernance-1.58-1.62024
Refugees HostedHumanitarian20.97K220.03K2025
Internally Displaced PeopleHumanitarian3.35M02025
Asylum Seekers HostedHumanitarian25.7K878.27K2025
Stateless PeopleHumanitarian052025
Internet UsersTechnology27.9%74.6%2024
Mobile SubscriptionsTechnology5497.12023/2024
4G CoverageTechnology61%98%2024
Fixed Broadband SubscriptionsTechnology0.711.72023/2024
Mobile Data PriceTechnology4%1.6%2025
3G CoverageTechnology83%99.8%2024
Fixed Broadband PriceTechnology50%2.5%2025
Mobile Bundle PriceTechnology4%0.7%2025
R&D Spending (% of GDP)Technology1%2024
Electricity AccessInfrastructure54.4%100%2024
Air Transport PassengersInfrastructure34.07K16.67M2019/2023
Slum PopulationInfrastructure48.7%3.8%2022
Renewable Energy CapacityEnergy49.5 MW9.3K MW2025
Solar CapacityEnergy45.9 MW3.3K MW2025
Wind CapacityEnergy3.6 MW3K MW2025
Hydropower CapacityEnergy2.8K MW2025
Renewable Energy ShareEnergy95.4%6.1%2022/2021
Clean Cooking AccessEnergy5.4%99.9%2023
Electricity Consumption per CapitaEnergy1,493 kWh2023
Power Transmission LossesEnergy19.9%2023
Off-grid Renewable CapacityEnergy49.5 MW35.3 MW2025
Rural Electricity AccessEnergy24.4%100%2024
Solar Share of ElectricityEnergy18.6%3.1%2024/2025
Wind Share of ElectricityEnergy2.3%3.8%2024/2025
Hydropower Share of ElectricityEnergy0%6.1%2024/2025
Fossil Share of ElectricityEnergy79.1%87%2024/2025
Electricity DemandEnergy0.4 TWh244 TWh2024/2025
Electricity Carbon IntensityEnergy512 gCO₂/kWh563 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy190 kWh9,661 kWh2023/2024
CO2 Emissions per CapitaClimate0.05 t2.5 t2024
Renewable Electricity OutputClimate11.2%12.2%2021
Forest AreaClimate9.2%0%2023
Protected AreasClimate0%11.6%2025
Freshwater WithdrawalsClimate55%7,750%2022
PM2.5 Air PollutionClimate18.5 µg/m³43.1 µ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,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Somalia or Egypt have the larger economy?

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

How do Somalia and Egypt compare across indicators?

This page compares Somalia and Egypt on 197 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,EG with a free Africa API key to get both countries' latest values as JSON.

More comparisons