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

Country comparison

Egypt vs Ghana

Egypt and Ghana 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 $118.29BEgypt vs Ghana
GDP per Capita$3,904 vs $3,314Egypt vs Ghana
Population118.37M vs 35.06MEgypt vs Ghana

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 GhanaPeriod
GDPEconomy$429.65B$118.29B2026
GDP per CapitaEconomy$3,904$3,3142026
Inflation RateEconomy14.3%5.3%2026-06
Central Bank Policy RateEconomy14%2026-06-18
Official Exchange RateEconomy49.83 LCU/USD11.46 LCU/USD2026-07
Budget BalanceEconomy-12.1%-2.3%2026
Unemployment RateEconomy6.8%3%2025
Public DebtEconomy87%53%2026
Trade BalanceEconomy$-42.71B$953.4M2025/2024
GDP GrowthEconomy4.2%4.8%2026
GNI per CapitaEconomy$3,260$2,6302025
GNI per Capita (PPP)Economy$19,330$8,0802025
GDP (PPP)Economy$2.39T$301.91B2025
Agriculture (% of GDP)Economy16.6%21.3%2025
Industry (% of GDP)Economy32.1%29.3%2025
Manufacturing (% of GDP)Economy14.5%10.1%2025
Services (% of GDP)Economy47.3%42.9%2025
Investment (% of GDP)Economy12.9%9.9%2025/2024
Remittances ReceivedEconomy$41.52B$2.42B2025
Remittances (% of GDP)Economy11.4%2.1%2025
External Debt (% of GNI)Economy42%46.9%2024
Foreign ReservesEconomy$48.88B$4.47B2025/2024
Credit to Private Sector (% of GDP)Economy25.8%8.9%2025/2024
Tax Revenue (% of GDP)Economy12.5%12.4%2015/2023 ⚠
Labor Force ParticipationEconomy44.6%58.5%2025
Female Labor Force ParticipationEconomy18.5%55.3%2025
Income Inequality (Gini)Economy28.543.52021/2016 ⚠
Extreme Poverty RateEconomy1.4%39%2021/2016 ⚠
Account OwnershipEconomy43.1%81.2%2024
Youth NEET RateEconomy23.8%23.9%2024
Military Spending (% of GDP)Economy0.7%0.4%2024
Trade Openness (% of GDP)Economy51.3%69%2025/2024
Inflation (GDP Deflator)Economy25%14.4%2025
Tourism ReceiptsEconomy$4.87B$191M2020
Tourist ArrivalsEconomy13.03M897K2019/2015
Current Account BalanceEconomy-4.2%10.1%2026
Foreign Direct InvestmentEconomy$46.58B$1.67B2024
FDI (% of GDP)Economy15.2%2%2024
Government Revenue (% of GDP)Economy15.9%2024
Government Spending (% of GDP)Economy23.2%2024
Youth Unemployment RateEconomy15.3%10%2024
Productive Capacity IndexEconomy42.234.92024
Natural Resource RentsEconomy5.1%13.3%2021
Oil Rents (% of GDP)Economy3%4.1%2021
Mineral Rents (% of GDP)Economy0%5.2%2021
Natural Gas Rents (% of GDP)Economy2%0.4%2021
Foreign Aid (% of GNI)Economy0.1%2.1%2023
Foreign Aid per CapitaEconomy$4$472023
Lending Interest RateEconomy24.3%2024
Real Interest RateEconomy-7%2024
Gross Savings (% of GDP)Economy8.1%12.4%2025/2024
Adjusted Net Income per CapitaEconomy$3,185$1,8422021
Employment in AgricultureEconomy17.5%34.6%2025
Employment in IndustryEconomy29.4%18.3%2025
Employment in ServicesEconomy53.1%47.2%2025
Vulnerable EmploymentEconomy23.9%60%2025
Household Consumption (% of GDP)Economy93.4%83%2025/2024
Income Share of Poorest 20%Economy9.7%4.7%2021/2016 ⚠
Bank Branches per 100,000Economy6.65.92024
ATMs per 100,000Economy37.1112024
GDP per Capita GrowthEconomy2.8%4%2025
Debt Service (% of GNI)Economy8.9%3.5%2024
Poverty Rate ($3.65/day)Economy7.1%56.3%2021/2016 ⚠
Poverty Rate ($6.85/day)Economy58.5%85.4%2021/2016 ⚠
Exports of Goods & ServicesTrade$72.39B$29.2B2025/2024
Imports of Goods & ServicesTrade$115.11B$28.24B2025/2024
Export Diversification IndexTrade0.5990.8172024
Export Concentration IndexTrade0.1350.5142024
Liner Shipping ConnectivityTrade66.737.22021
Fuel Exports (% of Exports)Trade12.5%24.5%2024/2023
Manufactures Exports (% of Exports)Trade51.9%6%2024/2023
Food Exports (% of Exports)Trade21.9%18.1%2024/2023
High-Tech Exports (% of Manufactured)Trade3.8%2.1%2024/2023
Exports (% of GDP)Trade19.8%35.1%2025/2024
Imports (% of GDP)Trade31.5%33.9%2025/2024
Human Development IndexDevelopment0.7540.6282023
Gender Inequality IndexDevelopment0.3980.5142023
Inequality-adjusted HDIDevelopment0.5820.3992023
PopulationDemographics118.37M35.06M2025
Population GrowthDemographics1.6%1.8%2025
Life ExpectancyDemographics71.8 years65.7 years2024
Median AgeDemographics24.7 years21.6 years2026
Fertility RateDemographics2.743.342024
Rural PopulationDemographics57.1%41.1%2025
Population Under 15Demographics31.6%35.4%2025
Urban PopulationDemographics42.9%58.9%2025
Population DensityDemographics120.7/km²156.9/km²2026
Birth RateDemographics20.525.32026
Death RateDemographics5.66.972026
Net Migration RateDemographics-0.44-0.682026
Life Expectancy (Female)Demographics74 years68.2 years2024
Life Expectancy (Male)Demographics69.7 years63.3 years2024
Urban Population GrowthDemographics1.8%2.8%2025
Infant MortalityHealth20.827.52024
HIV PrevalenceHealth0.1%1.5%2024
Health Spending (% of GDP)Health4.9%2.9%2023
Physicians per 1,000Health0.670.272020/2023
UHC Service Coverage IndexHealth71562023
Road Traffic DeathsHealth9.425.92021
Premature NCD MortalityHealth26%22.2%2021
Out-of-Pocket Health SpendingHealth57.2%26.7%2023
Safely Managed SanitationHealth57.3%18.8%2024
Maternal MortalityHealth17234.32023
Under-Five MortalityHealth17.537.12023
Neonatal MortalityHealth9.2521.22023
Tuberculosis IncidenceHealth101262024
Measles ImmunizationHealth97%93%2025
DTP3 ImmunizationHealth98%99%2025
Basic Drinking WaterHealth18.4%47%2024
Basic SanitationHealth39.8%12.8%2024
Diabetes PrevalenceHealth22.4%2.7%2024
Hospital Beds per 1,000Health1.060.692021/2015 ⚠
Contraceptive PrevalenceHealth58.5%36.3%2014/2022 ⚠
Skilled Birth AttendanceHealth97.1%78.9%2021/2018
Nurses & Midwives per 1,000Health1.794.112018/2023 ⚠
Adolescent Fertility RateHealth41.157.42024
Health Spending per CapitaHealth$141$702023
NCD Share of DeathsHealth64.2%46.8%2021
Smoking PrevalenceHealth25%3.3%2024
Antenatal Care CoverageHealth90.3%97.4%2014/2019 ⚠
Child StuntingChild Welfare12.9%15.6%2024
Child WastingChild Welfare3.3%5.8%2021/2022
Birth RegistrationChild Welfare99.1%74.5%2021/2022
Child MarriageChild Welfare15.8%16.1%2021/2022
Overweight ChildrenChild Welfare10.1%2%2021/2022
Education Spending (% of GDP)Education3.8%2.9%2008/2022 ⚠
Tertiary EnrollmentEducation38%21.3%2025/2024
Adult Literacy RateEducation79.5%76.5%2022/2021
Youth Literacy RateEducation95.2%91.5%2022/2021
Primary Completion RateEducation96.1%77.6%2022/2024
Lower Secondary CompletionEducation88.1%71.2%2022/2024
Primary Net EnrollmentEducation96.5%95.2%2024
Lower Secondary EnrollmentEducation93.4%94.8%2024
Upper Secondary EnrollmentEducation70%41.9%2024
Upper Secondary CompletionEducation75.7%45%2022/2024
Qualified Primary TeachersEducation87.1%89.3%2024
Secondary EnrollmentEducation84.8%75.7%2024
UndernourishmentFood Security9.4%6.3%2023
Agricultural Land (% of Land)Agriculture4.1%55.4%2023
Food Production IndexAgriculture109.1135.52022
Cassava ProductionAgriculture27.92M t2024
Coffee ProductionAgriculture736 t2024
Cocoa ProductionAgriculture530K t2024
Sorghum ProductionAgriculture780K t479K t2024
Millet ProductionAgriculture210K t2024
Maize ProductionAgriculture7.21M t3.79M t2024
Rice ProductionAgriculture6.43M t1.72M t2024
Wheat ProductionAgriculture9.4M t2024
Maize YieldAgriculture7,585 kg/ha2,772 kg/ha2024
Rice YieldAgriculture9,132 kg/ha3,640 kg/ha2024
Wheat YieldAgriculture6,778 kg/ha2024
Cattle StockAgriculture2.6M head2.4M head2024
Homicide RateGovernance1.31.82017/2022 ⚠
Corruption Perceptions IndexGovernance30422024
Electoral Democracy IndexGovernance0.1870.7112025
Liberal Democracy IndexGovernance0.1150.6062025
Political Corruption IndexGovernance0.7290.6152025
Control of CorruptionGovernance-0.83-0.192024
Government EffectivenessGovernance-0.10.062024
Rule of LawGovernance-0.750.052024
Political StabilityGovernance-0.980.012024
Regulatory QualityGovernance-0.5-0.092024
Voice and AccountabilityGovernance-1.60.22024
Refugees HostedHumanitarian220.03K21.05K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian878.27K4752025
Stateless PeopleHumanitarian502025
Internet UsersTechnology74.6%72.2%2024
Mobile SubscriptionsTechnology97.1113.62024
4G CoverageTechnology98%99.3%2024
Fixed Broadband SubscriptionsTechnology11.70.72024
Mobile Data PriceTechnology1.6%3.1%2025
3G CoverageTechnology99.8%99.5%2024
Fixed Broadband PriceTechnology2.5%3.7%2025
Mobile Bundle PriceTechnology0.7%0.7%2025
R&D Spending (% of GDP)Technology1%0.4%2024/2010 ⚠
Electricity AccessInfrastructure100%91.9%2024
Air Transport PassengersInfrastructure16.67M440.68K2023
Slum PopulationInfrastructure3.8%33.5%2022
Renewable Energy CapacityEnergy9.3K MW1.8K MW2025
Solar CapacityEnergy3.3K MW185.5 MW2025
Wind CapacityEnergy3K MW0 MW2025
Hydropower CapacityEnergy2.8K MW1.6K MW2025
Renewable Energy ShareEnergy6.1%39%2021
Clean Cooking AccessEnergy99.9%32.8%2023
Electricity Consumption per CapitaEnergy1,493 kWh565 kWh2023
Power Transmission LossesEnergy19.9%11.2%2023
Off-grid Renewable CapacityEnergy35.3 MW20.5 MW2025
Rural Electricity AccessEnergy100%82.6%2024
Solar Share of ElectricityEnergy3.1%0.7%2025/2024
Wind Share of ElectricityEnergy3.8%0%2025/2024
Hydropower Share of ElectricityEnergy6.1%35.4%2025/2024
Fossil Share of ElectricityEnergy87%63.8%2025/2024
Electricity DemandEnergy244 TWh22 TWh2025/2024
Electricity Carbon IntensityEnergy563 gCO₂/kWh469 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy9,661 kWh3,075 kWh2024/2023
CO2 Emissions per CapitaClimate2.5 t0.7 t2024
Renewable Electricity OutputClimate12.2%34.9%2021
Forest AreaClimate0%35.2%2023
Protected AreasClimate11.6%7.9%2025
Freshwater WithdrawalsClimate7,750%4.8%2022
PM2.5 Air PollutionClimate43.1 µg/m³28.1 µ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,GH" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Ghana have the larger economy?

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

How do Egypt and Ghana compare across indicators?

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

More comparisons