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

Country comparison

Madagascar vs Kenya

Madagascar 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$21.19B vs $147.27BMadagascar vs Kenya
GDP per Capita$656 vs $2,714Madagascar vs Kenya
Population32.74M vs 57.53MMadagascar 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 Madagascar KenyaPeriod
GDPEconomy$21.19B$147.27B2026
GDP per CapitaEconomy$656$2,7142026
Inflation RateEconomy8.3%6.4%2026
Central Bank Policy RateEconomy8.8%2026-06-09
Official Exchange RateEconomy4,267.43 LCU/USD129.27 LCU/USD2026-07
Budget BalanceEconomy-4.6%-6.4%2026
Unemployment RateEconomy3%5.4%2025
Public DebtEconomy49.3%71.6%2026
Trade BalanceEconomy$-2.27B$-8.15B2025
GDP GrowthEconomy3.6%4.5%2026
GNI per CapitaEconomy$560$2,2002025
GNI per Capita (PPP)Economy$1,910$6,9102025
GDP (PPP)Economy$63.93B$403.64B2025
Agriculture (% of GDP)Economy21.7%23.2%2025
Industry (% of GDP)Economy23.9%16.3%2025
Manufacturing (% of GDP)Economy13.1%7.1%2024/2025
Services (% of GDP)Economy48.8%55.1%2025
Investment (% of GDP)Economy24.1%17%2025
Remittances ReceivedEconomy$406.26M$5B2024
Remittances (% of GDP)Economy2.3%4.2%2024
External Debt (% of GNI)Economy39.2%35%2024
Foreign ReservesEconomy$2.78B$12.39B2024/2025
Credit to Private Sector (% of GDP)Economy16.5%31.8%2024/2023
Tax Revenue (% of GDP)Economy10.9%14.1%2024/2023
Labor Force ParticipationEconomy85.5%67.4%2025
Female Labor Force ParticipationEconomy82.9%63%2025
Income Inequality (Gini)Economy36.838.52021/2022
Extreme Poverty RateEconomy69.2%45.5%2021/2022
Account OwnershipEconomy24.5%90.1%2024
Youth NEET RateEconomy24.3%27.8%2022
Military Spending (% of GDP)Economy0.7%1%2024
Trade Openness (% of GDP)Economy54.2%37.5%2025
Inflation (GDP Deflator)Economy8.4%3.5%2025
Tourism ReceiptsEconomy$202M$1.76B2020/2019
Tourist ArrivalsEconomy87.1K2.05M2020/2019
Current Account BalanceEconomy-8%-4.1%2026
Foreign Direct InvestmentEconomy$413.31M$1.5B2024
FDI (% of GDP)Economy2.4%1.2%2024
Government Revenue (% of GDP)Economy13.7%17.5%2024
Government Spending (% of GDP)Economy16.2%23.3%2024
Youth Unemployment RateEconomy5.6%16.7%2022
Productive Capacity IndexEconomy25.536.92024
Natural Resource RentsEconomy5.5%1.2%2021
Oil Rents (% of GDP)Economy0.1%0%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy8%2.5%2023
Foreign Aid per CapitaEconomy$40$472023
Lending Interest RateEconomy60%16.6%2025/2024
Real Interest RateEconomy47.6%13%2025/2024
Gross Savings (% of GDP)Economy17.5%15.6%2024
Adjusted Net Income per CapitaEconomy$421$1,7902021
Employment in AgricultureEconomy69.2%45.8%2025
Employment in IndustryEconomy9.9%12.5%2025
Employment in ServicesEconomy20.9%41.7%2025
Vulnerable EmploymentEconomy84.4%63.8%2025
Household Consumption (% of GDP)Economy72.8%76.9%2025
Income Share of Poorest 20%Economy7.2%7.1%2021/2022
Bank Branches per 100,000Economy2.74.52024
ATMs per 100,000Economy36.42024
GDP per Capita GrowthEconomy0.6%2.6%2025
Debt Service (% of GNI)Economy1.7%4.8%2024
Poverty Rate ($3.65/day)Economy83.9%65.5%2021/2022
Poverty Rate ($6.85/day)Economy96.6%90.1%2021/2022
Exports of Goods & ServicesTrade$4.19B$21.43B2025
Imports of Goods & ServicesTrade$6.46B$29.58B2025
Export Diversification IndexTrade0.8360.662024
Export Concentration IndexTrade0.2920.2032024
Liner Shipping ConnectivityTrade7.516.52021
Fuel Exports (% of Exports)Trade2.6%1.6%2024
Manufactures Exports (% of Exports)Trade32.3%30.7%2024
Food Exports (% of Exports)Trade30.5%49.2%2024
High-Tech Exports (% of Manufactured)Trade1%3.2%2024
Exports (% of GDP)Trade21.3%15.8%2025
Imports (% of GDP)Trade32.9%21.8%2025
Human Development IndexDevelopment0.4870.6282023
Gender Inequality IndexDevelopment0.5840.5262023
Inequality-adjusted HDIDevelopment0.3190.4562023
PopulationDemographics32.74M57.53M2025
Population GrowthDemographics2.4%1.9%2025
Life ExpectancyDemographics63.8 years63.8 years2024
Median AgeDemographics19.4 years20.3 years2026
Fertility RateDemographics3.913.172024
Rural PopulationDemographics67.1%67.8%2025
Population Under 15Demographics38.9%36.3%2025
Urban PopulationDemographics32.9%32.2%2025
Population DensityDemographics57.6/km²101/km²2026
Birth RateDemographics30.826.62026
Death RateDemographics7.367.132026
Net Migration RateDemographics-0.08-0.592026
Life Expectancy (Female)Demographics65.6 years66.1 years2024
Life Expectancy (Male)Demographics62.1 years61.6 years2024
Urban Population GrowthDemographics3.8%2.9%2025
Infant MortalityHealth4334.22024
HIV PrevalenceHealth0.5%3%2024
Health Spending (% of GDP)Health3.4%4.4%2023
Physicians per 1,000Health0.170.292022/2023
UHC Service Coverage IndexHealth33572023
Road Traffic DeathsHealth22.528.22021
Premature NCD MortalityHealth25.9%18%2021
Out-of-Pocket Health SpendingHealth27.4%24.2%2023
Safely Managed SanitationHealth12.8%35.8%2024
Maternal MortalityHealth445.4378.82023
Under-Five MortalityHealth64.839.92023
Neonatal MortalityHealth23.821.52023
Tuberculosis IncidenceHealth2242072024
Measles ImmunizationHealth49%80%2025
DTP3 ImmunizationHealth64%88%2025
Basic Drinking WaterHealth33.3%2024
Basic SanitationHealth2.6%5.1%2024
Diabetes PrevalenceHealth4.6%3.1%2024
Hospital Beds per 1,000Health0.321.332014/2019 ⚠
Contraceptive PrevalenceHealth49.7%62.5%2021/2022
Skilled Birth AttendanceHealth45.8%70.2%2021/2016 ⚠
Nurses & Midwives per 1,000Health0.282.272022/2023
Adolescent Fertility RateHealth128.754.52024
Health Spending per CapitaHealth$17$852023
NCD Share of DeathsHealth40%37.8%2021
Smoking PrevalenceHealth25.6%9.6%2024
Antenatal Care CoverageHealth88.9%92.8%2021/2020
Child StuntingChild Welfare38.4%17.9%2024
Child WastingChild Welfare7.2%4.5%2021/2022
Birth RegistrationChild Welfare73.8%76%2021/2022
Child MarriageChild Welfare38.8%12.5%2021/2022
Overweight ChildrenChild Welfare1.9%3.4%2021/2022
Education Spending (% of GDP)Education3%4%2023/2024
Tertiary EnrollmentEducation6.1%10.4%2023/2024
Adult Literacy RateEducation74.7%82.2%2021/2000 ⚠
Youth Literacy RateEducation82.4%93.2%2021/2014 ⚠
Primary Completion RateEducation49.7%90.8%2021/2024
Lower Secondary CompletionEducation23.5%86.6%2021/2024
Primary Net EnrollmentEducation96.6%94.3%2024/2023
Lower Secondary EnrollmentEducation61.2%95.6%2024/2006 ⚠
Upper Secondary EnrollmentEducation31%62.4%2024/2023
Upper Secondary CompletionEducation14%65%2021/2024
Qualified Primary TeachersEducation15.3%100%2019/2023
Secondary EnrollmentEducation34.1%84.3%2021/2023
UndernourishmentFood Security39.5%36.8%2023
Acute Food InsecurityFood Security1.25M2.75M2026-06
Agricultural Land (% of Land)Agriculture70.3%49.5%2023
Food Production IndexAgriculture105.9112.42022
Cassava ProductionAgriculture2.57M t1.21M t2024
Coffee ProductionAgriculture49.56K t49.5K t2024
Cocoa ProductionAgriculture21K t2024
Sorghum ProductionAgriculture1.39K t243K t2024
Millet ProductionAgriculture65.76K t2024
Maize ProductionAgriculture265K t4.02M t2024
Rice ProductionAgriculture4.97M t282.15K t2024
Wheat ProductionAgriculture1K t312.2K t2024
Maize YieldAgriculture1,833 kg/ha1,666 kg/ha2024
Rice YieldAgriculture2,435 kg/ha6,553 kg/ha2024
Wheat YieldAgriculture2,407 kg/ha3,044 kg/ha2024
Cattle StockAgriculture7M head22.4M head2024
Homicide RateGovernance4.92022
Corruption Perceptions IndexGovernance26322024
Electoral Democracy IndexGovernance0.3610.5632025
Liberal Democracy IndexGovernance0.1870.4462025
Political Corruption IndexGovernance0.8820.5642025
Control of CorruptionGovernance-1.01-0.82024
Government EffectivenessGovernance-0.86-0.32024
Rule of LawGovernance-0.88-0.462024
Political StabilityGovernance-0.48-1.362024
Regulatory QualityGovernance-0.75-0.332024
Voice and AccountabilityGovernance-0.73-0.352024
Refugees HostedHumanitarian87617.13K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian1.28K218.65K2025
Stateless PeopleHumanitarian09.8K2025
Internet UsersTechnology18.7%35%2024
Mobile SubscriptionsTechnology75.5126.52023/2024
4G CoverageTechnology34.6%97.3%2024
Fixed Broadband SubscriptionsTechnology0.132023/2024
Mobile Data PriceTechnology12.5%4.1%2025
3G CoverageTechnology69.2%98%2024
Fixed Broadband PriceTechnology24.5%12.3%2025
Mobile Bundle PriceTechnology7.8%1.3%2025
R&D Spending (% of GDP)Technology0%0.8%2017/2024 ⚠
Electricity AccessInfrastructure42.5%77%2024
Air Transport PassengersInfrastructure313.31K5.14M2023
Slum PopulationInfrastructure65.7%40.5%2022
Renewable Energy CapacityEnergy256.1 MW3K MW2025
Solar CapacityEnergy63.2 MW551.1 MW2025
Wind CapacityEnergy0.2 MW436.1 MW2025
Hydropower CapacityEnergy192.6 MW892.7 MW2025
Renewable Energy ShareEnergy83.1%67.7%2022/2021
Clean Cooking AccessEnergy1.6%31.6%2023
Electricity Consumption per CapitaEnergy80 kWh195 kWh2023/2024
Power Transmission LossesEnergy5.3%25.8%2023/2024
Off-grid Renewable CapacityEnergy15.8 MW87.3 MW2025
Rural Electricity AccessEnergy26.5%67.1%2024
Solar Share of ElectricityEnergy4.1%4.6%2024/2025
Wind Share of ElectricityEnergy0%16.4%2024/2025
Hydropower Share of ElectricityEnergy37%20.9%2024/2025
Fossil Share of ElectricityEnergy57.6%10%2024/2025
Electricity DemandEnergy2.4 TWh16 TWh2024/2025
Electricity Carbon IntensityEnergy432 gCO₂/kWh95 gCO₂/kWh2024/2025
Primary Energy per CapitaEnergy532 kWh1,608 kWh2023
CO2 Emissions per CapitaClimate0.15 t0.38 t2024
Renewable Electricity OutputClimate34.1%78.1%2021
Forest AreaClimate21.3%6.2%2023
Protected AreasClimate5.1%11.8%2025
Freshwater WithdrawalsClimate4%19.5%2022
PM2.5 Air PollutionClimate12.4 µ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=MG,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Madagascar or Kenya have the larger economy?

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

How do Madagascar and Kenya compare across indicators?

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

More comparisons