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

Country comparison

Nigeria vs Kenya

Nigeria 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$377.37B vs $147.27BNigeria vs Kenya
GDP per Capita$1,556 vs $2,714Nigeria vs Kenya
Population237.53M vs 57.53MNigeria 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 Nigeria KenyaPeriod
GDPEconomy$377.37B$147.27B2026
GDP per CapitaEconomy$1,556$2,7142026
Inflation RateEconomy15.9%6.4%2026-06
Central Bank Policy RateEconomy26.5%8.8%2026-07-01
Official Exchange RateEconomy1,376.34 LCU/USD129.27 LCU/USD2026-07
Budget BalanceEconomy-4.4%-6.4%2026
Unemployment RateEconomy3.1%5.4%2025
Public DebtEconomy32.3%71.6%2026
Trade BalanceEconomy$-322.41M$-8.15B1960/2025 ⚠
GDP GrowthEconomy4.1%4.5%2026
GNI per CapitaEconomy$1,360$2,2002025
GNI per Capita (PPP)Economy$9,230$6,9102025
GDP (PPP)Economy$2.26T$403.64B2025
Agriculture (% of GDP)Economy23%23.2%2025
Industry (% of GDP)Economy16.4%16.3%2025
Manufacturing (% of GDP)Economy8.3%7.1%2025
Services (% of GDP)Economy58.2%55.1%2025
Investment (% of GDP)Economy17%2025
Remittances ReceivedEconomy$22.79B$5B2025/2024
Remittances (% of GDP)Economy7.8%4.2%2025/2024
External Debt (% of GNI)Economy60%35%2024
Foreign ReservesEconomy$46.02B$12.39B2025
Credit to Private Sector (% of GDP)Economy9.6%31.8%2022/2023
Tax Revenue (% of GDP)Economy14.1%2023
Labor Force ParticipationEconomy82.5%67.4%2025
Female Labor Force ParticipationEconomy80.7%63%2025
Income Inequality (Gini)Economy33.938.52022
Extreme Poverty RateEconomy41.8%45.5%2022
Account OwnershipEconomy63.3%90.1%2024
Youth NEET RateEconomy11.9%27.8%2024/2022
Military Spending (% of GDP)Economy0.6%1%2024
Trade Openness (% of GDP)Economy26.2%37.5%1960/2025 ⚠
Inflation (GDP Deflator)Economy13.9%3.5%2025
Tourism ReceiptsEconomy$321M$1.76B2020/2019
Tourist ArrivalsEconomy5.27M2.05M2016/2019
Current Account BalanceEconomy5.8%-4.1%2026
Foreign Direct InvestmentEconomy$1.08B$1.5B2024
FDI (% of GDP)Economy0.4%1.2%2024
Government Revenue (% of GDP)Economy10.8%17.5%2024
Government Spending (% of GDP)Economy12.3%23.3%2024
Youth Unemployment RateEconomy5.4%16.7%2024/2022
Productive Capacity IndexEconomy30.736.92024
Natural Resource RentsEconomy8.6%1.2%2021
Oil Rents (% of GDP)Economy6.2%0%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy1.2%0%2021
Foreign Aid (% of GNI)Economy0.8%2.5%2023
Foreign Aid per CapitaEconomy$16$472023
Lending Interest RateEconomy14%16.6%2023/2024
Real Interest RateEconomy2.9%13%2023/2024
Gross Savings (% of GDP)Economy15.6%2024
Adjusted Net Income per CapitaEconomy$1,663$1,7902021
Employment in AgricultureEconomy33.5%45.8%2025
Employment in IndustryEconomy17%12.5%2025
Employment in ServicesEconomy49.5%41.7%2025
Vulnerable EmploymentEconomy66.5%63.8%2025
Household Consumption (% of GDP)Economy76.9%2025
Income Share of Poorest 20%Economy7.5%7.1%2022
Bank Branches per 100,000Economy3.34.52024
ATMs per 100,000Economy12.86.42024
GDP per Capita GrowthEconomy1.9%2.6%2025
Debt Service (% of GNI)Economy5.5%4.8%2024
Poverty Rate ($3.65/day)Economy64%65.5%2022
Poverty Rate ($6.85/day)Economy92.9%90.1%2022
Exports of Goods & ServicesTrade$387.79M$21.43B1960/2025 ⚠
Imports of Goods & ServicesTrade$710.2M$29.58B1960/2025 ⚠
Export Diversification IndexTrade0.8260.662024
Export Concentration IndexTrade0.6940.2032024
Liner Shipping ConnectivityTrade20.816.52021
Fuel Exports (% of Exports)Trade88.6%1.6%2024
Manufactures Exports (% of Exports)Trade3.5%30.7%2024
Food Exports (% of Exports)Trade6%49.2%2024
High-Tech Exports (% of Manufactured)Trade2.7%3.2%2024
Exports (% of GDP)Trade9.2%15.8%1960/2025 ⚠
Imports (% of GDP)Trade16.9%21.8%1960/2025 ⚠
Human Development IndexDevelopment0.560.6282023
Gender Inequality IndexDevelopment0.6770.5262023
Inequality-adjusted HDIDevelopment0.3790.4562023
PopulationDemographics237.53M57.53M2025
Population GrowthDemographics2.1%1.9%2025
Life ExpectancyDemographics54.6 years63.8 years2024
Median AgeDemographics18.3 years20.3 years2026
Fertility RateDemographics4.383.172024
Rural PopulationDemographics36.2%67.8%2025
Population Under 15Demographics40.5%36.3%2025
Urban PopulationDemographics63.8%32.2%2025
Population DensityDemographics266.2/km²101/km²2026
Birth RateDemographics31.826.62026
Death RateDemographics11.57.132026
Net Migration RateDemographics-0.01-0.592026
Life Expectancy (Female)Demographics54.9 years66.1 years2024
Life Expectancy (Male)Demographics54.3 years61.6 years2024
Urban Population GrowthDemographics3.3%2.9%2025
Infant MortalityHealth69.834.22024
HIV PrevalenceHealth1.2%3%2024
Health Spending (% of GDP)Health4.2%4.4%2023
Physicians per 1,000Health0.380.292023
UHC Service Coverage IndexHealth47572023
Road Traffic DeathsHealth17.228.22021
Premature NCD MortalityHealth17.7%18%2021
Out-of-Pocket Health SpendingHealth70.9%24.2%2023
Safely Managed SanitationHealth32.2%35.8%2024
Maternal MortalityHealth992.8378.82023
Under-Five MortalityHealth104.939.92023
Neonatal MortalityHealth33.721.52023
Tuberculosis IncidenceHealth2192072024
Measles ImmunizationHealth56%80%2025
DTP3 ImmunizationHealth62%88%2025
Basic Drinking WaterHealth52.3%2024
Basic SanitationHealth15.7%5.1%2024
Diabetes PrevalenceHealth3%3.1%2024
Hospital Beds per 1,000Health0.51.332004/2019 ⚠
Contraceptive PrevalenceHealth21.6%62.5%2021/2022
Skilled Birth AttendanceHealth50.7%70.2%2022/2016 ⚠
Nurses & Midwives per 1,000Health1.652.272022/2023
Adolescent Fertility RateHealth8454.52024
Health Spending per CapitaHealth$67$852023
NCD Share of DeathsHealth27.7%37.8%2021
Smoking PrevalenceHealth3.1%9.6%2024
Antenatal Care CoverageHealth67%92.8%2018/2020
Child StuntingChild Welfare33.8%17.9%2024
Child WastingChild Welfare11.6%4.5%2021/2022
Birth RegistrationChild Welfare39.7%76%2024/2022
Child MarriageChild Welfare33.4%12.5%2024/2022
Overweight ChildrenChild Welfare1.5%3.4%2021/2022
Education Spending (% of GDP)Education0.3%4%2023/2024
Tertiary EnrollmentEducation9.7%10.4%2011/2024 ⚠
Adult Literacy RateEducation70.4%82.2%2024/2000 ⚠
Youth Literacy RateEducation81.4%93.2%2024/2014 ⚠
Primary Completion RateEducation77.4%90.8%2024
Lower Secondary CompletionEducation74.1%86.6%2024
Primary Net EnrollmentEducation75.7%94.3%2023
Lower Secondary EnrollmentEducation95.6%2006
Upper Secondary EnrollmentEducation62.4%2023
Upper Secondary CompletionEducation68.5%65%2024
Qualified Primary TeachersEducation62.2%100%2018/2023 ⚠
Secondary EnrollmentEducation46.9%84.3%2023
UndernourishmentFood Security19.9%36.8%2023
Acute Food InsecurityFood Security16.5M2.75M2026-06
Agricultural Land (% of Land)Agriculture76.2%49.5%2023
Food Production IndexAgriculture119.9112.42022
Cassava ProductionAgriculture62.62M t1.21M t2024
Coffee ProductionAgriculture1.81K t49.5K t2024
Cocoa ProductionAgriculture350K t2024
Sorghum ProductionAgriculture6.5M t243K t2024
Millet ProductionAgriculture1.55M t65.76K t2024
Maize ProductionAgriculture11.16M t4.02M t2024
Rice ProductionAgriculture9.13M t282.15K t2024
Wheat ProductionAgriculture43.93K t312.2K t2024
Maize YieldAgriculture2,030 kg/ha1,666 kg/ha2024
Rice YieldAgriculture1,997 kg/ha6,553 kg/ha2024
Wheat YieldAgriculture1,574 kg/ha3,044 kg/ha2024
Cattle StockAgriculture20.9M head22.4M head2024
Homicide RateGovernance15.74.92023/2022
Corruption Perceptions IndexGovernance26322024
Electoral Democracy IndexGovernance0.5050.5632025
Liberal Democracy IndexGovernance0.3110.4462025
Political Corruption IndexGovernance0.8340.5642025
Control of CorruptionGovernance-1.11-0.82024
Government EffectivenessGovernance-1.01-0.32024
Rule of LawGovernance-1.01-0.462024
Political StabilityGovernance-2-1.362024
Regulatory QualityGovernance-0.63-0.332024
Voice and AccountabilityGovernance-0.73-0.352024
Refugees HostedHumanitarian123.85K617.13K2025
Internally Displaced PeopleHumanitarian3.54M02025
Asylum Seekers HostedHumanitarian18.19K218.65K2025
Stateless PeopleHumanitarian09.8K2025
Internet UsersTechnology41.2%35%2024
Mobile SubscriptionsTechnology70.8126.52024
4G CoverageTechnology84.6%97.3%2024
Fixed Broadband SubscriptionsTechnology0.132024
Mobile Data PriceTechnology1.6%4.1%2025
3G CoverageTechnology89.4%98%2024
Fixed Broadband PriceTechnology15.5%12.3%2025
Mobile Bundle PriceTechnology2.7%1.3%2025
R&D Spending (% of GDP)Technology0.3%0.8%2019/2024 ⚠
Electricity AccessInfrastructure62.5%77%2024
Air Transport PassengersInfrastructure5.27M5.14M2023
Slum PopulationInfrastructure48.5%40.5%2022
Renewable Energy CapacityEnergy3.2K MW3K MW2025
Solar CapacityEnergy284.5 MW551.1 MW2025
Wind CapacityEnergy436.1 MW2025
Hydropower CapacityEnergy2.9K MW892.7 MW2025
Renewable Energy ShareEnergy80.3%67.7%2021
Clean Cooking AccessEnergy26.2%31.6%2023
Electricity Consumption per CapitaEnergy144 kWh195 kWh2023/2024
Power Transmission LossesEnergy14.2%25.8%2023/2024
Off-grid Renewable CapacityEnergy118.1 MW87.3 MW2025
Rural Electricity AccessEnergy23.5%67.1%2024
Solar Share of ElectricityEnergy0.3%4.6%2025
Wind Share of ElectricityEnergy0%16.4%2025
Hydropower Share of ElectricityEnergy30.9%20.9%2025
Fossil Share of ElectricityEnergy68.7%10%2025
Electricity DemandEnergy39 TWh16 TWh2025
Electricity Carbon IntensityEnergy456 gCO₂/kWh95 gCO₂/kWh2025
Primary Energy per CapitaEnergy2,343 kWh1,608 kWh2023
CO2 Emissions per CapitaClimate0.57 t0.38 t2024
Renewable Electricity OutputClimate22.2%78.1%2021
Forest AreaClimate23.2%6.2%2023
Protected AreasClimate11.6%11.8%2025
Freshwater WithdrawalsClimate5.6%19.5%2022
PM2.5 Air PollutionClimate65.7 µ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=NG,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Nigeria or Kenya have the larger economy?

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

How do Nigeria and Kenya compare across indicators?

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

More comparisons