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

Country comparison

South Africa vs Ghana

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

GDP$401.14B vs $82.31BSouth Africa vs Ghana
GDP per Capita$6,267 vs $2,391South Africa vs Ghana
Population64.01M vs 34.43MSouth Africa vs Ghana

Indicator by indicator

74 indicators
Indicator South Africa GhanaPeriod
GDPEconomy$401.14B$82.31B2024
GDP per CapitaEconomy$6,267$2,3912024
Inflation RateEconomy4%3.3%2026-05
Central Bank Policy RateEconomy7%14%2026-05-01
Official Exchange RateEconomy16.55 LCU/USD11.38 LCU/USD2026-05
Budget BalanceEconomy-4.9%-2.3%2026
Unemployment RateEconomy32.4%3%2025
Public DebtEconomy78.9%53%2026
Trade BalanceEconomy$7.77B$953.4M2024
GDP GrowthEconomy0.5%5.6%2024
GNI per CapitaEconomy$6,110$2,3102024
GNI per Capita (PPP)Economy$15,150$7,7202024
GDP (PPP)Economy$989.31B$276.11B2024
Agriculture (% of GDP)Economy2.8%20.9%2024
Industry (% of GDP)Economy24.3%31.5%2024
Manufacturing (% of GDP)Economy12.8%9.8%2024
Services (% of GDP)Economy63%40.9%2024
Investment (% of GDP)Economy14.1%10%2024
Remittances ReceivedEconomy$855.37M$3.03B2024
Remittances (% of GDP)Economy0.2%3.7%2024
External Debt (% of GNI)Economy44.8%46.9%2024
Foreign ReservesEconomy$65.43B$4.47B2024
Credit to Private Sector (% of GDP)Economy89.4%9%2024
Tax Revenue (% of GDP)Economy25.4%12.4%2023
Labor Force ParticipationEconomy55.6%58.5%2025
Female Labor Force ParticipationEconomy49.9%55.3%2025
Income Inequality (Gini)Economy54.143.52022
Extreme Poverty RateEconomy17.4%39%2022
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)Economy61.6%69.8%2024
Inflation (GDP Deflator)Economy3.9%24.7%2024
Tourism ReceiptsEconomy$2.72B$191M2020
Tourist ArrivalsEconomy3.89M897K2020
Human Development IndexDevelopment0.7410.6282023
Gender Inequality IndexDevelopment0.3880.5142023
Inequality-adjusted HDIDevelopment0.4760.3992023
PopulationDemographics64.01M34.43M2024
Population GrowthDemographics1.2%1.9%2024
Life ExpectancyDemographics66.3 years65.7 years2024
Median AgeDemographics28.9 years21.6 years2026
Fertility RateDemographics2.213.342024
Rural PopulationDemographics36.3%41.6%2024
Population Under 15Demographics25.9%35.8%2024
Infant MortalityHealth24.227.52024
HIV PrevalenceHealth17.2%1.5%2024
Health Spending (% of GDP)Health8.9%2.9%2023
Physicians per 1,000Health0.790.272022
UHC Service Coverage IndexHealth74562023
Road Traffic DeathsHealth24.525.92021
Premature NCD MortalityHealth22.7%22.2%2021
Out-of-Pocket Health SpendingHealth6.7%26.7%2023
Safely Managed SanitationHealth73.8%18.8%2024
Education Spending (% of GDP)Education6%2.9%2024
Tertiary EnrollmentEducation23.5%21.3%2023
UndernourishmentFood Security10%6.3%2023
Agricultural Land (% of Land)Agriculture79.4%55.4%2023
Food Production IndexAgriculture113.2135.52022
Cassava ProductionAgriculture27.92M t2024
Coffee ProductionAgriculture736 t2024
Cocoa ProductionAgriculture530K t2024
Sorghum ProductionAgriculture98K t479K t2024
Millet ProductionAgriculture6.33K t210K t2024
Homicide RateGovernance43.71.82022
Corruption Perceptions IndexGovernance41422024
Electoral Democracy IndexGovernance0.7430.7112025
Liberal Democracy IndexGovernance0.6330.6062025
Political Corruption IndexGovernance0.5380.6152025
Women in ParliamentGovernance44.7%14.6%2025
Internet UsersTechnology78.4%72.2%2024
Mobile SubscriptionsTechnology179.3113.62024
Electricity AccessInfrastructure87.7%89.5%2023
CO2 Emissions per CapitaClimate6.88 t0.7 t2024

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: $401.14B for South Africa versus $82.31B for Ghana (GDP, current US$).

How do South Africa and Ghana compare across indicators?

This page compares South Africa and Ghana on 74 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