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

Country comparison

Kenya vs Uganda

Kenya and Uganda 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 $73.37BKenya vs Uganda
GDP per Capita$2,714 vs $1,476Kenya vs Uganda
Population57.53M vs 51.38MKenya vs Uganda

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 UgandaPeriod
GDPEconomy$147.27B$73.37B2026
GDP per CapitaEconomy$2,714$1,4762026
Inflation RateEconomy6.4%3.7%2026-06
Central Bank Policy RateEconomy8.8%2026-06-09
Official Exchange RateEconomy129.27 LCU/USD3,681.36 LCU/USD2026-07
Budget BalanceEconomy-6.4%-5.9%2026
Unemployment RateEconomy5.4%2.7%2025
Public DebtEconomy71.6%55%2026
Trade BalanceEconomy$-8.15B$-4.54B2025
GDP GrowthEconomy4.5%7.5%2026
GNI per CapitaEconomy$2,200$1,1202025
GNI per Capita (PPP)Economy$6,910$3,4102025
GDP (PPP)Economy$403.64B$179.21B2025
Agriculture (% of GDP)Economy23.2%26.1%2025
Industry (% of GDP)Economy16.3%24.3%2025
Manufacturing (% of GDP)Economy7.1%14.5%2025
Services (% of GDP)Economy55.1%42.1%2025
Investment (% of GDP)Economy17%22.6%2025
Remittances ReceivedEconomy$5B$1.43B2024
Remittances (% of GDP)Economy4.2%2.7%2024
External Debt (% of GNI)Economy35%39.2%2024
Foreign ReservesEconomy$12.39B$3.48B2025/2024
Credit to Private Sector (% of GDP)Economy31.8%14.3%2023/2024
Tax Revenue (% of GDP)Economy14.1%12.6%2023/2024
Labor Force ParticipationEconomy67.4%80%2025
Female Labor Force ParticipationEconomy63%75.6%2025
Income Inequality (Gini)Economy38.542.72022/2019
Extreme Poverty RateEconomy45.5%59.8%2022/2019
Account OwnershipEconomy90.1%72.8%2024
Youth NEET RateEconomy27.8%13.8%2022/2021
Military Spending (% of GDP)Economy1%1.9%2024
Trade Openness (% of GDP)Economy37.5%50.2%2025
Inflation (GDP Deflator)Economy3.5%5.2%2025
Tourism ReceiptsEconomy$1.76B$518M2019/2020
Tourist ArrivalsEconomy2.05M473K2019/2020
Current Account BalanceEconomy-4.1%-3.9%2026
Foreign Direct InvestmentEconomy$1.5B$3.3B2024
FDI (% of GDP)Economy1.2%5.9%2024
Government Revenue (% of GDP)Economy17.5%14.7%2024
Government Spending (% of GDP)Economy23.3%18.7%2024
Youth Unemployment RateEconomy16.7%5.2%2022/2021
Productive Capacity IndexEconomy36.929.42024
Natural Resource RentsEconomy1.2%7.5%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy2.5%4.7%2023
Foreign Aid per CapitaEconomy$47$462023
Lending Interest RateEconomy16.6%19.8%2024/2018 ⚠
Real Interest RateEconomy13%14.7%2024/2018 ⚠
Gross Savings (% of GDP)Economy15.6%24.7%2024
Adjusted Net Income per CapitaEconomy$1,790$6542021
Employment in AgricultureEconomy45.8%64.9%2025
Employment in IndustryEconomy12.5%7.3%2025
Employment in ServicesEconomy41.7%27.9%2025
Vulnerable EmploymentEconomy63.8%74.4%2025
Household Consumption (% of GDP)Economy76.9%65.2%2025
Income Share of Poorest 20%Economy7.1%6.1%2022/2019
Bank Branches per 100,000Economy4.52.12024
ATMs per 100,000Economy6.43.62024
GDP per Capita GrowthEconomy2.6%3.5%2025
Debt Service (% of GNI)Economy4.8%3%2024
Poverty Rate ($3.65/day)Economy65.5%76.3%2022/2019
Poverty Rate ($6.85/day)Economy90.1%93.6%2022/2019
Exports of Goods & ServicesTrade$21.43B$13.29B2025
Imports of Goods & ServicesTrade$29.58B$17.83B2025
Export Diversification IndexTrade0.660.8012024
Export Concentration IndexTrade0.2030.4192024
Liner Shipping ConnectivityTrade16.52021
Fuel Exports (% of Exports)Trade1.6%2.3%2024
Manufactures Exports (% of Exports)Trade30.7%14.3%2024
Food Exports (% of Exports)Trade49.2%39.3%2024
High-Tech Exports (% of Manufactured)Trade3.2%1.9%2024
Exports (% of GDP)Trade15.8%21.4%2025
Imports (% of GDP)Trade21.8%28.8%2025
Human Development IndexDevelopment0.6280.5822023
Gender Inequality IndexDevelopment0.5260.5242023
Inequality-adjusted HDIDevelopment0.4560.42023
PopulationDemographics57.53M51.38M2025
Population GrowthDemographics1.9%2.7%2025
Life ExpectancyDemographics63.8 years68.5 years2024
Median AgeDemographics20.3 years17.1 years2026
Fertility RateDemographics3.174.172024
Rural PopulationDemographics67.8%68.1%2025
Population Under 15Demographics36.3%43.1%2025
Urban PopulationDemographics32.2%31.9%2025
Population DensityDemographics101/km²264.1/km²2026
Birth RateDemographics26.633.12026
Death RateDemographics7.134.662026
Net Migration RateDemographics-0.59-2.312026
Life Expectancy (Female)Demographics66.1 years71.4 years2024
Life Expectancy (Male)Demographics61.6 years65.5 years2024
Urban Population GrowthDemographics2.9%4.8%2025
Infant MortalityHealth34.235.92024
HIV PrevalenceHealth3%4.9%2024
Health Spending (% of GDP)Health4.4%4.2%2023
Physicians per 1,000Health0.290.192023/2022
UHC Service Coverage IndexHealth57542023
Road Traffic DeathsHealth28.2162021
Premature NCD MortalityHealth18%21.5%2021
Out-of-Pocket Health SpendingHealth24.2%32.2%2023
Safely Managed SanitationHealth35.8%20.4%2024
Maternal MortalityHealth378.8170.32023
Under-Five MortalityHealth39.938.82023
Neonatal MortalityHealth21.517.92023
Tuberculosis IncidenceHealth2071972024
Measles ImmunizationHealth80%92%2025
DTP3 ImmunizationHealth88%97%2025
Basic Drinking WaterHealth44.9%2024
Basic SanitationHealth5.1%3.5%2024
Diabetes PrevalenceHealth3.1%2.2%2024
Hospital Beds per 1,000Health1.330.52019/2010 ⚠
Contraceptive PrevalenceHealth62.5%43%2022
Skilled Birth AttendanceHealth70.2%74.2%2016
Nurses & Midwives per 1,000Health2.272.272023/2022
Adolescent Fertility RateHealth54.5104.72024
Health Spending per CapitaHealth$85$452023
NCD Share of DeathsHealth37.8%36.9%2021
Smoking PrevalenceHealth9.6%7.5%2024
Antenatal Care CoverageHealth92.8%95.1%2020/2019
Child StuntingChild Welfare17.9%23.5%2024
Child WastingChild Welfare4.5%3.2%2022
Birth RegistrationChild Welfare76%32.2%2022/2016 ⚠
Child MarriageChild Welfare12.5%34%2022/2016 ⚠
Overweight ChildrenChild Welfare3.4%3.4%2022
Education Spending (% of GDP)Education4%2.6%2024/2022
Tertiary EnrollmentEducation10.4%4.6%2024/2014 ⚠
Adult Literacy RateEducation82.2%77%2000/2024 ⚠
Youth Literacy RateEducation93.2%85.2%2014/2024 ⚠
Primary Completion RateEducation90.8%38.7%2024
Lower Secondary CompletionEducation86.6%21.3%2024
Primary Net EnrollmentEducation94.3%95.9%2023/2013 ⚠
Lower Secondary EnrollmentEducation95.6%2006
Upper Secondary EnrollmentEducation62.4%24.6%2023/2008 ⚠
Upper Secondary CompletionEducation65%10.1%2024
Qualified Primary TeachersEducation100%79.6%2023/2017 ⚠
Secondary EnrollmentEducation84.3%24.1%2023/2007 ⚠
UndernourishmentFood Security36.8%22%2023
Acute Food InsecurityFood Security2.75M1.75M2026/2024
Agricultural Land (% of Land)Agriculture49.5%71.9%2023
Food Production IndexAgriculture112.4135.52022
Cassava ProductionAgriculture1.21M t1.63M t2024
Coffee ProductionAgriculture49.5K t402K t2024
Cocoa ProductionAgriculture55K t2024
Sorghum ProductionAgriculture243K t225K t2024
Millet ProductionAgriculture65.76K t120K t2024
Maize ProductionAgriculture4.02M t5M t2024
Rice ProductionAgriculture282.15K t300K t2024
Wheat ProductionAgriculture312.2K t25K t2024
Maize YieldAgriculture1,666 kg/ha2,174 kg/ha2024
Rice YieldAgriculture6,553 kg/ha1,304 kg/ha2024
Wheat YieldAgriculture3,044 kg/ha1,667 kg/ha2024
Cattle StockAgriculture22.4M head14.7M head2024
Homicide RateGovernance4.992022/2023
Corruption Perceptions IndexGovernance32262024
Electoral Democracy IndexGovernance0.5630.2532025
Liberal Democracy IndexGovernance0.4460.1652025
Political Corruption IndexGovernance0.5640.8892025
Control of CorruptionGovernance-0.8-1.122024
Government EffectivenessGovernance-0.3-0.352024
Rule of LawGovernance-0.46-0.742024
Political StabilityGovernance-1.36-1.022024
Regulatory QualityGovernance-0.33-0.522024
Voice and AccountabilityGovernance-0.35-1.012024
Refugees HostedHumanitarian617.13K1.94M2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian218.65K35.25K2025
Stateless PeopleHumanitarian9.8K10.28K2025
Internet UsersTechnology35%8.9%2024
Mobile SubscriptionsTechnology126.583.22024
4G CoverageTechnology97.3%82%2024
Fixed Broadband SubscriptionsTechnology30.22024
Mobile Data PriceTechnology4.1%6.1%2025
3G CoverageTechnology98%97.8%2024
Fixed Broadband PriceTechnology12.3%34%2025
Mobile Bundle PriceTechnology1.3%3.9%2025
R&D Spending (% of GDP)Technology0.8%0.4%2024/2023
Electricity AccessInfrastructure77%55.3%2024
Air Transport PassengersInfrastructure5.14M21.65K2023
Slum PopulationInfrastructure40.5%52.7%2022
Renewable Energy CapacityEnergy3K MW1.9K MW2025
Solar CapacityEnergy551.1 MW95.8 MW2025
Wind CapacityEnergy436.1 MW2025
Hydropower CapacityEnergy892.7 MW1.7K MW2025
Renewable Energy ShareEnergy67.7%90.9%2021/2022
Clean Cooking AccessEnergy31.6%1.8%2023
Electricity Consumption per CapitaEnergy195 kWh95 kWh2024/2023
Power Transmission LossesEnergy25.8%18.9%2024/2023
Off-grid Renewable CapacityEnergy87.3 MW12.3 MW2025
Rural Electricity AccessEnergy67.1%44.8%2024
Solar Share of ElectricityEnergy4.6%2.9%2025/2024
Wind Share of ElectricityEnergy16.4%0%2025/2024
Hydropower Share of ElectricityEnergy20.9%86.1%2025/2024
Fossil Share of ElectricityEnergy10%2.9%2025/2024
Electricity DemandEnergy16 TWh5.4 TWh2025/2024
Electricity Carbon IntensityEnergy95 gCO₂/kWh59 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy1,608 kWh660 kWh2023
CO2 Emissions per CapitaClimate0.38 t0.17 t2024
Renewable Electricity OutputClimate78.1%90%2021
Forest AreaClimate6.2%11%2023
Protected AreasClimate11.8%16.1%2025
Freshwater WithdrawalsClimate19.5%1.6%2022
PM2.5 Air PollutionClimate20.3 µg/m³31.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,UG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Kenya or Uganda have the larger economy?

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

How do Kenya and Uganda compare across indicators?

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

More comparisons