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

Country comparison

Somalia vs Kenya

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

GDP$14.17B vs $147.27BSomalia vs Kenya
GDP per Capita$813 vs $2,714Somalia vs Kenya
Population19.65M vs 57.53MSomalia vs Kenya

Indicator by indicator

201 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 KenyaPeriod
GDPEconomy$14.17B$147.27B2026
GDP per CapitaEconomy$813$2,7142026
Inflation RateEconomy5.9%6.4%2026
Central Bank Policy RateEconomy8.8%2026-06-09
Official Exchange RateEconomy23,581 LCU/USD129.27 LCU/USD2018/2026 ⚠
Budget BalanceEconomy-0.6%-6.4%2026
Unemployment RateEconomy18.9%5.4%2025
Public DebtEconomy71.6%2026
Trade BalanceEconomy$-9.04B$-8.15B2025
GDP GrowthEconomy2.6%4.5%2026
GNI per CapitaEconomy$640$2,2002025
GNI per Capita (PPP)Economy$1,640$6,9102025
GDP (PPP)Economy$32.29B$403.64B2025
Agriculture (% of GDP)Economy55.8%23.2%1990/2025 ⚠
Industry (% of GDP)Economy9.7%16.3%1986/2025 ⚠
Manufacturing (% of GDP)Economy3.9%7.1%1990/2025 ⚠
Services (% of GDP)Economy55.1%2025
Investment (% of GDP)Economy28.1%17%2025
Remittances ReceivedEconomy$21.7M$5B1983/2024 ⚠
Remittances (% of GDP)Economy3%4.2%1983/2024 ⚠
External Debt (% of GNI)Economy14.9%35%2024
Foreign ReservesEconomy$23.11M$12.39B1989/2025 ⚠
Credit to Private Sector (% of GDP)Economy5.4%31.8%2024/2023
Tax Revenue (% of GDP)Economy2.2%14.1%2024/2023
Labor Force ParticipationEconomy33.8%67.4%2025
Female Labor Force ParticipationEconomy20.7%63%2025
Income Inequality (Gini)Economy38.52022
Extreme Poverty RateEconomy45.5%2022
Account OwnershipEconomy38.7%90.1%2014/2024 ⚠
Youth NEET RateEconomy51%27.8%2022
Military Spending (% of GDP)Economy1.6%1%2024
Trade Openness (% of GDP)Economy128.1%37.5%2025
Inflation (GDP Deflator)Economy12.9%3.5%2025
Tourism ReceiptsEconomy$1.76B2019
Tourist ArrivalsEconomy2.05M2019
Current Account BalanceEconomy-8.7%-4.1%2026
Foreign Direct InvestmentEconomy$765M$1.5B2024
FDI (% of GDP)Economy6.4%1.2%2024
Government Revenue (% of GDP)Economy17.5%2024
Government Spending (% of GDP)Economy23.3%2024
Youth Unemployment RateEconomy17.9%16.7%2022
Productive Capacity IndexEconomy19.336.92024
Natural Resource RentsEconomy11.2%1.2%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy20.4%2.5%2023
Foreign Aid per CapitaEconomy$124$472023
Lending Interest RateEconomy33.7%16.6%1988/2024 ⚠
Real Interest RateEconomy-18.5%13%1988/2024 ⚠
Gross Savings (% of GDP)Economy15.6%2024
Adjusted Net Income per CapitaEconomy$356$1,7902021
Employment in AgricultureEconomy30%45.8%2025
Employment in IndustryEconomy17.8%12.5%2025
Employment in ServicesEconomy52.2%41.7%2025
Vulnerable EmploymentEconomy46%63.8%2025
Household Consumption (% of GDP)Economy133.3%76.9%2025
Income Share of Poorest 20%Economy7.1%2022
Bank Branches per 100,000Economy4.52024
ATMs per 100,000Economy6.42024
GDP per Capita GrowthEconomy-0.4%2.6%2025
Debt Service (% of GNI)Economy0.1%4.8%2024
Poverty Rate ($3.65/day)Economy65.5%2022
Poverty Rate ($6.85/day)Economy90.1%2022
Exports of Goods & ServicesTrade$3.8B$21.43B2025
Imports of Goods & ServicesTrade$12.84B$29.58B2025
Export Diversification IndexTrade0.7740.662024
Export Concentration IndexTrade0.7570.2032024
Liner Shipping ConnectivityTrade9.716.52021
Fuel Exports (% of Exports)Trade1.1%1.6%1982/2024 ⚠
Manufactures Exports (% of Exports)Trade1.3%30.7%1982/2024 ⚠
Food Exports (% of Exports)Trade93.7%49.2%1982/2024 ⚠
High-Tech Exports (% of Manufactured)Trade3.2%2024
Exports (% of GDP)Trade29.2%15.8%2025
Imports (% of GDP)Trade98.8%21.8%2025
Human Development IndexDevelopment0.4040.6282023
Gender Inequality IndexDevelopment0.6750.5262023
Inequality-adjusted HDIDevelopment0.2290.4562023
PopulationDemographics19.65M57.53M2025
Population GrowthDemographics3.3%1.9%2025
Life ExpectancyDemographics59 years63.8 years2024
Median AgeDemographics15.6 years20.3 years2026
Fertility RateDemographics6.013.172024
Rural PopulationDemographics44.9%67.8%2025
Population Under 15Demographics46.6%36.3%2025
Urban PopulationDemographics55.1%32.2%2025
Population DensityDemographics32.4/km²101/km²2026
Birth RateDemographics41.226.62026
Death RateDemographics9.557.132026
Net Migration RateDemographics0.76-0.592026
Life Expectancy (Female)Demographics61.6 years66.1 years2024
Life Expectancy (Male)Demographics56.5 years61.6 years2024
Urban Population GrowthDemographics4.3%2.9%2025
Infant MortalityHealth65.434.22024
HIV PrevalenceHealth0.1%3%2024
Health Spending (% of GDP)Health3.7%4.4%2023
Physicians per 1,000Health0.050.292014/2023 ⚠
UHC Service Coverage IndexHealth30572023
Road Traffic DeathsHealth20.228.22021
Premature NCD MortalityHealth27.6%18%2021
Out-of-Pocket Health SpendingHealth30.8%24.2%2023
Safely Managed SanitationHealth16.4%35.8%2024
Maternal MortalityHealth562.6378.82023
Under-Five MortalityHealth10439.92023
Neonatal MortalityHealth34.921.52023
Tuberculosis IncidenceHealth1512072024
Measles ImmunizationHealth61%80%2025
DTP3 ImmunizationHealth72%88%2025
Basic SanitationHealth28.1%5.1%2024
Diabetes PrevalenceHealth5.8%3.1%2024
Hospital Beds per 1,000Health0.871.332019
Contraceptive PrevalenceHealth6.9%62.5%2019/2022
Skilled Birth AttendanceHealth31.9%70.2%2019/2016
Nurses & Midwives per 1,000Health0.262.272014/2023 ⚠
Adolescent Fertility RateHealth115.454.52024
Health Spending per CapitaHealth$22$852023
NCD Share of DeathsHealth25.1%37.8%2021
Smoking PrevalenceHealth9.6%2024
Antenatal Care CoverageHealth31.1%92.8%2019/2020
Child StuntingChild Welfare23.9%17.9%2024
Child WastingChild Welfare14.3%4.5%2009/2022 ⚠
Birth RegistrationChild Welfare3%76%2006/2022 ⚠
Child MarriageChild Welfare45.3%12.5%2006/2022 ⚠
Overweight ChildrenChild Welfare3%3.4%2009/2022 ⚠
Education Spending (% of GDP)Education0%4%2023/2024
Tertiary EnrollmentEducation2.4%10.4%1987/2024 ⚠
Adult Literacy RateEducation54.1%82.2%2022/2000 ⚠
Youth Literacy RateEducation70.7%93.2%2022/2014 ⚠
Primary Completion RateEducation49.8%90.8%2023/2024
Lower Secondary CompletionEducation47.9%86.6%2023/2024
Primary Net EnrollmentEducation94.3%2023
Lower Secondary EnrollmentEducation95.6%2006
Upper Secondary EnrollmentEducation62.4%2023
Upper Secondary CompletionEducation9.2%65%2011/2024 ⚠
Qualified Primary TeachersEducation100%2023
Secondary EnrollmentEducation3.3%84.3%2023
UndernourishmentFood Security53.2%36.8%2023
Acute Food InsecurityFood Security6.5M2.75M2026-06
Agricultural Land (% of Land)Agriculture70.3%49.5%2023
Food Production IndexAgriculture98.9112.42022
Cassava ProductionAgriculture98.46K t1.21M t2024
Coffee ProductionAgriculture49.5K t2024
Sorghum ProductionAgriculture56K t243K t2024
Millet ProductionAgriculture65.76K t2024
Maize ProductionAgriculture69K t4.02M t2024
Rice ProductionAgriculture2K t282.15K t2024
Wheat ProductionAgriculture1.06K t312.2K t2024
Maize YieldAgriculture690 kg/ha1,666 kg/ha2024
Rice YieldAgriculture2,000 kg/ha6,553 kg/ha2024
Wheat YieldAgriculture401 kg/ha3,044 kg/ha2024
Cattle StockAgriculture4.8M head22.4M head2024
Homicide RateGovernance4.92022
Corruption Perceptions IndexGovernance9322024
Electoral Democracy IndexGovernance0.1650.5632025
Liberal Democracy IndexGovernance0.1280.4462025
Political Corruption IndexGovernance0.870.5642025
Control of CorruptionGovernance-1.79-0.82024
Government EffectivenessGovernance-1.95-0.32024
Rule of LawGovernance-2.21-0.462024
Political StabilityGovernance-2.26-1.362024
Regulatory QualityGovernance-1.73-0.332024
Voice and AccountabilityGovernance-1.58-0.352024
Refugees HostedHumanitarian20.97K617.13K2025
Internally Displaced PeopleHumanitarian3.35M02025
Asylum Seekers HostedHumanitarian25.7K218.65K2025
Stateless PeopleHumanitarian09.8K2025
Internet UsersTechnology27.9%35%2024
Mobile SubscriptionsTechnology54126.52023/2024
4G CoverageTechnology61%97.3%2024
Fixed Broadband SubscriptionsTechnology0.732023/2024
Mobile Data PriceTechnology4%4.1%2025
3G CoverageTechnology83%98%2024
Fixed Broadband PriceTechnology50%12.3%2025
Mobile Bundle PriceTechnology4%1.3%2025
R&D Spending (% of GDP)Technology0.8%2024
Electricity AccessInfrastructure54.4%77%2024
Air Transport PassengersInfrastructure34.07K5.14M2019/2023
Slum PopulationInfrastructure48.7%40.5%2022
Renewable Energy CapacityEnergy49.5 MW3K MW2025
Solar CapacityEnergy45.9 MW551.1 MW2025
Wind CapacityEnergy3.6 MW436.1 MW2025
Hydropower CapacityEnergy892.7 MW2025
Renewable Energy ShareEnergy95.4%67.7%2022/2021
Clean Cooking AccessEnergy5.4%31.6%2023
Electricity Consumption per CapitaEnergy195 kWh2024
Power Transmission LossesEnergy25.8%2024
Off-grid Renewable CapacityEnergy49.5 MW87.3 MW2025
Rural Electricity AccessEnergy24.4%67.1%2024
Solar Share of ElectricityEnergy18.6%4.6%2024/2025
Wind Share of ElectricityEnergy2.3%16.4%2024/2025
Hydropower Share of ElectricityEnergy0%20.9%2024/2025
Fossil Share of ElectricityEnergy79.1%10%2024/2025
Electricity DemandEnergy0.4 TWh16 TWh2024/2025
Electricity Carbon IntensityEnergy512 gCO₂/kWh95 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy190 kWh1,608 kWh2023
CO2 Emissions per CapitaClimate0.05 t0.38 t2024
Renewable Electricity OutputClimate11.2%78.1%2021
Forest AreaClimate9.2%6.2%2023
Protected AreasClimate0%11.8%2025
Freshwater WithdrawalsClimate55%19.5%2022
PM2.5 Air PollutionClimate18.5 µg/m³20.3 µ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,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Somalia or Kenya have the larger economy?

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

How do Somalia and Kenya compare across indicators?

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

More comparisons