54 country profiles · available indicators comparedAPI dataGet API key

Country comparison

Madagascar vs Eritrea

165 indicators have a value for Madagascar, Eritrea, or both. Open an indicator to see the available country ranking and source details.

GDP$21.19B vs Madagascar vs Eritrea
GDP per Capita$656 vs Madagascar vs Eritrea
Population32.74M vs 3.61MMadagascar vs Eritrea

Indicator by indicator

165 indicators

Values can describe different reporting periods. When two years are shown, they follow the country order in the table.

Indicator Madagascar EritreaPeriod
GDPEconomy$21.19B2026
GDP per CapitaEconomy$6562026
Inflation RateEconomy8.3%2026
Official Exchange RateEconomy4,295.62 LCU/USD15.08 LCU/USD2026-09
Budget BalanceEconomy-4.6%2026
Unemployment RateEconomy3%6%2025
Public DebtEconomy49.3%2026
Trade BalanceEconomy$-2.27B2025
GDP GrowthEconomy3.6%2026
GNI per CapitaEconomy$5602025
GNI per Capita (PPP)Economy$1,9102025
GDP (PPP)Economy$63.93B2025
Agriculture (% of GDP)Economy21.7%2025
Industry (% of GDP)Economy23.9%2025
Manufacturing (% of GDP)Economy13.1%2024
Services (% of GDP)Economy48.8%2025
Investment (% of GDP)Economy24.1%2025
Remittances ReceivedEconomy$406.26M2024
Remittances (% of GDP)Economy2.3%2024
External Debt (% of GNI)Economy39.2%2024
Foreign ReservesEconomy$2.78B2024
Credit to Private Sector (% of GDP)Economy16.5%2024
Tax Revenue (% of GDP)Economy10.9%2024
Labor Force ParticipationEconomy85.5%78.3%2025
Female Labor Force ParticipationEconomy82.9%72.8%2025
Account OwnershipEconomy24.5%2024
Military Spending (% of GDP)Economy0.7%2024
Trade Openness (% of GDP)Economy54.2%2025
Inflation (GDP Deflator)Economy8.4%2025
Current Account BalanceEconomy-8%2026
Foreign Direct InvestmentEconomy$304.45M$82.37M2025
FDI (% of GDP)Economy1.6%4%2025
Government Revenue (% of GDP)Economy13.7%2024
Government Spending (% of GDP)Economy16.2%2024
Productive Capacity IndexEconomy25.524.92024
Foreign Aid (% of GNI)Economy8%2023
Foreign Aid per CapitaEconomy$40$372023
Lending Interest RateEconomy60%2025
Real Interest RateEconomy47.6%2025
Gross Savings (% of GDP)Economy17.5%2024
Employment in AgricultureEconomy69.2%55.5%2025
Employment in IndustryEconomy9.9%12.7%2025
Employment in ServicesEconomy20.9%31.8%2025
Vulnerable EmploymentEconomy84.4%47.9%2025
Household Consumption (% of GDP)Economy72.8%2025
Bank Branches per 100,000Economy2.72024
ATMs per 100,000Economy32024
GDP per Capita GrowthEconomy0.6%2025
Debt Service (% of GNI)Economy1.7%2024
Exports of Goods & ServicesTrade$4.19B2025
Imports of Goods & ServicesTrade$6.46B2025
Export Diversification IndexTrade0.8470.8112025
Export Concentration IndexTrade0.3060.3172025
Fuel Exports (% of Exports)Trade2.6%2024
Manufactures Exports (% of Exports)Trade32.3%2024
Food Exports (% of Exports)Trade30.5%2024
High-Tech Exports (% of Manufactured)Trade1%2024
Exports (% of GDP)Trade21.3%2025
Imports (% of GDP)Trade32.9%2025
Human Development IndexDevelopment0.4870.5032023
Gender Inequality IndexDevelopment0.5842023
Inequality-adjusted HDIDevelopment0.3192023
PopulationDemographics32.74M3.61M2025
Population GrowthDemographics2.4%2%2025
Life ExpectancyDemographics63.8 years68.9 years2024
Median AgeDemographics19.4 years19.5 years2026
Fertility RateDemographics3.913.682024
Rural PopulationDemographics67.1%65.5%2025
Population Under 15Demographics38.9%37.6%2025
Urban PopulationDemographics32.9%34.5%2025
Population DensityDemographics57.6/km²30.4/km²2026
Birth RateDemographics30.828.62026
Death RateDemographics7.365.892026
Net Migration RateDemographics-0.08-2.042026
Life Expectancy (Female)Demographics65.6 years70.9 years2024
Life Expectancy (Male)Demographics62.1 years66.8 years2024
Urban Population GrowthDemographics3.8%2%2025
Infant MortalityHealth4324.72024
HIV PrevalenceHealth0.5%0.4%2024
Health Spending (% of GDP)Health3.4%3.7%2023
UHC Service Coverage IndexHealth33402023
Out-of-Pocket Health SpendingHealth27.4%48.4%2023
Safely Managed SanitationHealth12.8%2024
Maternal MortalityHealth445.4291.42023
Under-Five MortalityHealth62.434.32024
Neonatal MortalityHealth23.115.62024
Tuberculosis IncidenceHealth2241152024
Measles ImmunizationHealth49%93%2025
DTP3 ImmunizationHealth64%96%2025
Basic Drinking WaterHealth33.3%2024
Basic SanitationHealth2.6%2024
Diabetes PrevalenceHealth4.6%4.4%2024
Hospital Beds per 1,000Health1.022023
Adolescent Fertility RateHealth128.765.22024
Health Spending per CapitaHealth$17$282023
Smoking PrevalenceHealth25.6%2024
Child StuntingChild Welfare38.4%48%2024
Education Spending (% of GDP)Education3%2023
Tertiary EnrollmentEducation6.1%2023
Primary Net EnrollmentEducation96.6%2024
Lower Secondary EnrollmentEducation61.2%2024
Upper Secondary EnrollmentEducation31%2024
UndernourishmentFood Security39.5%2023
Acute Food InsecurityFood Security1.25M2026-08
Agricultural Land (% of Land)Agriculture70.3%62.7%2023
Cassava ProductionAgriculture2.57M t2024
Coffee ProductionAgriculture49.56K t2024
Cocoa ProductionAgriculture21K t2024
Sorghum ProductionAgriculture1.39K t140K t2024
Millet ProductionAgriculture25K t2024
Maize ProductionAgriculture265K t20K t2024
Rice ProductionAgriculture4.97M t2024
Wheat ProductionAgriculture1K t25K t2024
Maize YieldAgriculture1,833 kg/ha1,000 kg/ha2024
Rice YieldAgriculture2,435 kg/ha2024
Wheat YieldAgriculture2,407 kg/ha1,000 kg/ha2024
Cattle StockAgriculture7M head2.2M head2024
Corruption Perceptions IndexGovernance26132024
Electoral Democracy IndexGovernance0.3610.0692025
Liberal Democracy IndexGovernance0.1870.0092025
Political Corruption IndexGovernance0.8820.7522025
Control of CorruptionGovernance-1.01-1.632024
Government EffectivenessGovernance-0.86-1.462024
Rule of LawGovernance-0.88-1.82024
Political StabilityGovernance-0.48-0.712024
Regulatory QualityGovernance-0.75-2.042024
Voice and AccountabilityGovernance-0.73-2.292024
Organized Violence DeathsGovernance0 deaths0 deaths2025
State-Based Conflict DyadsGovernance002025
Non-State Conflict DyadsGovernance002025
One-Sided Violence DyadsGovernance002025
Refugees HostedHumanitarian871192025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian1.28K02025
Stateless PeopleHumanitarian002025
Internet UsersTechnology18.7%20%2024/2023
Mobile SubscriptionsTechnology75.52023
4G CoverageTechnology34.6%0%2024
Fixed Broadband SubscriptionsTechnology0.12023
Mobile Data PriceTechnology12.5%2025
3G CoverageTechnology69.2%77%2024
Fixed Broadband PriceTechnology24.5%2025
Mobile Bundle PriceTechnology7.8%2025
Electricity AccessInfrastructure42.5%55.3%2024
Air Transport PassengersInfrastructure313.31K2023
Renewable Energy CapacityEnergy256.1 MW25.9 MW2025
Solar CapacityEnergy63.2 MW25.1 MW2025
Wind CapacityEnergy0.2 MW0.8 MW2025
Hydropower CapacityEnergy192.6 MW2025
Clean Cooking AccessEnergy1.6%12%2023
Electricity Consumption per CapitaEnergy80 kWh123 kWh2023
Power Transmission LossesEnergy5.3%11.8%2023
Off-grid Renewable CapacityEnergy15.8 MW25.6 MW2025
Rural Electricity AccessEnergy26.5%43.2%2024
Solar Share of ElectricityEnergy4.1%11.1%2024
Wind Share of ElectricityEnergy0%0%2024
Hydropower Share of ElectricityEnergy37%0%2024
Fossil Share of ElectricityEnergy57.6%88.9%2024
Electricity DemandEnergy2.4 TWh0.5 TWh2024
Electricity Carbon IntensityEnergy432 gCO₂/kWh578 gCO₂/kWh2024
Primary Energy per CapitaEnergy532 kWh873 kWh2023
CO2 Emissions per CapitaClimate0.15 t0.22 t2024
Forest AreaClimate21.3%8.6%2023
Protected AreasClimate5.1%0%2025
PM2.5 Air PollutionClimate12.4 µg/m³33.7 µg/m³2023

Get this comparison via API

GET /v1/data

Request both countries' latest available GDP values as JSON, including source metadata.

curl "https://api.africa-api.com/v1/data?metric_key=gdp_current_usd&latest=true&country_codes=MG,ER" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

More comparisons