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

Country comparison

Tanzania vs Djibouti

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

GDP$94.89B vs $4.73BTanzania vs Djibouti
GDP per Capita$1,362 vs $4,421Tanzania vs Djibouti
Population70.55M vs 1.18MTanzania vs Djibouti

Indicator by indicator

202 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 Tanzania DjiboutiPeriod
GDPEconomy$94.89B$4.73B2026
GDP per CapitaEconomy$1,362$4,4212026
Inflation RateEconomy4%1.5%2026-06
Central Bank Policy RateEconomy6.3%2026-Q3
Official Exchange RateEconomy2,629.23 LCU/USD177.72 LCU/USD2026-07
Budget BalanceEconomy-3.2%-0.5%2026
Unemployment RateEconomy1.6%38.8%2025
Public DebtEconomy48.7%29.6%2026
Trade BalanceEconomy$-903.42M$679.4M2025
GDP GrowthEconomy5.9%6%2026
GNI per CapitaEconomy$1,270$3,9602025
GNI per Capita (PPP)Economy$4,370$8,6602025
GDP (PPP)Economy$305.6B$10.01B2025
Agriculture (% of GDP)Economy22.9%2.3%2025
Industry (% of GDP)Economy29.8%16.6%2025
Manufacturing (% of GDP)Economy8.1%5.3%2024
Services (% of GDP)Economy28.8%75.7%2025
Investment (% of GDP)Economy40.7%1.6%2025
Remittances ReceivedEconomy$1.12B$56M2024
Remittances (% of GDP)Economy1.4%1.3%2024
External Debt (% of GNI)Economy47.3%83.8%2024
Foreign ReservesEconomy$5.05B$655.74M2018/2025 ⚠
Credit to Private Sector (% of GDP)Economy16.7%25.2%2024/2025
Tax Revenue (% of GDP)Economy12.7%2024
Labor Force ParticipationEconomy83.7%31.7%2025
Female Labor Force ParticipationEconomy80.3%19.4%2025
Income Inequality (Gini)Economy40.541.62018/2017
Extreme Poverty RateEconomy51.3%25.4%2018/2017
Account OwnershipEconomy59.8%12.3%2024/2011 ⚠
Youth NEET RateEconomy12.8%44%2024/2025
Military Spending (% of GDP)Economy1.2%2.6%2024/2008 ⚠
Trade Openness (% of GDP)Economy39%206.3%2025
Inflation (GDP Deflator)Economy5.1%4.6%2025
Tourism ReceiptsEconomy$2.62B$57M2019/2018
Tourist ArrivalsEconomy1.53M63K2019/2013 ⚠
Current Account BalanceEconomy-2.3%10.1%2026
Foreign Direct InvestmentEconomy$1.72B$67.82M2024
FDI (% of GDP)Economy2.1%1.6%2024
Government Revenue (% of GDP)Economy16.1%18%2024
Government Spending (% of GDP)Economy19.1%20.6%2024
Youth Unemployment RateEconomy4.7%72.7%2024/2025
Productive Capacity IndexEconomy30.9382024
Natural Resource RentsEconomy6.7%0.3%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy4%0%2021
Natural Gas Rents (% of GDP)Economy0.2%0%2021
Foreign Aid (% of GNI)Economy3.9%5.6%2023
Foreign Aid per CapitaEconomy$46$1932023
Lending Interest RateEconomy16.7%2020
Real Interest RateEconomy9.6%2020
Gross Savings (% of GDP)Economy36.5%14.9%2024
Adjusted Net Income per CapitaEconomy$972$2,7472021
Employment in AgricultureEconomy64.6%1.2%2025
Employment in IndustryEconomy8.1%6.7%2025
Employment in ServicesEconomy27.3%92.2%2025
Vulnerable EmploymentEconomy83.7%30.3%2025
Household Consumption (% of GDP)Economy50.5%68.7%2025
Income Share of Poorest 20%Economy6.9%5.4%2018/2017
Bank Branches per 100,000Economy2.48.22024
ATMs per 100,000Economy5.517.62024
GDP per Capita GrowthEconomy2.9%5.1%2025
Debt Service (% of GNI)Economy2.6%3.3%2024
Poverty Rate ($3.65/day)Economy70%43.7%2018/2017
Poverty Rate ($6.85/day)Economy91.5%80.8%2018/2017
Exports of Goods & ServicesTrade$17.11B$5.11B2025
Imports of Goods & ServicesTrade$18.02B$4.43B2025
Export Diversification IndexTrade0.7480.6272024
Export Concentration IndexTrade0.350.1722024
Liner Shipping ConnectivityTrade15.834.12021
Fuel Exports (% of Exports)Trade2.2%1%2024/2023
Manufactures Exports (% of Exports)Trade10.8%56.6%2024/2023
Food Exports (% of Exports)Trade37.4%41.5%2024/2023
High-Tech Exports (% of Manufactured)Trade3%3.3%2024/2023
Exports (% of GDP)Trade19%110.5%2025
Imports (% of GDP)Trade20%95.8%2025
Human Development IndexDevelopment0.5550.5132023
Gender Inequality IndexDevelopment0.5040.4812023
Inequality-adjusted HDIDevelopment0.3910.3412023
PopulationDemographics70.55M1.18M2025
Population GrowthDemographics2.9%1.3%2025
Life ExpectancyDemographics67.2 years66.2 years2024
Median AgeDemographics17.6 years25.2 years2026
Fertility RateDemographics4.542.622024
Rural PopulationDemographics63.1%27%2025
Population Under 15Demographics42.3%28.8%2025
Urban PopulationDemographics36.9%73%2025
Population DensityDemographics81.9/km²51.7/km²2026
Birth RateDemographics33.920.42026
Death RateDemographics5.597.532026
Net Migration RateDemographics-0.350.252026
Life Expectancy (Female)Demographics70 years68.7 years2024
Life Expectancy (Male)Demographics64.4 years63.7 years2024
Urban Population GrowthDemographics4.8%1.4%2025
Infant MortalityHealth28.7432024
HIV PrevalenceHealth3.5%0.9%2024
Health Spending (% of GDP)Health3.1%2.3%2023
Physicians per 1,000Health0.130.212022
UHC Service Coverage IndexHealth49472023
Road Traffic DeathsHealth15.823.32021
Premature NCD MortalityHealth18.8%20.6%2021
Out-of-Pocket Health SpendingHealth27.9%28.8%2023
Safely Managed SanitationHealth28.5%39.7%2024/2023
Maternal MortalityHealth275.8161.92023
Under-Five MortalityHealth38.950.42023
Neonatal MortalityHealth20.628.22023
Tuberculosis IncidenceHealth1724952024
Measles ImmunizationHealth84%75%2025
DTP3 ImmunizationHealth83%83%2025
Basic Drinking WaterHealth33.3%2024
Basic SanitationHealth8.8%27.4%2024/2023
Diabetes PrevalenceHealth9.8%6.5%2024
Hospital Beds per 1,000Health0.841.42022/2018
Contraceptive PrevalenceHealth37.6%19%2022/2012 ⚠
Skilled Birth AttendanceHealth63.5%87.4%2016/2012
Nurses & Midwives per 1,000Health0.690.192023/2022
Adolescent Fertility RateHealth112.619.12024
Health Spending per CapitaHealth$36$782023
NCD Share of DeathsHealth38.8%46.6%2021
Smoking PrevalenceHealth7.7%2024
Antenatal Care CoverageHealth98%87.7%2017/2012 ⚠
Child StuntingChild Welfare29.9%20.9%2024
Child WastingChild Welfare3.1%12.1%2022/2023
Birth RegistrationChild Welfare67.7%91.7%2022/2006 ⚠
Child MarriageChild Welfare29.1%6.5%2022/2019
Overweight ChildrenChild Welfare3.7%4.2%2022/2023
Education Spending (% of GDP)Education3.2%3.8%2024/2018 ⚠
Tertiary EnrollmentEducation4%5.2%2024/2011 ⚠
Adult Literacy RateEducation78.2%2022
Youth Literacy RateEducation87.1%79.6%2022/2017 ⚠
Primary Completion RateEducation74.5%81%2022/2017 ⚠
Lower Secondary CompletionEducation28%62.4%2022/2017 ⚠
Primary Net EnrollmentEducation83.6%2024
Lower Secondary EnrollmentEducation49%2024
Upper Secondary EnrollmentEducation15%2024
Upper Secondary CompletionEducation8.9%39.8%2022/2017 ⚠
Qualified Primary TeachersEducation99.2%66%2016/2023 ⚠
Secondary EnrollmentEducation28.2%2021
UndernourishmentFood Security20.2%12.9%2023
Agricultural Land (% of Land)Agriculture44.6%73.5%2023
Food Production IndexAgriculture109.91332022
Cassava ProductionAgriculture10.53M t2024
Coffee ProductionAgriculture77.42K t2024
Cocoa ProductionAgriculture15K t2024
Sorghum ProductionAgriculture800K t2024
Millet ProductionAgriculture325K t2024
Maize ProductionAgriculture10.08M t17.41 t2024
Rice ProductionAgriculture4.05M t2024
Wheat ProductionAgriculture119K t2024
Maize YieldAgriculture1,756 kg/ha2,041 kg/ha2024
Rice YieldAgriculture3,106 kg/ha2024
Wheat YieldAgriculture1,376 kg/ha2024
Cattle StockAgriculture39.1M head317.9K head2024
Homicide RateGovernance3.72020
Corruption Perceptions IndexGovernance41312024
Electoral Democracy IndexGovernance0.3650.252025
Liberal Democracy IndexGovernance0.2970.1182025
Political Corruption IndexGovernance0.3290.7062025
Control of CorruptionGovernance-0.29-0.892024
Government EffectivenessGovernance-0.29-0.492024
Rule of LawGovernance-0.52-1.012024
Political StabilityGovernance-0.39-0.562024
Regulatory QualityGovernance-0.54-0.852024
Voice and AccountabilityGovernance-0.64-1.252024
Refugees HostedHumanitarian171.14K24.9K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian43.26K10.14K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology31.2%65.3%2024
Mobile SubscriptionsTechnology126.648.52024/2023
4G CoverageTechnology88%76%2024
Fixed Broadband SubscriptionsTechnology0.21.52024/2023
Mobile Data PriceTechnology4.8%5.7%2025
3G CoverageTechnology91%90%2024
Fixed Broadband PriceTechnology28%5.3%2025
Mobile Bundle PriceTechnology4.8%7.7%2025
R&D Spending (% of GDP)Technology0.5%2013
Electricity AccessInfrastructure52.4%69.2%2024
Air Transport PassengersInfrastructure1.91M130.5K2023/1991 ⚠
Slum PopulationInfrastructure70.1%48.7%2022
Renewable Energy CapacityEnergy2.9K MW80.7 MW2025
Solar CapacityEnergy12.2 MW0.7 MW2025
Wind CapacityEnergy2.4 MW80 MW2025
Hydropower CapacityEnergy2.8K MW2025
Renewable Energy ShareEnergy78.3%26.9%2021/2022
Clean Cooking AccessEnergy9.8%10%2023
Electricity Consumption per CapitaEnergy135 kWh2023
Power Transmission LossesEnergy16.8%2023
Off-grid Renewable CapacityEnergy63.2 MW20.7 MW2025
Rural Electricity AccessEnergy33.7%53.9%2024
Solar Share of ElectricityEnergy0.5%0%2024
Wind Share of ElectricityEnergy0%35%2024
Hydropower Share of ElectricityEnergy31.7%0%2024
Fossil Share of ElectricityEnergy67.1%65%2024
Electricity DemandEnergy9 TWh0.8 TWh2024
Electricity Carbon IntensityEnergy345 gCO₂/kWh450 gCO₂/kWh2024
Primary Energy per CapitaEnergy1,199 kWh3,056 kWh2023
CO2 Emissions per CapitaClimate0.31 t0.77 t2024
Renewable Electricity OutputClimate37.2%35.4%2021
Forest AreaClimate50.1%0.3%2023
Protected AreasClimate32.3%1.2%2025
Freshwater WithdrawalsClimate6.2%6.3%2022
PM2.5 Air PollutionClimate20.2 µ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=TZ,DJ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Tanzania or Djibouti have the larger economy?

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

How do Tanzania and Djibouti compare across indicators?

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

More comparisons