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

Country comparison

Ghana vs Tanzania

Ghana and Tanzania 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$82.31B vs $78.84BGhana vs Tanzania
GDP per Capita$2,391 vs $1,187Ghana vs Tanzania
Population34.43M vs 68.56MGhana vs Tanzania

Indicator by indicator

74 indicators
Indicator Ghana TanzaniaPeriod
GDPEconomy$82.31B$78.84B2024
GDP per CapitaEconomy$2,391$1,1872024
Inflation RateEconomy3.3%4.2%2026-04
Central Bank Policy RateEconomy14%5.8%2026-06-18
Official Exchange RateEconomy11.38 LCU/USD2,602.56 LCU/USD2026-05
Budget BalanceEconomy-2.3%-3.2%2026
Unemployment RateEconomy3%1.6%2025
Public DebtEconomy53%48.7%2026
Trade BalanceEconomy$953.4M$-1.46B2024
GDP GrowthEconomy5.6%5.5%2024
GNI per CapitaEconomy$2,310$1,2102024
GNI per Capita (PPP)Economy$7,720$4,1302024
GDP (PPP)Economy$276.11B$280.43B2024
Agriculture (% of GDP)Economy20.9%23.3%2024
Industry (% of GDP)Economy31.5%28.6%2024
Manufacturing (% of GDP)Economy9.8%8.1%2024
Services (% of GDP)Economy40.9%29.6%2024
Investment (% of GDP)Economy10%39.8%2024
Remittances ReceivedEconomy$3.03B$1.12B2024
Remittances (% of GDP)Economy3.7%1.4%2024
External Debt (% of GNI)Economy46.9%47.3%2024
Foreign ReservesEconomy$4.47B$5.05B2024
Credit to Private Sector (% of GDP)Economy9%16.8%2024
Tax Revenue (% of GDP)Economy12.4%12.8%2023
Labor Force ParticipationEconomy58.5%83.7%2025
Female Labor Force ParticipationEconomy55.3%80.3%2025
Income Inequality (Gini)Economy43.540.52016
Extreme Poverty RateEconomy39%51.3%2016
Account OwnershipEconomy81.2%59.8%2024
Youth NEET RateEconomy23.9%12.8%2024
Military Spending (% of GDP)Economy0.4%1.2%2024
Trade Openness (% of GDP)Economy69.8%41.5%2024
Inflation (GDP Deflator)Economy24.7%3.1%2024
Tourism ReceiptsEconomy$191M$2.62B2020
Tourist ArrivalsEconomy897K1.53M2015
Human Development IndexDevelopment0.6280.5552023
Gender Inequality IndexDevelopment0.5140.5042023
Inequality-adjusted HDIDevelopment0.3990.3912023
PopulationDemographics34.43M68.56M2024
Population GrowthDemographics1.9%2.9%2024
Life ExpectancyDemographics65.7 years67.2 years2024
Median AgeDemographics21.6 years17.6 years2026
Fertility RateDemographics3.344.542024
Rural PopulationDemographics41.6%63.8%2024
Population Under 15Demographics35.8%42.5%2024
Infant MortalityHealth27.528.72024
HIV PrevalenceHealth1.5%3.5%2024
Health Spending (% of GDP)Health2.9%3.1%2023
Physicians per 1,000Health0.270.132023
UHC Service Coverage IndexHealth56492023
Road Traffic DeathsHealth25.915.82021
Premature NCD MortalityHealth22.2%18.8%2021
Out-of-Pocket Health SpendingHealth26.7%27.9%2023
Safely Managed SanitationHealth18.8%28.5%2024
Education Spending (% of GDP)Education2.9%3.2%2022
Tertiary EnrollmentEducation21.3%4%2024
UndernourishmentFood Security6.3%20.2%2023
Agricultural Land (% of Land)Agriculture55.4%44.6%2023
Food Production IndexAgriculture135.5109.92022
Cassava ProductionAgriculture27.92M t10.53M t2024
Coffee ProductionAgriculture736 t77.42K t2024
Cocoa ProductionAgriculture530K t15K t2024
Sorghum ProductionAgriculture479K t800K t2024
Millet ProductionAgriculture210K t325K t2024
Homicide RateGovernance1.83.72022
Corruption Perceptions IndexGovernance42412024
Electoral Democracy IndexGovernance0.7110.3652025
Liberal Democracy IndexGovernance0.6060.2972025
Political Corruption IndexGovernance0.6150.3292025
Women in ParliamentGovernance14.6%37.8%2025
Internet UsersTechnology72.2%31.2%2024
Mobile SubscriptionsTechnology113.6126.62024
Electricity AccessInfrastructure89.5%48.3%2023
CO2 Emissions per CapitaClimate0.7 t0.31 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=GH,TZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Ghana or Tanzania have the larger economy?

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

How do Ghana and Tanzania compare across indicators?

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

More comparisons