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

Country comparison

Kenya vs Tanzania

Kenya and Tanzania 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$147.27B vs $94.89BKenya vs Tanzania
GDP per Capita$2,714 vs $1,362Kenya vs Tanzania
Population57.53M vs 70.55MKenya vs Tanzania

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 Kenya TanzaniaPeriod
GDPEconomy$147.27B$94.89B2026
GDP per CapitaEconomy$2,714$1,3622026
Inflation RateEconomy6.4%4%2026-06
Central Bank Policy RateEconomy8.8%6.3%2026-06-09
Official Exchange RateEconomy129.27 LCU/USD2,629.23 LCU/USD2026-07
Budget BalanceEconomy-6.4%-3.2%2026
Unemployment RateEconomy5.4%1.6%2025
Public DebtEconomy71.6%48.7%2026
Trade BalanceEconomy$-8.15B$-903.42M2025
GDP GrowthEconomy4.5%5.9%2026
GNI per CapitaEconomy$2,200$1,2702025
GNI per Capita (PPP)Economy$6,910$4,3702025
GDP (PPP)Economy$403.64B$305.6B2025
Agriculture (% of GDP)Economy23.2%22.9%2025
Industry (% of GDP)Economy16.3%29.8%2025
Manufacturing (% of GDP)Economy7.1%8.1%2025/2024
Services (% of GDP)Economy55.1%28.8%2025
Investment (% of GDP)Economy17%40.7%2025
Remittances ReceivedEconomy$5B$1.12B2024
Remittances (% of GDP)Economy4.2%1.4%2024
External Debt (% of GNI)Economy35%47.3%2024
Foreign ReservesEconomy$12.39B$5.05B2025/2018 ⚠
Credit to Private Sector (% of GDP)Economy31.8%16.7%2023/2024
Tax Revenue (% of GDP)Economy14.1%12.7%2023/2024
Labor Force ParticipationEconomy67.4%83.7%2025
Female Labor Force ParticipationEconomy63%80.3%2025
Income Inequality (Gini)Economy38.540.52022/2018
Extreme Poverty RateEconomy45.5%51.3%2022/2018
Account OwnershipEconomy90.1%59.8%2024
Youth NEET RateEconomy27.8%12.8%2022/2024
Military Spending (% of GDP)Economy1%1.2%2024
Trade Openness (% of GDP)Economy37.5%39%2025
Inflation (GDP Deflator)Economy3.5%5.1%2025
Tourism ReceiptsEconomy$1.76B$2.62B2019
Tourist ArrivalsEconomy2.05M1.53M2019
Current Account BalanceEconomy-4.1%-2.3%2026
Foreign Direct InvestmentEconomy$1.5B$1.72B2024
FDI (% of GDP)Economy1.2%2.1%2024
Government Revenue (% of GDP)Economy17.5%16.1%2024
Government Spending (% of GDP)Economy23.3%19.1%2024
Youth Unemployment RateEconomy16.7%4.7%2022/2024
Productive Capacity IndexEconomy36.930.92024
Natural Resource RentsEconomy1.2%6.7%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy0%4%2021
Natural Gas Rents (% of GDP)Economy0%0.2%2021
Foreign Aid (% of GNI)Economy2.5%3.9%2023
Foreign Aid per CapitaEconomy$47$462023
Lending Interest RateEconomy16.6%16.7%2024/2020
Real Interest RateEconomy13%9.6%2024/2020
Gross Savings (% of GDP)Economy15.6%36.5%2024
Adjusted Net Income per CapitaEconomy$1,790$9722021
Employment in AgricultureEconomy45.8%64.6%2025
Employment in IndustryEconomy12.5%8.1%2025
Employment in ServicesEconomy41.7%27.3%2025
Vulnerable EmploymentEconomy63.8%83.7%2025
Household Consumption (% of GDP)Economy76.9%50.5%2025
Income Share of Poorest 20%Economy7.1%6.9%2022/2018
Bank Branches per 100,000Economy4.52.42024
ATMs per 100,000Economy6.45.52024
GDP per Capita GrowthEconomy2.6%2.9%2025
Debt Service (% of GNI)Economy4.8%2.6%2024
Poverty Rate ($3.65/day)Economy65.5%70%2022/2018
Poverty Rate ($6.85/day)Economy90.1%91.5%2022/2018
Exports of Goods & ServicesTrade$21.43B$17.11B2025
Imports of Goods & ServicesTrade$29.58B$18.02B2025
Export Diversification IndexTrade0.660.7482024
Export Concentration IndexTrade0.2030.352024
Liner Shipping ConnectivityTrade16.515.82021
Fuel Exports (% of Exports)Trade1.6%2.2%2024
Manufactures Exports (% of Exports)Trade30.7%10.8%2024
Food Exports (% of Exports)Trade49.2%37.4%2024
High-Tech Exports (% of Manufactured)Trade3.2%3%2024
Exports (% of GDP)Trade15.8%19%2025
Imports (% of GDP)Trade21.8%20%2025
Human Development IndexDevelopment0.6280.5552023
Gender Inequality IndexDevelopment0.5260.5042023
Inequality-adjusted HDIDevelopment0.4560.3912023
PopulationDemographics57.53M70.55M2025
Population GrowthDemographics1.9%2.9%2025
Life ExpectancyDemographics63.8 years67.2 years2024
Median AgeDemographics20.3 years17.6 years2026
Fertility RateDemographics3.174.542024
Rural PopulationDemographics67.8%63.1%2025
Population Under 15Demographics36.3%42.3%2025
Urban PopulationDemographics32.2%36.9%2025
Population DensityDemographics101/km²81.9/km²2026
Birth RateDemographics26.633.92026
Death RateDemographics7.135.592026
Net Migration RateDemographics-0.59-0.352026
Life Expectancy (Female)Demographics66.1 years70 years2024
Life Expectancy (Male)Demographics61.6 years64.4 years2024
Urban Population GrowthDemographics2.9%4.8%2025
Infant MortalityHealth34.228.72024
HIV PrevalenceHealth3%3.5%2024
Health Spending (% of GDP)Health4.4%3.1%2023
Physicians per 1,000Health0.290.132023/2022
UHC Service Coverage IndexHealth57492023
Road Traffic DeathsHealth28.215.82021
Premature NCD MortalityHealth18%18.8%2021
Out-of-Pocket Health SpendingHealth24.2%27.9%2023
Safely Managed SanitationHealth35.8%28.5%2024
Maternal MortalityHealth378.8275.82023
Under-Five MortalityHealth39.938.92023
Neonatal MortalityHealth21.520.62023
Tuberculosis IncidenceHealth2071722024
Measles ImmunizationHealth80%84%2025
DTP3 ImmunizationHealth88%83%2025
Basic Drinking WaterHealth33.3%2024
Basic SanitationHealth5.1%8.8%2024
Diabetes PrevalenceHealth3.1%9.8%2024
Hospital Beds per 1,000Health1.330.842019/2022
Contraceptive PrevalenceHealth62.5%37.6%2022
Skilled Birth AttendanceHealth70.2%63.5%2016
Nurses & Midwives per 1,000Health2.270.692023
Adolescent Fertility RateHealth54.5112.62024
Health Spending per CapitaHealth$85$362023
NCD Share of DeathsHealth37.8%38.8%2021
Smoking PrevalenceHealth9.6%7.7%2024
Antenatal Care CoverageHealth92.8%98%2020/2017
Child StuntingChild Welfare17.9%29.9%2024
Child WastingChild Welfare4.5%3.1%2022
Birth RegistrationChild Welfare76%67.7%2022
Child MarriageChild Welfare12.5%29.1%2022
Overweight ChildrenChild Welfare3.4%3.7%2022
Education Spending (% of GDP)Education4%3.2%2024
Tertiary EnrollmentEducation10.4%4%2024
Adult Literacy RateEducation82.2%78.2%2000/2022 ⚠
Youth Literacy RateEducation93.2%87.1%2014/2022 ⚠
Primary Completion RateEducation90.8%74.5%2024/2022
Lower Secondary CompletionEducation86.6%28%2024/2022
Primary Net EnrollmentEducation94.3%83.6%2023/2024
Lower Secondary EnrollmentEducation95.6%49%2006/2024 ⚠
Upper Secondary EnrollmentEducation62.4%15%2023/2024
Upper Secondary CompletionEducation65%8.9%2024/2022
Qualified Primary TeachersEducation100%99.2%2023/2016 ⚠
Secondary EnrollmentEducation84.3%28.2%2023/2021
UndernourishmentFood Security36.8%20.2%2023
Acute Food InsecurityFood Security2.75M2026-06
Agricultural Land (% of Land)Agriculture49.5%44.6%2023
Food Production IndexAgriculture112.4109.92022
Cassava ProductionAgriculture1.21M t10.53M t2024
Coffee ProductionAgriculture49.5K t77.42K t2024
Cocoa ProductionAgriculture15K t2024
Sorghum ProductionAgriculture243K t800K t2024
Millet ProductionAgriculture65.76K t325K t2024
Maize ProductionAgriculture4.02M t10.08M t2024
Rice ProductionAgriculture282.15K t4.05M t2024
Wheat ProductionAgriculture312.2K t119K t2024
Maize YieldAgriculture1,666 kg/ha1,756 kg/ha2024
Rice YieldAgriculture6,553 kg/ha3,106 kg/ha2024
Wheat YieldAgriculture3,044 kg/ha1,376 kg/ha2024
Cattle StockAgriculture22.4M head39.1M head2024
Homicide RateGovernance4.93.72022/2020
Corruption Perceptions IndexGovernance32412024
Electoral Democracy IndexGovernance0.5630.3652025
Liberal Democracy IndexGovernance0.4460.2972025
Political Corruption IndexGovernance0.5640.3292025
Control of CorruptionGovernance-0.8-0.292024
Government EffectivenessGovernance-0.3-0.292024
Rule of LawGovernance-0.46-0.522024
Political StabilityGovernance-1.36-0.392024
Regulatory QualityGovernance-0.33-0.542024
Voice and AccountabilityGovernance-0.35-0.642024
Refugees HostedHumanitarian617.13K171.14K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian218.65K43.26K2025
Stateless PeopleHumanitarian9.8K02025
Internet UsersTechnology35%31.2%2024
Mobile SubscriptionsTechnology126.5126.62024
4G CoverageTechnology97.3%88%2024
Fixed Broadband SubscriptionsTechnology30.22024
Mobile Data PriceTechnology4.1%4.8%2025
3G CoverageTechnology98%91%2024
Fixed Broadband PriceTechnology12.3%28%2025
Mobile Bundle PriceTechnology1.3%4.8%2025
R&D Spending (% of GDP)Technology0.8%0.5%2024/2013 ⚠
Electricity AccessInfrastructure77%52.4%2024
Air Transport PassengersInfrastructure5.14M1.91M2023
Slum PopulationInfrastructure40.5%70.1%2022
Renewable Energy CapacityEnergy3K MW2.9K MW2025
Solar CapacityEnergy551.1 MW12.2 MW2025
Wind CapacityEnergy436.1 MW2.4 MW2025
Hydropower CapacityEnergy892.7 MW2.8K MW2025
Renewable Energy ShareEnergy67.7%78.3%2021
Clean Cooking AccessEnergy31.6%9.8%2023
Electricity Consumption per CapitaEnergy195 kWh135 kWh2024/2023
Power Transmission LossesEnergy25.8%16.8%2024/2023
Off-grid Renewable CapacityEnergy87.3 MW63.2 MW2025
Rural Electricity AccessEnergy67.1%33.7%2024
Solar Share of ElectricityEnergy4.6%0.5%2025/2024
Wind Share of ElectricityEnergy16.4%0%2025/2024
Hydropower Share of ElectricityEnergy20.9%31.7%2025/2024
Fossil Share of ElectricityEnergy10%67.1%2025/2024
Electricity DemandEnergy16 TWh9 TWh2025/2024
Electricity Carbon IntensityEnergy95 gCO₂/kWh345 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy1,608 kWh1,199 kWh2023
CO2 Emissions per CapitaClimate0.38 t0.31 t2024
Renewable Electricity OutputClimate78.1%37.2%2021
Forest AreaClimate6.2%50.1%2023
Protected AreasClimate11.8%32.3%2025
Freshwater WithdrawalsClimate19.5%6.2%2022
PM2.5 Air PollutionClimate20.3 µg/m³20.2 µ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=KE,TZ" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Kenya or Tanzania have the larger economy?

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

How do Kenya and Tanzania compare across indicators?

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

More comparisons