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

Country comparison

Tanzania vs Eritrea

Tanzania and Eritrea 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 $2.07BTanzania vs Eritrea
GDP per Capita$1,187 vs $689Tanzania vs Eritrea
Population68.56M vs 3.54MTanzania vs Eritrea

Indicator by indicator

74 indicators
Indicator Tanzania EritreaPeriod
GDPEconomy$78.84B$2.07B2024
GDP per CapitaEconomy$1,187$6892024
Inflation RateEconomy4.2%2026-05
Central Bank Policy RateEconomy5.8%2026-Q2
Official Exchange RateEconomy2,602.56 LCU/USD15.08 LCU/USD2026-05
Budget BalanceEconomy-3.2%2.7%2026
Unemployment RateEconomy1.6%6%2025
Public DebtEconomy48.7%260.4%2026
Trade BalanceEconomy$-1.46B$-228.89M2024
GDP GrowthEconomy5.5%8.7%2024
GNI per CapitaEconomy$1,210$6502024
GNI per Capita (PPP)Economy$4,130$1,7202024
GDP (PPP)Economy$280.43B$5.22B2024
Agriculture (% of GDP)Economy23.3%14.1%2024
Industry (% of GDP)Economy28.6%21.8%2024
Manufacturing (% of GDP)Economy8.1%5.5%2024
Services (% of GDP)Economy29.6%2024
Investment (% of GDP)Economy39.8%12.6%2024
Remittances ReceivedEconomy$1.12B$3.28M2024
Remittances (% of GDP)Economy1.4%0.5%2024
External Debt (% of GNI)Economy47.3%51.5%2024
Foreign ReservesEconomy$5.05B$191.69M2018
Credit to Private Sector (% of GDP)Economy16.8%53.2%2024
Tax Revenue (% of GDP)Economy12.8%2024
Labor Force ParticipationEconomy83.7%78.3%2025
Female Labor Force ParticipationEconomy80.3%72.8%2025
Income Inequality (Gini)Economy40.52018
Extreme Poverty RateEconomy51.3%2018
Account OwnershipEconomy59.8%2024
Youth NEET RateEconomy12.8%2024
Military Spending (% of GDP)Economy1.2%20.9%2024
Trade Openness (% of GDP)Economy41.5%47.4%2024
Inflation (GDP Deflator)Economy3.1%19.5%2024
Tourism ReceiptsEconomy$2.62B$48M2019
Tourist ArrivalsEconomy1.53M142K2019
Human Development IndexDevelopment0.5550.5032023
Gender Inequality IndexDevelopment0.5042023
Inequality-adjusted HDIDevelopment0.3912023
PopulationDemographics68.56M3.54M2024
Population GrowthDemographics2.9%1.9%2024
Life ExpectancyDemographics67.2 years68.9 years2024
Median AgeDemographics17.6 years19.5 years2026
Fertility RateDemographics4.543.682024
Rural PopulationDemographics63.8%65.5%2024
Population Under 15Demographics42.5%38.1%2024
Infant MortalityHealth28.724.72024
HIV PrevalenceHealth3.5%0.4%2024
Health Spending (% of GDP)Health3.1%3.7%2023
Physicians per 1,000Health0.130.092022
UHC Service Coverage IndexHealth49402023
Road Traffic DeathsHealth15.817.72021
Premature NCD MortalityHealth18.8%27.3%2021
Out-of-Pocket Health SpendingHealth27.9%48.4%2023
Safely Managed SanitationHealth28.5%2024
Education Spending (% of GDP)Education3.2%2.1%2024
Tertiary EnrollmentEducation4%3.2%2024
UndernourishmentFood Security20.2%2023
Agricultural Land (% of Land)Agriculture44.6%62.7%2023
Food Production IndexAgriculture109.9106.12022
Cassava ProductionAgriculture10.53M t2024
Coffee ProductionAgriculture77.42K t2024
Cocoa ProductionAgriculture15K t2024
Sorghum ProductionAgriculture800K t140K t2024
Millet ProductionAgriculture325K t25K t2024
Homicide RateGovernance3.715.62020
Corruption Perceptions IndexGovernance41132024
Electoral Democracy IndexGovernance0.3650.0692025
Liberal Democracy IndexGovernance0.2970.0092025
Political Corruption IndexGovernance0.3290.7522025
Women in ParliamentGovernance37.8%22%2025
Internet UsersTechnology31.2%20%2024
Mobile SubscriptionsTechnology126.659.12024
Electricity AccessInfrastructure48.3%54.4%2023
CO2 Emissions per CapitaClimate0.31 t0.22 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,ER" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Tanzania or Eritrea have the larger economy?

Tanzania has the larger economy: $78.84B for Tanzania versus $2.07B for Eritrea (GDP, current US$).

How do Tanzania and Eritrea compare across indicators?

This page compares Tanzania and Eritrea 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,ER with a free Africa API key to get both countries' latest values as JSON.

More comparisons