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

Country comparison

Djibouti vs South Africa

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

GDP$4.73B vs $479.96BDjibouti vs South Africa
GDP per Capita$4,421 vs $7,503Djibouti vs South Africa
Population1.18M vs 64.75MDjibouti vs South Africa

Indicator by indicator

199 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 Djibouti South AfricaPeriod
GDPEconomy$4.73B$479.96B2026
GDP per CapitaEconomy$4,421$7,5032026
Inflation RateEconomy1.5%5%2026
Central Bank Policy RateEconomy7%2026-07-01
Official Exchange RateEconomy177.72 LCU/USD16.37 LCU/USD2026-06
Budget BalanceEconomy-0.5%-4.9%2026
Unemployment RateEconomy38.8%32.4%2025
Public DebtEconomy29.6%78.9%2026
Trade BalanceEconomy$679.4M$8.16B2025
GDP GrowthEconomy6%1%2026
GNI per CapitaEconomy$3,960$6,2702025
GNI per Capita (PPP)Economy$8,660$15,6002025
GDP (PPP)Economy$10.01B$1.03T2025
Agriculture (% of GDP)Economy2.3%2.8%2025
Industry (% of GDP)Economy16.6%24.1%2025
Manufacturing (% of GDP)Economy5.3%12.3%2024/2025
Services (% of GDP)Economy75.7%63.1%2025
Investment (% of GDP)Economy1.6%13.9%2025
Remittances ReceivedEconomy$56M$1B2024/2025
Remittances (% of GDP)Economy1.3%0.2%2024/2025
External Debt (% of GNI)Economy83.8%44.8%2024
Foreign ReservesEconomy$655.74M$76.02B2025
Credit to Private Sector (% of GDP)Economy25.2%89.4%2025/2024
Tax Revenue (% of GDP)Economy25.9%2024
Labor Force ParticipationEconomy31.7%55.6%2025
Female Labor Force ParticipationEconomy19.4%49.9%2025
Income Inequality (Gini)Economy41.654.12017/2022 ⚠
Extreme Poverty RateEconomy25.4%17.4%2017/2022 ⚠
Account OwnershipEconomy12.3%81.1%2011/2024 ⚠
Youth NEET RateEconomy44%34.6%2025/2024
Military Spending (% of GDP)Economy2.6%0.7%2008/2024 ⚠
Trade Openness (% of GDP)Economy206.3%60.9%2025
Inflation (GDP Deflator)Economy4.6%2.8%2025
Tourism ReceiptsEconomy$57M$2.72B2018/2020
Tourist ArrivalsEconomy63K3.89M2013/2020 ⚠
Current Account BalanceEconomy10.1%-0.9%2026
Foreign Direct InvestmentEconomy$67.82M$2.47B2024
FDI (% of GDP)Economy1.6%0.6%2024
Government Revenue (% of GDP)Economy18%27.2%2024
Government Spending (% of GDP)Economy20.6%33%2024
Youth Unemployment RateEconomy72.7%60.1%2025/2024
Productive Capacity IndexEconomy3851.72024
Natural Resource RentsEconomy0.3%7.3%2021
Oil Rents (% of GDP)Economy0%0.4%2021
Mineral Rents (% of GDP)Economy0%3.8%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy5.6%0.4%2023
Foreign Aid per CapitaEconomy$193$242023
Lending Interest RateEconomy10.7%2025
Real Interest RateEconomy7.7%2025
Gross Savings (% of GDP)Economy14.9%12.9%2024/2025
Adjusted Net Income per CapitaEconomy$2,747$5,5212021
Employment in AgricultureEconomy1.2%5.4%2025
Employment in IndustryEconomy6.7%20.8%2025
Employment in ServicesEconomy92.2%73.8%2025
Vulnerable EmploymentEconomy30.3%11.7%2025
Household Consumption (% of GDP)Economy68.7%65.8%2025
Income Share of Poorest 20%Economy5.4%3.7%2017/2022 ⚠
Bank Branches per 100,000Economy8.282024
ATMs per 100,000Economy17.6462024
GDP per Capita GrowthEconomy5.1%-0%2025
Debt Service (% of GNI)Economy3.3%5.7%2024
Poverty Rate ($3.65/day)Economy43.7%30.2%2017/2022 ⚠
Poverty Rate ($6.85/day)Economy80.8%59.6%2017/2022 ⚠
Exports of Goods & ServicesTrade$5.11B$134.18B2025
Imports of Goods & ServicesTrade$4.43B$126.02B2025
Export Diversification IndexTrade0.6270.5532024
Export Concentration IndexTrade0.1720.1452024
Liner Shipping ConnectivityTrade34.139.12021
Fuel Exports (% of Exports)Trade1%8.2%2023/2025
Manufactures Exports (% of Exports)Trade56.6%38.3%2023/2025
Food Exports (% of Exports)Trade41.5%12.8%2023/2025
High-Tech Exports (% of Manufactured)Trade3.3%5.7%2023/2024
Exports (% of GDP)Trade110.5%31.4%2025
Imports (% of GDP)Trade95.8%29.5%2025
Human Development IndexDevelopment0.5130.7412023
Gender Inequality IndexDevelopment0.4810.3882023
Inequality-adjusted HDIDevelopment0.3410.4762023
PopulationDemographics1.18M64.75M2025
Population GrowthDemographics1.3%1.1%2025
Life ExpectancyDemographics66.2 years66.3 years2024
Median AgeDemographics25.2 years28.9 years2026
Fertility RateDemographics2.622.212024
Rural PopulationDemographics27%36.2%2025
Population Under 15Demographics28.8%25.7%2025
Urban PopulationDemographics73%63.8%2025
Population DensityDemographics51.7/km²53.6/km²2026
Birth RateDemographics20.417.82026
Death RateDemographics7.539.312026
Net Migration RateDemographics0.252.012026
Life Expectancy (Female)Demographics68.7 years69.8 years2024
Life Expectancy (Male)Demographics63.7 years62.8 years2024
Urban Population GrowthDemographics1.4%1.3%2025
Infant MortalityHealth4324.22024
HIV PrevalenceHealth0.9%17.2%2024
Health Spending (% of GDP)Health2.3%8.9%2023
Physicians per 1,000Health0.210.792022
UHC Service Coverage IndexHealth47742023
Road Traffic DeathsHealth23.324.52021
Premature NCD MortalityHealth20.6%22.7%2021
Out-of-Pocket Health SpendingHealth28.8%6.7%2023
Safely Managed SanitationHealth39.7%73.8%2023/2024
Maternal MortalityHealth161.9117.62023
Under-Five MortalityHealth50.434.72023
Neonatal MortalityHealth28.211.72023
Tuberculosis IncidenceHealth4953892024
Measles ImmunizationHealth75%66%2025
DTP3 ImmunizationHealth83%65%2025
Basic Drinking WaterHealth22.2%2024
Basic SanitationHealth27.4%3.6%2023/2024
Diabetes PrevalenceHealth6.5%7.2%2024
Hospital Beds per 1,000Health1.42.252018/2010 ⚠
Contraceptive PrevalenceHealth19%54.6%2012/2016
Skilled Birth AttendanceHealth87.4%96.7%2012/2016
Nurses & Midwives per 1,000Health0.196.392022
Adolescent Fertility RateHealth19.151.82024
Health Spending per CapitaHealth$78$5372023
NCD Share of DeathsHealth46.6%37.2%2021
Smoking PrevalenceHealth23.7%2024
Antenatal Care CoverageHealth87.7%93.7%2012/2016
Child StuntingChild Welfare20.9%24.4%2024
Child WastingChild Welfare12.1%3.6%2023/2017 ⚠
Birth RegistrationChild Welfare91.7%88.6%2006/2017 ⚠
Child MarriageChild Welfare6.5%3.6%2019/2016
Overweight ChildrenChild Welfare4.2%11.8%2023/2017 ⚠
Education Spending (% of GDP)Education3.8%6%2018/2024 ⚠
Tertiary EnrollmentEducation5.2%23.5%2011/2023 ⚠
Adult Literacy RateEducation91.2%2024
Youth Literacy RateEducation79.6%97.2%2017/2024 ⚠
Primary Completion RateEducation81%97.6%2017/2024 ⚠
Lower Secondary CompletionEducation62.4%92.5%2017/2024 ⚠
Primary Net EnrollmentEducation93.9%2023
Lower Secondary EnrollmentEducation90.4%2023
Upper Secondary EnrollmentEducation86.9%2023
Upper Secondary CompletionEducation39.8%62.2%2017/2024 ⚠
Qualified Primary TeachersEducation66%77.9%2023/2002 ⚠
Secondary EnrollmentEducation104.1%2023
UndernourishmentFood Security12.9%10%2023
Agricultural Land (% of Land)Agriculture73.5%79.4%2023
Food Production IndexAgriculture133113.22022
Sorghum ProductionAgriculture98K t2024
Millet ProductionAgriculture6.33K t2024
Maize ProductionAgriculture17.41 t12.85M t2024
Rice ProductionAgriculture3.08K t2024
Wheat ProductionAgriculture1.92M t2024
Maize YieldAgriculture2,041 kg/ha4,874 kg/ha2024
Rice YieldAgriculture2,912 kg/ha2024
Wheat YieldAgriculture3,809 kg/ha2024
Cattle StockAgriculture317.9K head12.1M head2024
Homicide RateGovernance43.72022
Corruption Perceptions IndexGovernance31412024
Electoral Democracy IndexGovernance0.250.7432025
Liberal Democracy IndexGovernance0.1180.6332025
Political Corruption IndexGovernance0.7060.5382025
Control of CorruptionGovernance-0.89-0.192024
Government EffectivenessGovernance-0.49-0.232024
Rule of LawGovernance-1.010.022024
Political StabilityGovernance-0.56-0.622024
Regulatory QualityGovernance-0.85-0.062024
Voice and AccountabilityGovernance-1.250.612024
Refugees HostedHumanitarian24.9K55.18K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian10.14K82.36K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology65.3%78.4%2024
Mobile SubscriptionsTechnology48.5179.32023/2024
4G CoverageTechnology76%99.4%2024
Fixed Broadband SubscriptionsTechnology1.55.32023/2024
Mobile Data PriceTechnology5.7%1.3%2025
3G CoverageTechnology90%99.9%2024
Fixed Broadband PriceTechnology5.3%3.4%2025
Mobile Bundle PriceTechnology7.7%1.1%2025
R&D Spending (% of GDP)Technology0.6%2022
Electricity AccessInfrastructure69.2%90.2%2024
Air Transport PassengersInfrastructure130.5K15.45M1991/2023 ⚠
Slum PopulationInfrastructure48.7%24.2%2022
Renewable Energy CapacityEnergy80.7 MW16.6K MW2025
Solar CapacityEnergy0.7 MW11.3K MW2025
Wind CapacityEnergy80 MW4.3K MW2025
Hydropower CapacityEnergy751.7 MW2025
Renewable Energy ShareEnergy26.9%9.7%2022/2021
Clean Cooking AccessEnergy10%89.8%2023
Electricity Consumption per CapitaEnergy3,247 kWh2023
Power Transmission LossesEnergy10.2%2023
Off-grid Renewable CapacityEnergy20.7 MW14.1 MW2025
Rural Electricity AccessEnergy53.9%86.3%2024
Solar Share of ElectricityEnergy0%8%2024/2025
Wind Share of ElectricityEnergy35%4.7%2024/2025
Hydropower Share of ElectricityEnergy0%0.8%2024/2025
Fossil Share of ElectricityEnergy65%82.2%2024/2025
Electricity DemandEnergy0.8 TWh237 TWh2024/2025
Electricity Carbon IntensityEnergy450 gCO₂/kWh699 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy3,056 kWh21,287 kWh2023/2024
CO2 Emissions per CapitaClimate0.77 t6.88 t2024
Renewable Electricity OutputClimate35.4%6.4%2021
Forest AreaClimate0.3%14%2023
Protected AreasClimate1.2%12.9%2025
Freshwater WithdrawalsClimate6.3%47.1%2022
PM2.5 Air PollutionClimate40.3 µg/m³27.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=DJ,ZA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Djibouti or South Africa have the larger economy?

South Africa has the larger economy: $4.73B for Djibouti versus $479.96B for South Africa (GDP, current US$).

How do Djibouti and South Africa compare across indicators?

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

More comparisons