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

Country comparison

Egypt vs Nigeria

Egypt and Nigeria 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$429.65B vs $377.37BEgypt vs Nigeria
GDP per Capita$3,904 vs $1,556Egypt vs Nigeria
Population118.37M vs 237.53MEgypt vs Nigeria

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 Egypt NigeriaPeriod
GDPEconomy$429.65B$377.37B2026
GDP per CapitaEconomy$3,904$1,5562026
Inflation RateEconomy14.3%15.9%2026-06
Central Bank Policy RateEconomy26.5%2026-07-01
Official Exchange RateEconomy49.83 LCU/USD1,376.34 LCU/USD2026-07
Budget BalanceEconomy-12.1%-4.4%2026
Unemployment RateEconomy6.8%3.1%2025
Public DebtEconomy87%32.3%2026
Trade BalanceEconomy$-42.71B$-322.41M2025/1960 ⚠
GDP GrowthEconomy4.2%4.1%2026
GNI per CapitaEconomy$3,260$1,3602025
GNI per Capita (PPP)Economy$19,330$9,2302025
GDP (PPP)Economy$2.39T$2.26T2025
Agriculture (% of GDP)Economy16.6%23%2025
Industry (% of GDP)Economy32.1%16.4%2025
Manufacturing (% of GDP)Economy14.5%8.3%2025
Services (% of GDP)Economy47.3%58.2%2025
Investment (% of GDP)Economy12.9%2025
Remittances ReceivedEconomy$41.52B$22.79B2025
Remittances (% of GDP)Economy11.4%7.8%2025
External Debt (% of GNI)Economy42%60%2024
Foreign ReservesEconomy$48.88B$46.02B2025
Credit to Private Sector (% of GDP)Economy25.8%9.6%2025/2022
Tax Revenue (% of GDP)Economy12.5%2015
Labor Force ParticipationEconomy44.6%82.5%2025
Female Labor Force ParticipationEconomy18.5%80.7%2025
Income Inequality (Gini)Economy28.533.92021/2022
Extreme Poverty RateEconomy1.4%41.8%2021/2022
Account OwnershipEconomy43.1%63.3%2024
Youth NEET RateEconomy23.8%11.9%2024
Military Spending (% of GDP)Economy0.7%0.6%2024
Trade Openness (% of GDP)Economy51.3%26.2%2025/1960 ⚠
Inflation (GDP Deflator)Economy25%13.9%2025
Tourism ReceiptsEconomy$4.87B$321M2020
Tourist ArrivalsEconomy13.03M5.27M2019/2016
Current Account BalanceEconomy-4.2%5.8%2026
Foreign Direct InvestmentEconomy$46.58B$1.08B2024
FDI (% of GDP)Economy15.2%0.4%2024
Government Revenue (% of GDP)Economy10.8%2024
Government Spending (% of GDP)Economy12.3%2024
Youth Unemployment RateEconomy15.3%5.4%2024
Productive Capacity IndexEconomy42.230.72024
Natural Resource RentsEconomy5.1%8.6%2021
Oil Rents (% of GDP)Economy3%6.2%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy2%1.2%2021
Foreign Aid (% of GNI)Economy0.1%0.8%2023
Foreign Aid per CapitaEconomy$4$162023
Lending Interest RateEconomy24.3%14%2024/2023
Real Interest RateEconomy-7%2.9%2024/2023
Gross Savings (% of GDP)Economy8.1%2025
Adjusted Net Income per CapitaEconomy$3,185$1,6632021
Employment in AgricultureEconomy17.5%33.5%2025
Employment in IndustryEconomy29.4%17%2025
Employment in ServicesEconomy53.1%49.5%2025
Vulnerable EmploymentEconomy23.9%66.5%2025
Household Consumption (% of GDP)Economy93.4%2025
Income Share of Poorest 20%Economy9.7%7.5%2021/2022
Bank Branches per 100,000Economy6.63.32024
ATMs per 100,000Economy37.112.82024
GDP per Capita GrowthEconomy2.8%1.9%2025
Debt Service (% of GNI)Economy8.9%5.5%2024
Poverty Rate ($3.65/day)Economy7.1%64%2021/2022
Poverty Rate ($6.85/day)Economy58.5%92.9%2021/2022
Exports of Goods & ServicesTrade$72.39B$387.79M2025/1960 ⚠
Imports of Goods & ServicesTrade$115.11B$710.2M2025/1960 ⚠
Export Diversification IndexTrade0.5990.8262024
Export Concentration IndexTrade0.1350.6942024
Liner Shipping ConnectivityTrade66.720.82021
Fuel Exports (% of Exports)Trade12.5%88.6%2024
Manufactures Exports (% of Exports)Trade51.9%3.5%2024
Food Exports (% of Exports)Trade21.9%6%2024
High-Tech Exports (% of Manufactured)Trade3.8%2.7%2024
Exports (% of GDP)Trade19.8%9.2%2025/1960 ⚠
Imports (% of GDP)Trade31.5%16.9%2025/1960 ⚠
Human Development IndexDevelopment0.7540.562023
Gender Inequality IndexDevelopment0.3980.6772023
Inequality-adjusted HDIDevelopment0.5820.3792023
PopulationDemographics118.37M237.53M2025
Population GrowthDemographics1.6%2.1%2025
Life ExpectancyDemographics71.8 years54.6 years2024
Median AgeDemographics24.7 years18.3 years2026
Fertility RateDemographics2.744.382024
Rural PopulationDemographics57.1%36.2%2025
Population Under 15Demographics31.6%40.5%2025
Urban PopulationDemographics42.9%63.8%2025
Population DensityDemographics120.7/km²266.2/km²2026
Birth RateDemographics20.531.82026
Death RateDemographics5.611.52026
Net Migration RateDemographics-0.44-0.012026
Life Expectancy (Female)Demographics74 years54.9 years2024
Life Expectancy (Male)Demographics69.7 years54.3 years2024
Urban Population GrowthDemographics1.8%3.3%2025
Infant MortalityHealth20.869.82024
HIV PrevalenceHealth0.1%1.2%2024
Health Spending (% of GDP)Health4.9%4.2%2023
Physicians per 1,000Health0.670.382020/2023
UHC Service Coverage IndexHealth71472023
Road Traffic DeathsHealth9.417.22021
Premature NCD MortalityHealth26%17.7%2021
Out-of-Pocket Health SpendingHealth57.2%70.9%2023
Safely Managed SanitationHealth57.3%32.2%2024
Maternal MortalityHealth17992.82023
Under-Five MortalityHealth17.5104.92023
Neonatal MortalityHealth9.2533.72023
Tuberculosis IncidenceHealth102192024
Measles ImmunizationHealth97%56%2025
DTP3 ImmunizationHealth98%62%2025
Basic Drinking WaterHealth18.4%52.3%2024
Basic SanitationHealth39.8%15.7%2024
Diabetes PrevalenceHealth22.4%3%2024
Hospital Beds per 1,000Health1.060.52021/2004 ⚠
Contraceptive PrevalenceHealth58.5%21.6%2014/2021 ⚠
Skilled Birth AttendanceHealth97.1%50.7%2021/2022
Nurses & Midwives per 1,000Health1.791.652018/2022
Adolescent Fertility RateHealth41.1842024
Health Spending per CapitaHealth$141$672023
NCD Share of DeathsHealth64.2%27.7%2021
Smoking PrevalenceHealth25%3.1%2024
Antenatal Care CoverageHealth90.3%67%2014/2018
Child StuntingChild Welfare12.9%33.8%2024
Child WastingChild Welfare3.3%11.6%2021
Birth RegistrationChild Welfare99.1%39.7%2021/2024
Child MarriageChild Welfare15.8%33.4%2021/2024
Overweight ChildrenChild Welfare10.1%1.5%2021
Education Spending (% of GDP)Education3.8%0.3%2008/2023 ⚠
Tertiary EnrollmentEducation38%9.7%2025/2011 ⚠
Adult Literacy RateEducation79.5%70.4%2022/2024
Youth Literacy RateEducation95.2%81.4%2022/2024
Primary Completion RateEducation96.1%77.4%2022/2024
Lower Secondary CompletionEducation88.1%74.1%2022/2024
Primary Net EnrollmentEducation96.5%75.7%2024/2023
Lower Secondary EnrollmentEducation93.4%2024
Upper Secondary EnrollmentEducation70%2024
Upper Secondary CompletionEducation75.7%68.5%2022/2024
Qualified Primary TeachersEducation87.1%62.2%2024/2018 ⚠
Secondary EnrollmentEducation84.8%46.9%2024/2023
UndernourishmentFood Security9.4%19.9%2023
Acute Food InsecurityFood Security16.5M2026-06
Agricultural Land (% of Land)Agriculture4.1%76.2%2023
Food Production IndexAgriculture109.1119.92022
Cassava ProductionAgriculture62.62M t2024
Coffee ProductionAgriculture1.81K t2024
Cocoa ProductionAgriculture350K t2024
Sorghum ProductionAgriculture780K t6.5M t2024
Millet ProductionAgriculture1.55M t2024
Maize ProductionAgriculture7.21M t11.16M t2024
Rice ProductionAgriculture6.43M t9.13M t2024
Wheat ProductionAgriculture9.4M t43.93K t2024
Maize YieldAgriculture7,585 kg/ha2,030 kg/ha2024
Rice YieldAgriculture9,132 kg/ha1,997 kg/ha2024
Wheat YieldAgriculture6,778 kg/ha1,574 kg/ha2024
Cattle StockAgriculture2.6M head20.9M head2024
Homicide RateGovernance1.315.72017/2023 ⚠
Corruption Perceptions IndexGovernance30262024
Electoral Democracy IndexGovernance0.1870.5052025
Liberal Democracy IndexGovernance0.1150.3112025
Political Corruption IndexGovernance0.7290.8342025
Control of CorruptionGovernance-0.83-1.112024
Government EffectivenessGovernance-0.1-1.012024
Rule of LawGovernance-0.75-1.012024
Political StabilityGovernance-0.98-22024
Regulatory QualityGovernance-0.5-0.632024
Voice and AccountabilityGovernance-1.6-0.732024
Refugees HostedHumanitarian220.03K123.85K2025
Internally Displaced PeopleHumanitarian03.54M2025
Asylum Seekers HostedHumanitarian878.27K18.19K2025
Stateless PeopleHumanitarian502025
Internet UsersTechnology74.6%41.2%2024
Mobile SubscriptionsTechnology97.170.82024
4G CoverageTechnology98%84.6%2024
Fixed Broadband SubscriptionsTechnology11.70.12024
Mobile Data PriceTechnology1.6%1.6%2025
3G CoverageTechnology99.8%89.4%2024
Fixed Broadband PriceTechnology2.5%15.5%2025
Mobile Bundle PriceTechnology0.7%2.7%2025
R&D Spending (% of GDP)Technology1%0.3%2024/2019 ⚠
Electricity AccessInfrastructure100%62.5%2024
Air Transport PassengersInfrastructure16.67M5.27M2023
Slum PopulationInfrastructure3.8%48.5%2022
Renewable Energy CapacityEnergy9.3K MW3.2K MW2025
Solar CapacityEnergy3.3K MW284.5 MW2025
Wind CapacityEnergy3K MW2025
Hydropower CapacityEnergy2.8K MW2.9K MW2025
Renewable Energy ShareEnergy6.1%80.3%2021
Clean Cooking AccessEnergy99.9%26.2%2023
Electricity Consumption per CapitaEnergy1,493 kWh144 kWh2023
Power Transmission LossesEnergy19.9%14.2%2023
Off-grid Renewable CapacityEnergy35.3 MW118.1 MW2025
Rural Electricity AccessEnergy100%23.5%2024
Solar Share of ElectricityEnergy3.1%0.3%2025
Wind Share of ElectricityEnergy3.8%0%2025
Hydropower Share of ElectricityEnergy6.1%30.9%2025
Fossil Share of ElectricityEnergy87%68.7%2025
Electricity DemandEnergy244 TWh39 TWh2025
Electricity Carbon IntensityEnergy563 gCO₂/kWh456 gCO₂/kWh2025
Primary Energy per CapitaEnergy9,661 kWh2,343 kWh2024/2023
CO2 Emissions per CapitaClimate2.5 t0.57 t2024
Renewable Electricity OutputClimate12.2%22.2%2021
Forest AreaClimate0%23.2%2023
Protected AreasClimate11.6%11.6%2025
Freshwater WithdrawalsClimate7,750%5.6%2022
PM2.5 Air PollutionClimate43.1 µg/m³65.7 µ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=EG,NG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Nigeria have the larger economy?

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

How do Egypt and Nigeria compare across indicators?

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

More comparisons