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

Country comparison

South Africa vs Ghana

South Africa and Ghana side by side across 175 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.

GDP$479.96B vs $118.29BSouth Africa vs Ghana
GDP per Capita$7,503 vs $3,314South Africa vs Ghana
Population64.75M vs 35.06MSouth Africa vs Ghana

Indicator by indicator

175 indicators
Indicator South Africa GhanaPeriod
GDPEconomy$479.96B$118.29B2026
GDP per CapitaEconomy$7,503$3,3142026
Inflation RateEconomy5%4.8%2026-07
Central Bank Policy RateEconomy7%14%2026-07-01
Official Exchange RateEconomy16.17 LCU/USD11.4 LCU/USD2026-08
Budget BalanceEconomy-4.9%-2.3%2026
Unemployment RateEconomy32.4%3%2025
Public DebtEconomy78.9%53%2026
Trade BalanceEconomy$8.16B$953.4M2025/2024
GDP GrowthEconomy1%4.8%2026
GNI per CapitaEconomy$6,270$2,6302025
GNI per Capita (PPP)Economy$15,600$8,0802025
GDP (PPP)Economy$1.03T$301.91B2025
Agriculture (% of GDP)Economy2.8%21.3%2025
Industry (% of GDP)Economy24.1%29.3%2025
Manufacturing (% of GDP)Economy12.3%10.1%2025
Services (% of GDP)Economy63.1%42.9%2025
Investment (% of GDP)Economy13.9%9.9%2025/2024
Remittances ReceivedEconomy$1B$2.42B2025
Remittances (% of GDP)Economy0.2%2.1%2025
External Debt (% of GNI)Economy44.8%46.9%2024
Foreign ReservesEconomy$76.02B$4.47B2025/2024
Credit to Private Sector (% of GDP)Economy89.4%8.9%2024
Tax Revenue (% of GDP)Economy25.9%12.4%2024/2023
Labor Force ParticipationEconomy55.6%58.5%2025
Female Labor Force ParticipationEconomy49.9%55.3%2025
Account OwnershipEconomy81.1%81.2%2024
Youth NEET RateEconomy34.6%23.9%2024
Military Spending (% of GDP)Economy0.7%0.4%2024
Trade Openness (% of GDP)Economy60.9%69%2025/2024
Inflation (GDP Deflator)Economy2.8%14.4%2025
Current Account BalanceEconomy-0.9%10.1%2026
Foreign Direct InvestmentEconomy$-2.31B$1.91B2025
FDI (% of GDP)Economy-0.5%1.7%2025
Government Revenue (% of GDP)Economy27.2%15.9%2024
Government Spending (% of GDP)Economy33%23.2%2024
Youth Unemployment RateEconomy60.1%10%2024
Productive Capacity IndexEconomy51.734.92024
Foreign Aid (% of GNI)Economy0.4%2.1%2023
Foreign Aid per CapitaEconomy$24$472023
Lending Interest RateEconomy10.7%2025
Real Interest RateEconomy7.7%2025
Gross Savings (% of GDP)Economy12.9%12.4%2025/2024
Employment in AgricultureEconomy5.4%34.6%2025
Employment in IndustryEconomy20.8%18.3%2025
Employment in ServicesEconomy73.8%47.2%2025
Vulnerable EmploymentEconomy11.7%60%2025
Household Consumption (% of GDP)Economy65.8%83%2025/2024
Bank Branches per 100,000Economy85.92024
ATMs per 100,000Economy46112024
GDP per Capita GrowthEconomy-0%4%2025
Debt Service (% of GNI)Economy5.7%3.5%2024
Exports of Goods & ServicesTrade$134.18B$29.2B2025/2024
Imports of Goods & ServicesTrade$126.02B$28.24B2025/2024
Export Diversification IndexTrade0.5570.8092025
Export Concentration IndexTrade0.1530.4872025
Fuel Exports (% of Exports)Trade8.2%24.5%2025/2023
Manufactures Exports (% of Exports)Trade38.3%6%2025/2023
Food Exports (% of Exports)Trade12.8%18.1%2025/2023
High-Tech Exports (% of Manufactured)Trade5.7%2.1%2024/2023
Exports (% of GDP)Trade31.4%35.1%2025/2024
Imports (% of GDP)Trade29.5%33.9%2025/2024
Human Development IndexDevelopment0.7410.6282023
Gender Inequality IndexDevelopment0.3880.5142023
Inequality-adjusted HDIDevelopment0.4760.3992023
PopulationDemographics64.75M35.06M2025
Population GrowthDemographics1.1%1.8%2025
Life ExpectancyDemographics66.3 years65.7 years2024
Median AgeDemographics28.9 years21.6 years2026
Fertility RateDemographics2.213.342024
Rural PopulationDemographics36.2%41.1%2025
Population Under 15Demographics25.7%35.4%2025
Urban PopulationDemographics63.8%58.9%2025
Population DensityDemographics53.6/km²156.9/km²2026
Birth RateDemographics17.825.32026
Death RateDemographics9.316.972026
Net Migration RateDemographics2.01-0.682026
Life Expectancy (Female)Demographics69.8 years68.2 years2024
Life Expectancy (Male)Demographics62.8 years63.3 years2024
Urban Population GrowthDemographics1.3%2.8%2025
Infant MortalityHealth24.227.52024
HIV PrevalenceHealth17.2%1.5%2024
Health Spending (% of GDP)Health8.9%2.9%2023
Physicians per 1,000Health0.272023
UHC Service Coverage IndexHealth74562023
Out-of-Pocket Health SpendingHealth6.7%26.7%2023
Safely Managed SanitationHealth73.8%18.8%2024
Maternal MortalityHealth117.6234.32023
Under-Five MortalityHealth35.135.92024
Neonatal MortalityHealth12.418.12024
Tuberculosis IncidenceHealth3891262024
Measles ImmunizationHealth66%93%2025
DTP3 ImmunizationHealth65%99%2025
Basic Drinking WaterHealth22.2%47%2024
Basic SanitationHealth3.6%12.8%2024
Diabetes PrevalenceHealth7.2%2.7%2024
Nurses & Midwives per 1,000Health4.112023
Adolescent Fertility RateHealth51.857.42024
Health Spending per CapitaHealth$537$702023
Smoking PrevalenceHealth23.7%3.3%2024
Child StuntingChild Welfare24.4%15.6%2024
Education Spending (% of GDP)Education6%2024
Tertiary EnrollmentEducation23.5%21.3%2023/2024
Adult Literacy RateEducation91.2%2024
Youth Literacy RateEducation97.2%2024
Primary Completion RateEducation97.6%77.6%2024
Lower Secondary CompletionEducation92.5%71.2%2024
Primary Net EnrollmentEducation93.9%95.2%2023/2024
Lower Secondary EnrollmentEducation90.4%94.8%2023/2024
Upper Secondary EnrollmentEducation86.9%41.9%2023/2024
Upper Secondary CompletionEducation62.2%45%2024
Qualified Primary TeachersEducation89.3%2024
Secondary EnrollmentEducation104.1%75.7%2023/2024
UndernourishmentFood Security10%6.3%2023
Agricultural Land (% of Land)Agriculture79.4%55.4%2023
Cassava ProductionAgriculture27.92M t2024
Coffee ProductionAgriculture736 t2024
Cocoa ProductionAgriculture530K t2024
Sorghum ProductionAgriculture98K t479K t2024
Millet ProductionAgriculture6.33K t210K t2024
Maize ProductionAgriculture12.85M t3.79M t2024
Rice ProductionAgriculture3.08K t1.72M t2024
Wheat ProductionAgriculture1.92M t2024
Maize YieldAgriculture4,874 kg/ha2,772 kg/ha2024
Rice YieldAgriculture2,912 kg/ha3,640 kg/ha2024
Wheat YieldAgriculture3,809 kg/ha2024
Cattle StockAgriculture12.1M head2.4M head2024
Corruption Perceptions IndexGovernance41422024
Electoral Democracy IndexGovernance0.7430.7112025
Liberal Democracy IndexGovernance0.6330.6062025
Political Corruption IndexGovernance0.5380.6152025
Control of CorruptionGovernance-0.19-0.192024
Government EffectivenessGovernance-0.230.062024
Rule of LawGovernance0.020.052024
Political StabilityGovernance-0.620.012024
Regulatory QualityGovernance-0.06-0.092024
Voice and AccountabilityGovernance0.610.22024
Organized Violence DeathsGovernance17 deaths98 deaths2025
State-Based Conflict DyadsGovernance002025
Non-State Conflict DyadsGovernance222025
One-Sided Violence DyadsGovernance002025
Refugees HostedHumanitarian55.18K21.05K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian82.36K4752025
Stateless PeopleHumanitarian002025
Internet UsersTechnology78.4%72.2%2024
Mobile SubscriptionsTechnology179.3113.62024
4G CoverageTechnology99.5%99.4%2025
Fixed Broadband SubscriptionsTechnology5.30.72024
Mobile Data PriceTechnology1.3%3.1%2025
3G CoverageTechnology99.9%99.7%2025
Fixed Broadband PriceTechnology3.4%3.7%2025
Mobile Bundle PriceTechnology1.1%0.7%2025
Electricity AccessInfrastructure90.2%91.9%2024
Air Transport PassengersInfrastructure15.45M440.68K2023
Renewable Energy CapacityEnergy16.6K MW1.8K MW2025
Solar CapacityEnergy11.3K MW185.5 MW2025
Wind CapacityEnergy4.3K MW0 MW2025
Hydropower CapacityEnergy751.7 MW1.6K MW2025
Clean Cooking AccessEnergy89.8%32.8%2023
Electricity Consumption per CapitaEnergy3,247 kWh565 kWh2023
Power Transmission LossesEnergy10.2%11.2%2023
Off-grid Renewable CapacityEnergy14.1 MW20.5 MW2025
Rural Electricity AccessEnergy86.3%82.6%2024
Solar Share of ElectricityEnergy8%0.7%2025/2024
Wind Share of ElectricityEnergy4.7%0%2025/2024
Hydropower Share of ElectricityEnergy0.8%35.4%2025/2024
Fossil Share of ElectricityEnergy82.2%63.8%2025/2024
Electricity DemandEnergy237 TWh22 TWh2025/2024
Electricity Carbon IntensityEnergy699 gCO₂/kWh469 gCO₂/kWh2025/2024
Primary Energy per CapitaEnergy21,287 kWh3,075 kWh2024/2023
CO2 Emissions per CapitaClimate6.88 t0.7 t2024
Forest AreaClimate14%35.2%2023
Protected AreasClimate12.9%7.9%2025
PM2.5 Air PollutionClimate27.7 µ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=ZA,GH" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does South Africa or Ghana have the larger economy?

South Africa has the larger economy: $479.96B for South Africa versus $118.29B for Ghana (GDP, current US$).

How do South Africa and Ghana compare across indicators?

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

More comparisons