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

Country comparison

Namibia vs Kenya

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

GDP$17.31B vs $147.27BNamibia vs Kenya
GDP per Capita$5,573 vs $2,714Namibia vs Kenya
Population3.09M vs 57.53MNamibia vs Kenya

Indicator by indicator

201 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 Namibia KenyaPeriod
GDPEconomy$17.31B$147.27B2026
GDP per CapitaEconomy$5,573$2,7142026
Inflation RateEconomy4.4%6.4%2026-06
Central Bank Policy RateEconomy6.8%8.8%2026-06-17
Official Exchange RateEconomy16.37 LCU/USD129.27 LCU/USD2026-07
Budget BalanceEconomy-6.1%-6.4%2026
Unemployment RateEconomy19.3%5.4%2025
Public DebtEconomy70.5%71.6%2026
Trade BalanceEconomy$-2.9B$-8.15B2025
GDP GrowthEconomy2.4%4.5%2026
GNI per CapitaEconomy$4,340$2,2002025
GNI per Capita (PPP)Economy$11,260$6,9102025
GDP (PPP)Economy$37.07B$403.64B2025
Agriculture (% of GDP)Economy7%23.2%2025
Industry (% of GDP)Economy28.9%16.3%2025
Manufacturing (% of GDP)Economy10%7.1%2025
Services (% of GDP)Economy55%55.1%2025
Investment (% of GDP)Economy18.7%17%2025
Remittances ReceivedEconomy$96.5M$5B2024
Remittances (% of GDP)Economy0.7%4.2%2024
External Debt (% of GNI)Economy35%2024
Foreign ReservesEconomy$3.1B$12.39B2025
Credit to Private Sector (% of GDP)Economy55.1%31.8%2024/2023
Tax Revenue (% of GDP)Economy33.9%14.1%2024/2023
Labor Force ParticipationEconomy58.8%67.4%2025
Female Labor Force ParticipationEconomy54.9%63%2025
Income Inequality (Gini)Economy59.138.52015/2022 ⚠
Extreme Poverty RateEconomy22.9%45.5%2015/2022 ⚠
Account OwnershipEconomy72.9%90.1%2024
Youth NEET RateEconomy31.9%27.8%2018/2022
Military Spending (% of GDP)Economy2.7%1%2024
Trade Openness (% of GDP)Economy108.6%37.5%2025
Inflation (GDP Deflator)Economy6.1%3.5%2025
Tourism ReceiptsEconomy$155M$1.76B2020/2019
Tourist ArrivalsEconomy187.1K2.05M2020/2019
Current Account BalanceEconomy-15.7%-4.1%2026
Foreign Direct InvestmentEconomy$2.06B$1.5B2024
FDI (% of GDP)Economy15.4%1.2%2024
Government Revenue (% of GDP)Economy36.3%17.5%2024
Government Spending (% of GDP)Economy39.9%23.3%2024
Youth Unemployment RateEconomy38%16.7%2018/2022
Productive Capacity IndexEconomy43.436.92024
Natural Resource RentsEconomy4%1.2%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy3.2%0%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy2.3%2.5%2023
Foreign Aid per CapitaEconomy$92$472023
Lending Interest RateEconomy11%16.6%2024
Real Interest RateEconomy6.4%13%2024
Gross Savings (% of GDP)Economy9.5%15.6%2024
Adjusted Net Income per CapitaEconomy$3,618$1,7902021
Employment in AgricultureEconomy22.3%45.8%2025
Employment in IndustryEconomy16.5%12.5%2025
Employment in ServicesEconomy61.1%41.7%2025
Vulnerable EmploymentEconomy29.9%63.8%2025
Household Consumption (% of GDP)Economy78.3%76.9%2025
Income Share of Poorest 20%Economy2.8%7.1%2015/2022 ⚠
Bank Branches per 100,000Economy7.94.52024
ATMs per 100,000Economy67.26.42024
GDP per Capita GrowthEconomy-0.3%2.6%2025
Debt Service (% of GNI)Economy4.8%2024
Poverty Rate ($3.65/day)Economy35%65.5%2015/2022 ⚠
Poverty Rate ($6.85/day)Economy61.1%90.1%2015/2022 ⚠
Exports of Goods & ServicesTrade$6.74B$21.43B2025
Imports of Goods & ServicesTrade$9.64B$29.58B2025
Export Diversification IndexTrade0.7640.662024
Export Concentration IndexTrade0.2460.2032024
Liner Shipping ConnectivityTrade22.216.52021
Fuel Exports (% of Exports)Trade1.3%1.6%2024
Manufactures Exports (% of Exports)Trade18.4%30.7%2024
Food Exports (% of Exports)Trade28%49.2%2024
High-Tech Exports (% of Manufactured)Trade0.1%3.2%2024
Exports (% of GDP)Trade44.7%15.8%2025
Imports (% of GDP)Trade63.9%21.8%2025
Human Development IndexDevelopment0.6650.6282023
Gender Inequality IndexDevelopment0.4480.5262023
Inequality-adjusted HDIDevelopment0.4380.4562023
PopulationDemographics3.09M57.53M2025
Population GrowthDemographics2%1.9%2025
Life ExpectancyDemographics67.5 years63.8 years2024
Median AgeDemographics21.5 years20.3 years2026
Fertility RateDemographics3.213.172024
Rural PopulationDemographics49.1%67.8%2025
Population Under 15Demographics36.7%36.3%2025
Urban PopulationDemographics50.9%32.2%2025
Population DensityDemographics3.8/km²101/km²2026
Birth RateDemographics2526.62026
Death RateDemographics6.27.132026
Net Migration RateDemographics0.02-0.592026
Life Expectancy (Female)Demographics71.5 years66.1 years2024
Life Expectancy (Male)Demographics63.5 years61.6 years2024
Urban Population GrowthDemographics3%2.9%2025
Infant MortalityHealth36.434.22024
HIV PrevalenceHealth9%3%2024
Health Spending (% of GDP)Health9.5%4.4%2023
Physicians per 1,000Health0.550.292022/2023
UHC Service Coverage IndexHealth66572023
Road Traffic DeathsHealth2228.22021
Premature NCD MortalityHealth23.1%18%2021
Out-of-Pocket Health SpendingHealth7.5%24.2%2023
Safely Managed SanitationHealth35.8%2024
Maternal MortalityHealth138.9378.82023
Under-Five MortalityHealth40.739.92023
Neonatal MortalityHealth24.121.52023
Tuberculosis IncidenceHealth4222072024
Measles ImmunizationHealth84%80%2025
DTP3 ImmunizationHealth82%88%2025
Basic SanitationHealth5.1%2024
Diabetes PrevalenceHealth5.3%3.1%2024
Hospital Beds per 1,000Health2.71.332009/2019 ⚠
Contraceptive PrevalenceHealth56.1%62.5%2013/2022 ⚠
Skilled Birth AttendanceHealth88.2%70.2%2013/2016
Nurses & Midwives per 1,000Health5.392.272022/2023
Adolescent Fertility RateHealth65.954.52024
Health Spending per CapitaHealth$397$852023
NCD Share of DeathsHealth29.9%37.8%2021
Smoking PrevalenceHealth14.1%9.6%2022/2024
Antenatal Care CoverageHealth96.6%92.8%2013/2020 ⚠
Child StuntingChild Welfare16.4%17.9%2024
Child WastingChild Welfare7.1%4.5%2013/2022 ⚠
Birth RegistrationChild Welfare78.1%76%2016/2022 ⚠
Child MarriageChild Welfare6.9%12.5%2013/2022 ⚠
Overweight ChildrenChild Welfare4%3.4%2013/2022 ⚠
Education Spending (% of GDP)Education9.1%4%2024
Tertiary EnrollmentEducation26.1%10.4%2022/2024
Adult Literacy RateEducation87.6%82.2%2023/2000 ⚠
Youth Literacy RateEducation92.1%93.2%2023/2014 ⚠
Primary Completion RateEducation87.4%90.8%2015/2024 ⚠
Lower Secondary CompletionEducation75.6%86.6%2015/2024 ⚠
Primary Net EnrollmentEducation99.1%94.3%2024/2023
Lower Secondary EnrollmentEducation98.7%95.6%2024/2006 ⚠
Upper Secondary EnrollmentEducation80.3%62.4%2024/2023
Upper Secondary CompletionEducation30.1%65%2015/2024 ⚠
Qualified Primary TeachersEducation95.4%100%2024/2023
Secondary EnrollmentEducation82%84.3%2024/2023
UndernourishmentFood Security18.1%36.8%2023
Acute Food InsecurityFood Security2.75M2026-06
Agricultural Land (% of Land)Agriculture47.1%49.5%2023
Food Production IndexAgriculture100.5112.42022
Cassava ProductionAgriculture1.21M t2024
Coffee ProductionAgriculture49.5K t2024
Sorghum ProductionAgriculture753 t243K t2024
Millet ProductionAgriculture12.09K t65.76K t2024
Maize ProductionAgriculture30.06K t4.02M t2024
Rice ProductionAgriculture282.15K t2024
Wheat ProductionAgriculture18.33K t312.2K t2024
Maize YieldAgriculture933 kg/ha1,666 kg/ha2024
Rice YieldAgriculture6,553 kg/ha2024
Wheat YieldAgriculture7,066 kg/ha3,044 kg/ha2024
Cattle StockAgriculture2.9M head22.4M head2024
Homicide RateGovernance11.24.92021/2022
Corruption Perceptions IndexGovernance49322024
Electoral Democracy IndexGovernance0.6330.5632025
Liberal Democracy IndexGovernance0.5190.4462025
Political Corruption IndexGovernance0.2740.5642025
Control of CorruptionGovernance0.13-0.82024
Government EffectivenessGovernance0.1-0.32024
Rule of LawGovernance0.33-0.462024
Political StabilityGovernance0.55-1.362024
Regulatory QualityGovernance0.13-0.332024
Voice and AccountabilityGovernance0.34-0.352024
Refugees HostedHumanitarian5.47K617.13K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian1.33K218.65K2025
Stateless PeopleHumanitarian14.8K9.8K2025
Internet UsersTechnology64.9%35%2024
Mobile SubscriptionsTechnology85.2126.52024
4G CoverageTechnology88%97.3%2024
Fixed Broadband SubscriptionsTechnology2.832024
Mobile Data PriceTechnology2.8%4.1%2025
3G CoverageTechnology89%98%2024
Fixed Broadband PriceTechnology5.4%12.3%2025
Mobile Bundle PriceTechnology1.1%1.3%2025
R&D Spending (% of GDP)Technology0.6%0.8%2022/2024
Electricity AccessInfrastructure59.3%77%2024
Air Transport PassengersInfrastructure60.3K5.14M2023
Slum PopulationInfrastructure41.4%40.5%2022
Renewable Energy CapacityEnergy747.4 MW3K MW2025
Solar CapacityEnergy388.9 MW551.1 MW2025
Wind CapacityEnergy6.2 MW436.1 MW2025
Hydropower CapacityEnergy351 MW892.7 MW2025
Renewable Energy ShareEnergy30%67.7%2021
Clean Cooking AccessEnergy48%31.6%2023
Electricity Consumption per CapitaEnergy1,232 kWh195 kWh2023/2024
Power Transmission LossesEnergy27.8%25.8%2023/2024
Off-grid Renewable CapacityEnergy8.5 MW87.3 MW2025
Rural Electricity AccessEnergy41.1%67.1%2024
Solar Share of ElectricityEnergy35.4%4.6%2024/2025
Wind Share of ElectricityEnergy1.2%16.4%2024/2025
Hydropower Share of ElectricityEnergy61%20.9%2024/2025
Fossil Share of ElectricityEnergy2.4%10%2024/2025
Electricity DemandEnergy4 TWh16 TWh2024/2025
Electricity Carbon IntensityEnergy49 gCO₂/kWh95 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy6,370 kWh1,608 kWh2023
CO2 Emissions per CapitaClimate1.2 t0.38 t2024
Renewable Electricity OutputClimate93.4%78.1%2021
Forest AreaClimate7.8%6.2%2023
Protected AreasClimate24.4%11.8%2025
Freshwater WithdrawalsClimate1.7%19.5%2022
PM2.5 Air PollutionClimate14.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=NA,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Namibia or Kenya have the larger economy?

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

How do Namibia and Kenya compare across indicators?

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

More comparisons