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

Country comparison

Somalia vs Djibouti

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

GDP$14.17B vs $4.73BSomalia vs Djibouti
GDP per Capita$813 vs $4,421Somalia vs Djibouti
Population19.65M vs 1.18MSomalia vs Djibouti

Indicator by indicator

189 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 DjiboutiPeriod
GDPEconomy$14.17B$4.73B2026
GDP per CapitaEconomy$813$4,4212026
Inflation RateEconomy5.9%1.5%2026
Official Exchange RateEconomy23,581 LCU/USD177.72 LCU/USD2018/2026 ⚠
Budget BalanceEconomy-0.6%-0.5%2026
Unemployment RateEconomy18.9%38.8%2025
Public DebtEconomy29.6%2026
Trade BalanceEconomy$-9.04B$679.4M2025
GDP GrowthEconomy2.6%6%2026
GNI per CapitaEconomy$640$3,9602025
GNI per Capita (PPP)Economy$1,640$8,6602025
GDP (PPP)Economy$32.29B$10.01B2025
Agriculture (% of GDP)Economy55.8%2.3%1990/2025 ⚠
Industry (% of GDP)Economy9.7%16.6%1986/2025 ⚠
Manufacturing (% of GDP)Economy3.9%5.3%1990/2024 ⚠
Services (% of GDP)Economy75.7%2025
Investment (% of GDP)Economy28.1%1.6%2025
Remittances ReceivedEconomy$21.7M$56M1983/2024 ⚠
Remittances (% of GDP)Economy3%1.3%1983/2024 ⚠
External Debt (% of GNI)Economy14.9%83.8%2024
Foreign ReservesEconomy$23.11M$655.74M1989/2025 ⚠
Credit to Private Sector (% of GDP)Economy5.4%25.2%2024/2025
Tax Revenue (% of GDP)Economy2.2%2024
Labor Force ParticipationEconomy33.8%31.7%2025
Female Labor Force ParticipationEconomy20.7%19.4%2025
Income Inequality (Gini)Economy41.62017
Extreme Poverty RateEconomy25.4%2017
Account OwnershipEconomy38.7%12.3%2014/2011
Youth NEET RateEconomy51%44%2022/2025
Military Spending (% of GDP)Economy1.6%2.6%2024/2008 ⚠
Trade Openness (% of GDP)Economy128.1%206.3%2025
Inflation (GDP Deflator)Economy12.9%4.6%2025
Tourism ReceiptsEconomy$57M2018
Tourist ArrivalsEconomy63K2013
Current Account BalanceEconomy-8.7%10.1%2026
Foreign Direct InvestmentEconomy$765M$67.82M2024
FDI (% of GDP)Economy6.4%1.6%2024
Government Revenue (% of GDP)Economy18%2024
Government Spending (% of GDP)Economy20.6%2024
Youth Unemployment RateEconomy17.9%72.7%2022/2025
Productive Capacity IndexEconomy19.3382024
Natural Resource RentsEconomy11.2%0.3%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%5.6%2023
Foreign Aid per CapitaEconomy$124$1932023
Lending Interest RateEconomy33.7%1988
Real Interest RateEconomy-18.5%1988
Gross Savings (% of GDP)Economy14.9%2024
Adjusted Net Income per CapitaEconomy$356$2,7472021
Employment in AgricultureEconomy30%1.2%2025
Employment in IndustryEconomy17.8%6.7%2025
Employment in ServicesEconomy52.2%92.2%2025
Vulnerable EmploymentEconomy46%30.3%2025
Household Consumption (% of GDP)Economy133.3%68.7%2025
Income Share of Poorest 20%Economy5.4%2017
Bank Branches per 100,000Economy8.22024
ATMs per 100,000Economy17.62024
GDP per Capita GrowthEconomy-0.4%5.1%2025
Debt Service (% of GNI)Economy0.1%3.3%2024
Poverty Rate ($3.65/day)Economy43.7%2017
Poverty Rate ($6.85/day)Economy80.8%2017
Exports of Goods & ServicesTrade$3.8B$5.11B2025
Imports of Goods & ServicesTrade$12.84B$4.43B2025
Export Diversification IndexTrade0.7740.6272024
Export Concentration IndexTrade0.7570.1722024
Liner Shipping ConnectivityTrade9.734.12021
Fuel Exports (% of Exports)Trade1.1%1%1982/2023 ⚠
Manufactures Exports (% of Exports)Trade1.3%56.6%1982/2023 ⚠
Food Exports (% of Exports)Trade93.7%41.5%1982/2023 ⚠
High-Tech Exports (% of Manufactured)Trade3.3%2023
Exports (% of GDP)Trade29.2%110.5%2025
Imports (% of GDP)Trade98.8%95.8%2025
Human Development IndexDevelopment0.4040.5132023
Gender Inequality IndexDevelopment0.6750.4812023
Inequality-adjusted HDIDevelopment0.2290.3412023
PopulationDemographics19.65M1.18M2025
Population GrowthDemographics3.3%1.3%2025
Life ExpectancyDemographics59 years66.2 years2024
Median AgeDemographics15.6 years25.2 years2026
Fertility RateDemographics6.012.622024
Rural PopulationDemographics44.9%27%2025
Population Under 15Demographics46.6%28.8%2025
Urban PopulationDemographics55.1%73%2025
Population DensityDemographics32.4/km²51.7/km²2026
Birth RateDemographics41.220.42026
Death RateDemographics9.557.532026
Net Migration RateDemographics0.760.252026
Life Expectancy (Female)Demographics61.6 years68.7 years2024
Life Expectancy (Male)Demographics56.5 years63.7 years2024
Urban Population GrowthDemographics4.3%1.4%2025
Infant MortalityHealth65.4432024
HIV PrevalenceHealth0.1%0.9%2024
Health Spending (% of GDP)Health3.7%2.3%2023
Physicians per 1,000Health0.050.212014/2022 ⚠
UHC Service Coverage IndexHealth30472023
Road Traffic DeathsHealth20.223.32021
Premature NCD MortalityHealth27.6%20.6%2021
Out-of-Pocket Health SpendingHealth30.8%28.8%2023
Safely Managed SanitationHealth16.4%39.7%2024/2023
Maternal MortalityHealth562.6161.92023
Under-Five MortalityHealth10450.42023
Neonatal MortalityHealth34.928.22023
Tuberculosis IncidenceHealth1514952024
Measles ImmunizationHealth61%75%2025
DTP3 ImmunizationHealth72%83%2025
Basic SanitationHealth28.1%27.4%2024/2023
Diabetes PrevalenceHealth5.8%6.5%2024
Hospital Beds per 1,000Health0.871.42019/2018
Contraceptive PrevalenceHealth6.9%19%2019/2012 ⚠
Skilled Birth AttendanceHealth31.9%87.4%2019/2012 ⚠
Nurses & Midwives per 1,000Health0.260.192014/2022 ⚠
Adolescent Fertility RateHealth115.419.12024
Health Spending per CapitaHealth$22$782023
NCD Share of DeathsHealth25.1%46.6%2021
Antenatal Care CoverageHealth31.1%87.7%2019/2012 ⚠
Child StuntingChild Welfare23.9%20.9%2024
Child WastingChild Welfare14.3%12.1%2009/2023 ⚠
Birth RegistrationChild Welfare3%91.7%2006
Child MarriageChild Welfare45.3%6.5%2006/2019 ⚠
Overweight ChildrenChild Welfare3%4.2%2009/2023 ⚠
Education Spending (% of GDP)Education0%3.8%2023/2018 ⚠
Tertiary EnrollmentEducation2.4%5.2%1987/2011 ⚠
Adult Literacy RateEducation54.1%2022
Youth Literacy RateEducation70.7%79.6%2022/2017 ⚠
Primary Completion RateEducation49.8%81%2023/2017 ⚠
Lower Secondary CompletionEducation47.9%62.4%2023/2017 ⚠
Upper Secondary CompletionEducation9.2%39.8%2011/2017 ⚠
Qualified Primary TeachersEducation66%2023
Secondary EnrollmentEducation3.3%2023
UndernourishmentFood Security53.2%12.9%2023
Acute Food InsecurityFood Security6.5M2026-06
Agricultural Land (% of Land)Agriculture70.3%73.5%2023
Food Production IndexAgriculture98.91332022
Cassava ProductionAgriculture98.46K t2024
Sorghum ProductionAgriculture56K t2024
Maize ProductionAgriculture69K t17.41 t2024
Rice ProductionAgriculture2K t2024
Wheat ProductionAgriculture1.06K t2024
Maize YieldAgriculture690 kg/ha2,041 kg/ha2024
Rice YieldAgriculture2,000 kg/ha2024
Wheat YieldAgriculture401 kg/ha2024
Cattle StockAgriculture4.8M head317.9K head2024
Corruption Perceptions IndexGovernance9312024
Electoral Democracy IndexGovernance0.1650.252025
Liberal Democracy IndexGovernance0.1280.1182025
Political Corruption IndexGovernance0.870.7062025
Control of CorruptionGovernance-1.79-0.892024
Government EffectivenessGovernance-1.95-0.492024
Rule of LawGovernance-2.21-1.012024
Political StabilityGovernance-2.26-0.562024
Regulatory QualityGovernance-1.73-0.852024
Voice and AccountabilityGovernance-1.58-1.252024
Refugees HostedHumanitarian20.97K24.9K2025
Internally Displaced PeopleHumanitarian3.35M02025
Asylum Seekers HostedHumanitarian25.7K10.14K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology27.9%65.3%2024
Mobile SubscriptionsTechnology5448.52023
4G CoverageTechnology61%76%2024
Fixed Broadband SubscriptionsTechnology0.71.52023
Mobile Data PriceTechnology4%5.7%2025
3G CoverageTechnology83%90%2024
Fixed Broadband PriceTechnology50%5.3%2025
Mobile Bundle PriceTechnology4%7.7%2025
Electricity AccessInfrastructure54.4%69.2%2024
Air Transport PassengersInfrastructure34.07K130.5K2019/1991 ⚠
Slum PopulationInfrastructure48.7%48.7%2022
Renewable Energy CapacityEnergy49.5 MW80.7 MW2025
Solar CapacityEnergy45.9 MW0.7 MW2025
Wind CapacityEnergy3.6 MW80 MW2025
Renewable Energy ShareEnergy95.4%26.9%2022
Clean Cooking AccessEnergy5.4%10%2023
Off-grid Renewable CapacityEnergy49.5 MW20.7 MW2025
Rural Electricity AccessEnergy24.4%53.9%2024
Solar Share of ElectricityEnergy18.6%0%2024
Wind Share of ElectricityEnergy2.3%35%2024
Hydropower Share of ElectricityEnergy0%0%2024
Fossil Share of ElectricityEnergy79.1%65%2024
Electricity DemandEnergy0.4 TWh0.8 TWh2024
Electricity Carbon IntensityEnergy512 gCO₂/kWh450 gCO₂/kWh2024
Primary Energy per CapitaEnergy190 kWh3,056 kWh2023
CO2 Emissions per CapitaClimate0.05 t0.77 t2024
Renewable Electricity OutputClimate11.2%35.4%2021
Forest AreaClimate9.2%0.3%2023
Protected AreasClimate0%1.2%2025
Freshwater WithdrawalsClimate55%6.3%2022
PM2.5 Air PollutionClimate18.5 µg/m³40.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,DJ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Somalia or Djibouti have the larger economy?

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

How do Somalia and Djibouti compare across indicators?

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

More comparisons