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

Country comparison

Tanzania vs Djibouti

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

GDP$78.84B vs $4.15BTanzania vs Djibouti
GDP per Capita$1,187 vs $3,553Tanzania vs Djibouti
Population68.56M vs 1.17MTanzania vs Djibouti

Indicator by indicator

74 indicators
Indicator Tanzania DjiboutiPeriod
GDPEconomy$78.84B$4.15B2024
GDP per CapitaEconomy$1,187$3,5532024
Inflation RateEconomy4.2%2.1%2026-05
Central Bank Policy RateEconomy5.8%2026-Q2
Official Exchange RateEconomy2,602.56 LCU/USD177.72 LCU/USD2026-05
Budget BalanceEconomy-3.2%-0.5%2026
Unemployment RateEconomy1.6%38.8%2025
Public DebtEconomy48.7%29.6%2026
Trade BalanceEconomy$-1.46B$481.36M2024
GDP GrowthEconomy5.5%7%2024
GNI per CapitaEconomy$1,210$3,6402024
GNI per Capita (PPP)Economy$4,130$8,0302024
GDP (PPP)Economy$280.43B$9.13B2024
Agriculture (% of GDP)Economy23.3%2.5%2024
Industry (% of GDP)Economy28.6%15.9%2024
Manufacturing (% of GDP)Economy8.1%5.3%2024
Services (% of GDP)Economy29.6%76.1%2024
Investment (% of GDP)Economy39.8%0.3%2024
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$348.73M2018
Credit to Private Sector (% of GDP)Economy16.8%23.1%2024
Tax Revenue (% of GDP)Economy12.8%2024
Labor Force ParticipationEconomy83.7%31.7%2025
Female Labor Force ParticipationEconomy80.3%19.4%2025
Income Inequality (Gini)Economy40.541.62018
Extreme Poverty RateEconomy51.3%25.4%2018
Account OwnershipEconomy59.8%12.3%2024
Youth NEET RateEconomy12.8%51%2024
Military Spending (% of GDP)Economy1.2%2.6%2024
Trade Openness (% of GDP)Economy41.5%241.2%2024
Inflation (GDP Deflator)Economy3.1%-0.4%2024
Tourism ReceiptsEconomy$2.62B$57M2019
Tourist ArrivalsEconomy1.53M63K2019
Human Development IndexDevelopment0.5550.5132023
Gender Inequality IndexDevelopment0.5040.4812023
Inequality-adjusted HDIDevelopment0.3910.3412023
PopulationDemographics68.56M1.17M2024
Population GrowthDemographics2.9%1.4%2024
Life ExpectancyDemographics67.2 years66.2 years2024
Median AgeDemographics17.6 years25.2 years2026
Fertility RateDemographics4.542.622024
Rural PopulationDemographics63.8%27.1%2024
Population Under 15Demographics42.5%29.2%2024
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
Education Spending (% of GDP)Education3.2%3.8%2024
Tertiary EnrollmentEducation4%5.2%2024
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
Homicide RateGovernance3.72020
Corruption Perceptions IndexGovernance41312024
Electoral Democracy IndexGovernance0.3650.252025
Liberal Democracy IndexGovernance0.2970.1182025
Political Corruption IndexGovernance0.3290.7062025
Women in ParliamentGovernance37.8%26.2%2025
Internet UsersTechnology31.2%65.3%2024
Mobile SubscriptionsTechnology126.648.52024
Electricity AccessInfrastructure48.3%65.2%2023
CO2 Emissions per CapitaClimate0.31 t0.77 t2024

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: $78.84B for Tanzania versus $4.15B for Djibouti (GDP, current US$).

How do Tanzania and Djibouti compare across indicators?

This page compares Tanzania and Djibouti on 74 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