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

Country comparison

Tanzania vs Kenya

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

GDP$94.89B vs $147.27BTanzania vs Kenya
GDP per Capita$1,362 vs $2,714Tanzania vs Kenya
Population70.55M vs 57.53MTanzania vs Kenya

Indicator by indicator

203 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 KenyaPeriod
GDPEconomy$94.89B$147.27B2026
GDP per CapitaEconomy$1,362$2,7142026
Inflation RateEconomy4%6.4%2026-06
Central Bank Policy RateEconomy6.3%8.8%2026-Q3
Official Exchange RateEconomy2,629.23 LCU/USD129.27 LCU/USD2026-07
Budget BalanceEconomy-3.2%-6.4%2026
Unemployment RateEconomy1.6%5.4%2025
Public DebtEconomy48.7%71.6%2026
Trade BalanceEconomy$-903.42M$-8.15B2025
GDP GrowthEconomy5.9%4.5%2026
GNI per CapitaEconomy$1,270$2,2002025
GNI per Capita (PPP)Economy$4,370$6,9102025
GDP (PPP)Economy$305.6B$403.64B2025
Agriculture (% of GDP)Economy22.9%23.2%2025
Industry (% of GDP)Economy29.8%16.3%2025
Manufacturing (% of GDP)Economy8.1%7.1%2024/2025
Services (% of GDP)Economy28.8%55.1%2025
Investment (% of GDP)Economy40.7%17%2025
Remittances ReceivedEconomy$1.12B$5B2024
Remittances (% of GDP)Economy1.4%4.2%2024
External Debt (% of GNI)Economy47.3%35%2024
Foreign ReservesEconomy$5.05B$12.39B2018/2025 ⚠
Credit to Private Sector (% of GDP)Economy16.7%31.8%2024/2023
Tax Revenue (% of GDP)Economy12.7%14.1%2024/2023
Labor Force ParticipationEconomy83.7%67.4%2025
Female Labor Force ParticipationEconomy80.3%63%2025
Income Inequality (Gini)Economy40.538.52018/2022
Extreme Poverty RateEconomy51.3%45.5%2018/2022
Account OwnershipEconomy59.8%90.1%2024
Youth NEET RateEconomy12.8%27.8%2024/2022
Military Spending (% of GDP)Economy1.2%1%2024
Trade Openness (% of GDP)Economy39%37.5%2025
Inflation (GDP Deflator)Economy5.1%3.5%2025
Tourism ReceiptsEconomy$2.62B$1.76B2019
Tourist ArrivalsEconomy1.53M2.05M2019
Current Account BalanceEconomy-2.3%-4.1%2026
Foreign Direct InvestmentEconomy$1.72B$1.5B2024
FDI (% of GDP)Economy2.1%1.2%2024
Government Revenue (% of GDP)Economy16.1%17.5%2024
Government Spending (% of GDP)Economy19.1%23.3%2024
Youth Unemployment RateEconomy4.7%16.7%2024/2022
Productive Capacity IndexEconomy30.936.92024
Natural Resource RentsEconomy6.7%1.2%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%2.5%2023
Foreign Aid per CapitaEconomy$46$472023
Lending Interest RateEconomy16.7%16.6%2020/2024
Real Interest RateEconomy9.6%13%2020/2024
Gross Savings (% of GDP)Economy36.5%15.6%2024
Adjusted Net Income per CapitaEconomy$972$1,7902021
Employment in AgricultureEconomy64.6%45.8%2025
Employment in IndustryEconomy8.1%12.5%2025
Employment in ServicesEconomy27.3%41.7%2025
Vulnerable EmploymentEconomy83.7%63.8%2025
Household Consumption (% of GDP)Economy50.5%76.9%2025
Income Share of Poorest 20%Economy6.9%7.1%2018/2022
Bank Branches per 100,000Economy2.44.52024
ATMs per 100,000Economy5.56.42024
GDP per Capita GrowthEconomy2.9%2.6%2025
Debt Service (% of GNI)Economy2.6%4.8%2024
Poverty Rate ($3.65/day)Economy70%65.5%2018/2022
Poverty Rate ($6.85/day)Economy91.5%90.1%2018/2022
Exports of Goods & ServicesTrade$17.11B$21.43B2025
Imports of Goods & ServicesTrade$18.02B$29.58B2025
Export Diversification IndexTrade0.7480.662024
Export Concentration IndexTrade0.350.2032024
Liner Shipping ConnectivityTrade15.816.52021
Fuel Exports (% of Exports)Trade2.2%1.6%2024
Manufactures Exports (% of Exports)Trade10.8%30.7%2024
Food Exports (% of Exports)Trade37.4%49.2%2024
High-Tech Exports (% of Manufactured)Trade3%3.2%2024
Exports (% of GDP)Trade19%15.8%2025
Imports (% of GDP)Trade20%21.8%2025
Human Development IndexDevelopment0.5550.6282023
Gender Inequality IndexDevelopment0.5040.5262023
Inequality-adjusted HDIDevelopment0.3910.4562023
PopulationDemographics70.55M57.53M2025
Population GrowthDemographics2.9%1.9%2025
Life ExpectancyDemographics67.2 years63.8 years2024
Median AgeDemographics17.6 years20.3 years2026
Fertility RateDemographics4.543.172024
Rural PopulationDemographics63.1%67.8%2025
Population Under 15Demographics42.3%36.3%2025
Urban PopulationDemographics36.9%32.2%2025
Population DensityDemographics81.9/km²101/km²2026
Birth RateDemographics33.926.62026
Death RateDemographics5.597.132026
Net Migration RateDemographics-0.35-0.592026
Life Expectancy (Female)Demographics70 years66.1 years2024
Life Expectancy (Male)Demographics64.4 years61.6 years2024
Urban Population GrowthDemographics4.8%2.9%2025
Infant MortalityHealth28.734.22024
HIV PrevalenceHealth3.5%3%2024
Health Spending (% of GDP)Health3.1%4.4%2023
Physicians per 1,000Health0.130.292022/2023
UHC Service Coverage IndexHealth49572023
Road Traffic DeathsHealth15.828.22021
Premature NCD MortalityHealth18.8%18%2021
Out-of-Pocket Health SpendingHealth27.9%24.2%2023
Safely Managed SanitationHealth28.5%35.8%2024
Maternal MortalityHealth275.8378.82023
Under-Five MortalityHealth38.939.92023
Neonatal MortalityHealth20.621.52023
Tuberculosis IncidenceHealth1722072024
Measles ImmunizationHealth84%80%2025
DTP3 ImmunizationHealth83%88%2025
Basic Drinking WaterHealth33.3%2024
Basic SanitationHealth8.8%5.1%2024
Diabetes PrevalenceHealth9.8%3.1%2024
Hospital Beds per 1,000Health0.841.332022/2019
Contraceptive PrevalenceHealth37.6%62.5%2022
Skilled Birth AttendanceHealth63.5%70.2%2016
Nurses & Midwives per 1,000Health0.692.272023
Adolescent Fertility RateHealth112.654.52024
Health Spending per CapitaHealth$36$852023
NCD Share of DeathsHealth38.8%37.8%2021
Smoking PrevalenceHealth7.7%9.6%2024
Antenatal Care CoverageHealth98%92.8%2017/2020
Child StuntingChild Welfare29.9%17.9%2024
Child WastingChild Welfare3.1%4.5%2022
Birth RegistrationChild Welfare67.7%76%2022
Child MarriageChild Welfare29.1%12.5%2022
Overweight ChildrenChild Welfare3.7%3.4%2022
Education Spending (% of GDP)Education3.2%4%2024
Tertiary EnrollmentEducation4%10.4%2024
Adult Literacy RateEducation78.2%82.2%2022/2000 ⚠
Youth Literacy RateEducation87.1%93.2%2022/2014 ⚠
Primary Completion RateEducation74.5%90.8%2022/2024
Lower Secondary CompletionEducation28%86.6%2022/2024
Primary Net EnrollmentEducation83.6%94.3%2024/2023
Lower Secondary EnrollmentEducation49%95.6%2024/2006 ⚠
Upper Secondary EnrollmentEducation15%62.4%2024/2023
Upper Secondary CompletionEducation8.9%65%2022/2024
Qualified Primary TeachersEducation99.2%100%2016/2023 ⚠
Secondary EnrollmentEducation28.2%84.3%2021/2023
UndernourishmentFood Security20.2%36.8%2023
Acute Food InsecurityFood Security2.75M2026-06
Agricultural Land (% of Land)Agriculture44.6%49.5%2023
Food Production IndexAgriculture109.9112.42022
Cassava ProductionAgriculture10.53M t1.21M t2024
Coffee ProductionAgriculture77.42K t49.5K t2024
Cocoa ProductionAgriculture15K t2024
Sorghum ProductionAgriculture800K t243K t2024
Millet ProductionAgriculture325K t65.76K t2024
Maize ProductionAgriculture10.08M t4.02M t2024
Rice ProductionAgriculture4.05M t282.15K t2024
Wheat ProductionAgriculture119K t312.2K t2024
Maize YieldAgriculture1,756 kg/ha1,666 kg/ha2024
Rice YieldAgriculture3,106 kg/ha6,553 kg/ha2024
Wheat YieldAgriculture1,376 kg/ha3,044 kg/ha2024
Cattle StockAgriculture39.1M head22.4M head2024
Homicide RateGovernance3.74.92020/2022
Corruption Perceptions IndexGovernance41322024
Electoral Democracy IndexGovernance0.3650.5632025
Liberal Democracy IndexGovernance0.2970.4462025
Political Corruption IndexGovernance0.3290.5642025
Control of CorruptionGovernance-0.29-0.82024
Government EffectivenessGovernance-0.29-0.32024
Rule of LawGovernance-0.52-0.462024
Political StabilityGovernance-0.39-1.362024
Regulatory QualityGovernance-0.54-0.332024
Voice and AccountabilityGovernance-0.64-0.352024
Refugees HostedHumanitarian171.14K617.13K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian43.26K218.65K2025
Stateless PeopleHumanitarian09.8K2025
Internet UsersTechnology31.2%35%2024
Mobile SubscriptionsTechnology126.6126.52024
4G CoverageTechnology88%97.3%2024
Fixed Broadband SubscriptionsTechnology0.232024
Mobile Data PriceTechnology4.8%4.1%2025
3G CoverageTechnology91%98%2024
Fixed Broadband PriceTechnology28%12.3%2025
Mobile Bundle PriceTechnology4.8%1.3%2025
R&D Spending (% of GDP)Technology0.5%0.8%2013/2024 ⚠
Electricity AccessInfrastructure52.4%77%2024
Air Transport PassengersInfrastructure1.91M5.14M2023
Slum PopulationInfrastructure70.1%40.5%2022
Renewable Energy CapacityEnergy2.9K MW3K MW2025
Solar CapacityEnergy12.2 MW551.1 MW2025
Wind CapacityEnergy2.4 MW436.1 MW2025
Hydropower CapacityEnergy2.8K MW892.7 MW2025
Renewable Energy ShareEnergy78.3%67.7%2021
Clean Cooking AccessEnergy9.8%31.6%2023
Electricity Consumption per CapitaEnergy135 kWh195 kWh2023/2024
Power Transmission LossesEnergy16.8%25.8%2023/2024
Off-grid Renewable CapacityEnergy63.2 MW87.3 MW2025
Rural Electricity AccessEnergy33.7%67.1%2024
Solar Share of ElectricityEnergy0.5%4.6%2024/2025
Wind Share of ElectricityEnergy0%16.4%2024/2025
Hydropower Share of ElectricityEnergy31.7%20.9%2024/2025
Fossil Share of ElectricityEnergy67.1%10%2024/2025
Electricity DemandEnergy9 TWh16 TWh2024/2025
Electricity Carbon IntensityEnergy345 gCO₂/kWh95 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy1,199 kWh1,608 kWh2023
CO2 Emissions per CapitaClimate0.31 t0.38 t2024
Renewable Electricity OutputClimate37.2%78.1%2021
Forest AreaClimate50.1%6.2%2023
Protected AreasClimate32.3%11.8%2025
Freshwater WithdrawalsClimate6.2%19.5%2022
PM2.5 Air PollutionClimate20.2 µg/m³20.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,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Tanzania or Kenya have the larger economy?

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

How do Tanzania and Kenya compare across indicators?

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

More comparisons