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

Country comparison

Egypt vs Uganda

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

GDP$429.65B vs $73.37BEgypt vs Uganda
GDP per Capita$3,904 vs $1,476Egypt vs Uganda
Population118.37M vs 51.38MEgypt vs Uganda

Indicator by indicator

202 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 UgandaPeriod
GDPEconomy$429.65B$73.37B2026
GDP per CapitaEconomy$3,904$1,4762026
Inflation RateEconomy14.3%3.7%2026-06
Official Exchange RateEconomy49.83 LCU/USD3,681.36 LCU/USD2026-07
Budget BalanceEconomy-12.1%-5.9%2026
Unemployment RateEconomy6.8%2.7%2025
Public DebtEconomy87%55%2026
Trade BalanceEconomy$-42.71B$-4.54B2025
GDP GrowthEconomy4.2%7.5%2026
GNI per CapitaEconomy$3,260$1,1202025
GNI per Capita (PPP)Economy$19,330$3,4102025
GDP (PPP)Economy$2.39T$179.21B2025
Agriculture (% of GDP)Economy16.6%26.1%2025
Industry (% of GDP)Economy32.1%24.3%2025
Manufacturing (% of GDP)Economy14.5%14.5%2025
Services (% of GDP)Economy47.3%42.1%2025
Investment (% of GDP)Economy12.9%22.6%2025
Remittances ReceivedEconomy$41.52B$1.43B2025/2024
Remittances (% of GDP)Economy11.4%2.7%2025/2024
External Debt (% of GNI)Economy42%39.2%2024
Foreign ReservesEconomy$48.88B$3.48B2025/2024
Credit to Private Sector (% of GDP)Economy25.8%14.3%2025/2024
Tax Revenue (% of GDP)Economy12.5%12.6%2015/2024 ⚠
Labor Force ParticipationEconomy44.6%80%2025
Female Labor Force ParticipationEconomy18.5%75.6%2025
Income Inequality (Gini)Economy28.542.72021/2019
Extreme Poverty RateEconomy1.4%59.8%2021/2019
Account OwnershipEconomy43.1%72.8%2024
Youth NEET RateEconomy23.8%13.8%2024/2021
Military Spending (% of GDP)Economy0.7%1.9%2024
Trade Openness (% of GDP)Economy51.3%50.2%2025
Inflation (GDP Deflator)Economy25%5.2%2025
Tourism ReceiptsEconomy$4.87B$518M2020
Tourist ArrivalsEconomy13.03M473K2019/2020
Current Account BalanceEconomy-4.2%-3.9%2026
Foreign Direct InvestmentEconomy$46.58B$3.3B2024
FDI (% of GDP)Economy15.2%5.9%2024
Government Revenue (% of GDP)Economy14.7%2024
Government Spending (% of GDP)Economy18.7%2024
Youth Unemployment RateEconomy15.3%5.2%2024/2021
Productive Capacity IndexEconomy42.229.42024
Natural Resource RentsEconomy5.1%7.5%2021
Oil Rents (% of GDP)Economy3%0%2021
Mineral Rents (% of GDP)Economy0%0%2021
Natural Gas Rents (% of GDP)Economy2%0%2021
Foreign Aid (% of GNI)Economy0.1%4.7%2023
Foreign Aid per CapitaEconomy$4$462023
Lending Interest RateEconomy24.3%19.8%2024/2018 ⚠
Real Interest RateEconomy-7%14.7%2024/2018 ⚠
Gross Savings (% of GDP)Economy8.1%24.7%2025/2024
Adjusted Net Income per CapitaEconomy$3,185$6542021
Employment in AgricultureEconomy17.5%64.9%2025
Employment in IndustryEconomy29.4%7.3%2025
Employment in ServicesEconomy53.1%27.9%2025
Vulnerable EmploymentEconomy23.9%74.4%2025
Household Consumption (% of GDP)Economy93.4%65.2%2025
Income Share of Poorest 20%Economy9.7%6.1%2021/2019
Bank Branches per 100,000Economy6.62.12024
ATMs per 100,000Economy37.13.62024
GDP per Capita GrowthEconomy2.8%3.5%2025
Debt Service (% of GNI)Economy8.9%3%2024
Poverty Rate ($3.65/day)Economy7.1%76.3%2021/2019
Poverty Rate ($6.85/day)Economy58.5%93.6%2021/2019
Exports of Goods & ServicesTrade$72.39B$13.29B2025
Imports of Goods & ServicesTrade$115.11B$17.83B2025
Export Diversification IndexTrade0.5990.8012024
Export Concentration IndexTrade0.1350.4192024
Liner Shipping ConnectivityTrade66.72021
Fuel Exports (% of Exports)Trade12.5%2.3%2024
Manufactures Exports (% of Exports)Trade51.9%14.3%2024
Food Exports (% of Exports)Trade21.9%39.3%2024
High-Tech Exports (% of Manufactured)Trade3.8%1.9%2024
Exports (% of GDP)Trade19.8%21.4%2025
Imports (% of GDP)Trade31.5%28.8%2025
Human Development IndexDevelopment0.7540.5822023
Gender Inequality IndexDevelopment0.3980.5242023
Inequality-adjusted HDIDevelopment0.5820.42023
PopulationDemographics118.37M51.38M2025
Population GrowthDemographics1.6%2.7%2025
Life ExpectancyDemographics71.8 years68.5 years2024
Median AgeDemographics24.7 years17.1 years2026
Fertility RateDemographics2.744.172024
Rural PopulationDemographics57.1%68.1%2025
Population Under 15Demographics31.6%43.1%2025
Urban PopulationDemographics42.9%31.9%2025
Population DensityDemographics120.7/km²264.1/km²2026
Birth RateDemographics20.533.12026
Death RateDemographics5.64.662026
Net Migration RateDemographics-0.44-2.312026
Life Expectancy (Female)Demographics74 years71.4 years2024
Life Expectancy (Male)Demographics69.7 years65.5 years2024
Urban Population GrowthDemographics1.8%4.8%2025
Infant MortalityHealth20.835.92024
HIV PrevalenceHealth0.1%4.9%2024
Health Spending (% of GDP)Health4.9%4.2%2023
Physicians per 1,000Health0.670.192020/2022
UHC Service Coverage IndexHealth71542023
Road Traffic DeathsHealth9.4162021
Premature NCD MortalityHealth26%21.5%2021
Out-of-Pocket Health SpendingHealth57.2%32.2%2023
Safely Managed SanitationHealth57.3%20.4%2024
Maternal MortalityHealth17170.32023
Under-Five MortalityHealth17.538.82023
Neonatal MortalityHealth9.2517.92023
Tuberculosis IncidenceHealth101972024
Measles ImmunizationHealth97%92%2025
DTP3 ImmunizationHealth98%97%2025
Basic Drinking WaterHealth18.4%44.9%2024
Basic SanitationHealth39.8%3.5%2024
Diabetes PrevalenceHealth22.4%2.2%2024
Hospital Beds per 1,000Health1.060.52021/2010 ⚠
Contraceptive PrevalenceHealth58.5%43%2014/2022 ⚠
Skilled Birth AttendanceHealth97.1%74.2%2021/2016 ⚠
Nurses & Midwives per 1,000Health1.792.272018/2022
Adolescent Fertility RateHealth41.1104.72024
Health Spending per CapitaHealth$141$452023
NCD Share of DeathsHealth64.2%36.9%2021
Smoking PrevalenceHealth25%7.5%2024
Antenatal Care CoverageHealth90.3%95.1%2014/2019 ⚠
Child StuntingChild Welfare12.9%23.5%2024
Child WastingChild Welfare3.3%3.2%2021/2022
Birth RegistrationChild Welfare99.1%32.2%2021/2016 ⚠
Child MarriageChild Welfare15.8%34%2021/2016 ⚠
Overweight ChildrenChild Welfare10.1%3.4%2021/2022
Education Spending (% of GDP)Education3.8%2.6%2008/2022 ⚠
Tertiary EnrollmentEducation38%4.6%2025/2014 ⚠
Adult Literacy RateEducation79.5%77%2022/2024
Youth Literacy RateEducation95.2%85.2%2022/2024
Primary Completion RateEducation96.1%38.7%2022/2024
Lower Secondary CompletionEducation88.1%21.3%2022/2024
Primary Net EnrollmentEducation96.5%95.9%2024/2013 ⚠
Lower Secondary EnrollmentEducation93.4%2024
Upper Secondary EnrollmentEducation70%24.6%2024/2008 ⚠
Upper Secondary CompletionEducation75.7%10.1%2022/2024
Qualified Primary TeachersEducation87.1%79.6%2024/2017 ⚠
Secondary EnrollmentEducation84.8%24.1%2024/2007 ⚠
UndernourishmentFood Security9.4%22%2023
Acute Food InsecurityFood Security1.75M2024-11
Agricultural Land (% of Land)Agriculture4.1%71.9%2023
Food Production IndexAgriculture109.1135.52022
Cassava ProductionAgriculture1.63M t2024
Coffee ProductionAgriculture402K t2024
Cocoa ProductionAgriculture55K t2024
Sorghum ProductionAgriculture780K t225K t2024
Millet ProductionAgriculture120K t2024
Maize ProductionAgriculture7.21M t5M t2024
Rice ProductionAgriculture6.43M t300K t2024
Wheat ProductionAgriculture9.4M t25K t2024
Maize YieldAgriculture7,585 kg/ha2,174 kg/ha2024
Rice YieldAgriculture9,132 kg/ha1,304 kg/ha2024
Wheat YieldAgriculture6,778 kg/ha1,667 kg/ha2024
Cattle StockAgriculture2.6M head14.7M head2024
Homicide RateGovernance1.392017/2023 ⚠
Corruption Perceptions IndexGovernance30262024
Electoral Democracy IndexGovernance0.1870.2532025
Liberal Democracy IndexGovernance0.1150.1652025
Political Corruption IndexGovernance0.7290.8892025
Control of CorruptionGovernance-0.83-1.122024
Government EffectivenessGovernance-0.1-0.352024
Rule of LawGovernance-0.75-0.742024
Political StabilityGovernance-0.98-1.022024
Regulatory QualityGovernance-0.5-0.522024
Voice and AccountabilityGovernance-1.6-1.012024
Refugees HostedHumanitarian220.03K1.94M2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian878.27K35.25K2025
Stateless PeopleHumanitarian510.28K2025
Internet UsersTechnology74.6%8.9%2024
Mobile SubscriptionsTechnology97.183.22024
4G CoverageTechnology98%82%2024
Fixed Broadband SubscriptionsTechnology11.70.22024
Mobile Data PriceTechnology1.6%6.1%2025
3G CoverageTechnology99.8%97.8%2024
Fixed Broadband PriceTechnology2.5%34%2025
Mobile Bundle PriceTechnology0.7%3.9%2025
R&D Spending (% of GDP)Technology1%0.4%2024/2023
Electricity AccessInfrastructure100%55.3%2024
Air Transport PassengersInfrastructure16.67M21.65K2023
Slum PopulationInfrastructure3.8%52.7%2022
Renewable Energy CapacityEnergy9.3K MW1.9K MW2025
Solar CapacityEnergy3.3K MW95.8 MW2025
Wind CapacityEnergy3K MW2025
Hydropower CapacityEnergy2.8K MW1.7K MW2025
Renewable Energy ShareEnergy6.1%90.9%2021/2022
Clean Cooking AccessEnergy99.9%1.8%2023
Electricity Consumption per CapitaEnergy1,493 kWh95 kWh2023
Power Transmission LossesEnergy19.9%18.9%2023
Off-grid Renewable CapacityEnergy35.3 MW12.3 MW2025
Rural Electricity AccessEnergy100%44.8%2024
Solar Share of ElectricityEnergy3.1%2.9%2025/2024
Wind Share of ElectricityEnergy3.8%0%2025/2024
Hydropower Share of ElectricityEnergy6.1%86.1%2025/2024
Fossil Share of ElectricityEnergy87%2.9%2025/2024
Electricity DemandEnergy244 TWh5.4 TWh2025/2024
Electricity Carbon IntensityEnergy563 gCO₂/kWh59 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy9,661 kWh660 kWh2024/2023
CO2 Emissions per CapitaClimate2.5 t0.17 t2024
Renewable Electricity OutputClimate12.2%90%2021
Forest AreaClimate0%11%2023
Protected AreasClimate11.6%16.1%2025
Freshwater WithdrawalsClimate7,750%1.6%2022
PM2.5 Air PollutionClimate43.1 µg/m³31.2 µ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,UG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Uganda have the larger economy?

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

How do Egypt and Uganda compare across indicators?

This page compares Egypt and Uganda on 202 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,UG with a free Africa API key to get both countries' latest values as JSON.

More comparisons